modbus connection issue
Posted: Fri Oct 29, 2021 10:04 am
Hello,
we are facing some random modbus connection hickups,
our client ( a wemos D1mini) connected via usb cable, sends random values in a modbus cell (master_life_reg) every 500ms ( we also tried to send the random value at every single loop with similar results).
On the UCCNC side there is a macro that checks if the cell value has changed every 2 seconds (modbus loop is set at 100ms)
Every now and then we receive a modbus error but we cant understand why.
attached a stripped down version of the macro involved.
thanks
giorgio
we are facing some random modbus connection hickups,
our client ( a wemos D1mini) connected via usb cable, sends random values in a modbus cell (master_life_reg) every 500ms ( we also tried to send the random value at every single loop with similar results).
On the UCCNC side there is a macro that checks if the cell value has changed every 2 seconds (modbus loop is set at 100ms)
Every now and then we receive a modbus error but we cant understand why.
attached a stripped down version of the macro involved.
thanks
giorgio