
6: M
ODBUS
C
OMMUNICATION
6-12
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
Communication Format
This section describes the communication format for each function code from the slave number up to immediately before the
check code.
Function Code 01 (Read Coil Status) and Function Code 02 (Read Input Status)
Function code 01 reads bit device statuses of Q (output), R (shift register), or M (internal relay). One through 128 consecutive bits
can be read out.
Function code 02 reads bit device statuses of I (input), T (timer contact), or C (counter contact). One through 128 consecutive bits
can be read out.
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
Read 15 bits starting at output Q10.
Q10
→
(1 – 0)
×
8 + 0 + 1 = 9
Modbus address: 9
9 – 1 = 8 = 8h
Communication frame address: 0008h
Condition
Slave No. 8
Q10 through Q27 binary data: 1234h
Request from Modbus RTU Master
08 01 0008 0010 (CRC)
ACK Reply from Modbus RTU Slave
08 01 02 34 12 (CRC)
NAK Reply from Modbus RTU Slave
08 81 xx (CRC)
Slave No.
Function Code
Address
No. of Bits
xxh
01h / 02h
xxxxh
xxxxh
Slave No.
Function Code
Quantity of Data
First 8 Bits
Second 8 Bits
Last 8 Bits
xxh
01h / 02h
xxh
xxh
xxh
xxh
Slave No.
Function Code
Error Code
xxh
81h / 82h
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...