to Modbus TCP/UDP masters (such as monitoring systems, home automation systems). You do not need commercial Modbus gateways. Arduino (with an ethernet shield and a cheap MAX485 module) can do the job!
The program allows control of 32 inputs and 32 outputs using the Mach4 modbus plugin. The sketch accesses the Arduino pins directly using port manipulation for faster signaling. The input pins are ...