
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
Содержание MICROSmart FC6A-C16K1CE
Страница 1: ...B 1730 2 FC6A SERIES All in One Type Communication Manual...
Страница 60: ...3 COMMUNICATION SETTINGS 3 22 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 76: ...4 MAINTENANCE COMMUNICATION 4 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 126: ...5 USER COMMUNICATION INSTRUCTIONS 5 50 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 158: ...6 MODBUS COMMUNICATION 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 200: ...8 J1939 COMMUNICATION 8 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 218: ...10 SEND E MAIL FUNCTION 10 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 252: ...INDEX 4 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 INDEX...