Go to the emastercam Web site and download the latest MPMASTER post for X2 is has all of this in in. Will need to take out the $ to work with V9 but everything you need to make it work is in there.
We have a new machine with a Fanuc 18i-MB control. I'm looking for some help in modifying my MasterCam post to enable/disable the AI_NANO feature from operation to operation in the MC9 file. I've been using the base MPFAN post with some of my own modifcations with 100% success so far, but this seems to be a little over my head. Maybe some help getting me pointed in the right direction will help.
To activate the feature: G5.1Q1R10
To deactivate: G5.1Q0
R is a "precision" variable (1 - 10)
The machine code needs G49 to cancel the length offsets before activating the feature. I figured it would be easiest to just send the machine home (G91G28Z0), then X & Y position, activate with the G5.1Q1R(?), and then turn on length comp.
I assume that using the Misc. Integers to activate/deactivate and the Real Numbers for the "R" variable.
Any help would be appreciated.
Thanks, Tom
Go to the emastercam Web site and download the latest MPMASTER post for X2 is has all of this in in. Will need to take out the $ to work with V9 but everything you need to make it work is in there.
Thank You CrazyThunder - I downloaded that post and I extracted the code I needed and then merged that code into my existing post. I have it 95% functional right now. Thnaks for the assistance.
Glad to be of assistance.