Modbus Problems - only wokring when in Reset State
Posted: Sun Oct 08, 2023 7:01 pm
Hello,
I'm really hoping someone can help.
Summary:
Modbus commands to vfd are no longer working, i can get them to execute but only when UCCNC is in the reset state. Modbus master is showing checksum errors which stop once UCCNC is put into reset mode.
Detail:
I've been using UCCNC with a UC300ETH, and VFD (YL-620) which is connected to the laptop via a USB to RS485 (CH340 chip) connector and twisted pair short (1m) wire from laptop to inverter i've been using the modbus ez plugin to date.
Recently it has been a little temperamental with the odd delay in turning off the spindle and today it just refused to turn the spindle on. Switching everything off and back on did not fix it, i changed out the twisted pair wire incase it was an issue there but no luck.
I downloaded a serial port monitor and managed to pass the commands directly to the VFD to turn on and off the spindle with no problem at all. However as soon as i load up UCCNC and try and pass the command I can sometimes get it to turn on or off the spindle but generally i have to send the command about 10 times.
I've tried implementing a macroloop to turn turn the spindle on / off with the use of the modbus master plugin. I can get this to make the changes to the VFD, i can see it passing the data on the serial monitor but the VFD doesnt seem to react until i put UCCNC into reset mode. In the modbus master plugin i can see lots of checksum errors when UCCNC is in normal operational mode, and these stop when it is put into reset mode.
Anyone got any ideas on how to fix this?
Thank you !!
I
I'm really hoping someone can help.
Summary:
Modbus commands to vfd are no longer working, i can get them to execute but only when UCCNC is in the reset state. Modbus master is showing checksum errors which stop once UCCNC is put into reset mode.
Detail:
I've been using UCCNC with a UC300ETH, and VFD (YL-620) which is connected to the laptop via a USB to RS485 (CH340 chip) connector and twisted pair short (1m) wire from laptop to inverter i've been using the modbus ez plugin to date.
Recently it has been a little temperamental with the odd delay in turning off the spindle and today it just refused to turn the spindle on. Switching everything off and back on did not fix it, i changed out the twisted pair wire incase it was an issue there but no luck.
I downloaded a serial port monitor and managed to pass the commands directly to the VFD to turn on and off the spindle with no problem at all. However as soon as i load up UCCNC and try and pass the command I can sometimes get it to turn on or off the spindle but generally i have to send the command about 10 times.
I've tried implementing a macroloop to turn turn the spindle on / off with the use of the modbus master plugin. I can get this to make the changes to the VFD, i can see it passing the data on the serial monitor but the VFD doesnt seem to react until i put UCCNC into reset mode. In the modbus master plugin i can see lots of checksum errors when UCCNC is in normal operational mode, and these stop when it is put into reset mode.
Anyone got any ideas on how to fix this?
Thank you !!
I