291
G-Code, CAD, and CAM discussions / Re: Conditional programming
« on: March 20, 2018, 11:02:51 AM »
What Craig said is true. You can do what you said though.
#1=.050 ; starting z value
M98 P1234 L10 call subprogram 10 times
M30
o1234
;do your moves
#1=[#1-.003] ;decrement Z
M99
%
Otherwise you need to use VB scripts.
HTH
RT
#1=.050 ; starting z value
M98 P1234 L10 call subprogram 10 times
M30
o1234
;do your moves
#1=[#1-.003] ;decrement Z
M99
%
Otherwise you need to use VB scripts.
HTH
RT