Modbus TCP server
49
COM465IP-COM465DP_D00216_02_M_XXEN/03.2017
6.2.3 Modbus examples to read out data
Example: Reading out from ATICS channel 1 (voltage line 1)
COM465… has address 1 in subsystem 1. ATICS channel 1 of internal address 3 is to be read out. The
content is the voltage of line 1 as floating point value.
Modbus request: 00 01 00 00 00 06 01 04 03 10 00 02
00 01 Transaction ID (is generated automatically)
00 00 Protocol ID
00 06 Length
01 Unit ID (subsystem 1)
04 Modbus function code 0x 04 (read input registers)
03 10 Start register
(Register address at which the value in the memory image appears: 784 = 0x 03 10)
00 02 Length of the data (words)
Response: 00 01 00 00 00 06 01 04 04 01 00 43 63 00 00
00 01 Transaction ID (is generated automatically)
00 00 Protocol ID
00 05 Length
01 Unit ID (device address of the COM465…)
04 Modbus function code 0x 04 (read input registers)
04 Length of the data (bytes)
01 00 43 63 Data floating point value (0x 43 63 01 00 (words swapped) = 227.0039)
00 04 Alarm and test type (00 = no alarm), range and unit (04 = volts)