Originally Posted by
Brakeman Bob
Start with a generic FANUC turning post.
I would suggest that you create a test part in SolidWorks and then program it in SolidCAM. This part would have all the features that you need specific types of code for eg rough turning, finish turning, drilling, boring, chamfers, rads - everything that you code for at the moment. Post it out with a FANUC post and compare the code to what you think it should be - even go as far as programming your test part by your existing method and proving out on the machine if you have to. In fact, this latter is a good idea as it will give a reference of what your posted code should look like.
Then make copies of the FANUC MAC and GPP files calling them "MAZAK_turn" (the underscore is important - there are parts of SolidCAM that can't cope well with spaces in text). Alter these copies after studying the GPP help and making use of the numerous post-tweaking threads on this forum. Keep editing, posting and comparing until the post gives you the same as your reference program.
A word of caution. Start off by posting code without using turning cycles such as G71 etc. These use something in GPP called "PROCS" (short for procedures) and getting procs right can drive you around the bend to begin with.
As for machine information, well you will need the Mazatrol T-Plus EIA-ISO manual that's for sure as this will give you the syntax of the code; as I said in my previous post, Mazatrol is very similar to FANUC but not identical. Other info you will need is pretty self explanatory in the MAC file, stuff like maximum rpm, axis limits etc.
have fun
Bob