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)
#102=1.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
%
On this page of the site you can watch the video online WHILE DO LOOP IN A CNC MILL PROGRAM with a duration of hours minute second in good quality, which was uploaded by the user Tom Stikkelman 29 July 2015, share the link with friends and acquaintances, this video has already been watched 74,653 times on youtube and it was liked by 989 viewers. Enjoy your viewing!