Chapter 3 Programming
3
– 38
3.15 Modbus-TCP/RTU
3.15.1 Introduction
Supported function codes are shown in the below table.
16#
10#
Function code
Modbus-RTU Master
Modbus-TCP Master
Modbus-RTU Slave
Modbus-TCP Slave
0x01
01
Read Coils
X
-
0x02
02
Read Discrete Inputs
X
-
0x03
03
Read Holding Registers
X
X
0x04
04
Read Input Registers
X
X
0x05
05
Write Single Coil
X
-
0x06
06
Write Single Register
X
X
0x0F
15
Write Multiple Coils
X
-
0x10
16
Write Multiple Registers
X
X
0x17
23
Read/Write Multiple Registers
X
X
X = Supported, - = Not supported
Modbus command processing is executed in bus cycle task, which is configured in PLC settings of Device as
below. You can specify any existing IEC tasks. If the bus cycle task is <unspecified>, task with the shortest cycle
time is taken.
N o t e
When using Modbus-TCP slave or Modbus-RTU slave, be sure to send correct messages from master according to
the Modbus specifications, otherwise slave could fail to respond correctly.
Summary of Contents for EH-A14EDR
Page 6: ...MEMO ...
Page 10: ...MEMO ...
Page 141: ...Chapter 3 Programming 3 81 Program ...
Page 166: ...Chapter 5 Maintenance 5 4 MEMO ...
Page 170: ...Appendix A1 4 MEMO ...