5/38
Functions
(
continued)
TCP Open optional service
Presentation
TSX ETY 110 WS/5103
Modicon Premium platform Ethernet modules support
several communication protocols based on the TCP/IP standard. These include the
Modbus protocol. This has public specifications and a simplicity which make it
suitable it for the requirements of communication with third party devices.
However, for certain applications, it may be necessary to use other protocols. This is
the case when, for example, users want to integrate Modicon Premium platforms in
existing architectures which use a particular, sometimes proprietary, communication
protocol.
To meet these needs for open access, 2 interface levels are included in the
Schneider Electric offer:
b
A library of basic functions, which can be used in C language, for direct access to
the socket interface on TCP. The user can thus create his own communication
functions using SDK C development software and take advantage of the ease of use
which this software provides for their development and debugging. Once generated,
these function blocks are used in the application like any Unity Pro or PL7 Junior/Pro
programming software standard function block.
b
A library of basic function blocks known as EFs, which can be used directly in the
application programs with Unity Pro or PL7 language. These are the same as the
functions developed in C language seen earlier, but designed for use by non-
computer specialists. These EF function blocks cannot be modified.
Functions
Operating in TCP connection client/server mode, the basic functions on the Berkeley
socket interface enable:
b
Management of 16 (out of a maximum of 32) connections on the Open profile
b
Creation of sockets and their attachment to any TCP port
b
Switching these sockets to “listen for a connection request from a remote client”
mode
b
Openness of a connection
b
Transmission and reception of data on these connections (240 bytes max.)
b
Closing of this connection
Ethernet Modbus/TCP profile
Modbus
messaging
Direct
Socket access
(
TCP Open)
TCP
IP
ISO 8802.2-ISO 8802.3
ISO 8802.3 Ethernet
10/100
Mbps
Modbus
Functions
(
continued)
Modicon Premium automation
platform
0
Ethernet Modbus/TCP network, Transparent Ready
Ethernet Modbus/TCP communication services
2
1
3
4
5
6
7
8
9
10




