Chapter 8. Modbus/TCP Server
138
PACSystems* RX7i & RX3i TCP/IP Ethernet Communications User Manual
GFK-2224Q
If the CPU module does not receive an address map from Machine Edition, Ethernet interfaces within the PLC
will respond to Modbus/TCP clients with Exception Code 4, Slave Device Failure. This same exception code will
also be returned when the PLC’s hardware configuration is cleared.
8.3
Modbus Function Codes
This section summarizes the mapping of PACSystems reference tables to Modbus addresses by the Modbus
function codes supported by the Modbus/TCP Server. The mapping shown in this table assumes that the PLC is
configured to use its default reference table sizes.
Modbus Function Code
Modbus
PLC
Table
Start Address Length
Start Address
Length
1
5
15
Read Coils
Write Single Coil
Write Multiple Coils
0xxxx
1
32768
%Q00001
32768
2
Read Discrete Inputs
1xxxx
1
32768
%I00001
32768
3
6
16
22
23
Read Holding Registers
Write Single Register
Write Multiple Registers
Mask Write Register
Read/Write Multiple Registers
4xxxx
1
1024
%R00001
1024
4
Read Input Registers
3xxxx
1
64
%AI00001
64
7
8
Read Exception Status
Diagnostics
n/a
N/A
N/A
N/A
N/A
20
21
Read File Record
Write File Record
6yxxxx
1
0
%W00001
0
Содержание PACSystems RX7i
Страница 45: ......
Страница 54: ...Chapter 4 Configuration GFK 2224Q January 2017 41 Figure 18 CPE400 Advanced Ethernet Configuration LAN1 LAN 2 ...
Страница 80: ...Chapter 4 Configuration GFK 2224Q January 2017 67 ...
Страница 81: ......
Страница 122: ...Chapter 6 Programming EGD Commands GFK 2224Q January 2017 109 ...
Страница 142: ...Chapter 7 Programming SRTP Channel Commands GFK 2224Q January 2017 129 Figure 51 Sample Ladder Logic for COMMREQ ...
Страница 147: ......
Страница 193: ...Chapter 10 OPC UA Server 180 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q Example ...
Страница 202: ...Chapter 10 OPC UA Server GFK 2224Q January 2017 189 Figure 73 Machine Edition Online Command to Set Passwords ...
Страница 211: ......
Страница 253: ...Chapter 12 Diagnostics 240 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q ...
Страница 262: ...Chapter 13 Network Administration GFK 2224Q January 2017 249 ...
Страница 263: ......