Chapter 6 Applied Instructions 8. If data is sent through a TCP socket, and no error occurs after the instruction is executed, the socket starts to successfully, the flag for successful connection is ON, and the flag for starting connection is OFF. If an error occurs, establish the connection with the remote device and the flag for starting connection is ON. If the connection is made the error flag is ON. 9. If data is transmitted through a UDP socket, and no error occurs after the instruction is executed, the flag for started connection is ON. If an error occurs, the error flag is ON. 10.
If data is transmitted through a TCP Socket in Server mode or through a UDP Socket, it is not allowed to use the following communication port number for ES3 series PLC.
6-691 S3 Start Mode Remote IP Local Remote Description Communication Communication Port Port Does not specify IP address, but does specify remote communication port TCP Connection Started Data Received Data Sent Connection Starting Connection Closed Data Sending Error Flag Socket Number 1 SM1270 SM1271 SM1272 SM1273 SM1274 SM1275 SM1277 2 SM1278 SM1279 SM1280 SM1281 SM1282 SM1283 SM1285 3 SM1286 SM1287 SM1288 SM1289 SM1290 SM1291 SM1293 4 SM1294 SM1295 SM1296 SM1297 SM1298 SM1299 SM1301 6 6 _ UDP Socket Connection Data Received Data Sending Connection Error Flag Number Started Closed 1 SM1334 SM1335 SM1336 SM1337 SM1338 2 SM1339 SM1340 SM1341 SM1342 SM1343 3 SM1344 SM1345 SM1346 SM1347 SM1348 4 SM1349 SM1350 SM1351 SM1352 SM1353 Socket Type Communication Port Number Communication Protocol TCP 80 HTTP TCP 502 MODBUS TCP TCP 44818 EtherNet/IP UDP 68 DHCP/BOOTP