What help do you require ?
Also the machine config
- front turret ? # of tools ? tool # range ?
- rear turret ? # of tools ? tool # range ?
what post are we talking about that requires mods?
BTW welcome to the forum
Trying to help a company that lost its programmer. They have Mastercam vs9 and for the short term they need to program an old Mazak M4 with a 5T control. They have the 2 axis lathe post , but I need help editing a new post for an old machine.
What help do you require ?
Also the machine config
- front turret ? # of tools ? tool # range ?
- rear turret ? # of tools ? tool # range ?
what post are we talking about that requires mods?
BTW welcome to the forum
The machine has is vertical 8 in the front, horizontal 6 in the back. The 1st program is the format my current post will put out. The second program is one out of the machine. They are not the same programs, but they show the different formats between what I have vs what I need.
(current post)
O0000
N100 G20
(PROGRAM NAME - T DATE=DD-MM-YY - 16-03-09 TIME=HH:MM - 20:45 )
(TOOL - 1 OFFSET - 1)
(LATHE TOOL 84 INSERT - CNMG-432)
N101 G0 X10. Z10.
N102 G0 T0101
N103 G97 S119 M03
N104 G0 X11.2277 Z.55 M8
N105 G50 S3600
N106 G96 S350
N107 Z.1318
N108 G99 G1 X11.3691 Z.0611 F.01
N109 X11.6911 Z-.3812
N110 G3 X11.6967 Z-.397 I-.0435 K-.0158
N111 X11.6358 Z-.4405 I-.0462
N112 G1 X11.5428 Z-.4574
N113 G2 X11.5313 Z-.4656 I.003 K-.0082
(what the 5t control reads)
(ROUGH FACE AND SKIM OD:CNMG-432 T0701)
N100G97M39
N101G50X117200Z139500S900M08
N102G00T0701S300M03
N103X62500Z1000
N104G96S800
N105G94X-750Z0F160
N106G00X58500
N107G04U2500
N108G01Z0F250
N109U1000W-500F80
This is the post I am trying to modify. It's actually a lathe/mill post.
I compared this post to the generic post supplied with the installation
It is a lathe post with Caxis
Someone has already edited this post by commenting out (#) some of the format statements ( bad start )
I do not think this is the best post to start with.
*** read all the notes at the top of the post, on how to program for this post ***
note the Misc. Integers section on additional settings
Create some paths and tools, say 3 ops the same, 2 with the same tool ( T1 ) and then 1 with a different tool on the other turrent ( T21 )
Tool setup may be awkward, but how you do it is important for correct code.
Post these paths though various posts ( MPLTL56T.PST may be a good start )
***don't edit posts until you find the closest match to the required NC code***
When you have the closest match, edit the NC code to be correct, noting the change that is needed , deleted, moved, etc
We now copy the post, and rename to say " MPLmazak_M4_5T.PST " , and we modify this post to re-create your modified NC program.
This is a trail and error time, you will start to learn post editting slowly and have lots of errors ( so work in one area and check NC output often ).
Truer words were never spoken. Heed them. It is easy to make too many changes at once, and then not know what to change back. Always make a comment where you make the change. Such as
#ABC(your initials)-deleted *sgcode
Be smarter than I was. Immediately create a file and put all your post solutions that worked in it. Sure makes it easier if you need to make the same corrections to another post a year of two down the road. We had all our v9 posts running great. When converted to X2, many were too old to convert correctly. Some were replaced with generic posts, and then modified...again! Trying to remember what changes you made 5-8 years ago can be difficult for some of us.![]()