AH500 Programming Manual
6-516
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.