● Error Flags (Error End, Timeout) (Output_ErrCode)
If open, send, receive, or close processing ends with an error or times out, an error flag is
set in the variable Output_ErrCode, and an error code is stored in the variable
Output_SktCmdsErrorID or Output_SkTcloseErrorID.
(If close processing ends with error or times out, the TCP connection status error variable
Output_EtnTcpSta is also checked together.)
(O: Open processing (SktTCPConnect instruction), S: Send processing (SktTCPSend
instruction), R: Receive processing (SktTCPRcv instruction), C: Close processing (SktClose
instruction), ○: Applicable processing)
Error flag
O
#16#0000
○
#16#0001
#16#0002
#16#0004
○
#16#0008
#16#0100
#16#0200
#16#0400
○
#16#0800
#16#0010
#16#0020
#16#1000
#16#2000
#16#8000
○
* Each error flag stores the sum of error flag values detected in each processing.
● Code Reader Error Codes
If the receive data from the code reader is error data, an error code is stored in the variable
Output_MErrCode.
Error code
Description
#16#00000000
Normal End
#16#FFFFFFFF Not executed
S
R
C
Description
Normal end
○
○
○
○
Send processing ended with an error
○
Receive processing ended with an error
Open processing ended with an error
○
Close processing ended with an error
○
Send processing not completed within specified time
Receive processing not completed within specified time
○
(This includes cases where response to be received was
not received.)
Open processing not completed within specified time
○
Close processing not completed within specified time
Processing number error
Send/Receive required judgment error
Code reader error
Code reader FCS (checksum) error
○
○
○
Error occurred
9. Project File
61