Ethernet interface module
MELSEC-WS
32
Configuration of the TCP/IP interface - who establishes the connection
If the Ethernet interface module shall connect to the external application, 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 the external application shall connect to the Ethernet interface module, perform the
following configuration steps:
Activate the
Listen to
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 can not be used. See www.iana.org/assignments/port-
numbers
Finally, determine how the data is transferred. Follow the steps outlined in the
following section.
Data transfer method - how the data is transferred
Whenever the TCP/IP socket connection has been established (either by an
application on a PC or by the Ethernet interface module 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 Ethernet interface module auto-updates the data sets as per configuration
(Ethernet interface module writes to Address/Port (Auto update) mode).
In the auto update mode, there are two update modes how the Ethernet interface
module 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
Note
Note
Содержание Melsec WS Series
Страница 1: ...Safety Controller Ethernet Interface Module User s Manual WS0 GETH ...
Страница 2: ......
Страница 89: ...Procedures before operation MELSEC WS 86 ...
Страница 90: ...MELSEC WS Procedures before operation 87 ...
Страница 91: ...Procedures before operation MELSEC WS 88 ...
Страница 97: ...Procedures before operation MELSEC WS 94 ...
Страница 98: ...MELSEC WS Procedures before operation 95 ...
Страница 99: ...Procedures before operation MELSEC WS 96 ...
Страница 108: ...MELSEC WS Procedures before operation 105 Sample program auto update mode Figure 62 Sample program auto update mode ...
Страница 141: ......