Fieldbus controller 750-842
•
83
Programming the PFC with WAGO-I/O-PRO 32
Modular I/O System
ETHERNET TCP/IP
3.2.7.1.1 ETHERNET.lib
Element
Description
ETHERNET_CLIENT_CLOSE
Function block to close a client socket.
ETHERNET_CLIENT_OPEN
Function block to create a client socket. *
)
ETHERNET_GET_NETWORK_CONFIG
Function block to get the node’s network confi-
guration.
ETHERNET_READ
Function block to read date received from a
remote system.
ETHERNET_SERVER_CLOSE
Function block to close a Server socket with all
underlying connections (clients connected to
the server).
ETHERNET_SERVER_OPEN
Function block to create a Server socket. It is a
base for a communication to a remote sy-
stem..*
)
ETHERNET_SET_NETWORK_CONFIG
Function block to set the node’s network confi-
guration.
ETHERNET_VERSION
Function to get the library’s current version.
ETHERNET_WRITE
Function block to write data to a remote sy-
stem.
ETH_ERROR (Data type)
Data type defines the error codes returned by
the ETHERNET function blocks.
SEL_PROTOCOL (Data type)
Data type defines the transport protocol to use.
Is used by ETHERNET_CLIENT_OPEN and
ETHERNET_SERVER_OPEN.
SEL_TYPE (Data type)
Data type defines the semantics of communica-
tion. Is used by ETHERNET_CLIENT_OPEN
and ETHERNET_SERVER_OPEN).
*
)
The maximum number of connections open at a time is 2. You might have to terminate
existing connections to ETHERNET_CLIENT_CLOSE or ETHERNET_SERVER_CLOSE.
3.2.7.1.2 EtherTCPmodbus.lib
Element
Description
HTONS
Function converts the value ShortNumber from
Intel format to Motorola format.
RECV_MODBUS_MESSAGE
Function to receive the answer to a
MODBUS/TCP request over a TCP connec-
tion.*
)
SEND_MODBUS_MESSAGE
Function to send a MODBUS/TCP message
over a TCP connection.*
)
MODBUS_FC (Data type)
Data type, defines the function code to use. (Is
used by SEND_MODBUS_MESSAGE and
RECV_MODBUS_MESSAGE)
*
)
To prevent a complete filling of the buffer, the module SEND_MODBUS_MESSAGE
should always preceed the RECV_MODBUS_MESSAGE.
Содержание I/O-SYSTEM 750
Страница 334: ...330 Notes Modular I O System ETHERNET TCP IP ...