CHAPTER 13 RS-485 COMMUNICATIONS
13-10
Modbus RTU Communications
13
Data1 (=A5h)
OUT13
1 (ON)
OUT12
0 (OFF)
OUT11
1 (ON)
OUT10
0 (OFF)
OUT9
0 (OFF)
OUT8
1 (ON)
OUT7
0 (OFF)
OUT6
1 (ON)
Data2 (=02h)
0 0 0 0 0 0
OUT15
1 (ON)
OUT14
0 (OFF)
FC 05h (Write in single coil data)
(1) Query from the master
Station No. 1 byte
FC 1 byte
・・・
05h
(H)
Address
2 bytes
(L)
・・・
Specify the coil address.
* For the addresses, refer to the table 13-4.
(H)
Information
Coil data
2 bytes
(L)
・・・
Specify 000h for OFF and FF00h for ON.
(L)
CRC check
16 bits
(2 bytes)
(H)
(2) Response message form the amplifier
Station No. 1 byte
FC 1 byte
・・・
05h
(H)
Address
2 bytes
(L)
・・・
Specified address.
(H)
Information
Coil data
2 bytes
(L)
・・・
Specified data.
(L)
CRC check
16 bits
(2 bytes)
(H)
(3) Message examples
Shows a message example to write in ON to OUT9 signal.
<Query example>
Station No. 1 byte
01
・・・
When the amplifier station no. is "1".
FC 1 byte
05
02
Address
2 bytes
08
・・・
Specify 0208h as the CONT9 signal address.
FF
Information
No. of coil data
2 bytes
00
・・・
Specify ON = FF00h.
0C
CRC check
16 bits
(2 bytes)
40