Hi all can anyone give me a reason why I would get a improper G code alarm when all I want to do is move the B axis away from the part after it is cutoff in a G91 move I have the sample blocks of the program below any help I would be grateful , this is a Fanuc 18i controller on a Doosan 2500 lsy.
O7000
N100G0G90G40G80
G28U0.V0.
M1
N900(CUTTOFF)
M131(interlock by-pass sub spin.)
M110(close tooling by-pass)
M169T0200
G0X1.762Z0.T0202B-27.5
G4U100
G98
G1B-29.0F150.
G96S600M4
M204
M168
G99
G1X1.43F.003
G0X1.602
Z.06
G1X1.563
G3X1.438Z0.R.0625
G0X1.602
Z-.06
G1X1.563
G2X1.438Z0.R.0625
G1X-.03
G91B.02(RETRACT SUBSPIN .02 BEFORE X AXIS MOVES UP. improper G code alarm )
G0G90X8.0
M205
G28B0.
Z10.M9
G80
M30