2051
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 02:38:21 PM »
Ok, must be missing something.
I put this in M6start.m1s
CurrentTool = SelectedTool
IF CurrentTool = 1 then
SetVar(1000,GetToolParam(1,1))
Message("" & GetToolDesc(1)) &" Offset> " & GetToolParam(1,1)
end if
Changed my IHS to use var 1000.
I have 1 tool in my table T1
Stick M6 T1 in the MDI and nothing happens, should i see some feedback??
I dont understand the If CurrentTool = 1 line, what if current tool =2 ??
This is not on the machine CNC, I have a test setup of Mach without the port drive installed on my laptop.
I put this in M6start.m1s
CurrentTool = SelectedTool
IF CurrentTool = 1 then
SetVar(1000,GetToolParam(1,1))
Message("" & GetToolDesc(1)) &" Offset> " & GetToolParam(1,1)
end if
Changed my IHS to use var 1000.
I have 1 tool in my table T1
Stick M6 T1 in the MDI and nothing happens, should i see some feedback??
I dont understand the If CurrentTool = 1 line, what if current tool =2 ??
This is not on the machine CNC, I have a test setup of Mach without the port drive installed on my laptop.