I just got a 1989 Matsuura MC-510V with a YASNAC MX-3 control and need some advice on how to modify a post so it does tool changes as shown in the Operators Manual. I started with a FANUC 16M post which looks pretty close but I need the tool changes done differently, here is the sample from the manual
G17 G20 G40 G49 G80 G90
T1 M6(TOOL 1)
G0 G54 X2. Y2. T2 S100 M3 ............ (CALLS NEXT TOOL IN CAROUSEL)
...........
.............
G0 M9
G28 G91 Z0 M29 ......................... (M29 orients the carousel tool pocket for faster tool changes)
M6(TOOL 2)
G0 G54 X2. Y2. T0 S100 M3 ........ (CALLS TOOL 0, EMPTY SPINDLE)
............
............
G0 M9
G28 G91 Z0 M29
M6................................................ .. (takes tool out of spindle)
G28 G91 X0 Y0
M30
Optionally I'd like to put the first tool in the spindle to prevent the spindle taper being contaminated when fixtures are cleaned.
Anyone have a suggestion on how to do this or a post I can lift some code from?