User manual

Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
233
Appendix - Ethernet
Overview
Ethernet can be used on the following RTU ports: CP-21 port 2, CP-11/12 ports 2 and 3 and MC-11
ports 2 and 3 (when the MC-11 is used with a CP-11). It can also be used on LP-2/3 ports 3 and 4.
A CP-21 uses an E option board while a CP-11/12 or an MC-11 uses a T(CP-11 and MC-11 only), T3
or A (fibre optic) option board. All Ethernet ports support TCP/IP. CP-11/12 and MC-11/12 Ethernet
ports also support UDP/IP.
CP-11/12 Ethernet ports support the Kingfisher, DNP3, Allen Bradley and Modbus protocols when using
the TCP/IP transport layer. MC-11 Ethernet ports only support the Kingfisher and Allen Bradley
protocols when using the TCP/IP transport layer. For a details of protocols that can be used on Ethernet
ports please see the document protocols.pdf available from www.cse-semaphore.com/mykingfisher.
A CP-21 Ethernet port has 24 sockets (19 are available for message transfers) while a CP-11/12 or MC-
11/12 Ethernet port has 4 sockets (8 sockets for T3).
The Ethernet port address varies according to the protocol being used.
Protocol
Ethernet Port Address
Kingfisher Series 2 473
Modbus 502
DNP3 20,000
Allen Bradley 2,222
SNMP 161*
* Only supported by CP-11 Ethernet ports and the TT4030 Tandberg Stream Tracker protocol.
MAC addresses are assigned to each Ethernet option board as follows:
Option Board
MAC Address
CP-21 E Option 00:01:19:00:00:yy, where:
yy = RTU Address as specified in the configuration
CP-11/12 T and A
Options
00:01:19:00:xx:yy, where:
xx = Physical port number of the option board; 01 = Port 2 and 02 = Port 3
yy = RTU Address as specified in the configuration
MC-11/12 T and A
Options
00:01:19:xx:yy:zz, where:
xx = RTU Address as specified in the configuration
yy = Physical port number of the option board; 01 = Port 2 and 02 = Port 3
zz = Slot number (in hexadecimal) of the MC module on the backplane;
00 to 3F = Slot 1 to Slot 64
How The RTU Manages Ethernet Sockets
CP-1x/MC-1x TCP/IP
A CP-11/12 or MC-11/12 Ethernet port has four (eight for T3) sockets that can be used for connections. The
sockets are used differently depending on which protocol is being used.
When using the Kingfisher protocol, all four sockets listen on address 473.
When using the DNP-3 protocol, three (seven for T3) sockets listen on address 20,000 for DNP-3
messages and one socket listens on address 473 for Kingfisher messages.
When using the Modbus protocol, three sockets listen on address 502 for Modbus messages and one
socket listens on address 473 for Kingfisher messages.
When using the Allen Bradley protocol, three (seven for T3) sockets listen on address 2,222 for Allen
Bradley messages and one socket listens on address 473 for Kingfisher messages.
To respond to an incoming message from a new RTU or device, the RTU uses the same socket on
which the message arrived.
A socket that was opened for an incoming message is automatically closed after 60 seconds of
inactivity or if the remote device closes the connection or if closed using the #YLSTrrr.11 parameter.
A socket is required when initiating an outgoing message to a new RTU or device. If all sockets are
being used, the RTU will disconnect the socket that has been inactive the longest and reuse that socket.
A socket that was opened for an outgoing message is automatically closed after 60 seconds (by default)
or after a configurable amount of seconds as specified by the Post Tx port setting.
When an Ethernet port is re-connected to a network, the Ethernet port will re-initialize all it’s TCP/IP
connections and send ARP requests if it was a Primary processor port before it was disconnected.
When all sockets are being used the Ethernet port is unable to respond to messages from new devices.