User`s manual

7 Serial Command Communications
7-4
7.3 Command/Response Format
The following diagram shows the command/response format.
Note: In ASCII, the [CR] character is 0D Hex and the [LF] character is 0A Hex.
PnB02
0 Does not return OK response.
Immediately
1
[Factory setting]
Returns OK response.
(cont’d)
Parameter Meaning When Enabled
Command (Host controller INDEXER Module) Response (Host controller INDEXER Module)
Note: When full-duplex wiring is being used, either [CR] or [CR]
[LF] can be used as the delimiter.
When half-duplex wiring is being used, set the delimiter to
either [CR] or [CR] [LF] with parameter PnB00.
In both cases, [CR] [LF] will be returned as the echoback.
Upper-case and lower-case characters can be used in the
command (including the axis number) and are treated the
same.
Note: The response’s delimiter is always [CR] [LF].
Alphabetical characters in the response are always upper-
case.
Axis no. Command character string Delimiter
Example: 1SVON [CR]
2SVON [CR]
1POS10000 [CR]
2POS10000 [CR]
1ST [CR]
2ST [CR]
1PUN [CR]
2PUN [CR]
Example: 1OK [CR] [LF]
2OK [CR] [LF]
1OK [CR] [LF]
2OK [CR] [LF]
1OK [CR] [LF]
2OK [CR] [LF]
1PUN = +00004567 [CR] [LF]
2PUN = -00002345 [CR] [LF]
Axis no. Response character string Delimiter
To maximize communications reliability, confirm the echoback and responses to each com-
mand while communicating with the INDEXER Module. When the echoback and responses
are not being confirmed, improve the communications reliability by reading the status when
appropriate.