4.2.6.1
Modbus example for control commands
Example: Changeover of ATICS to line 1
CP9... 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
00 00
00 0F
01
10
FC 00
00 04
08
00 01
00 03
00 00
00 05
Response:
00 02
00 00
00 06
01
10
FC 00
00 04
36
Transaction ID (is generated automatically)
Protocol ID
Length
Unit ID (device address of the CP9...)
Modbus function code 0x10 (write multiple registers)
Start register
Number of registers
Length of the data
value 1 (subsystem address: subsystem 1)
value 2 (internal address: ATICS address 3)
value 3 (channel address: always has to be 0)
value 4 (command)
00 02 00 00 00 06 01 10 FC 00 00 04
Transaction ID (is generated automatically)
Protocol ID
Length
Unit ID (device address of the CP9...)
Modbus function code 0x10 (write multiple registers)
Start register
Number of registers
Modbus TCP server
CP9xx_D00349_07_M_XXEN/01.2020