I have digital inputs connected to the DE & RE Pins on the Rs 485 and the Arduino RX & TX connected to DI & RO. I am confident that my hardware is configured in the right way as i am seeing expected results when pressing the push button (writes to LCD correctly & Modbuspoll receives some kind of data). I want to send a binary 1 to the register from the Arduino in order to use this as a trigger in my software. I am using some example code found online which incorporates the ModbusMaster.h library in order to send data to a holding register. I am currently using Modbus poll to read the data that is being transmitted from the Arduino but i am having some errors. Hello i really need some help, i am trying to send some simple data from an Arduino acting as a master to some software acting as the slave.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |