SlideShare a Scribd company logo
1 of 45
Download to read offline
www.zaber.com • simplifying motion control
Simplifying Control Protocols
Zaber Technologies
www.zaber.com • simplifying motion control
Every motion controller has its own
command protocol.
command protocol
(n.) series of rules that dictates the format of
conversation between you and the motion controller.
www.zaber.com • simplifying motion control
The command protocol affects:
www.zaber.com • simplifying motion control
The command protocol affects:
How intuitive the controller is to use.
www.zaber.com • simplifying motion control
The command protocol affects:
How intuitive the controller is to use.
How quickly the controller can communicate.
www.zaber.com • simplifying motion control
The command protocol affects:
How intuitive the controller is to use.
How quickly the controller can communicate.
The type of device(s) that the controller can
communicate with.
www.zaber.com • simplifying motion control
Having an open, consistent, easy-to-
use protocol is important because...
www.zaber.com • simplifying motion control
Having an open, consistent, easy-to-
use protocol is important because...
It makes it easy to integrate devices quickly into an
application.
www.zaber.com • simplifying motion control
Having an open, consistent, easy-to-
use protocol is important because...
It makes it easy to integrate devices quickly into an
application.
It reduces the time it takes for users to become
proficient with the controls.
www.zaber.com • simplifying motion control
Zaber’s devices use two command
protocols.
www.zaber.com • simplifying motion control
Zaber’s devices use two command
protocols.
ASCII
An easy-to-use and intuitive protocol for
communicating in plain text.
www.zaber.com • simplifying motion control
Zaber’s devices use two command
protocols.
ASCII
An easy-to-use and intuitive protocol for
communicating in plain text.
BINARY
A 6-byte binary protocol designed for relaying
commands in a consistent, compact format.
www.zaber.com • simplifying motion control
What’s the difference?
www.zaber.com • simplifying motion control
Zaber’s A- and X-Series devices can use both Binary and
ASCII protocols; T-Series can use just Binary.
ASCIIBINARY
www.zaber.com • simplifying motion control
Binary communicates in command numbers. ASCII
communicates in plain text.
ASCIIBINARY
www.zaber.com • simplifying motion control
Each protocol has its own benefits. Binary is simple,
with concise commands. ASCII is easy to use, and it
is compatible with many devices. It also offers added
support for new features.
ASCIIBINARY
www.zaber.com • simplifying motion control
Binary’s simplicity may limit the expandability and
complexity of its command list. While ASCII offers ease
of use, its commands do not have a consistent length.
ASCIIBINARY
www.zaber.com • simplifying motion control
More information about
each protocol is available
on Zaber’s Support wiki:
www.zaber.com/support
www.zaber.com • simplifying motion control
Now, let’s focus on each protocol and
how you can use them to communicate
with your devices.
www.zaber.com • simplifying motion control
First, let’s look at Binary.
BINARY
A 6-byte binary protocol designed for relaying
commands in a consistent, compact format.
www.zaber.com • simplifying motion control
BINARY
Every command that is sent and every response that is
received back from the controller contains three pieces
of information.
www.zaber.com • simplifying motion control
Device number
executing the command
(1 byte)
BINARY
Multiple devices can be chained in a series. The device
number indicates which device in a daisy-chain should
respond to the command.
www.zaber.com • simplifying motion control
Device number
executing the command
(1 byte)
The number of the
command or setting
(1 byte)
BINARY
The number of the command or setting indicates the
action being executed.
The number of the command or setting indicates the
action being executed.
www.zaber.com • simplifying motion control
Device number
executing the command
(1 byte)
The number of the
command or setting
(1 byte)
A data value
(4 bytes)
BINARY
The meaning of the data value will depend on the
command.
www.zaber.com • simplifying motion control
For example:
Let’s say you want to send a command to the first
device in the series (device number 1) to find the home
position (command number 1).
Command 1: 1, 1, 0, 0, 0, 0
www.zaber.com • simplifying motion control
For example:
Then, you want to send another command to move
forward relative to the current position (command
number 21) by 1000 microsteps.
Command 1: 1, 1, 0, 0, 0, 0
Command 2: 1, 21, 232, 3, 0, 0
www.zaber.com • simplifying motion control
In the first command, the data value is 0 because
the home command does not require any additional
information to run.
Command 1: 1, 1, 0, 0, 0, 0
Command 2: 1, 21, 232, 3, 0, 0
www.zaber.com • simplifying motion control
In the second command, the four data bytes are
arranged in order of least significant byte to most
significant byte. Software is usually used to handle the
data conversion.
Command 1: 1, 1, 0, 0, 0, 0
Command 2: 1, 21, 232, 3, 0, 0
www.zaber.com • simplifying motion control
Each time a command completes, the controller will
send back a response in the same format.
Command to device	 1, 1, 0, 0, 0, 0
...stage retracts to home...
Response from device	 1, 1, 0, 0, 0, 0
www.zaber.com • simplifying motion control
Now, let’s look at ASCII.
ASCII
An easy-to-use and intuitive protocol for
communicating in plain text.
www.zaber.com • simplifying motion control
Plain text commands
ASCII
The ASCII protocol is available on Zaber’s A-Series
devices with firmware version 6.06, and all X-Series
devices. ASCII allows for plain text communication
between a computer and a controller.
www.zaber.com • simplifying motion control
For example:
Let’s say you want to command a device to move to
a position 1000 microsteps forward from the current
position.
Command 1: /move rel 1000 9
www.zaber.com • simplifying motion control
For example:
Then, let’s say you want to command the device to find
the reference position.
Command 1: /move rel 1000
Command 2: /home
9
9
www.zaber.com • simplifying motion control
The controller will respond, letting you know that
the command has been received and that it will be
executed, or that the command has been rejected and
why.
Command to device	 /01 home
Response from device	 @01 1 OK IDLE -- 0
...device begins to move...
9
9
www.zaber.com • simplifying motion control
Simple, right?
ASCII
An easy-to-use and intuitive protocol for
communicating in plain text.
www.zaber.com • simplifying motion control
Besides simplicity, there are a number
of benefits to this protocol.
www.zaber.com • simplifying motion control
It’s simple to use because it’s text-based and
designed for readability.
www.zaber.com • simplifying motion control
It’s simple to use because it’s text-based and
designed for readability.
It’s easy for new users to be able to pick up
the communication quickly.
www.zaber.com • simplifying motion control
It’s simple to use because it’s text-based and
designed for readability.
It’s easy for new users to be able to pick up
the communication quickly.
Using ASCII characters for control allows
compatibility with a wide variety of devices,
like PLCs (programmable logic controllers).
www.zaber.com • simplifying motion control
Faster communication speeds are supported,
which allows for further compatibility.
www.zaber.com • simplifying motion control
Faster communication speeds are supported,
which allows for further compatibility.
Added support for new features and
commands, such as multiple limits,
programmable actions, and I/Os.
www.zaber.com • simplifying motion control
Now that we know what these
protocols are, how do we use them?
www.zaber.com • simplifying motion control
Software, such as our free, open-source
Zaber Console, facilitates the use of
these protocols on our positioners.
ASCII
Binary
www.zaber.com • simplifying motion control
Other programs, such as LabVIEW, can
also be used. Zaber offers LabVIEW
drivers for controlling devices with
ASCII or Binary protocol.
ASCII
Binary
www.zaber.com • simplifying motion control
Visit www.zaber.com/software or
email contact@zaber.com for more
information.
Don’t forget to sign
up for our newsletter
at www.zaber.com
to receive exclusive
promotions!

More Related Content

Similar to Control Protocols of Motion Control Devices

Total control brochure_sb-047a
Total control brochure_sb-047aTotal control brochure_sb-047a
Total control brochure_sb-047a
alfmich
 
Vo I P Network Monitoring
Vo I P  Network  MonitoringVo I P  Network  Monitoring
Vo I P Network Monitoring
Peter Buswell
 
Chapter 2 overview
Chapter 2 overviewChapter 2 overview
Chapter 2 overview
ali raza
 

Similar to Control Protocols of Motion Control Devices (20)

Spiceworks IT Boot Camp - Pt. 1
Spiceworks IT Boot Camp - Pt. 1Spiceworks IT Boot Camp - Pt. 1
Spiceworks IT Boot Camp - Pt. 1
 
CCNA Network Monitoring
CCNA Network MonitoringCCNA Network Monitoring
CCNA Network Monitoring
 
Securing with Sophos - Sophos Day Belux 2014
Securing with Sophos - Sophos Day Belux 2014Securing with Sophos - Sophos Day Belux 2014
Securing with Sophos - Sophos Day Belux 2014
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Ak cess pro server brochure
Ak cess pro server brochureAk cess pro server brochure
Ak cess pro server brochure
 
Design and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerDesign and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web Server
 
Chapter 4. using the command line interface
Chapter 4. using the command line interfaceChapter 4. using the command line interface
Chapter 4. using the command line interface
 
Total control brochure_sb-047a
Total control brochure_sb-047aTotal control brochure_sb-047a
Total control brochure_sb-047a
 
Vo I P Network Monitoring
Vo I P  Network  MonitoringVo I P  Network  Monitoring
Vo I P Network Monitoring
 
Chapter 2 overview
Chapter 2 overviewChapter 2 overview
Chapter 2 overview
 
Handout2o
Handout2oHandout2o
Handout2o
 
Plejd leaflet 20140924_small
Plejd leaflet 20140924_smallPlejd leaflet 20140924_small
Plejd leaflet 20140924_small
 
Docker for Ops - Scott Coulton, Puppet
Docker for Ops - Scott Coulton, PuppetDocker for Ops - Scott Coulton, Puppet
Docker for Ops - Scott Coulton, Puppet
 
Fn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal ArifFn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal Arif
 
enm-oss-v1-.pdf
enm-oss-v1-.pdfenm-oss-v1-.pdf
enm-oss-v1-.pdf
 
Arsitektur Aplikasi Modern - Faisal Henry Susanto
Arsitektur Aplikasi Modern - Faisal Henry SusantoArsitektur Aplikasi Modern - Faisal Henry Susanto
Arsitektur Aplikasi Modern - Faisal Henry Susanto
 
1627478708347_Chapter 1.pptx
1627478708347_Chapter 1.pptx1627478708347_Chapter 1.pptx
1627478708347_Chapter 1.pptx
 
Operations: Security Crash Course — Best Practices for Securing your Company
Operations: Security Crash Course — Best Practices for Securing your CompanyOperations: Security Crash Course — Best Practices for Securing your Company
Operations: Security Crash Course — Best Practices for Securing your Company
 
Infrastructure as Code - Getting Started, Concepts & Tools
Infrastructure as Code - Getting Started, Concepts & ToolsInfrastructure as Code - Getting Started, Concepts & Tools
Infrastructure as Code - Getting Started, Concepts & Tools
 
Start Up Austin 2017: Security Crash Course and Best Pratices
Start Up Austin 2017: Security Crash Course and Best PraticesStart Up Austin 2017: Security Crash Course and Best Pratices
Start Up Austin 2017: Security Crash Course and Best Pratices
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 

Control Protocols of Motion Control Devices

  • 1. www.zaber.com • simplifying motion control Simplifying Control Protocols Zaber Technologies
  • 2. www.zaber.com • simplifying motion control Every motion controller has its own command protocol. command protocol (n.) series of rules that dictates the format of conversation between you and the motion controller.
  • 3. www.zaber.com • simplifying motion control The command protocol affects:
  • 4. www.zaber.com • simplifying motion control The command protocol affects: How intuitive the controller is to use.
  • 5. www.zaber.com • simplifying motion control The command protocol affects: How intuitive the controller is to use. How quickly the controller can communicate.
  • 6. www.zaber.com • simplifying motion control The command protocol affects: How intuitive the controller is to use. How quickly the controller can communicate. The type of device(s) that the controller can communicate with.
  • 7. www.zaber.com • simplifying motion control Having an open, consistent, easy-to- use protocol is important because...
  • 8. www.zaber.com • simplifying motion control Having an open, consistent, easy-to- use protocol is important because... It makes it easy to integrate devices quickly into an application.
  • 9. www.zaber.com • simplifying motion control Having an open, consistent, easy-to- use protocol is important because... It makes it easy to integrate devices quickly into an application. It reduces the time it takes for users to become proficient with the controls.
  • 10. www.zaber.com • simplifying motion control Zaber’s devices use two command protocols.
  • 11. www.zaber.com • simplifying motion control Zaber’s devices use two command protocols. ASCII An easy-to-use and intuitive protocol for communicating in plain text.
  • 12. www.zaber.com • simplifying motion control Zaber’s devices use two command protocols. ASCII An easy-to-use and intuitive protocol for communicating in plain text. BINARY A 6-byte binary protocol designed for relaying commands in a consistent, compact format.
  • 13. www.zaber.com • simplifying motion control What’s the difference?
  • 14. www.zaber.com • simplifying motion control Zaber’s A- and X-Series devices can use both Binary and ASCII protocols; T-Series can use just Binary. ASCIIBINARY
  • 15. www.zaber.com • simplifying motion control Binary communicates in command numbers. ASCII communicates in plain text. ASCIIBINARY
  • 16. www.zaber.com • simplifying motion control Each protocol has its own benefits. Binary is simple, with concise commands. ASCII is easy to use, and it is compatible with many devices. It also offers added support for new features. ASCIIBINARY
  • 17. www.zaber.com • simplifying motion control Binary’s simplicity may limit the expandability and complexity of its command list. While ASCII offers ease of use, its commands do not have a consistent length. ASCIIBINARY
  • 18. www.zaber.com • simplifying motion control More information about each protocol is available on Zaber’s Support wiki: www.zaber.com/support
  • 19. www.zaber.com • simplifying motion control Now, let’s focus on each protocol and how you can use them to communicate with your devices.
  • 20. www.zaber.com • simplifying motion control First, let’s look at Binary. BINARY A 6-byte binary protocol designed for relaying commands in a consistent, compact format.
  • 21. www.zaber.com • simplifying motion control BINARY Every command that is sent and every response that is received back from the controller contains three pieces of information.
  • 22. www.zaber.com • simplifying motion control Device number executing the command (1 byte) BINARY Multiple devices can be chained in a series. The device number indicates which device in a daisy-chain should respond to the command.
  • 23. www.zaber.com • simplifying motion control Device number executing the command (1 byte) The number of the command or setting (1 byte) BINARY The number of the command or setting indicates the action being executed. The number of the command or setting indicates the action being executed.
  • 24. www.zaber.com • simplifying motion control Device number executing the command (1 byte) The number of the command or setting (1 byte) A data value (4 bytes) BINARY The meaning of the data value will depend on the command.
  • 25. www.zaber.com • simplifying motion control For example: Let’s say you want to send a command to the first device in the series (device number 1) to find the home position (command number 1). Command 1: 1, 1, 0, 0, 0, 0
  • 26. www.zaber.com • simplifying motion control For example: Then, you want to send another command to move forward relative to the current position (command number 21) by 1000 microsteps. Command 1: 1, 1, 0, 0, 0, 0 Command 2: 1, 21, 232, 3, 0, 0
  • 27. www.zaber.com • simplifying motion control In the first command, the data value is 0 because the home command does not require any additional information to run. Command 1: 1, 1, 0, 0, 0, 0 Command 2: 1, 21, 232, 3, 0, 0
  • 28. www.zaber.com • simplifying motion control In the second command, the four data bytes are arranged in order of least significant byte to most significant byte. Software is usually used to handle the data conversion. Command 1: 1, 1, 0, 0, 0, 0 Command 2: 1, 21, 232, 3, 0, 0
  • 29. www.zaber.com • simplifying motion control Each time a command completes, the controller will send back a response in the same format. Command to device 1, 1, 0, 0, 0, 0 ...stage retracts to home... Response from device 1, 1, 0, 0, 0, 0
  • 30. www.zaber.com • simplifying motion control Now, let’s look at ASCII. ASCII An easy-to-use and intuitive protocol for communicating in plain text.
  • 31. www.zaber.com • simplifying motion control Plain text commands ASCII The ASCII protocol is available on Zaber’s A-Series devices with firmware version 6.06, and all X-Series devices. ASCII allows for plain text communication between a computer and a controller.
  • 32. www.zaber.com • simplifying motion control For example: Let’s say you want to command a device to move to a position 1000 microsteps forward from the current position. Command 1: /move rel 1000 9
  • 33. www.zaber.com • simplifying motion control For example: Then, let’s say you want to command the device to find the reference position. Command 1: /move rel 1000 Command 2: /home 9 9
  • 34. www.zaber.com • simplifying motion control The controller will respond, letting you know that the command has been received and that it will be executed, or that the command has been rejected and why. Command to device /01 home Response from device @01 1 OK IDLE -- 0 ...device begins to move... 9 9
  • 35. www.zaber.com • simplifying motion control Simple, right? ASCII An easy-to-use and intuitive protocol for communicating in plain text.
  • 36. www.zaber.com • simplifying motion control Besides simplicity, there are a number of benefits to this protocol.
  • 37. www.zaber.com • simplifying motion control It’s simple to use because it’s text-based and designed for readability.
  • 38. www.zaber.com • simplifying motion control It’s simple to use because it’s text-based and designed for readability. It’s easy for new users to be able to pick up the communication quickly.
  • 39. www.zaber.com • simplifying motion control It’s simple to use because it’s text-based and designed for readability. It’s easy for new users to be able to pick up the communication quickly. Using ASCII characters for control allows compatibility with a wide variety of devices, like PLCs (programmable logic controllers).
  • 40. www.zaber.com • simplifying motion control Faster communication speeds are supported, which allows for further compatibility.
  • 41. www.zaber.com • simplifying motion control Faster communication speeds are supported, which allows for further compatibility. Added support for new features and commands, such as multiple limits, programmable actions, and I/Os.
  • 42. www.zaber.com • simplifying motion control Now that we know what these protocols are, how do we use them?
  • 43. www.zaber.com • simplifying motion control Software, such as our free, open-source Zaber Console, facilitates the use of these protocols on our positioners. ASCII Binary
  • 44. www.zaber.com • simplifying motion control Other programs, such as LabVIEW, can also be used. Zaber offers LabVIEW drivers for controlling devices with ASCII or Binary protocol. ASCII Binary
  • 45. www.zaber.com • simplifying motion control Visit www.zaber.com/software or email contact@zaber.com for more information. Don’t forget to sign up for our newsletter at www.zaber.com to receive exclusive promotions!