IDEC FT1A Series User Manual page 278

Hide thumbs Also See for FT1A Series:
Table of Contents

Advertisement

11: M
C
ODBUS
OMMUNICATION
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
Slave No.
xxh
ACK Reply from Modbus Slave
Slave No.
xxh
NAK Reply from Modbus Slave
Slave No.
xxh
Communication Example
Purpose
Condition
RTU Mode
Request from Modbus Master
ACK Reply from Modbus Slave
NAK Reply from Modbus Slave
11-14
Function Code
Address
05h
xxxxh
Function Code
Address
05h
xxxxh
Function Code
Error Code
85h
xxh
Force internal relay M1320 on.
M1320 → (132 – 0) × 8 + 0 + 1001 = 2057
Modbus address: 2057
2057 – 1 = 2056 = 808h
Communication frame address: 0808h
Slave No. 8
08 05 0808 FF00 (CRC)
08 05 0808 FF00 (CRC)
08 85 xx (CRC)
S
AXIS P
MART
OFF: 0000h
ON: FF00h
xxxxh
OFF: 0000h
ON: FF00h
xxxxh
/L
U
'
M
FT9Y-B1378
RO
ITE
SER
S
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents