External device setup manual – IDEC High Performance Series User Manual
Page 607
589
8 DM Link 1:N Communication Format
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
DM L
ink
Communica
ti
on
External Device Setup Manual
8.1.2
Response
Format: Normal response
Format: Error response
Detailed description: Normal response
Command
Code
Description
Bytes
STX
02h
Response start
1
Station Number
DM Link Station Number expressed in ASCII.
2
R
52h
Read response
1
DM address
DM address to start reading from
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 added when 'with BCC' is set.
End of the response data.
1
BCC
Only added 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
Station Number
DM Link Station Number expressed in ASCII.
2
Error Code
Refer to 10 Error Processing.
1
CR
0Dh
End
1