
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
6-17
6: M
ODBUS
C
OMMUNICATION
Function Code 16 (Preset Multiple Registers)
Function code 16 changes word device data of D (data register). One through 64 consecutive words 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 data to four data registers D1708 through D1711.
D1708
(1234h)
D1709
(5678h)
D1710
(ABCDh)
D1711
(EF01h)
D1708
→
(1708 – 0) + 400001 = 401709
Modbus address: 401709
Extract lower 5 digits
→
1709
1709 – 1 = 1708 = 6ACh
Communication frame address: 06ACh
Condition
Slave No. 8
Request from Modbus RTU Master
08 10 06AC 0004 08 12 34 56 78 AB CD EF 01 (CRC)
ACK Reply from Modbus RTU Slave
08 10 06AC 0004 (CRC)
NAK Reply from Modbus RTU Slave
08 90 xx (CRC)
Slave No.
Function
Code
Address
No. of
Words
Quantity of
Data
First High
Byte
First Low
Byte
Last Low
Byte
xxh
10h
xxxxh
xxxxh
xxh
xxh
xxh
xxh
Slave No.
Function Code
Address
No. of Words
xxh
10h
xxxxh
xxxxh
Slave No.
Function Code
Error Code
xxh
90h
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...