Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:55:30 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Slave Axis Homing
Pages: 1   Go Down
Print
Author Topic: Slave Axis Homing  (Read 456 times)
0 Members and 2 Guests are viewing this topic.
jamesrm
Active Member

Offline Offline

Posts: 9


View Profile
« on: July 06, 2010, 09:43:42 AM »

I have a machine which has the normal x, y and z however the y axis is powered by two motors which I have slaved inside Mach3.

I have a proximity switch on each axis. When I reference the machine home the z axis will go up until the switch is activated which is correct. The Y axis (the Y and 4 motors working together) will then move back until the switch is activated which is also correct. The x will move to the right until that switch is activated which is also correct. Then the 4 axis by itself tries to home by itself obviously causing the machine to distaught (have to manually estop out very quickly) as the 4 motor is on the Y axis along with the Y motor but as the Y motor is not moving it will never reach the switch and the side the 4 motor is on will crash off the end of the machine.

I have attached screens below. I can see that the A home is activated in ports and pins screen however if I turn it off then then when the Y axis tried to reference only the Y motor moves and not the 4 motor meaning the machine distaughts until I have to estop out.





Any help really appreciated.
Logged
jamesrm
Active Member

Offline Offline

Posts: 9


View Profile
« Reply #1 on: July 06, 2010, 09:48:42 AM »

I guess what I am asking is how can I get the 4 axis/motor to not reference home!?
Logged
stirling
Global Moderator
*
Offline Offline

Posts: 1,190

UK


View Profile WWW
« Reply #2 on: July 06, 2010, 11:17:51 AM »

As you've said, when the Y homes, both the Y AND the A move BUT only the Y is "homed". To "square" the axis the A then homes and should have a switch of it's own. Alternatively, if you don't want that feature, just take out the line that homes A (doButton(25)) from the RefAllButton.
Logged
Greolt
Global Moderator
*
Offline Offline

Posts: 872


View Profile
« Reply #3 on: July 06, 2010, 04:39:49 PM »

The only reason to have two home switches on the slaved axis is to "Auto square the Axis"

To do this, each of the home switches must have its own input.

If not, then the extra home switch is of no use.

In your pic. Y and A share an input.

Greg

EDIT:  If you wanted to, X and Z homes could share an input which would free one to use for A.
« Last Edit: July 06, 2010, 04:44:43 PM by Greolt » Logged
BR549
Active Member

Offline Offline

Posts: 2,553


View Profile
« Reply #4 on: July 06, 2010, 06:24:27 PM »

In gen config you need to Check "Home Slave axis with master " that way the A slave will home with the Y master axis and use the Y switch.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!