Delta AH500 — 6.22.2 Explanation of Ethernet Instructions

Chapter 6 Applied Instructions 8. If the TCP socket is opened, and no error occurs after the instruction is executed, the PLC is connected to the remote device, and the flag related to the connection’s being started is ON. If the connection is successful, the flag related to the connection’s being successful is ON, and the flag related to the connection’s being started is OFF. If an error occurs, the error flag is ON. 9. If the UDP socket is opened, and no error occurs after the instruction is executed, the flag related to the connection’s having been started is ON. If an error occurs, the error flag is ON. 10. Generally, the pulse instruction SOPENP is used.

6-505 Remote IP address Local Remote Description communication communication port port Specific IP address Not equal to 0 Not equal to 0 1. The connection requests from the local communication port, the remote communication port, and the specific IP address are received. 2. The data is sent to the specific IP address through the remote communication port. 3. The packet is received from the specific IP address through the local communication port.

TCP socket Being starting Successful Error flag number the connection connection 1 SM1273 SM1270 SM1277 2 SM1281 SM1278 SM1285 3 SM1289 SM1286 SM1293 4 SM1297 SM1294 SM1301 5 SM1305 SM1302 SM1309 6 SM1313 SM1310 SM1317 7 SM1321 SM1318 SM1325 8 SM1329 SM1326 SM1333 UDP socket number Having started the connection Error flag 1 SM1334 SM1338 2 SM1339 SM1343 3 SM1344 SM1348 4 SM1349 SM1353 5 SM1354 SM1358 6 SM1359 SM1363 7 SM1364 SM1368 8 SM1369 SM1373