Student Reviews
( 5 Of 5 )
1 review
Video of WHILE DO LOOP IN A CNC MILL PROGRAM in CNC Programming course by Tom Stikkelman channel, video No. 19 free certified online
Learn how to use "WHILE DO" statements in a CNC Mill program to change your depth of cut using common variables and relational operators.
O0001(WHILE DO LOOP)
(2.00 X 2.00 SQUARE)
#100.250 (FIRST DEPTH OF CUT)
#101.250 (DEPTH PER PASS)
#1021.500 (TOTAL DEPTH)
N300
G0G17G40G80G49
G91G28Z0.
T3M6
S2500M3
G90G0G54X-.25Y.5
G43H3Z1.M8
WHILE[#100LE#102]DO1
G1Z-#100F50.
G1Y.25F20.
G1X2.25
G1Y-2.25
G1X-.25
G1Y.3
G0Z.25
G0X-.25Y.5
#100#100+#101
END1
G0Z1.
M5
M9
G91G28Z0.
G28Y0.
G90
M30
%