External device setup manual – IDEC High Performance Series User Manual
Page 596
Chapter 4
578
External Device Setup Manual
7.1.2
Response
Format: Normal response
Format: Error response
7.1.3
Response Command
Detailed description: Normal response
Command
Code
Description
Bytes
STX
02h
Response start
1
R
52h
Read response
1
DM address
Starting DM address for read.
This is expressed as the ASCII code of the hexadecimal value of the
address.
4
Words
Number of words to read
The hexadecimal value expressed using ASCII code.
2
Data
DM address data
The hexadecimal value expressed using ASCII code.
The words are in order from the lowest address.
4 x N
N is the number of
words
ETX
03h
Only required when 'with BCC' is set.
At the end of the response data.
1
BCC
Only required when 'with BCC' is set.
Exclusive OR (HEX) from ENQ to before BCC converted to ASCII code.
2
CR
0Dh
End
1
Detailed description: Error response
Command
Code
Description
Bytes
NAK
15h
Command was not received correctly.
1
Error Code
Refer to 10 Error Processing. (Only Protocol format 1)
1
CR
0Dh
End. (Only Protocol format 1)
1