Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Inna on June 10, 2009, 03:21:05 AM

Title: Slave ax less Master ax. Help to move it correctly
Post by: Inna on June 10, 2009, 03:21:05 AM
Hello friends. Sorry if this question was solved. I cant to find the answer.

I make the plasma router. I have A-ax for move trough suction gas.
The A-ax shorter than the master ax. I tried to cheat - indicated that the A-ax allegedly took place as long as the Master ax, but if turn on axis as a slave, that moving exactly as the Master.

If disable slave and insert formula (for ex. A=X*0.9) (in G-code I don't use A-ax) When I move X-ax  -   A-ax don't move.

Please help! How I can adjust Mach when I moving X axis - the A-axis moving too, but slightly slower?
Title: Re: Slave ax less Master ax. Help to move it correctly
Post by: jimpinder on June 10, 2009, 03:34:00 AM
You seem to be saying that you want both these axis to move together, but A to move more slowly that X.

I would try a clever trick - which may work - alter your steps per mm or inch (whichever you use). If say your A axis requires 100 steps per unit, then alter the steps per unit on the motor settings to 90. This means that the computer will only deliver 90% of the pulses to the A axis, meaning it will travel a shorter distance.

You can then make one slave the other and both will move in the correct relationship.
Title: Re: Slave ax less Master ax. Help to move it correctly
Post by: Inna on June 11, 2009, 09:54:44 AM
Thank you Jim!
If you mine to change quantity pulses per unit in the 'motor tuning', I had do that  - when I enable A-ax as slave it don't take affect and slave ax move as Master. With the same speed.
This is the draft of my plasma router.

(http://img14.imageshack.us/img14/6545/plasmascheme.th.gif) (http://img14.imageshack.us/i/plasmascheme.gif/)
As you can see the A-ax shorter than X-ax. At any value pulse per unit if A-ax is slave pulse per unit will as in Master ax.
I hope the draft help you to get me :)

Still waiting for help.
Title: Re: Slave ax less Master ax. Help to move it correctly
Post by: Greolt on June 11, 2009, 06:45:16 PM
Simply changing the steps per unit on the slaved axis will not work.

Slaved motor will still use the steps per unit of the master.  Settings for slaved are disregarded. (except when homing)

Sorry Inna but I can make no sense of your drawing.  :)

Greg
Title: Re: Slave ax less Master ax. Help to move it correctly
Post by: jimpinder on June 12, 2009, 02:39:04 AM
Greg - I didn't realise a slaved axis just took over all the data from the master - I thought it just moved the same distance in the same time - pity.

Inna - I think I would post this on the brains page, and see if someone could write a brain to repeat the X axis commands to the A axis at a slower speed.If the ratio is constant it should be now problem. I dont know anything about brains.
Title: Re: Slave ax less Master ax. Help to move it correctly
Post by: Inna on June 12, 2009, 05:18:11 PM
Thanks Friends!
I'll try to solve it by Brains!
If will all right, I'll post brain file here. I hope moderator not against.
Maybe somebody will have this problem too.