4591
G-Code, CAD, and CAM discussions / Re: Variable filenames in M98 subroutine call?
« on: February 23, 2012, 11:16:43 AM »
Are you trying to call SUB form within the program OR OUTSIDE subs.
Inside subs
#10=10
M98 P#10 L1
o10
code
code
#10=[#10+5]
M99
Outside subs I have never tried to use a #var and am NOT SURE whether it would work but I will give it a try. The problem IS the outside call par tis NOT a normal Gcode function.
Inside subs
#10=10
M98 P#10 L1
o10
code
code
#10=[#10+5]
M99
Outside subs I have never tried to use a #var and am NOT SURE whether it would work but I will give it a try. The problem IS the outside call par tis NOT a normal Gcode function.