- Posts: 1635
- Thank you received: 595
Schaublin 125-CNC retrofit.
- RotarySMP
- Offline
- Platinum Member
-
Less
More
10 months 3 weeks ago #339755
by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.
Here is the update on my VFD braking.
The following user(s) said Thank You: tommylight, Unlogic
- RotarySMP
- Offline
- Platinum Member
-
Less
More
- Posts: 1635
- Thank you received: 595
8 months 1 week ago #343425
by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.
Weird one here. I have three physical buttons on my control panel connected to halui.spindle.0.forward, halui.spindle.0.reverse, and halui.spindle.0.stop. These are working normally.
But if I type an M3 or M4 command, I get no spindle rotation. It was working before, and just stopped working abbruptly. I would have expected the external buttons to trigger the same signal path as M3 M4? Any thoughts what I need to be looking for would be appreciated.
Cheers,
Mark
But if I type an M3 or M4 command, I get no spindle rotation. It was working before, and just stopped working abbruptly. I would have expected the external buttons to trigger the same signal path as M3 M4? Any thoughts what I need to be looking for would be appreciated.
Cheers,
Mark
- Dudelbert
- Offline
- Senior Member
-
Less
More
- Posts: 79
- Thank you received: 20
8 months 1 week ago #343427
by Dudelbert
Replied by Dudelbert on topic Schaublin 125-CNC retrofit.
I may be totally wrong, but I think when using M3 for the first time in MDI after startup, you need to give it a speed (M3 S400). Afterwards, that speed is assumed.
- RotarySMP
- Offline
- Platinum Member
-
Less
More
- Posts: 1635
- Thank you received: 595
8 months 1 week ago #343430
by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.
Thanks, but I gave it an S command, both on a separate entry before, and on the same entry as the M3, but that doesn't correct it. When I command spindle on with S100 M3, the green spindle turning indications on the Gmoccapy display goes on, but the VFD is not commanded. Pushing the physical button I get both the display indication, and the spindle turning.
- Finngineering
- Offline
- Premium Member
-
Less
More
- Posts: 110
- Thank you received: 49
8 months 1 week ago #343461
by Finngineering
Replied by Finngineering on topic Schaublin 125-CNC retrofit.
I have no real idea what may be the problem. But for troubleshooting, check pins:
spindle.0.on
spindle.0.forward
spindle.0.reverse
[url=https://I have no real idea what may be the problem. But for troubleshooting, check pins: spindle.0.on spindle.0.forward spindle.0.reverse https://linuxcnc.org/docs/html/man/man9/motion.9.html] linuxcnc.org/docs/html/man/man9/motion.9.html [/url]
If you have spindle.0.on and spindle.0.forward on/true after a M3 command, then I imagine you have a HAL configuration problem. Have you published your configuration somewhere?
spindle.0.on
spindle.0.forward
spindle.0.reverse
[url=https://I have no real idea what may be the problem. But for troubleshooting, check pins: spindle.0.on spindle.0.forward spindle.0.reverse https://linuxcnc.org/docs/html/man/man9/motion.9.html] linuxcnc.org/docs/html/man/man9/motion.9.html [/url]
If you have spindle.0.on and spindle.0.forward on/true after a M3 command, then I imagine you have a HAL configuration problem. Have you published your configuration somewhere?
- RotarySMP
- Offline
- Platinum Member
-
Less
More
- Posts: 1635
- Thank you received: 595
8 months 1 week ago #343466
by RotarySMP
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.
Thanks for looking at it.
I was also thinking that the last major change I did was to wire in the spindle VFD brake command. The system worked fine for some time after that, and then didn't.
I did add some Classic ladder Fu in there as well, but that was to the brake command, and spindle brakes normally when I stop it with the external button. I suspect there is something there though, like maybe the physical buttons change switches off the brake command, but the M3/M5 doesn't.
I have the HAL uploaded to the first thread, but haven't uploaded the most recent change, so I will update it this evening.
I was also thinking that the last major change I did was to wire in the spindle VFD brake command. The system worked fine for some time after that, and then didn't.
I did add some Classic ladder Fu in there as well, but that was to the brake command, and spindle brakes normally when I stop it with the external button. I suspect there is something there though, like maybe the physical buttons change switches off the brake command, but the M3/M5 doesn't.
I have the HAL uploaded to the first thread, but haven't uploaded the most recent change, so I will update it this evening.
Moderators: piasdom
Time to create page: 0.706 seconds