Modbus – IAI America ROBO Cylinder Series User Manual
Page 212

6. Modbus
ASCII
204
Modbus
(4) Sample query (Axis No. 0)
A sample query that reads address 9002
H
in an RC controller of axis No. 0 is shown below:
Query: 01039002000169 [CR][LF]
Field
ASCII mode
fixed character string
Converted ASCII code
data [H]
Header
‘:’
3A
Slave address
‘0’, ‘1’
3031
Function code
‘0’, ‘3’
3033
Start address
‘9’, ‘0’, ‘0’, ‘2’
39303032
Number of registers
‘0’, ‘0’, ‘0’, ‘1’
30303031
Error check
‘6’, ‘9’
3639
Trailer
‘CR’, ‘LF’
0D0A
The response to the query is as follows.
Response: 01030200E812 [CR][LF]
Field
ASCII mode
fixed character string
Converted ASCII code
data [H]
Header
‘:’
3A
Slave address [H]
‘0’, ‘1’
3031
Function code [H]
‘0’, ‘3’
3033
Number of data bytes [H] ‘0’, ‘2’ (2 bytes = 1 register)
3032
Data 1 [H]
‘0’, ‘0’, ‘E’, ‘8’
30304538
Error check [H]
‘1’, ‘2’ (in accordance with
LRC calculation)
3132
Trailer
‘CR’, ‘LF’
0D0A
The most important alarm presently detected is “0E8”
H
, which is a phase A/B open alarm.
[For details on alarm codes, refer to the operation manual that comes with each controller.]
Note The data of the response example is simply an example and will vary depending on various
conditions.