Delta AS Series Programming Manual page 1095

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
8.
If a UDP socket is closed, and no error occurs after the instruction is executed, the flag for started connection is OFF.
If an error occurs, the error flag is ON.
9.
In general, the pulse SCLOSEP instruction is used.
Example
Refer to the example for the SOPEN instruction (API 2200).
Additional remarks
1.
The following table lists the TCP connection errors.
Error Code
_6
_6
16#2003
16#600D
16#6212
16#6214
16#621A
2.
The following table explains UDP connection errors.
Error Code
16#2003
16#600D
16#621A
6 - 8 1 6
UDP Socket Number
1
2
3
4
Error Flag
SM0
SM1100
TCP Socket error flag
TCP Socket error flag
TCP Socket error flag
Error Flag
SM0
SM1100
UDP Socket error flag
Description
S
or S
exceeds the range
1
2
Ethernet network not connected
TCP Socket communication timeout
TCP Socket connection rejected by remote device
Disabling TCP Socket connection triggered
Description
S
or S
exceeds the range
1
2
Ethernet network not connected
Disabling UDP Socket connection triggered
Error Flag
SM1338
SM1343
SM1348
SM1353

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents