Search found 6 matches

by r_merc
Sun Mar 22, 2020 4:55 am
Forum: Questions & Troubleshooting
Topic: RS486 and MODBUS RTU
Replies: 4
Views: 2185

Re: RS486 and MODBUS RTU

OK here is a new twist on this. If I remove all the digitalWrite() form the sketch I can get the Mast and slave to communicate. With the digitalWrite in the Slave the communications fails. Any Ideas?
by r_merc
Sun Mar 22, 2020 3:01 am
Forum: Questions & Troubleshooting
Topic: Controllino MAXI not recognized
Replies: 3
Views: 1817

Re: Controllino MAXI not recognized

I have a similar set up and one Maxi is com 4 and the other is com 3. Sounds like what you are doing is correct.
by r_merc
Sun Mar 22, 2020 3:01 am
Forum: Questions & Troubleshooting
Topic: Controllino MAXI not recognized
Replies: 3
Views: 1817

Re: Controllino MAXI not recognized

I have a similar set up and one Maxi is com 4 and the other is com 3. Sounds like what you are doing is correct.
by r_merc
Thu Mar 12, 2020 12:05 am
Forum: Questions & Troubleshooting
Topic: RS486 and MODBUS RTU
Replies: 4
Views: 2185

Re: RS486 and MODBUS RTU

I added some troubleshooting lines to the slave code and discovered that when the line ControllinoModbusSlave.poll(ModbusSlaveRegisters, 8); is called that the controllino resets and starts the sketch again. Sometimes it will run through the loop 2,3 or 4 times and then start over. Anyone have any i...
by r_merc
Sun Mar 08, 2020 7:14 pm
Forum: Questions & Troubleshooting
Topic: RS486 and MODBUS RTU
Replies: 4
Views: 2185

Re: RS486 and MODBUS RTU

I was reading and I came across this. So are they talking about modifying Modbus.h? "Modbus Master-Slave library for Arduino (ModbusRtu.h) was taken from the website: https://github.com/smarmengol/Modbus-Master-Slave-for-Arduino It was necessary to modify setting of the PORTJ for pins DE and RE cont...
by r_merc
Sun Mar 08, 2020 12:39 am
Forum: Questions & Troubleshooting
Topic: RS486 and MODBUS RTU
Replies: 4
Views: 2185

RS486 and MODBUS RTU

I am trying to run the Example Code and am not getting the slave Controllino Maxi Pure to respond to the master Maxi Pure. I can't figure out what I am doing wrong.