Probe/Spindle at speed/Spindle Lockout
- jimwhiting
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 6
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.
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.
- Mecanix
- Offline
- Platinum Member
Less
More
- Posts: 446
- Thank you received: 216
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.
- spumco
- Offline
- Platinum Member
Less
More
- Posts: 1829
- Thank you received: 738
07 Dec 2023 19:22 #287475
by spumco
To expand on @Mecanix's suggestion, you could do the following:
Replied by spumco 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.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?
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
- Away
- Moderator
Less
More
- Posts: 19460
- Thank you received: 6529
07 Dec 2023 19:54 #287478
by tommylight
That is absolutely not allowed.
Replied by tommylight on topic Probe/Spindle at speed/Spindle Lockout
+1Every 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.
That is absolutely not allowed.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
Less
More
- Posts: 405
- Thank you received: 163
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).
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.
- jimwhiting
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 6
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.
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