Hello Guest it is March 28, 2024, 08:03:42 PM

Author Topic: How to setup Home Neg in Mach3 with Macro Programing?  (Read 4052 times)

0 Members and 1 Guest are viewing this topic.

How to setup Home Neg in Mach3 with Macro Programing?
« 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.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: How to setup Home Neg in Mach3 with Macro Programing?
« Reply #1 on: May 27, 2015, 12:57:29 PM »
I don't think that you can.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: How to setup Home Neg in Mach3 with Macro Programing?
« Reply #2 on: May 27, 2015, 01:21:27 PM »
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






Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: How to setup Home Neg in Mach3 with Macro Programing?
« Reply #3 on: May 27, 2015, 08:39:36 PM »
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

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: How to setup Home Neg in Mach3 with Macro Programing?
« Reply #4 on: May 27, 2015, 09:01:41 PM »
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

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: How to setup Home Neg in Mach3 with Macro Programing?
« Reply #5 on: May 27, 2015, 09:35:58 PM »
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.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: How to setup Home Neg in Mach3 with Macro Programing?
« Reply #6 on: May 28, 2015, 01:35:13 AM »
Dear BR549 & ger21,

Thank for your help.

Rgs