As far as I remember, the ‘tool-enable’ pin 15 on 25-pin I/O port does not work when selecting a VFD as ‘tool-type’ under tools. Usually I would let the VFD switch the dust collector on, like the spindle water coolant pump – the VFD has relay outputs for this – or, if you want the CNC controller to switch the dust collector on and off, use Load-1 or Load-2 by using the commands M7 / M8. These usually are for workpiece flood or mist coolant, but you can easily integrate the M7 M8 into the post processor, as they do it on the Masso G3.
when switching to a 220 V VFD/spindle, can you get convinced to buy something serious? Huanyang, that is cheap chinese noname with Huanyang printed on it, only stupid V/f control, no sensorless vector control (SVC), that’s stone age. The cheapest of the cheapest. Even many cheap VFDs have SVC today.
Good VFDs are Omron MX2 aka Hitachi WJ200, the Hitachi S1 or the Invertek Optidrive E3 (Made in UK). I would always spend more money on the VFD than on the spindle, because spindles will come and go, but a good VFD will stay. And it’s the VFD that gets the best performance out of a spindle.
Anyway, you can connect your External IoT relay (FAQ) to the Optocoupler output of the VFD:
You can take the +24 V directly from the VFD because the IoT relay control input draws nearly no power at all. Then you got to set PD050 to “1” so that the Optocoupler output DRV is on when the VFD is in “RUN” condition. This will switch on whatever is connected to your IoT relay when M3 is encountered and M5 will stop it, together with the spindle. There is a second output, UPF, controlled with PD051, for another device to be automatically switched on an off by the VFD. The optocouplers close a contact to Digital Common (DCM). It should be connected to ground.
Regarding the spindle coolant pump, you can connect it directly to the relay output FB/FC. You connect one wire of its supply voltage to FC, and then a wire from FB to the pump. The other wire directly from pump supply voltage to the pump. Then you set PD052 to “1” and the pump will run when your VFD is in “RUN” mode. The pump can be a max. 30 V DC / 3 A pump or a max. 250 V AC / 3 A pump.
I realized I do use the VFD to turn on the vacuum. I think the issue lies with the VFD as all the wires are intact.
Thank you for all of your help!
Aiph5u
(Aiph5u (not affiliated with Onefinity))
10
Hey Sylthecru,
the issue that the Modbus serial communication fails with this type of VFD comes up from time to time here in the forum, some of which cannot be fixed.
I hope it is not a broken solder point on the controller.
Which VFD do you use with your CNC?
Aiph5u
(Aiph5u (not affiliated with Onefinity))
12
Hey Sylthecru,
I bought the Omron MX2 2.2 kW 220 V for single-phase input, I bought it here. The 2.2 kW 220 V single-phase input model is 3G3MX2-AB022. I bought the kit with matching braking resistor and EMI filter. The equivalent Hitachi WJ200 2.2 kW 220 V single-phase input (practically identical) is sometimes available for less money in North America. The model is WJ200-022SF. The WJ200 will be superseded by the WJ-C1(-022SFE), which is downward-compatible.
The Hitachi S1 model would be S1-00130SFE.
The Invertek Optidrive E3 is available in IP20 and IP66 class, it can be selected on this page.
@Aiph5u I purchased another hy VFD and it was the cause of the failure. Thank you for the VFD suggestions but the prices of the better VFD’s is currently out of my budget for now.
Thank you for all of your help!
The guide below was what I used to configure the new vfd.