Chapter 9. Modbus/TCP Client
GFK-2224Q
January 2017
171
9.6
Differences between Series 90 and PACSystems Modbus/TCP
Channels
This section lists the known differences between the Series 90 implementation of Modbus/TCP Channels and
the PACSystems implementation.
1.
On the 90-30 CMM321 if a Modbus error response is received for a Modbus/TCP channel, the Ethernet
interface closes the TCP connection and updates the CRSW with an appropriate error code. For
PACSystems Ethernet, the Modbus error response results in an updated CRSW with an appropriate error
code but the TCP connection is NOT closed.
2.
A CRSW of 0x8390 (Invalid Server Memory Type) is returned when an invalid Modbus Function code is
specified for the CMM321. For PACSystems Ethernet, an improved CRSW of 0xB690 (Invalid/Unsupported
Modbus Function Code) is returned.
3.
The TCP connect timeout (i.e. the amount of time to wait for the Remote server or Gateway to establish a
TCP connection with a Modbus/TCP Channel) is 90 seconds on the Series 90 and 75 seconds on
PACSystems. An error is returned in the CRSW for the Open Modbus/TCP Connection COMMREQ when this
timeout occurs.
4.
The station manager command “stat m” on the Series 90 results in displaying “Closed” for specific Closed
channels while PACSystems Modbus/TCP Channels results in displaying nothing for a specific Closed
channel.
5.
When sending a Close Modbus/TCP Connection COMMREQ, the PACSystems Modbus/TCP Client will return
a success CRSW (0x0001) while the CMM321 module returns an error CRSW.
6.
The rules for Endian conversion when transferring between Word and Bit types of memory are different in
order to make these types of conversions consistent.
CMM321 Modbus Client Endian Conversion Example
For example, depending on the direction of the transfer, the end-to-end values result in bytes being swapped
for CMM321 Modbus Client. This can be seen in the example table below.
Memory
Location /
Type
Memory value
example
Transfer
Direction
Memory
Location /
Type
Resulting Value After
Transfer
Notes
Client Bit
%M16-%M1 =
0x4321
Server Word
%R1 = 0x4321
End-to-end bytes
un-swapped
Server Bit
%M16-%M1 =
0x4321
Client Word
%R1 = 0x2143
End-to-end bytes
swapped
Client Word %R1 = 0x4321
Server Bit
%M16-%M1 = 0x4321
End-to-end bytes
un-swapped
Server
Word
%R1 = 0x4321
Client Bit
%M16-%M1 = 0x2143
End-to-end bytes
swapped
Содержание 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: ......