591
Mach4 General Discussion / Happy New Year
« on: December 31, 2015, 06:54:48 PM »
Happy new year to all of ya
Daz
Daz
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
if mc.mcSignalGetState (mc.mcSignalGetHandle (inst, mc.ISIG_INPUT63)) == 1 then
mc.mcCntlFeedHold(inst)
else
-- Do something else
end
Bummer.... Thought this was going to be a "post your problems with 2803" thread. I have a ton of them!
local tab, rc = scr.GetProperty("MainTabs", "Current Tab")
local tabG_Mdione, rc = scr.GetProperty("nbGCodeMDI1", "Current Tab")
local iReg = mc.mcIoGetHandle (0, "Keyboard/EnableKeyboardJog")
if ((tonumber(tab) == 0 and tonumber(tabG_Mdione) == 1)) then
mc.mcIoSetState(iReg, 0);
else
mc.mcIoSetState(iReg, 1);
end