
Operating Instructions
Chapter
5
Flexi Soft Gateways
8012664/XB29/2013-06-11
© SICK AG • Industrial Safety Systems • Germany • All rights reserved
39
Subject to change without notice
Ethernet gateways
Configuration of the TCP/IP interface — Who establishes the connection
If the Flexi Soft gateway shall connect to external applications, perform the following
configuration steps:
Activate the
Connect to
radio button.
Set
IP address
to the IP address of the computer the application is running on.
Enter the
Port
number for the application.
The configuration is considered faulty if either the connect socket port and/or the connect
IP address is zero when in
Connect
mode.
If external applications shall connect to the Flexi Soft gateway, perform the following
configuration steps:
Activate the
Listen on
radio button.
Enter the
Port
number for the application.
Suggested port numbers are 9100 to 9103 (default values).
Port 0 and port 9000 are reserved and can not be used (faulty configuration).
Port numbers 0 to 1023 are managed by the Internet Assigned Numbers Authority
(IANA) and should
not
be used to prevent collisions. See
www.iana.org/assignments/port-numbers.
Finally, determine how the data are transferred. Follow the steps outlined in the following
section.
Data transfer method — How the data are transferred
Whenever the TCP/IP socket connection has been established (either by an application on
a PC or by the gateway itself), there are two possible methods how the data sets can be
transferred:
The application requests the data set(s) per command message (Application requests
(Polling) mode),
or
the gateway auto-updates the data sets as per configuration (Gateway writes to
Address/Port (Auto update) mode).
In Auto update mode there are two update modes how the gateways update the data:
Update COS (Change of state)
: when any data of the input data set change status.
Heartbeat interval
: data will be sent automatically according to the configured
Heartbeat rate
in ms.
If Heartbeat interval is enabled, a change of state will trigger an immediate update of the
data as well, regardless of the set heartbeat rate. I.e. COS is always active.
For both methods the following structure of messages applies.
Note
Notes
Note