Mazatrol program format:
Common Unit
M-code unit:
1) M5, M9, M69
Manual program unit: (Used for bar feeding with pusher)
2) G0 X0 Z1 M6 (absolute mode)
3) G1 Z-.xxx F100 M68
4) G4 X2
5) G1 Z .03 M7
6) G4 X2
7) G0 Z1 M8
Edge face unit:
explanation:
1) M5 spindle stop, M9 coolant off, M69 to read end of bar sensor
2) Rapid feeds bar stop into a safe position in front of the chuck. M6 opens chuck. Depending on bar feeder parameters, pusher may engage when chuck is opened.
3) Feeds (in IPM) to position of cut off stock (-.xxx is actual position.) M68 engages pusher, if required.
4) G4 X2 is programmed dwell to allow pusher to reach end of bar if feeder is slower pneumatic type. X2 = # seconds dwell
5) Feed .030 in front of part 0 to allow stock for facing. M7 closes chuck.
6) Dwell to allow pusher to retract out of spindle before spindle is turned on.
7) Rapid move to safe position. M8, turn on coolant. Normal Mazatrol programming will take over from here.
I use Program # 9999 set in parameters for loading a new bar once the last part sensor is read. If you want, I can email you samples of each bar feeding and bar loading programs.