What's new
What's new

339 Multiple Code Error: Stops on WHILE

rbmgf7

Aluminum
Joined
Oct 18, 2017
New error to me so I looked it up and didn't see anything abnormal. In block step it stops on the WHILE but in RUN it stops on the Z#101. Sometimes it won't even turn on the coolant in RUN.

I modified this program with the helical interpolation from an older, existing program. I proofed other programs with the same helical interpolation and they ran fine so not sure what I'm missing that's causing the machine to stop on the WHILE line in this program.

Code:
N200
#101=0.1
G90G80G00G40G49G54Z0.
X0Y0
T19M06
(TOOL NO 1 - 1.00 END MILL)
G90G80G00G55X0Y-3.46
G43Z1.H19M01
(SET H01 1.00 FROM PART)M08
S5500M03
G00Z#101
[B]WHILE[#101GT-.6]DO1[/B] 
G01G03X0Y-3.46I0J0.44Z#101F120.
#101=#101-.05
END1
 








 
Back
Top