- Code: Select all
int NewTool = exec.Getnewtool();
If it is -1 then M6 was called without T parameter. You can copy it to a user DRO, if needed.
int NewTool = exec.Getnewtool();
int newTool = exec.Getnewtool();
if (!exec.Ismacrostoped())
{
AS3.Setfield (Conver.ToDouble(newTool), int fieldnumber);
AS3.Validatefield(int fieldnumber);
}
else
{
return;
}
// M66
int NewTool = exec.Getnewtool(); // -1 -> nem volt T!
string NewToolName =
"T" + NewTool + " " + ((NewTool > 0) ? exec.Readkey("Tooltablevalues", "Description" + NewTool.ToString(), "") : "No tool");
if (NewToolName == "") NewToolName = "T" + NewTool + "?";
AS3.Additemtolistbeginning("Insert " + NewToolName, 2);
Vmax549 wrote:Yes I can program UCCNC to provide it but I should not have to as then it only works for me in this application. It does nothing for other users that could use it as well.
Return to Ask a question from support here
Users browsing this forum: No registered users and 36 guests