Page 1 of 1
ESC Key
Posted: Sat Aug 23, 2025 3:04 pm
by rguertin
Is there a way in your next iteration of CNC12 to make the ESC button a choice between yes or no to continue.
I know this may sound foolish but I've cancelled many runs with this key being hit by mistake.
Thanks
Re: ESC Key
Posted: Sat Aug 23, 2025 4:51 pm
by tblough
Sometimes, you need to hit ESC 4 or 5 times to get back to the top menu. I'd hate it if that became three individual keystrokes to backup a single level. Maybe ask for confirmation only if a program is running.
Re: ESC Key
Posted: Sat Aug 23, 2025 6:19 pm
by suntravel
I have even removed the confirmation of the enter key in my PLC
So I do not like to be asked if I really want to do what I am doing
Uwe
Re: ESC Key
Posted: Sun Aug 24, 2025 9:04 am
by rguertin
I forgot to mention what tblough mentioned, "only when a program is running". That would be great.
Re: ESC Key
Posted: Sun Aug 24, 2025 11:09 am
by suntravel
rguertin wrote: ↑Sun Aug 24, 2025 9:04 am
I forgot to mention what tblough mentioned, "only when a program is running". That would be great.
What are you doing with the keyboard while g code is processing?
Cycle Stop must immediately stop IMHO.
Uwe
Re: ESC Key
Posted: Sun Aug 24, 2025 8:41 pm
by cncsnw
If you do not want to be able to cancel a CNC program by pressing the ESC key, you can edit the PLC program to remove it.
Find the section somewhere below line 4100 that looks sort of like:
Code: Select all
;--MPU11 Jog Panel Key Functions
IF (CycleCancelKey || KbCycleCancel_M || SkinCycleCancel_M || MpgResetKey_M ||
CycleCancel2 || SkinRestartCycleCancel_M || ExtUsbCycleCancel_SV) ||
ErrorFlag_M THEN (DoCycleCancel)
Delete the reference to "KbCycleCancel_M" (which is the ESC key) and its associated OR ("||") operator, then recompile.
Re: ESC Key
Posted: Mon Aug 25, 2025 12:24 pm
by ShawnM
suntravel wrote: ↑Sat Aug 23, 2025 6:19 pm
I have even removed the confirmation of the enter key in my PLC
So I do not like to be asked if I really want to do what I am doing
Uwe
Do you really want to do that Uwe?
I have removed countless lines of code from the stock macros as all the questions just slow me down.
Re: ESC Key
Posted: Mon Aug 25, 2025 12:49 pm
by suntravel
ShawnM wrote: ↑Mon Aug 25, 2025 12:24 pm
suntravel wrote: ↑Sat Aug 23, 2025 6:19 pm
I have even removed the confirmation of the enter key in my PLC
So I do not like to be asked if I really want to do what I am doing
Uwe
Do you really want to do that Uwe?
I have removed countless line of code from the stock macros as all the questions just slow me down.
Yeah, I would have never be able to win a race if my bike would have asked me:
Do you really want full throttle?
Do you really want to brake this hard?
Next gear? Please confirm
Uwe
Re: ESC Key
Posted: Tue Aug 26, 2025 10:31 am
by ShawnM
suntravel wrote: ↑Mon Aug 25, 2025 12:49 pm
ShawnM wrote: ↑Mon Aug 25, 2025 12:24 pm
suntravel wrote: ↑Sat Aug 23, 2025 6:19 pm
I have even removed the confirmation of the enter key in my PLC
So I do not like to be asked if I really want to do what I am doing
Uwe
Do you really want to do that Uwe?
I have removed countless line of code from the stock macros as all the questions just slow me down.
Yeah, I would have never be able to win a race if my bike would have asked me:
Do you really want full throttle?
Do you really want to brake this hard?
Next gear? Please confirm
Uwe
