EasyManua.ls Logo

IDEC FC6A-C16K1CE

IDEC FC6A-C16K1CE
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6: M
ODBUS
C
OMMUNICATION
6-16 FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
Function Code 15 (Force Multiple Coils)
Function code 15 changes bit device statuses of Q (output), R (shift register), or M (internal relay). One through 128 consecutive
bits can be changed.
Communication Frame
Request from Modbus RTU Master
ACK Reply from Modbus RTU Slave
NAK Reply from Modbus RTU Slave
Communication Example
Modbus RTU Mode
Purpose
Write the following bit statuses to internal relays M605 through M624.
M605
(ON)
M606
(ON)
M607
(OFF)
M610
(ON)
M611
(OFF)
M612
(ON)
M613
(ON)
M614
(OFF)
M615
(OFF)
M616
(ON)
M617
(OFF)
M620
(OFF)
M621
(OFF)
M622
(OFF)
M623
(OFF)
M624
(OFF)
M605 (LSB) through M614 (MSB) binary data: 6B
M615 (LSB) through M624 (MSB) binary data: 02
M605 (60 – 0) × 8 + 5 + 1001 = 1486
Modbus address: 1486
1486 – 1 = 1485 = 5CDh
Communication frame address: 05CDh
Condition Slave No. 8
Request from Modbus RTU Master 08 0F 05CD 0010 02 6B 02 (CRC)
ACK Reply from Modbus RTU Slave 08 0F 05CD 0010 (CRC)
NAK Reply from Modbus RTU Slave 08 8F xx (CRC)
Slave No.
Function
Code
Address No. of Bits
Quantity of
Data
First
8 Bits
Second
8 Bits
Last
8 Bits
xxh 0Fh xxxxh xxxxh xxh xxh xxh xxh
Slave No. Function Code Address No. of Bits
xxh 0Fh xxxxh xxxxh
Slave No. Function Code Error Code
xxh 8Fh xxh

Table of Contents

Related product manuals