IDEC FC6A-C16K1CE Communications Manual page 140

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

6: 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 RTU Master
Slave No.
xxh
ACK Reply from Modbus RTU Slave
Slave No.
xxh
NAK Reply from Modbus RTU Slave
Slave No.
xxh
Communication Example
Purpose
Condition
Modbus RTU Mode
Request from Modbus RTU Master
ACK Reply from Modbus RTU Slave
NAK Reply from Modbus RTU Slave
6-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)
FC6A S
M
S
A
ERIES
ICRO
MART
OFF: 0000h
ON: FF00h
xxxxh
OFF: 0000h
ON: FF00h
xxxxh
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
M
FC9Y-B1730
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents