Specifications
2 - 22
2.3.3 UDP/IP open/close processing
The open and close processing in UDP/IP is internal processing of the Ethernet
module.
The processing of the Ethernet module varies depending on the setting value of the
initial timing setting ("Do not wait for OPEN", "Always wait for OPEN") in the
operational settings of GX Developer.
(1) When "Always wait for OPEN" is set in the operational settings
The Ethernet module system is put into the status where data communication can
be always performed.
(No sequence program for the open and close processing is required.)
REMARK
When the open or close processing has been done using the dedicated instructions -
OPEN or CLOSE from the Ethernet module side, all the open or close processing of
the corresponding connection after that should be performed by the sequence
program even if "Always wait for OPEN (Connection possible at STOP time)" is set.
(The open and close processing same as that for "Always wait for OPEN
(Communication impossible at STOP time)" is required.)
(2) When "Do not wait for OPEN" is set in the operational settings (Communications
impossible at STOP time)
The open and close processing is performed using the sequence program.
After the open process of the connection is completed normally, data
communication is enabled.
The open and close processing must be performed using the dedicated
instructions.
When setting the "Application" in "Control data" of OPEN instruction (*1)
[D0]: H8000
Set [D1] to [D9] according to the application.
M0 M1
M1
M100 M101
M101
"U0"
K1
D0 M0
ZP.CLOSE
" U0"
K1
D100 M100
<<Open processing for connection No.1 using the dedicated OPEN instruction>>
direction
Set the control data to D0 to D9
Processing for normal completion
Processing for error completion
<<Close processing for connection No.1 using the dedicated CLOSE instruction>>
When using "Application" set in "Control data" of GX Developer (*1)
Control data [D0]: H0
direction
Processing for normal completion
Processing for error completion
ZP.OPEN
*1 Refer to Section 2.3.1 for the setting items of "Application".
For details, refer to the Q Corresponding Ethernet Interface Module User's
Manual (Basic).