
I have arduino program for modbus rtu somewhere and a wintr project spicific for that arduino code. Int readLen = client. You can code arduino to put temp in one register and humidity in another and then set wintr to look at both. I´m connected via WiFi to the Robot and can Ping the Robot and the Controllino, furthermore the Sketch gives me a failure if the Client can´t connect. When using just two wires, the terminals to use on the shield are 'Y' and 'Z'. The MKR 485 Shield supports both standard and full-duplex modes, so youll see four available wiring terminals. The Modbus RTU controller involves two wires whose terminals are labeled 'B-' and 'A+'. The fixed IP of the Robot is 192.168.12.20 (111.png) Wiring the Modbus RTU Controller to the MKR 485 Shield.

For Modbus protocol specifications, please refer to the site Modbus communication is done in separate tasks, so Modbus requests and responses are non-blocking. The Controllino has to be the Client, because the Robot is the Server (fixed in the Software).įirst of all i creat a Ethernet connection wich is running quite good. This is a library to provide Modbus client (formerly known as master), server (formerly slave) and bridge/gateway functionalities for Modbus RTU, ASCII and TCP protocols.


I have a Controllino MAXI (Arduino Mega based Industrial PLC) PinOut and i need to create a Modbus TCP communication with a Robot (AGV) to control the Top Module i created.
