Error Judgment Processing - Omron V330-F Series Quick Start Manual

Corporation auto focus multi code reader
Hide thumbs Also See for V330-F Series:
Table of Contents

Advertisement

9.3. Error Judgment Processing

This section describes error judgment processing in the project file.
9.3.1.
Error Judgment in the Project File
In this project file, error judgment processing is executed for the following three types of
errors (1) to (3). Refer to 9.7.1. Error Code List for information on error codes.
Controller
(1) (2)
(1) Communications error during TCP socket communications using socket service
instructions
An error that was detected by a program in TCP socket communications, such as a
communications hardware error, command format error, or parameter error, is judged as a
"communications error". This judgment is made based on the socket service instruction
argument "ErrorID".
(2) Timeout error during communications with the code reader
An error that occurred due to abnormal open, send, receive, or close processing that failed
to complete within the monitoring time is judged as a timeout error. This judgment is made
based on timer monitoring in the project file. Refer to 9.3.2. Time Monitoring Function for
information on time monitoring using the internal timers of the project file.
(3) TCP connection status error at end of processing
The project file uses a procedure in which the overall processing ends after the last close
processing is done, regardless of whether the open to receive processing steps have
ended normally or ended with an error. Therefore, judgment of whether close processing
has ended normally is made based on the TCP connection status variable TcpStatus in the
SktGetTCPStatus instruction. If there is an error in close processing, the next open
processing may not be executed correctly. Refer to 9.7.2. TCP Connection Status Error
Situation and Correction for information on how to correct a TCP connection status error.
Code reader
Ethernet cable
(3)
9. Project File
33

Advertisement

Table of Contents
loading

Table of Contents