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.
Are you still using 9? I don't have that installed, but changing that shouldn't be hard. Send me two examples of code, and I should be able to figure it out.