Modbus Function Descriptions (continued)
2-34
Modbus Commands
This request is for the secondary node to change the values of 12 (0C hex)
coils starting at address 12 (18 decimal) to the states given by the following
bit pattern.
D
1
1
0
1
1
25
24
23
22
21
Coil 25 (ON)
The bit pattern indicates that coils 19, 20, 21, 22, 24, 25, and 29 are to be
changed to ON and 18, 23, 26, 27, and 28 changed to OFF.
Response:
07 0F 0012 000C XXXX
Figure 2-29 Write Multiple Coils Example — Response
C
0
1
1
0
0
0
0
20
19
18
33
32
31
Coil 18 (OFF)
Figure 2-28 Coil Bit Pattern
SIMATIC TI505/TI500 MODNIM User Manual
8
0
1
0
0
0
30
29
28
27
26
Coil 26 (OFF)
Coil 29 (ON)
Checksum (XXXX)
Number of coils (000C)
Start coil address (0012)
Function code 15 (0F hex)
Slave address (07)