

Modbus protocol is defined as a master/slave protocol, meaning a device operating as a master will poll one or more devices operating as a slave. The Modbus protocol specification is openly published and use of the protocol is royalty-free. I am trying to send the data through the address 0x10001 in order for my slave to read the input of 1 which is sent from the digital input on the arduino. Modbus remains the most widely available protocol for connecting industrial devices. I also get read rs port error & or illegal response when using mbustester When I use function code 03, TxD and RxD on Moxa connector are blinking, but only RxD is blinking on. (wiring can be found in attachment) Settings of Modbus poll software can be found in attachment. I am using Moxa 1150 with DB9 connector to connect PLC with PC. On Modbuspoll i get " checksum error" and when no inputs pressed “timeout error”, i have included my wiring and code below along with pictures of the errors that i am receiving. Now, I want to test communication additionally with Modbus poll software on PLC. I have been trying to debug this for many days now and have been unsuccessful, i have re wired my project and checked my code but still cannot figure out these errors.


When press my digital input from arduino master, modbus poll & modbus tester throw up errors and i cannot receive the data correctly. Hi all, i am trying to use my arduino as a modbus master to send 1 bit of data through RTU.
