1
Mach4 General Discussion / Re: XHC Mach4 USB motion board warning and info
« on: October 05, 2018, 04:16:56 PM »
Any news about this board? Or Alex?
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.
Let me know what I am missing?
Mach4 doesn't support it? or I should change any configuration in Mach4?
I'm going to be including this in a homing/soft limits video in the near future, but it may help with what you're trying to do.
mc.mcSoftLimitSetState(inst, mc.Z_AXIS, MC_ON);
mc.mcSoftLimitSetState(inst, mc.Y_AXIS, MC_ON);
mc.mcSoftLimitSetState(inst, mc.X_AXIS, MC_ON);
[mc.OSIG_SOFTLIMITS_ON] = function (state)
mc.mcCntlSetLastError(inst,"OSIG_SOFTLIMITS_ON " .. tostring(state));
if( state == 1) then
scr.SetProperty('tbtnSoftLimits', 'Button state', '0');
else
scr.SetProperty('tbtnSoftLimits', 'Button state', '1');
end
end,