Modbus TCP server
58
COM465IP-COM465DP_D00216_02_M_XXEN/03.2017
6.2.6.1 Modbus example for control commands
Example: Changeover of ATICS to line 1
COM465… has address 1 in subsystem 1. An ATICS of internal address 3 is to be changed over to line
1.
Modbus control command:00 02 00 00 00 0F 01 10 FC 00 00 04 08 00 01 00 03 00 00 00 05
00 02 Transaction ID (is generated automatically)
00 00 Protocol ID
00 0F Length
01 Unit ID (device address of the COM465…)
10 Modbus function code 0x10 (write multiple registers)
FC 00 Start register
00 04 Number of registers
08 Length of the data
00 01 value 1 (subsystem address: subsystem 1)
00 03 value 2 (internal address: ATICS address 3)
00 00 value 3 (channel address: always has to be 0)
00 05 value 4 (command)
Response: 00 02 00 00 00 06 01 10 FC 00 00 04
00 02 Transaction ID (is generated automatically)
00 00 Protocol ID
00 06 Length
01 Unit ID (device address of the COM465…)
10 Modbus function code 0x10 (write multiple registers)
FC 00 Start register
00 04 Number of registers