5 - 40
MELSEC-F
COMMUNICATION PROCEDURE
5
5 - 40
5.6.3 UDP/IP open processing/close processing
The following explains the UDP/IP open processing.
The operations of the open processing/close processing in UDP/IP differ depending
on whether "Always wait for OPEN" or "Do not wait for OPEN" is selected in the initial
timing settings (BFM #24 b8) from operational settings.
(1) When "Always wait for OPEN" is selected in the operational
settings (Communications possible at STOP time)
According to the Open settings (BFM#32), a selected connection for the UDP/IP
communication is established automatically after the Ethernet module installed
station has been restarted, and data transmission/reception is enabled.
Sequence programs for open processing and close processing are not required.
For details on the [Open settings] parameter, see Section 5.5, "Open Settings".
NOTE
When performing the open and close processing by writing to the buffer memory
from the Ethernet module side, even if [Always wait for OPEN (Communications
impossible at STOP time)] is selected at [Operational settings], it is required to use
the sequence program to process all that follows the processing for the applicable
connection.
If "Do not wait for OPEN (Communication impossible at STOP time)" is selected,
open processing and close processing need to be done in the same manner as a
connection.
(2) When "Do not wait for OPEN" is selected in the operational settings
(Communications impossible at STOP time)
In this case, the open processing and close processing in the sequence program
shown in the next page are required. Data transmission and reception are
enabled after the open processing is normally completed.
Perform the open processing and close processing by writing "0001
H
" in
BFM#1602 to 1609.