Probe/Spindle at speed/Spindle Lockout

More
06 Dec 2023 20:43 #287387 by jimwhiting
Probe/Spindle at speed/Spindle Lockout was created by jimwhiting
Hi,

So following from my issues having the spindle turning on during probing and trashing my probe... I now have a spindle lockout, which I have implemented by toggling the global VFD enable pin externally. My VFD reports spindle at speed via rs-485, which it doesn't do if the VFD is disabled... which leads to the probing routines not working due to timing out (I think)... (Defeating the point of the lockout in the first place!)

I'm contemplating moving my spindle lockout to a contactor on the motor side of the VFD so if it's disabled the motor is physically not attached to the VFD.

Thoughts?

Thanks,

Jim.

Please Log in or Create an account to join the conversation.

More
07 Dec 2023 10:17 #287427 by Mecanix
Replied by Mecanix on topic Probe/Spindle at speed/Spindle Lockout
spindle.N.inhibit - (bit, in) When this bit is TRUE, the spindle speed is set to 0.

Please Log in or Create an account to join the conversation.

More
07 Dec 2023 19:22 #287475 by spumco
Replied by spumco on topic Probe/Spindle at speed/Spindle Lockout

I'm contemplating moving my spindle lockout to a contactor on the motor side of the VFD so if it's disabled the motor is physically not attached to the VFD.

Thoughts?


 

Every VFD manual I've read cautions against installing contactors or switches between the VFD and the motor.  The VFD can be damaged if it's disconnected from the motor during operation.

To expand on @Mecanix's suggestion, you could do the following:
  • Connect spindle.N.inhibit to a motion.digital-out pin
  • Edit probe routines
    • Set spindle speed to zero (in case there is an active feedrate Fnnn)
    • Set spindle.N.inhibit true using M64 Pnn
    • [probe routine stuff]
    • Set spindle.N.inhibit false using M65 Pnn
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
07 Dec 2023 19:54 #287478 by tommylight
Replied by tommylight on topic Probe/Spindle at speed/Spindle Lockout

Every VFD manual I've read cautions against installing contactors or switches between the VFD and the motor.  The VFD can be damaged if it's disconnected from the motor during operation.

+1
That is absolutely not allowed.

Please Log in or Create an account to join the conversation.

More
07 Dec 2023 22:21 - 08 Dec 2023 16:57 #287488 by MaHa
Replied by MaHa on topic Probe/Spindle at speed/Spindle Lockout
Another option, how i solved this, when using Axis:

In remaped toolchange,  in change.ngc  enter  S0 M5
This entry in usercommand.py file sets spindle.0.inhibit 1, while probe is in spindle (my probe is T999).
Last edit: 08 Dec 2023 16:57 by MaHa. Reason: Silly Idea

Please Log in or Create an account to join the conversation.

More
05 Jan 2024 15:38 #289874 by jimwhiting
Replied by jimwhiting on topic Probe/Spindle at speed/Spindle Lockout
Thanks for the responses.

Eventually I have found that I messed up the bitmask mask for the at speed signal out of my VFD. The at-speed is now working correctly.

I still get some weird behaviour out of the probing every once in a while... but that is for another subject.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum