IDEC FC6A-C16K1CE Communications Manual page 148

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

Advertisement

6: M
C
ODBUS
OMMUNICATION
Configure the requests of the Modbus TCP Client.
4.
A maximum of 255 requests can be entered in one request table. Specify the Modbus TCP servers with the remote host numbers.
After all requests are configured, click OK button to close the dialog box.
Choose to use Req. Execution Devices and Error Status data registers if necessary. When using Req. Execution Devices
and Error Status data registers, enter the first number of the devices.
5.
Download the user program to the FC6A Series MicroSmart.
Programming for the Modbus TCP client is complete. Details about parameters and valid values are as follows.
Function Code
The Modbus TCP of the FC6A Series MicroSmart supports eight function codes as listed in the table below. Supported function
codes and valid slave addresses vary with each Modbus server device to communicate with. Configure the function codes
according to the specifications of the Modbus server devices.
Function Code
01 Read Coil Status
02 Read Input Status
03 Read Holding Registers
04 Read Input Registers
05 Force Single Coil
06 Preset Single Register
15 Force Multiple Coils
16 Preset Multiple
Registers
6-22
Data Size
1 to 128 bits
000001 - 065535
1 to 128 bits
100001 - 165535
1 to 64 words
400001 - 465535
1 to 64 words
300001 - 365535
1 bit
000001 - 065535
1 word
400001 - 465535
1 to 128 bits
000001 - 065535
1 to 64 words
400001 - 465535
FC6A S
M
S
A
ERIES
ICRO
MART
Slave Address
Reads bit device statuses of Q (output), R (shift register), or
M (internal relay).
Reads bit device statuses of I (input), T (timer contact), or C
(counter contact).
Reads word device data of D (data register), T (timer preset
value), or C (counter preset value).
Reads word device data of T (timer current value) or C
(counter current value).
Changes a bit device status of Q (output), R (shift register),
or M (internal relay).
Changes word device data of D (data register).
Changes multiple bit device statuses of Q (output), R (shift
register), or M (internal relay).
Changes multiple word device data of D (data register).
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
FC6A Series MicroSmart as Modbus Slave
M
FC9Y-B1730
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents