Modbus – IAI America ROBO Cylinder Series User Manual
Page 208

6. Modbus
ASCII
200
Modbus
(4) Query sample
A sample query that reads the total FAN driving time (addresses 842E
H
to 842F
H
) of a controller with
axis No. 0 is shown below.
Query: 013742E000248 [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
‘8’, ‘4’, ‘2’, ‘E’
38343245
Number of registers
‘0’, ‘0’, ‘0’, ‘2’
30303032
Error check
‘4’, ‘8’ (in accordance with
CRC calculation)
3438
Trailer
‘CR’, ‘LF’
0D0A
The response to the query is as follows.
Response: 010304000002AF47
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’, ‘4’
3034
Data 1 [H]
‘0’, ‘0’, ‘0’, ‘0’
30303030
Data 2 [H]
‘0’, ‘2’, ‘A’, ‘F’
30324146
Error check [H]
‘4’, ‘7’ (in accordance with
LRC calculation)
3437
Trailer
‘CR’, ‘LF’
0D0A
The total FAN driving time is “000002AF
H
” o Convert into decimal number o 687[sec]
Note The data of the response example is simply an example and will vary depending on various
conditions.