11: M
ODBUS
C
OMMUNICATION
11-14
S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
Function Code 05 (Force Single Coil)
Function code 05 changes a bit device status of Q (output), R (shift register), or M (internal relay).
Communication Frame
Request from Modbus Master
ACK Reply from Modbus Slave
NAK Reply from Modbus Slave
Communication Example
•
RTU Mode
Slave No.
Function Code
Address
OFF: 0000h
ON: FF00h
xxh
05h
xxxxh
xxxxh
Slave No.
Function Code
Address
OFF: 0000h
ON: FF00h
xxh
05h
xxxxh
xxxxh
Slave No.
Function Code
Error Code
xxh
85h
xxh
Purpose
Force internal relay M1320 on.
M1320
→
(132 – 0)
×
8 + 0 + 1001 = 2057
Modbus address: 2057
2057 – 1 = 2056 = 808h
Communication frame address: 0808h
Condition
Slave No. 8
Request from Modbus Master
08 05 0808 FF00 (CRC)
ACK Reply from Modbus Slave
08 05 0808 FF00 (CRC)
NAK Reply from Modbus Slave
08 85 xx (CRC)
Содержание FT1A-B12RA
Страница 1: ...FT9Y B1378 5 ...
Страница 2: ......
Страница 208: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 226: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 340: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 384: ...APPENDIX A 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 European Font ISO 8859 1 Cyrillic Font ANSI 1251 ...
Страница 385: ...SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 A 19 APPENDIX Japanese Font JIS X0201 ...
Страница 386: ...APPENDIX A 20 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...