181
Mach4 General Discussion / Re: Mach4 MDI Password
« on: July 02, 2017, 08:16:35 AM »
You might want to change your screenset to wx4 as this is the most updated screenset.
DazTheGas
DazTheGas
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 you are getting a failed to load .dll error message when opening the Module Works profile, then you need the vcomp120.dll from the windows 2013 redistributables. If you contact support us at Machsupport.com we will send you the file, the new installer has the file added to it and we will get it posted for download after testing.
local cont_in = mc.mcSignalGetHandle(inst, mc.OSIG_JOG_CONT);
local inc_in = mc.mcSignalGetHandle(inst, mc.OSIG_JOG_INC);
SigLib = {
[mc.OSIG_MACHINE_ENABLED] = function (state)
machEnabled = state;
ButtonEnable()
end,
[mc.ISIG_INPUT0] = function (state)
if (state == 1) then
mc.mcSignalSetState(cont_in, 0)
mc.mcSignalSetState(inc_in, 1)
end
end,
[mc.ISIG_INPUT1] = function (state)
if (state == 1) then
mc.mcSignalSetState(cont_in, 1)
mc.mcSignalSetState(inc_in, 0)
end
end,