(3) Functions
• This instruction performs the open process for a connection specified by (S1) for the module specified by Un.
The setting value used for the open process is selected by (S2)+0.
• Completion of the OPEN instruction can be checked with Completion device (D1)+0 and (D1)+1.
• Completion device
(D1)+0:
• Completion device
(D1)+1:
[Operation while the OPEN instruction is being executed]
Program
OPEN instruction
Completion device
Completion device + 1
• The ZP.OPEN instruction is executed on the rising edge (OFF ON) of the open command.
Do not perform an open process using I/O signals and using the dedicated instruction together for the same connection.
Doing so will result in malfunction.
(4) Errors
• If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored
in Completion status (S2)+1.
242
Turns on at the END process of the scan where the OPEN instruction is
completed and turns off at the next END process.
Turns on and off depending on the completion status of the OPEN instruction.
• Normal completion:
• Abnormal end:
END
Scan
Scan
process
Executed
Connection
opened
Stays off and does not change.
Turns on at the END process of the scan where
the OPEN instruction is completed and turns off at
the next END process.
END
END
Scan
process
process
Abnormally ended