One change I would suggest is skipping all this code when you are graphing or searching. This is the current first line of code:cnckeith wrote: ↑Mon Mar 25, 2019 5:23 pmplease find the edited version of the custom "muzzer" M3 that works with v4.14martyscncgarage wrote: ↑Sun Mar 24, 2019 1:33 pmLooking into it MuzzerMuzzer wrote: ↑Sun Mar 24, 2019 7:24 am Yes, I tested this out thoroughly in 4.12 before doing the update to double check it was working, as Keith warned that existing macros might not work with 4.14. Auto range selection was working fine in 4.12. After the update, I copied the M3 macro across and that killed it every time.
Would be nice to get the auto range selection working again but it's not something I expect to need much. However, you probably want to understand how a macro is able to kill the program so finally in the middle of a program.
mfunc3_414.mac
Code: Select all
IF #4202 || #4201 THEN GOTO 200
Code: Select all
;-------
;M3 macro - Spindle CW
; Displays message to select auto spindle mode if it is not set
; See 13-8 M94/M95 Output On/Off etc
;-------
IF #4202 || #4201 THEN GOTO 6000
.
.
N5000 ; In correct range and gears engaged now
M95 /62 ; check de-energise HIGH solenoid
M95 /61 ; check de-energise LOW solenoid
M94 /1 ; spindle enable CW
N6000