Can anyone help explain why this program doesn't work?
It is a simple grid pattern program G79 for fanuc 0p.
the problem seems to be number #103 and #104. when I substitute other numbers, say 20. for I and 2 for K it works. I think part of the problem is #104 has a decimal which is not allowed for hit count. I was hoping the absolute function might drop the decimal point and the FIX would round down to a real number.
Any help would be greatly appreciated!
O0560(HEAD JAMB)
(T3 = .265X.500 OBROUND)
#101=7(WALL THICKNESS)
#102=42(OPENING WIDTH)
#103=[#102+2]
#104=[ABS[FIX[#101/2.75]]]
G20
G90
G65P9700A38.5B10.0
M75X65.Y51.
G31T3X1.25Y2.375
G79I#103P1J2.75K#104
X1.25Y[[#101+7.0625]-4.688]
X[#102+2.25]
G28
G92X65.Y51.
M99
this is for a Strippit turret with fanuc op controls