Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: mmontanari on August 15, 2019, 02:41:08 PM

Title: rs485 VFD Spindle Control
Post by: mmontanari on August 15, 2019, 02:41:08 PM
I am currently using Mach 3 with a Huanyang VFD and the "royaumedeole.fr" Plugin for RS485 control. It works great! I am wanting to switch to Mach 4 and am wondering if there is something similar for it. Or does anyone know if that plugin will install on Mach 4?
Title: Re: rs485 VFD Spindle Control
Post by: smurph on August 16, 2019, 01:09:56 PM
Mach 3 plugins will NOT install into Mach 4.  I can answer that part.  As to if there is something similar to that Mach 3 plugin, I don't know.  :( 

Steve
Title: Re: rs485 VFD Spindle Control
Post by: joeaverage on August 16, 2019, 07:26:34 PM
Hi,
Mach4 has a very good Modbus plugin, in my opinion light years ahead of the Mach3 Modbus plugin.

If I understand correctly many early model Huanyang VFDs did not follow a strict Modbus protocol at that was why it was
necessary to have the royaumedeole.fr plugin.

More recent models of Huanyang VFDs are Modbus compliant. If memory serves correctly the models that are Modbus
compliant are appened with the letters "GM" or similar.

Do you know what model of VFD you have? Is it a Modbus compliant one?

Craig
Title: Re: rs485 VFD Spindle Control
Post by: mmontanari on August 20, 2019, 09:31:18 AM
It's a HY02D223B. I don't see anything in the manual about ModBus. Any Ideas?
Title: Re: rs485 VFD Spindle Control
Post by: joeaverage on August 20, 2019, 03:16:00 PM
Hi,
that looks like an early model and probably not Modbus compliant.

If I understand correctly this VFD followed largely the Modbus protocol but differed in a number of details which
therefore required a specialist plugin.

Every other VFD on the market IS Modbus compliant and Huanyang bowed to pressure to comply with their
latest models.

Unless another user has written a plugin for it in Lua you have two choices:
1) Write your own plugin
2) Ditch it and get a Modbus compliant model.

Craig