13 #define MODBUSIP_PORT 502 14 #define MODBUSIP_MAXFRAME 200 25 EthernetServer _server;
49 void config(uint8_t *mac, IPAddress ip);
60 void config(uint8_t *mac, IPAddress ip, IPAddress dns);
73 void config(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway);
87 void config(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet);
Modbus over TCP/IP network Class for Arduino Ethernet shield.
ModbusIP()
Default constructor.
void config(uint8_t *mac)
Connect a ModbusIP object to a network.
void task()
Task that performs all operations on MODBUS.