Specifications
App - 60
Functions
(1) This instruction performs the open processing for a connection specified by (S1) for
the module designated by Un.
The selection of the setting values to be used for the open processing is designated
by (S2) + 0.
(2) Whether or not the OPEN instruction has been completed can be checked by the
complete bit devices (D1) + 0 and (D1) + 1.
(a) Complete bit device (D1) + 0
Turns on at the END processing of the scan where the OPEN instruction is
completed, and turns off at the next END processing.
(b) Complete bit device (D1) + 1
Turns on and off depending on the completion status of the OPEN instruction.
•
Normal completion :Stays off and does not change.
•
Abnormal completion :Turns on at the END processing of the scan where
the OPEN instruction is completed, and turns off at
the next END processing.
[Operation when the OPEN instruction is being executed]
Sequence program
OPEN instruction
Complete device
Complete device +1
END
processing
END
processing
END
processing
Scan Scan Scan
Instruction execution
Connection
open
Abnormal completion
(3) The ZP.OPEN is executed when the open instruction switches from off to on.
Important
Never execute the open/close processing using input/output signals and the
open/close processing using the OPEN or CLOSE dedicated instruction
simultaneously for the same connection. It will result in malfunctions.
Errors
(1) When a dedicated instruction ends with an error, the abnormal completion signal,
(D1) + 1, turns on and the error code is stored in the complete status area (S2) + 1.
Refer to the following manuals regarding the error codes, check the errors and take
corrective actions.
<Error codes>
4FFF
H or less : QCPU (Q Mode) User's Manual (Hardware Design,
Maintenance and Inspection)
C000
H or higher : Q Corresponding Ethernet Interface Module User's Manual
(Basic)