Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: lethang85 on May 27, 2015, 12:54:51 PM
-
Hi,
I find in document "Mach3_V3.x_Macro_Prog_Ref", no any funtion set Home Neg in Mach3. Please help me setup Home Neg in Mach3 with Macro Programing.
Rgs.
-
I don't think that you can.
-
Hi,
Sadly. My machine have sensor home of Axis X in center.
Limit X- --> X Home --> Limit X+
I want to write macro: If Curent Postion X between X Home --> LinitX, I call function: Home X normal. If Curent Postion X between Limit X- --> Home X, I setup Home Neg X and call function Home X. But I can not find any funtion set Home Neg in Mach3.
Have you solution in my machine?
Rgs
-
That is WHY you do not set up homing to be mid table. Simply change the home switch to ether left or right side of the table and you are good to go.
(;-) TP
-
Another solution is to simply MOVE the table to the correct side BEFORE you home it. That ensures that it will move in the correct direction everytime.
IF table is offside then move to other side
then Home the axis
Else Home the axis.
(;-) TP
-
And if your goal is to have your home position (Machine 0,0) in the center of the table, you can use Home Offsets to achieve that with the switch at the end.
-
Dear BR549 & ger21,
Thank for your help.
Rgs