Delta AH500 — 6.22.2 Explanation of Ethernet Instructions

Chapter 6 Applied Instructions 8. Generally, the pulse instruction SCLOSEP is used. Example: Please refer to the example of the execution of SOPEN. Additional remark: 1. If S 1 , or S 2 exceeds the range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 2. During the closing of the connection, if the computer as the client abandons the connection, the error occurs, the corresponding error flag is ON, and the error code is 16#6214. During the connection, if there is a response timeout, the error occurs, the corresponding error flag is ON, and the error code is 16#6212. 3.

When executing this instruction, if the network cable is not connected, SM1100 will be ON and the error code is 16#600D. 6-517 Socket number Error flag 6 SM1363 7 SM1368 8 SM1373