232
(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 (S1)+1.
(5) Program example
The following shows a sample program that reads the open error code of the connection number 1 (when the I/O
signals of the E71 are X/Y00 to X/Y1F).
Specify the open abnormal code of
connection 1.
Specify the latest error information.
Execute the ERRRD instruction.
Process upon completion
(Error information is read.)
Process upon abnormal end