Is there a way to set up variables in wincnc. I tired the following program that would work on the HAAS machine that I am used to working on.
(ARCH DOOR CUTOUT MACRO)
#101=3 (DOOR WIDTH)
#102=5 (DOOR HEIGHT)
#103=3 (DOOR ARCH RADIUS)
(STARTS AT BOTTOM LEFT OF DOOR AT (0,0), Z=0 SHOULD BE TOP SURFACE OF MATERIAL TO BE CUT)
N01 G90
N05 G00 X0 Y0 (MOVES TOOL TO (0,0) POSITION RAPIDLY)
N10 G00 Z.1 (MOVES TOOL .1" ABOVE BOARD)
N15 G01 Z-.05 F100 (MOVES TOOL .05" INTO BOARD AT A FEED RATE OF 100 IN/MIN)
N20 X#101 (MOVES TOOL IN THE POSITIVE X DIRECTION THE AMOUNT OF THE WIDTH VARIABLE)
N25 Y#102 (MOVES TOOL IN THE POSITIVE Y DIRECTION THE AMOUNT OF THE HEIGHT VARIABLE)
N30 G03 X0 Y#102 R#103 (MOVES THE TOOL IN A C'CW ARCH AT THE ARCH RADIUS)
N35 G01 Y0 (MOVES TOOL TO STARTING POSITION)
N40 G00 Z1 (MOVES TOOL OUT OF BOARD)
The local high school just purchased a shopsabre with the wincnc software and I have been trying to help get them started. I am by no means a G code expert just know some of the basics. For what they are doing macro programing or variable programing would be ideal for most of their items, but it does not seem to work correctly and I have yet to find any good instructions online. Thanks in advance for any help.