Delta Electronics AH — 3.24 Ethernet Instructions

Chapter 3 Standard Instructions 5. If the data are sent through the UDP socket, and no error occurs after the instruction is executed, the flag of having sent the data is ON. If an error occurs, the error flag is ON. 6. Generally, the pulse instruction SRCVDP is used. Example: Please refer to examples shown in the instruction SOPEN. Additional remark: 3_ 1. When S 1 or S 2 exceeds the range, the instruction will not be executed. SM0 will be ON and SR0 error code is 16#2003. 2. In the TCP Socket, if the position to be written is not in TCP Socket mode, an error flag will be ON, and the error code is 16#6206.

If the data length of the data to be received exceeds 1000, an error flag will be ON, and the error code is 16#6207. If the starting position and the data to be received exceed the device range, an error flag will be ON, and the error code is 16#6208. Under this circumstance the instruction will not be executed. 3. In the UDP Socket, if the position to be written is not in UDP Socket mode, an error flag will be ON, and the error code is 16#620F. If the data length of the data to be received exceeds 1000, an error flag will be ON, and the error code is 16#6210.

If the starting position and the data to be received exceed the device range, an error flag will be ON, and the error code is 16#6211. Under this circumstance the instruction will not be executed. 4. If the actual packet size is bigger than it is set, only the packet within the setting range will be saved and the exceeding data will be ignored. The error flag will be ON. Under this circumstance the instruction will not be executed and the error code is 16#6213. 5. During the connection, if the remote PLC makes a disconnection, an error flag will be ON and the error code is 16#6214.

If the remote PLC responds with a TCP Socket communication timeout, an error flag will be ON and the error code is 16#6212. 6. When the instruction is being executed, but the Ethernet network has not been connected. The error flag SM1100 will be ON and the error code is 16#600D. 3-579 UDP Socket number Having sent the data Error flag 1 SM1336 SM1338 2 SM1341 SM1343 3 SM1346 SM1348 4 SM1351 SM1353 5 SM1356 SM1358 6 SM1361 SM1363 7 SM1366 SM1368 8 SM1371 SM1373