08-31-2015
07:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-31-2015
07:20 AM
Just did a quickt test of this here. There may be a better way to do this, but if you edit your post to add:
function onParameter(what, value) {
if (what == "action")
{
writeln("");
writeComment("Manual Operation");
writeBlock(value);
}
}This will just take whatever you put in for the Action (in this case "G64 P0.015") and output it as a block of code.
Tested using the generic fanuc turning post
-- Make sure your post doesn't already have an onParameter() function first though. Don't want to replace one that is already there. If there is one, it can be modified to add this check for "Action".
Dave
Fusion