Page 1 of 1

UCCNC VFD MODBUS and USB RS485

PostPosted: Sat Apr 03, 2021 3:59 am
by Archy
Does the software have, or has anyone made plugins to allow modbus reading of the VFD's Current (To get a "load" of how hard it's working), RPM and have it displayed live on a screen somehow? Would be cool to see if the spindle is working hard or not, I've seen it on the big expensive CNC's. I know there's a USB RS485 device to interact with the VFD somehow. Does the USB RS485 tell the spindle to turn on/off, RPM control? Or does the UCCNC send a control signal that does on/off + RPM and the USB RS485 can also do it but you use the UCNCC for control, the USB device for modbus data reading?

Re: UCCNC VFD MODBUS and USB RS485

PostPosted: Sat Apr 03, 2021 6:58 am
by dezsoe
See the MODBUSEZ plugin thread.

Re: UCCNC VFD MODBUS and USB RS485

PostPosted: Sat Apr 03, 2021 12:24 pm
by ger21
The USB to RS485 is just an interface for UCCNC to communicate with the VFD using Modbus. You should be able to do anything you want, but it's up to you to set it up.
As long as your VFD supports standard Modbus. (Huanyang HY series VFD's do not)

Re: UCCNC VFD MODBUS and USB RS485

PostPosted: Sat Apr 03, 2021 8:17 pm
by A_Camera
Archy wrote:Does the software have, or has anyone made plugins to allow modbus reading of the VFD's Current (To get a "load" of how hard it's working), RPM and have it displayed live on a screen somehow? Would be cool to see if the spindle is working hard or not, I've seen it on the big expensive CNC's. I know there's a USB RS485 device to interact with the VFD somehow. Does the USB RS485 tell the spindle to turn on/off, RPM control? Or does the UCCNC send a control signal that does on/off + RPM and the USB RS485 can also do it but you use the UCNCC for control, the USB device for modbus data reading?

I do this using Modbus. Reading several parameters, not just sending the simple commands of on/off and spindle speed.

Re: UCCNC VFD MODBUS and USB RS485

PostPosted: Sun Apr 04, 2021 7:47 pm
by A_Camera
This is a quick video showing my Modbus monitor screens.



I include the link also since embedding video does not always work here.
https://youtu.be/_4FFBUZUNqI

To handle control and monitoring, I am using Modbus Master and also had to write a few macros, modified M3 and M4 as well as some of the UCCNC default screens.

Re: UCCNC VFD MODBUS and USB RS485

PostPosted: Tue Aug 10, 2021 9:12 am
by Archy
Thank-you very much. I'll do that modbus master thing.

Any recommendation on an affordable 2.2kw VFD that works fully with modbus to at least show the current/torque, etc? I will be using a 1.5kw watercooled spindle (possibly 2.2kw later if my machine can handle the weight)

Re: UCCNC VFD MODBUS and USB RS485

PostPosted: Mon Aug 16, 2021 5:36 pm
by valhallaCNC
I'm using the 4KW Huanyang GT series inverter. Using Modbus Master and adapting the macros that A_Camera wrote I can control and read VFD parameters.