either write your own macro, or just issue a WHILE statement.
#123=0(current depth)
#124=.125(depth per pass)
WHILE[#123LE[.25]]DO1
GOZ[#123-.05]
G1Z#123F5.0
GOZ-.1
#123=[#123+#124]
END1
pretty simple. of course this wouldn't be exactly how it would look just an example but you should figure it out from there. having 1 or a few WHILE statements makes it easier to find an error or edit depths and feedrates compared to longhand writing the entire peck cycle. I do this with newer Stars using fanuc controls all the time, so tbh I'm not sure this will work for you but I'd imagine it will.


LinkBack URL
About LinkBacks




