IDEC FC6A-C16K1CE Communications Manual page 154

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

Advertisement

6: M
C
ODBUS
OMMUNICATION
Modbus TCP communication format in the Modbus RTU pass-through function
The Modbus RTU pass-through function deletes the Modbus TCP headers from the Modbus TCP communication frame received by
the Modbus TCP server and sends the frames with a CRC added to the "Unit ID", "Function code", and "Description" frames to the
Modbus RTU slave specified by the unit ID.
The Modbus TCP communication format in the Modbus RTU pass-through function is as follows.
Modbus TCP Communication Format
Transaction ID
2 bytes
2 bytes
Modbus TCP Header
RTU Mode Communication Format
"Idle"
Slave No.
3.5 characters
1 byte
Transaction ID
The Modbus TCP server returns the transaction ID from the client as is. The client can confirm to which request the response was
returned. Enter 0 when there is no particular check to perform.
Protocol ID
This number indicates the Modbus TCP protocol and is 0.
Message Length
Represents the length of the message that follows in bytes.
Unit ID
The ID for identifying the device. It stores the slave number of the Modbus RTU slave. The Unit ID and subsequent frames are
passed through to the Modbus RTU network.
If 255 is specified for the unit ID, the frames are processed by the Modbus TCP server (local station) and not passed through to
the Modbus RTU slave.
Function Code
The function number such as reading or writing.
Description
The data required for processing.
6-28
Protocol ID
Message Length (bytes)
2 bytes
Function Code
1 byte
N bytes
FC6A S
M
S
A
ERIES
ICRO
MART
Unit ID
1 byte
Description
CRC
2 bytes
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
Function Code
Description
1 byte
N bytes
"Idle"
3.5 characters
M
FC9Y-B1730
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents