Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: picoworm on January 22, 2015, 03:38:25 AM

Title: Disable all motion untill ref all home, constant soft limits.
Post by: picoworm on January 22, 2015, 03:38:25 AM
Hello all,

I need to make a protection against leaving of working zone. But I do not have a limit switch.
I have a precise referencing on my machine, so my Idea is to use soft limits to do it.

But I have 2 problems:

1. Machine operator can disable software limits by mistake.
2. When not referenced, soft limits not working.

So I need to disable all motion except RefAllHome button.
After succesful referencing, enable all motion, then enable soft limits constantly

Will be happy to hear any ideas how to implement it

P.S. I am using mach3
Title: Re: Disable all motion untill ref all home, constant soft limits.
Post by: BR549 on January 22, 2015, 10:52:56 AM
Create a Macro ( say M2010). In that macro place your RefHome code AND the code to turn ON softlimits. Make SURE you add some code to WARN the Operator that the MACHINE is about to move and they have to press a button to continue.

On the Genconfig page place  M2010 into the initicialization string.

Now when Mach3 is started OR reset the Macro will run and RefHome the machine Then set Softlimits.


To prevent the operators from monkeying withe Mach3 setup simply LOCK the control with a password. From the operators button.

(;-) TP