Re: [Emc-users] How to unlock a linear axis
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 good but I'm not sure on how implement the trik, I don't know how to force the commanded position from the motion part to be at a fixed point even if it have a jog or G command, I have made some test with the axis.N.motor-pos-fb but the tracking error remain. I hope in a miracleor someone much clever than me. 2012/8/15 sam sokolik sa...@empirescreen.com 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, 2012/8/14 sam sokolik sa...@empirescreen.com 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 axis an error Can't jog a locking axis..sounds good...after this I have modified the hm2-servo.hal to add the line to controll the behavior but at startup linuxcnc give me an error Pin axis.0.is-unlocked doesn't exist 5990, I run the 2.6.0 pre0-3148 version of linuxcnc because I have read somewhere that only the new 2.6 will have this feature. Why I get this error? How you have made your code? Thanks. 2012/8/14 sam sokolik sa...@empirescreen.com 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=vLE4lzPcEo8feature=plcp sam On 8/14/2012 12:12 PM, sam sokolik wrote: 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 then wait for the axis.N.is-unlocked pin then move the axis at the rapid rate for that axis. After the move the axis.N.unlock will be false and motion will wait for axis.N.is-unlocked to go false. Moving with other axes is not allowed when moving a locked rotary axis. That way you have a hal loop that can be used to control things like amp enables and such.. sam On 8/14/2012 11:50 AM, Stuart Stevenson wrote: 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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fm wrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat
Re: [Emc-users] How to unlock a linear axis
On 15 August 2012 09:59, Andrea Buono andrea.buon...@gmail.com 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 that LinuxCNC never sees the tracking error. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 bodge...@gmail.com On 15 August 2012 09:59, Andrea Buono andrea.buon...@gmail.com 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 that LinuxCNC never sees the tracking error. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
2012/8/15 sam sokolik sa...@empirescreen.com: 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 joint with LOCKING_INDEXER = 1 is being moved, then all the other joints have to stand still, so there is no interpolation between this particular joint and the other joints. In that case You can easily set that joint to be rotary joint. It does not matter that it actually is linear joint. If all the scale values, angular velocities and accelerations etc are set correctly, then it will move You to right position at right speed and acceleration. And with rotary joint You will have all the required pins created and You will not need to hack feedback position or ferror parameters. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 solution to the control problem the control will still not 'KNOW' if the brake is engaged or not. With a switch mounted on the brake the speed of the engage/disengage cycle is not important to the machine/control loop. just my 2 cents thanks Stuart -- dos centavos -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 stus...@gmail.com 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 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 solution to the control problem the control will still not 'KNOW' if the brake is engaged or not. With a switch mounted on the brake the speed of the engage/disengage cycle is not important to the machine/control loop. just my 2 cents thanks Stuart -- dos centavos -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 brake how does the control know the brake is engaged or not? Even if you find a software solution to the control problem the control will still not 'KNOW' if the brake is engaged or not. With a switch mounted on the brake the speed of the engage/disengage cycle is not important to the machine/control loop. just my 2 cents thanks Stuart ..and maybe a simple mid-way-solution can be a relay in parallel with the brake, so that you'll have a signal when the current phisically goes to the brake (assuming you're using a normally engaged brake (no-current)..) Davide. -- Se non puoi aggiustare una cosa, non è tua. If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] How to unlock a linear axis
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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 not move forever you know? What do you think of the behavior of the locking-indexer? Is possible to reproduce something like this for linear axis to? Andrea 2012/8/14 John Kasunich jmkasun...@fastmail.fm 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 take the feed-hold to true the command gone to zero and the axis will not move forever you know? What do you think of the behavior of the locking-indexer? Is possible to reproduce something like this for linear axis to? Andrea I have no experience with this but, my thinking is that one should read the locked axis position and make that the commanded position, then when the the axis is unlocked, with a small delay for the brake to become fully unlocked, the axis will not move. Then the new position can be commanded without worrying about the brake being on. Thinking a little more, it seems the problem is in the sequence of g-code commands. When the axis stops, the commanded and actual position should match, or at least after a short time. The brake can be applied. Then when a new position is needed, release the brake, wait a short time, then command the new position. Or, I could be completely wrong. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fmwrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- dos centavos -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 then wait for the axis.N.is-unlocked pin then move the axis at the rapid rate for that axis. After the move the axis.N.unlock will be false and motion will wait for axis.N.is-unlocked to go false. Moving with other axes is not allowed when moving a locked rotary axis. That way you have a hal loop that can be used to control things like amp enables and such.. sam On 8/14/2012 11:50 AM, Stuart Stevenson wrote: 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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fmwrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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=vLE4lzPcEo8feature=plcp sam On 8/14/2012 12:12 PM, sam sokolik wrote: 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 then wait for the axis.N.is-unlocked pin then move the axis at the rapid rate for that axis. After the move the axis.N.unlock will be false and motion will wait for axis.N.is-unlocked to go false. Moving with other axes is not allowed when moving a locked rotary axis. That way you have a hal loop that can be used to control things like amp enables and such.. sam On 8/14/2012 11:50 AM, Stuart Stevenson wrote: 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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fmwrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 line to controll the behavior but at startup linuxcnc give me an error Pin axis.0.is-unlocked doesn't exist 5990, I run the 2.6.0 pre0-3148 version of linuxcnc because I have read somewhere that only the new 2.6 will have this feature. Why I get this error? How you have made your code? Thanks. 2012/8/14 sam sokolik sa...@empirescreen.com 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=vLE4lzPcEo8feature=plcp sam On 8/14/2012 12:12 PM, sam sokolik wrote: 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 then wait for the axis.N.is-unlocked pin then move the axis at the rapid rate for that axis. After the move the axis.N.unlock will be false and motion will wait for axis.N.is-unlocked to go false. Moving with other axes is not allowed when moving a locked rotary axis. That way you have a hal loop that can be used to control things like amp enables and such.. sam On 8/14/2012 11:50 AM, Stuart Stevenson wrote: 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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fm wrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can
Re: [Emc-users] How to unlock a linear axis
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 axis an error Can't jog a locking axis..sounds good...after this I have modified the hm2-servo.hal to add the line to controll the behavior but at startup linuxcnc give me an error Pin axis.0.is-unlocked doesn't exist 5990, I run the 2.6.0 pre0-3148 version of linuxcnc because I have read somewhere that only the new 2.6 will have this feature. Why I get this error? How you have made your code? Thanks. 2012/8/14 sam sokolik sa...@empirescreen.com 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=vLE4lzPcEo8feature=plcp sam On 8/14/2012 12:12 PM, sam sokolik wrote: 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 then wait for the axis.N.is-unlocked pin then move the axis at the rapid rate for that axis. After the move the axis.N.unlock will be false and motion will wait for axis.N.is-unlocked to go false. Moving with other axes is not allowed when moving a locked rotary axis. That way you have a hal loop that can be used to control things like amp enables and such.. sam On 8/14/2012 11:50 AM, Stuart Stevenson wrote: 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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fm wrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT
Re: [Emc-users] How to unlock a linear axis
Yes it is, 2012/8/14 sam sokolik sa...@empirescreen.com 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 axis an error Can't jog a locking axis..sounds good...after this I have modified the hm2-servo.hal to add the line to controll the behavior but at startup linuxcnc give me an error Pin axis.0.is-unlocked doesn't exist 5990, I run the 2.6.0 pre0-3148 version of linuxcnc because I have read somewhere that only the new 2.6 will have this feature. Why I get this error? How you have made your code? Thanks. 2012/8/14 sam sokolik sa...@empirescreen.com 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=vLE4lzPcEo8feature=plcp sam On 8/14/2012 12:12 PM, sam sokolik wrote: 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 then wait for the axis.N.is-unlocked pin then move the axis at the rapid rate for that axis. After the move the axis.N.unlock will be false and motion will wait for axis.N.is-unlocked to go false. Moving with other axes is not allowed when moving a locked rotary axis. That way you have a hal loop that can be used to control things like amp enables and such.. sam On 8/14/2012 11:50 AM, Stuart Stevenson wrote: 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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fm wrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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 others on using direct feedback to notify the controller that the cylinder is in the released position before motion can start. --J. Ray Mitchell Jr. jrmitche...@gmail.com (818)324-7573 A foolish faith in authority is the worst enemy of truth. - Einstein On Tue, Aug 14, 2012 at 8:08 AM, Andrea Buono andrea.buon...@gmail.comwrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] How to unlock a linear axis
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, 2012/8/14 sam sokolik sa...@empirescreen.com 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 axis an error Can't jog a locking axis..sounds good...after this I have modified the hm2-servo.hal to add the line to controll the behavior but at startup linuxcnc give me an error Pin axis.0.is-unlocked doesn't exist 5990, I run the 2.6.0 pre0-3148 version of linuxcnc because I have read somewhere that only the new 2.6 will have this feature. Why I get this error? How you have made your code? Thanks. 2012/8/14 sam sokolik sa...@empirescreen.com 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=vLE4lzPcEo8feature=plcp sam On 8/14/2012 12:12 PM, sam sokolik wrote: 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 then wait for the axis.N.is-unlocked pin then move the axis at the rapid rate for that axis. After the move the axis.N.unlock will be false and motion will wait for axis.N.is-unlocked to go false. Moving with other axes is not allowed when moving a locked rotary axis. That way you have a hal loop that can be used to control things like amp enables and such.. sam On 8/14/2012 11:50 AM, Stuart Stevenson wrote: 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 brake. thanks Stuart On Tue, Aug 14, 2012 at 10:18 AM, John Kasunich jmkasun...@fastmail.fm wrote: 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 AM, Andrea Buono wrote: 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, but this causes a tracking error on the axis. How do I tell to the motion that has to wait to release the brake even in MDI or in jog mode? Sorry for my english and thank you. Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- John Kasunich jmkasun...@fastmail.fm -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/