I have a lathe with 3 gears for speeds (outside of the VFD control). So it's a basic M41, M42, M43 to cycle between them. What I'd like to do is attach a macro to an AUX button on my control panel that
(A) Goes in that order.
(B) Flashes on the screen what range is set (or displays it permanently).
(A) seems pretty straightforward:
IF {check #50063 and #50064 appropriately} THEN M43
IF {check #50063 and #50064 appropriately} THEN M42
IF {check #50063 and #50064 appropriately} THEN M41
It's (B) that has me a bit confused. I'd like to have it displayed on the monitor which gear range I'm in, so I know there's no mismatch between what I've physically set on the headstock and what the controller thinks is set (I don't have a switch there or anything). Is there any directive that allows me to write that to the screen?
Cycling through the spindle gears on an aux button
Moderator: cnckeith
Re: Cycling through the spindle gears on an aux button
What generation and version of the software are you running?
Do your M41/M42/M43 codes actually perform a gear shift? Or do you shift gears manually, and just use M41/M42/M43 to inform the control what gear you manually shifted to?
What I prefer to do is use one Aux key per range (three total, in your case). Then you can use the indicator LEDs in the Aux keys to show the active range.
Do your M41/M42/M43 codes actually perform a gear shift? Or do you shift gears manually, and just use M41/M42/M43 to inform the control what gear you manually shifted to?
What I prefer to do is use one Aux key per range (three total, in your case). Then you can use the indicator LEDs in the Aux keys to show the active range.
-
- Posts: 9
- Joined: Tue Feb 25, 2020 11:45 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Cycling through the spindle gears on an aux button
I shift the gears manually, and have to tell the control what gear I'm in.
-
- Posts: 9912
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: Cycling through the spindle gears on an aux button
Surgo,
Please post a report. CNCSNW is asking what control you have, what software etc.
ALWAYS post a fresh report when asking for help
Pictures of the control would be helpful
Please post a report. CNCSNW is asking what control you have, what software etc.
ALWAYS post a fresh report when asking for help
Pictures of the control would be helpful
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ