Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Azrael on September 29, 2008, 12:35:14 PM
-
Hello,
I have read all similar posts, but couldn't find anything useful, so i had to make a new topic for my question.
I have made a foam cutter with 2 X-Y modules. We don't need the tapered cuts, so we slaved A to X and B to Y. I use refcomb. to slave horizontal axes first (X & A), than the vertical two (Y & B). All of that work's fine, first X and A find there home each, than Y and B do the same. But the problem is with home switch offsets. When I enter different offsets to each of 4 switches, it ignores A & B offsets, but sets X & Y offsets to them, so I can not set wire in the proper position. So I would like someone to answer me is it a bug or a feature, and is there any way to solve this problem.
Regards,
Dejan
-
Hi,
Not sure if this is what you are referring to....or not ?
RC
-
Are you saying you want to home them to the same location, but then move the slave axis separately?
-
I understand what are u talking about, but unfortunately that's not the problem in my case. Imagin 4 independent axis. 2 are moving wire in X plane, and the other 2 in the Y plane. The home switches are used to home each axis so the wire is set parallel to the X and Y plane (the front edge of the table) But the home switches of the each axis are not quite at proper position, and after homing the wire is a little out of the parallel position to the edge of the table. I was thinking to measure these offsets and enter the values in the home off boxes, so when I hit GO TO Z after homing, wire takes desired position. But there's the problem. I set offsets for example -2, 1, 1 and 3 mm to the X, Y, A & B, and after homing and GO TO Z, X and A move 2mm each and Y and B move -1 mm, but A and B should move 1 and -3 mm. So after this routine, wire moves by X and Y plane but again doesn't take the parallel position...
Regards,
Dejan
-
I do not think it is designed to work that way. The physical position of your HOME switches needs to be adjusted to square the axis's.
RC
-
Yes, you'll need to adjust your switches so they align with each other.
-
I was thinking if it's possible to activate slaving in ref button script during homing, than after homing to deactivate it, apply offsets, send axis to zero and then activate slaving again before exiting script?
Does anyone know would this be helpful? The only question is is there such a command for activation/deactivation of slaving?
Regards,
Dejan