Chapter 7: rs-232 protocol specification, 1 send command to maestro, 2 receive answer from maestro – ElmoMC Multi-Axis Motion Controller-Maestro User Manual
Page 129

Chapter 7: RS-232 Protocol
Specification
7.1
Send Command to Maestro
The Maestro receives commands in the following format for RS-232 communication:
[Command In] [’\r’]
The command from the host to the Maestro consists of a command string and carriage
return at the end.
Definitions:
[Command In]
– ASCII character array (command string) includes a Maestro
command
[‘\r’]
– Apply the command symbol (ASCII character code CR,
hexadecimal value 0x0D)
7.2
Receive Answer from Maestro
The Maestro responds in the following format for RS-232 communication:
[’\r’’\n’] [Echo] [’\r’’\n’] [Command Out] [’\r’’\n’] [>]
Definitions:
[Echo]
– ASCII character array (command string) includes a Maestro command
(Echo). The Echo of a Maestro command is not the identical command as
was sent to the Maestro. It includes extraneous "white" symbols such as
ASCII characters CR and NL.
[Command Out]
– ASCII character array includes a Maestro response. It can contain
ASCII symbols NL as a divider (for example, in a command the list).
[‘\r’’\n’]
– Line separator symbols (ASCII character code CR, hexadecimal value
0x0D and ASCII character code NL, hexadecimal value 0x0A).
[Nodes]
- Maestro response termination using symbol [>]
Maestro
Software Manual
MAN-MASSW (Ver. Q)
7-1