Communication Format - IDEC FC6A-C16K1CE Communications Manual

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

Advertisement

6: M
C
ODBUS
OMMUNICATION

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
Slave No.
xxh
ACK Reply from Modbus RTU Slave
Slave No.
xxh
NAK Reply from Modbus RTU Slave
Slave No.
xxh
Communication Example
Purpose
Condition
Modbus RTU Mode
Request from Modbus RTU Master
ACK Reply from Modbus RTU Slave
NAK Reply from Modbus RTU Slave
6-12
Function Code
Address
01h / 02h
xxxxh
Function Code
Quantity of Data
01h / 02h
xxh
Function Code
Error Code
81h / 82h
xxh
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
Slave No. 8
Q10 through Q27 binary data: 1234h
08 01 0008 0010 (CRC)
08 01 02 34 12 (CRC)
08 81 xx (CRC)
FC6A S
M
S
A
ERIES
ICRO
MART
No. of Bits
xxxxh
First 8 Bits
xxh
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
Second 8 Bits
xxh
M
FC9Y-B1730
ANUAL
Last 8 Bits
xxh

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents