Skip to main content

10.5.9. ENET Member Variable/Command

10.5.9. ENET Member Variable/Command

 

You can use the ENET object to send/receive the string with the external device through Ethernet UDP communication. Because there are 3 ENET objects, you can communicate with 3 targets simultaneously.

 

First, set the IP address and port number as member parameter and open the communication channel with the OPEN command. And then execute the send/receive with PRINT and INPUT commands.

 

 

10.5.9.1. Member Variable

10.5.9.2. OPEN

10.5.9.3. SEND

10.5.9.4. Example 1 – String communication

10.5.9.5. Example 2 – Binary communication