Activity Forums Questions & Troubleshooting Hardware RS486 and MODBUS RTU Reply To: RS486 and MODBUS RTU

  • r_merc

    Member
    March 12, 2020 at 12:05 am

    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 ideas why that would be happening?