Have the following bar feeder code from a machine i purchased second hand and trying to get the bar feeder up and running and getting lost on a few things, have managed to decifer what a lot of it is refering too but stuck on one Mcode specifically and how to find out what it does

controller is fanuic Oi-TC on acematic lathe

m65 i believe references part count (parameter 6710 set as 65)
m94 when called in a program is referencing 6073 calling up program O9003
m88 unsure (and not sure how to find it in the controller, i found m65 by chance figuring out M94)
M80 unsure

O9003(BAR FEEDER PROGRAM)
M18
M19
M11
M65
G4X1.
IF[#1000EQ1]GOTO100
T0000
G28U0
G00Z75.0
T0101
G00X-80.0
G0Z45.80(53.20)
M10
G4X3.0
M11
G4X1.
T0000
M88
W18.0
G28U0
M99
N100T0000
G28U0
(G28 W0.0)
T0101
M10
M80
M11
G0X-80.0
G00Z45.80(53.20)
M10
G4X4.
M11
G4X1.
T0000
M88
W18.0
G28U0
G00Z75.0
M99

Similar Threads: