9. Program
68
9.7. Error Process
9.7.1. Error Code List
The error codes for this program are shown below.
●
Error flag (Error end/timeout) [Output_ErrCode]
If the connect processing, send processing, receive processing or close processing ends in
error or timed out, the error flag will be set in the
Output_ErrCode
variable.
Error flag
Description
16#0000
Normal end
16#0001
The send processing ended in error.
16#0002
The receive processing ended in error.
16#0004
The connect processing ended in error.
16#0008
The close processing ended in error.
16#0100
The send processing did not end in time.
16#0200
The receive processing did not end in time.
(Including when an arrival of the response cannot be checked.)
16#0400
The connect processing did not end in time.
16#0800
The close processing did not end in time.
16#0010
Processing number error
16#0020
Send/Receive required/not required detection error
16#1000
Destination device error
16#2000
Destination device FCS (checksum) error
16#8000
Error occurrence
*The error flags detected for each processing are added and the addition result is stored in
the error flag.
(Example) The connect TCP socket instruction error end + Close status check timeout
WORD#16#8000 (Error occurrence)
+WORD#16#0001 (TCP socket connect instruction ended in error)
+WORD#16#0100 (Close status check timeout)
↓
Output_ErrorID: WORD#16#8101
Summary of Contents for V750 series
Page 51: ...9 Program 2 Initialization processing 48...
Page 52: ...9 Program 49...
Page 53: ...9 Program 3 Connect processing 50...
Page 54: ...9 Program 4 Send processing 51...
Page 55: ...9 Program 5 Receive processing 52...
Page 56: ...9 Program 53...
Page 57: ...9 Program 6 Close processing 54...
Page 58: ...9 Program 7 Processing number error process 55...
Page 60: ...9 Program Program 57...
Page 62: ...9 Program Program 59...
Page 64: ...9 Program Program 61...
Page 78: ...2013 0911 P543 E1 01...