Re: [Emc-users] How to unlock a linear axis

2012-08-15 Thread Spiderdab
Il giorno mer, 15/08/2012 alle 07.15 -0500, Stuart Stevenson ha scritto: > Guys > > let's look at this a little bit > > You want to keep the slide from attempting to move while the brake is > engaged. > > Is that the desired machine action? > > If you do not physically mount a switch to the bra

Re: [Emc-users] How to unlock a linear axis

2012-08-15 Thread Stephen Dubovsky
W/o feedback its open loop. Just like a stepper motor. Lots of applications are fine w/ those. On Wed, Aug 15, 2012 at 8:15 AM, Stuart Stevenson wrote: > Guys > > let's look at this a little bit > > You want to keep the slide from attempting to move while the brake is > engaged. > > Is that t

Re: [Emc-users] How to unlock a linear axis

2012-08-15 Thread Stuart Stevenson
Guys let's look at this a little bit You want to keep the slide from attempting to move while the brake is engaged. Is that the desired machine action? If you do not physically mount a switch to the brake how does the control know the brake is engaged or not? Even if you find a software soluti

Re: [Emc-users] How to unlock a linear axis

2012-08-15 Thread Viesturs Lācis
2012/8/15 sam sokolik : > I just played with master. > > It looks like if you add LOCKING_INDEXER = 1 to a linear axis - it > doesn't create the pins. (but does make it so you cannot jog it) So it > 'sort of' works. :). It probably should do all or nothing. > If I understand correctly, then if

Re: [Emc-users] How to unlock a linear axis

2012-08-15 Thread Andrea Buono
Thankyou, the first solution is not praticable becouse of the PID, after unlock the motor it try to regain the error with a error proportional velocity, the second I will try. 2012/8/15 andy pugh > On 15 August 2012 09:59, Andrea Buono wrote: > > > I have made some test with the axis.N.motor-po

Re: [Emc-users] How to unlock a linear axis

2012-08-15 Thread andy pugh
On 15 August 2012 09:59, Andrea Buono wrote: > I have made some test with the axis.N.motor-pos-fb but the > tracking error remain. A very crude solution would be to increase the f-error limits so that the tracking error is ignored. Even cruder would be to net motor-pos-fb to motor-pos-cmd so tha

Re: [Emc-users] How to unlock a linear axis

2012-08-15 Thread Andrea Buono
Hi, Thankyou for your test, you have save me much time, but I'm a little disappointed becouse I think that I'm stupid becouse I can't find a way to do the job ... is it impossible that in all the time that linuxcnc exist no one had my same problem. Well, a way illustrated from Kirk Wallace seems g

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread sam sokolik
I just played with master. It looks like if you add LOCKING_INDEXER = 1 to a linear axis - it doesn't create the pins. (but does make it so you cannot jog it) So it 'sort of' works. :). It probably should do all or nothing. sam On 08/14/2012 03:46 PM, Andrea Buono wrote: > Yes it is, > > 201

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread Ray Mitchell
I would first check to make sure that your pneumatics are working correctly. I have found on machines I worked on that the silencer, on the exhaust port was partially plugged up, and caused the cylinder to release slowly. A new silencer corrected the issue. But I do like the suggestions from the

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread Andrea Buono
Yes it is, 2012/8/14 sam sokolik > Was it axis 0 that you added the LOCKING_INDEXER = 1 to*? > > sam > * > On 8/14/2012 3:31 PM, Andrea Buono wrote: > > Hi, > > > > thanks to all, > > > > well I have made a test, I have add LOCKING_INDEXER = 1 in the linear > axis > > and then I had run linuxcnc

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread sam sokolik
Was it axis 0 that you added the LOCKING_INDEXER = 1 to*? sam * On 8/14/2012 3:31 PM, Andrea Buono wrote: > Hi, > > thanks to all, > > well I have made a test, I have add LOCKING_INDEXER = 1 in the linear axis > and then I had run linuxcnc, no error at startup and when I have tried to > jog the ax

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread Andrea Buono
Hi, thanks to all, well I have made a test, I have add LOCKING_INDEXER = 1 in the linear axis and then I had run linuxcnc, no error at startup and when I have tried to jog the axis an error "Can't jog a locking axis"..sounds good...after this I have modified the hm2-servo.hal to add the l

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread sam sokolik
To add - It doesn't seem like it cares if it is linear or not... (I use it on our table indexer and it works great (delays set for up/down in ladder that control the hal loopback.) http://www.youtube.com/watch?v=vLE4lzPcEo8&feature=plcp sam On 8/14/2012 12:12 PM, sam sokolik wrote: > Someone m

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread sam sokolik
Someone may have to correct me.. But I think you could use Locking rotory.. A couple of thing to think about.. The axis can only be moved by itself. The axis moves at rapid (G0) •LOCKING_INDEXER = 1 - When this is set to 1 a G0 move for this axis will initiate an unlock with axis.N.unlock pin t

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread Stuart Stevenson
Andrea, If you hold the feed rate at zero with the motion.feed-hold until the brake is released then no matter how long the brake takes to release the slide will not move. Install a physical switch to trip when the brake is physically unlocked. Set up the motion.feed-hold to read the switch on the

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread Kirk Wallace
On Tue, 2012-08-14 at 17:40 +0200, Andrea Buono wrote: > Hi, > > I know this HAL pin but the problem is before, I mean I know that the axis > have to move because the pid output is not zero and then with some net and > delay I unlock the brake and set the direction output for the motor, if I > tak

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread Andrea Buono
Hi, I know this HAL pin but the problem is before, I mean I know that the axis have to move because the pid output is not zero and then with some net and delay I unlock the brake and set the direction output for the motor, if I take the feed-hold to true the command gone to zero and the axis will

Re: [Emc-users] How to unlock a linear axis

2012-08-14 Thread John Kasunich
There is a HAL pin on the motion controller called motion.feed-hold motion.feed-hold IN BIT When Feed Stop Control is enabled with M53 P1, and this bit is TRUE, the feed rate is set to 0. Set up your HAL config so that pin is driven TRUE whenever the brake is on. On Tue, Aug 14, 2012, at 11:08

[Emc-users] How to unlock a linear axis

2012-08-14 Thread Andrea Buono
Hi, I'm setting up a drilling machine with a single axis controlled by an inverter with encoder with a Mesa 7i43 card for the loop The axis has a brake which acts on a rack railway by a cylinder. Now to allow time for the cylinder to unlock, I gave a delaied command to the direction of inverter, b