Delta AH500 — 6.22.2 Explanation of Ethernet Instructions

Chapter 6 Applied Instructions 6. Generally, the pulse instruction SRCVDP 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. If the data is received through the TCP socket, and the device into which the data is written is not the device permitted by the socket, the error occurs, the corresponding error flag is ON, the error code is 16#6206, and the instruction is not executed.

If the number of data received is larger than 1000, the error occurs, the corresponding error flag is ON, the error code is 16#6207, and the instruction is not executed. If the devices into which the data is written exceed the device range, the error occurs, the corresponding error flag is ON, the error code is 16#6208, and the instruction is not executed. 3. If the data is received through the UDP socket, and the device into which the data is written is not the device permitted by the socket, the error occurs, the corresponding error flag is ON, the error code is 16#620F, and the instruction is not executed.

If the number of data received is larger than 1000, the error occurs, the corresponding error flag is ON, the error code is 16#6210, and the instruction is not executed. If the devices into which the data is written exceed the device range, the error occurs, the corresponding error flag is ON, the error code is 16#6211, and the instruction is not executed. 4. If the length of the data actually received is larger than the length of data which is needed, only the data which is needed is stored, the redundant data is ignored, the error occurs, the corresponding error flag is ON, and the error code is 16#6213. 5.

During the reception, 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 transmission, if there is a response timeout, the error occurs, the corresponding error flag is ON, and the error code is 16#6212. 6. When executing this instruction, if the network cable is not connected, SM1100 will be ON and the error code is 16#600D. 6-515 UDP socket number Being receiving the Having received the Error flag data data 8 SM1372 SM1370 SM1373