Spindle timed out after job completed

A job was just completed and after a bit change the spindle and the vacuum did not start up when play was pushed.

I looked under tools and I see the vfd is no longer ok but has a timeout under modbus settings.

I have tried to restart the controller and the vfd with no change to the modbus status.

Any help will be appreciated as I am currently on a deadline to complete this project.

Hey Sylthecru,

if it worked before, I would have a look at the cable and the wire ferrules at its end.

I will double check the connections when I get back home tonight, but the weird thing is this occurred after I completed a job.

Now thinking of what occurred is when the job completed the spindle and the vacuum did not stop and I had to manually power off the iot relay.

You could be correct the cable is the issue.

Thank you for your reply!

Hey Sylthecru,

To what is your dust collector / relay connected?

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.

1 Like

I currently use this relay

Do you have any documentation of how to implement using the VFD as the trigger for the relay.

Which VFD do you use?

I use

https://www.amazon.com/gp/aw/d/B078HRTBZ7?psc=1&ref=ppx_pop_mob_b_asin_title

But I am thinking about upgrading to

https://www.amazon.com/gp/aw/d/B078J5CXP3/ref=ox_sc_act_image_1?smid=A3A1CXRHIIBHYY&psc=1

Once I get a 220 installed

Hey Sylthecru,

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.

1 Like

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!

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.

You could check if you have this issue reported here. Also one user reported the problem (which persisted) was with the DB-25 connector soldered into Onefinity Controller Mainboard, and where the problem could only be resolved by resoldering the solder joints on DB-25 connector pins on Onefinity Controller Mainboard :frowning:.

1 Like

I hope it is not a broken solder point on the controller.

Which VFD do you use with your CNC?

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.

1 Like

@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.

1 Like