Re: [Emc-users] Threading Hickups
John Kasunich wrote: Even better, if you can get some, is a braid that can be expanded enough to run the three motor leads through it, then stretched lengthwise so it snugs down around the motor wires. Again, connect one end directly to the motor frame, and the other directly to the VFD ground. The idea here is to have the return path for stray currents as close as possible to the outgoing path. There are cables produced just for this purpose with a braid and outer plastic sheath. You can also get them with 2 wires extra for temperature sensor if the motor have such. It will contain noise carried by the cables provided it is connected to a good ground at least at both ends. Additional grounding along the path improves efficiency. Ground by using clamps around the braid and against the ground rail. Pigtails act as inductors and render it less efficient at higher frequencies. And of course a spiral conductor around the leads is just a mechanical protection. It is a coil, and thus not effective at AC which is what worries us here. Any ground cable that might carry noise (current spikes) should have as large surface as possible. That means many thin strands. The grounding strap from engine to chassis of modern car is a good example. Welding cable is also fine. It should go in a straight line, never coil it up. Use mentioned straps to ground your cabinets to the machine frame and each other. Use the grounding bolts built into the cabinet for this purpose, or if there is none, make sure there is no paint or corrosion hindering a good connection when you install it yourself. Don't forget to ground the cabinet door using 1 or 2 straps. Also make sure your machine have a good connection to the grounding system of your building. If you run sensor cables or data cables to the machine cabinet, those should also be shielded and connected at both ends, and the device at the other end must be considered just another machine cabinet (grounding). This last point is less strict if using galvanic isolations, and no worry if using plastic/glass fibre. Then with the appropriate filters installed, you should be able to run your machine while your wife watches the football game. ;-) Einar - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Off Topic -- Centering a lathe piece
Hi Don, I am an Old Timer and the process you describe will not gain you anything except dropping the chuck key from one side. I center parts on my lathe to 0.0001 all day long in a few seconds with my 4 jaw chuck. Short Parts: Mount the part in the jaws as close to center as you can. Indicate the part and set the indicator on 0 at the lowest reading. Rotate the part to the highest reading, divide that by 2 Rotate the part to the middle reading and set the indicator to 0 Rotate the part so one jaw is lined up with the indicator and move the part till it is on 0 Rotate the part 90° and repeat. Alternately tighten each jaw as tight as needed and end up on 0 Once I started using this method I don't even put the 3 jaw chuck on any more. Long Parts as described the other day. John On 20 Oct 2007 at 17:56, [EMAIL PROTECTED] wrote: I read somewhere that the Old Timers used two wrenches on a four jaw wrench, hand rotating the spindle by 90 degrees with both wrenches inserted. They would loosen one and tighten the other until they got the indicator dead on concentricity. So, go make yourself a second chuck wrench. 73, Don... - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Threading Hickups
On Sunday 21 October 2007, [EMAIL PROTECTED] wrote: John Kasunich wrote: Even better, if you can get some, is a braid that can be expanded enough to run the three motor leads through it, then stretched lengthwise so it snugs down around the motor wires. Again, connect one end directly to the motor frame, and the other directly to the VFD ground. The idea here is to have the return path for stray currents as close as possible to the outgoing path. There are cables produced just for this purpose with a braid and outer plastic sheath. You can also get them with 2 wires extra for temperature sensor if the motor have such. It will contain noise carried by the cables provided it is connected to a good ground at least at both ends. Additional grounding along the path improves efficiency. Ground by using clamps around the braid and against the ground rail. Pigtails act as inductors and render it less efficient at higher frequencies. And of course a spiral conductor around the leads is just a mechanical protection. It is a coil, and thus not effective at AC which is what worries us here. Any ground cable that might carry noise (current spikes) should have as large surface as possible. That means many thin strands. The grounding strap from engine to chassis of modern car is a good example. Welding cable is also fine. It should go in a straight line, never coil it up. Use mentioned straps to ground your cabinets to the machine frame and each other. Use the grounding bolts built into the cabinet for this purpose, or if there is none, make sure there is no paint or corrosion hindering a good connection when you install it yourself. Don't forget to ground the cabinet door using 1 or 2 straps. Also make sure your machine have a good connection to the grounding system of your building. If you run sensor cables or data cables to the machine cabinet, those should also be shielded and connected at both ends, and the device at the other end must be considered just another machine cabinet (grounding). This last point is less strict if using galvanic isolations, and no worry if using plastic/glass fibre. Then with the appropriate filters installed, you should be able to run your machine while your wife watches the football game. ;-) Einar Regarding motor cables: I am using a Belden microphone cable called Star-Quad, which has 4 conductors in a good shield that I use with my xylotex kit, one cable per motor, with the shield well grounded at the xylotex board, and not connected to anything at the motor end. This cable is available in gauges as large as 20, but what I found was 24 gauge and its working quite well. The wire layup in this cable is 1 2 3 4 and intended to be used 2 wires in parallel for low impedance mics, where 1-4 is used as one wire, and 2-3 is used as the other so the net pickup effect of external noise is that all wires pickup as if they were perfectly centered balanced. I use 1-4 for the A coil and 2-3 for the B coil. I can run an AM radio 3 feet away without hearing it. I didn't trim the length of the motor leads, so theres about a foot of wire from the plug to the motor exposed. That wasn't one of my more brilliant moves, but it worked so I haven't fixed it. My point is that this might be a good technique to use with the encoders too, by using it exactly as Belden intended from the encoder to the diff amp. Sure, that's twice the wires, but if it works, well... Another thing to consider is that the diff amps are often not very immune to 'longitudinal' noise, noise where the spikes are alike on both inputs, but the amplitude of the spikes exceeds the power supply rails. So your 'termination' resistors might have to be adjusted in value so that you can tie one end to ground, one end to the supply rail, and use the junctions /2 voltage as a bias thereby giving equal noise margins going both directions. What you are doing there is setting the input bias of the diff amps so that equal noise margins are available for both polarities of spikes. Because of unbalance in actual R values, it might be best to set that up as one pair of r's across the supply, in which case they can be a higher value, with the junction bypassed to local ground if that local ground is quiet enough otherwise don't bypass it, and the other two term r's, say 56 ohms hooked from the junction to the inputs. This would allow the use of common 10% resistors rather than fawncy and ex$pen$ive .01%ers. These bias setting r's can be higher values, but should be low enough to absorb the noise and constrain it to within the supply rails. It really should stay at least a volt away from the rails if possible. Food for thought guys. From an old fart C.E.T. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Over the years, I've developed my sense of deja vu so acutely that
Re: [Emc-users] Off Topic -- Centering a lathe piece
On Sunday 21 October 2007, John Thornton wrote: Hi Don, I am an Old Timer and the process you describe will not gain you anything except dropping the chuck key from one side. I center parts on my lathe to 0.0001 all day long in a few seconds with my 4 jaw chuck. Short Parts: Mount the part in the jaws as close to center as you can. Indicate the part and set the indicator on 0 at the lowest reading. Rotate the part to the highest reading, divide that by 2 Rotate the part to the middle reading and set the indicator to 0 Rotate the part so one jaw is lined up with the indicator and move the part till it is on 0 Rotate the part 90° and repeat. Alternately tighten each jaw as tight as needed and end up on 0 Once I started using this method I don't even put the 3 jaw chuck on any more. Mine (3 jaw) is actually getting rusty, there's sawdust in the air in my combo shop. But like you, the 3 jaw hasn't been mounted in a couple of years. Long Parts as described the other day. John On 20 Oct 2007 at 17:56, [EMAIL PROTECTED] wrote: I read somewhere that the Old Timers used two wrenches on a four jaw wrench, hand rotating the spindle by 90 degrees with both wrenches inserted. They would loosen one and tighten the other until they got the indicator dead on concentricity. So, go make yourself a second chuck wrench. 73, Don... - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) He's the kind of man for the times that need the kind of man he is ... - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Axis Jog Speed
There seems to be a rounding error in the Jog Speed: displayed by Axis on start up. I have MAX_VELOCITY = 5.0 for all axis If I set [TRAJ] DEFAULT_VELOCITY = 0.1 I get the expected jog speed of 6 in/min and it jogs at about 6 inches a minute If I set [TRAJ] DEFAULT_VELOCITY = 0.3 I get 18 in/min If I set [TRAJ] DEFAULT_VELOCITY = 0.33 I should get 19.8 in/min but I get 18 and the jogging speed is about 18 in/min. If I set [TRAJ] DEFAULT_VELOCITY = 0. I still get 18 in/min From the above results you would think that DEFAULT_VELOCITY limited to one decimal place? However if I set [TRAJ] DEFAULT_VELOCITY = 0.0003 I get 0.01 in/min If I set [TRAJ] DEFAULT_VELOCITY = 0.0004 I still get 0.01 in/min and it should be 0.02! If I set [TRAJ] DEFAULT_VELOCITY = 0.0005 I still get 0.01 in/min and it should be 0.03... If I set [TRAJ] DEFAULT_VELOCITY = 0.001 I get 0.05 in/min and it should be 0.06. Thanks John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis Jog Speed
AXIS uses an logarithmic relationship between the position of the jog slider and the jog speed in inches per minute. At the left hand side, the jog speeds are fairly close together (e.g., .001 and .002 in/min) and at the right hand side the speeds are further apart (e.g., 296 and 300 in/min). The exact numbers available depend on the axis SCALE (to set the low end to about one count per second) and MAX_LINEAR_VELOCITY (to set the high end). Whatever value you give in the inifile is converted to one of the two nearest values actually available on the slider. The intent is not to have exact speeds selectable for jogging, but to have a wide range of speeds available to be suitable for quick positioning (high end) and fine-tuning (low and middle end). Jeff - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] DC Motor and PID
Jon Elson wrote: Kirk Wallace wrote: I connected the motor to my lab supply and got the motor to turn very slowly at about 4.5 Volts. At the slowest speed, it would only stop if I reduced the voltage. So I guess I have a good motor and I just need to work more on the tuning. Maybe, add more P to get the initial voltage up to 4.5 but then add more D (?) to fight the oscillating. Well, I wanted a real world test bed, I guess I got it. Right, you want P as high as possible, and to the point that you need some D to prevent oscillation. Unfortunately on the Pico Systems PWM system, there is no current loop or tach feedback, so the tuning is a little bit more touchy than with velocity servo amps. But, usually you can get the following error down to really negligable levels and still have a stable servo response. Too much D and the whole system gets quite unstable due to lags in the loop and the effects of quantization of the encoder. Once you have P and D up about as high as you can get them, you reduce the rest of the errors with FF1 and FF2. It doesn't take much of these factors to make quite a difference, and it is easy to go too far and make things worse. And, you need something like 1 - 2 encoder counts worth of deadband to stop the buzzing. Don't you use _any_ Integral gain? I guess there are as many ways to tune as there are people, but I can't imagine not using I gain. In fact the drives that I work on in my day job tend to use P and I only. No D, no FF. Of course these aren't servo drives, just simple speed loops for the most part. Regards, John Kasunich - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Generating stick-font toolpaths?
theres a simple utility to generate stick font code in this file http://www.luberth.com/plotter/Basicgcodesourceandexamples.zip look for Text2cnc.bas it could probably be translated to a script for use in Linux Brian -- Nemo me impune lacesset - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] DC Motor and PID
John Kasunich wrote: Jon Elson wrote: Kirk Wallace wrote: I connected the motor to my lab supply and got the motor to turn very slowly at about 4.5 Volts. At the slowest speed, it would only stop if I reduced the voltage. So I guess I have a good motor and I just need to work more on the tuning. Maybe, add more P to get the initial voltage up to 4.5 but then add more D (?) to fight the oscillating. Well, I wanted a real world test bed, I guess I got it. Right, you want P as high as possible, and to the point that you need some D to prevent oscillation. Unfortunately on the Pico Systems PWM system, there is no current loop or tach feedback, so the tuning is a little bit more touchy than with velocity servo amps. But, usually you can get the following error down to really negligable levels and still have a stable servo response. Too much D and the whole system gets quite unstable due to lags in the loop and the effects of quantization of the encoder. Once you have P and D up about as high as you can get them, you reduce the rest of the errors with FF1 and FF2. It doesn't take much of these factors to make quite a difference, and it is easy to go too far and make things worse. And, you need something like 1 - 2 encoder counts worth of deadband to stop the buzzing. Don't you use _any_ Integral gain? I guess there are as many ways to tune as there are people, but I can't imagine not using I gain. In fact the drives that I work on in my day job tend to use P and I only. No D, no FF. Of course these aren't servo drives, just simple speed loops for the most part. Yes, I do, but it doesn't seem to do a whole lot. I usually have numbers between 1 and 5 there. But, I find the FF is a LOT more sensitive, and I can get the error down to practically nothing, 100 uInch or .001-.002 mm. I really doesn't seem to help much with the PWM system, maybe because it is not a true velocity servo. My usualy tuning protocol is to make a 3/4 second move at various jog speeds, observe the error, tweak a parameter and repeat. My big problem is the unavoidable quantization noise of the encoder count being differentiated and turned into a huge signal with a lot of energy at 1/servo_period. I haven't had the time to work with it much more, but it looks like it needs some kind of fix to work well with my PWM servo system. I guess there is a lag in the system, most likely a combination of filter inductance and motor inertia, that makes it wildly unstable if you add too much D. Jon - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Joypad
Can you take a joypad apart and put into a more solid container and use industrial buttons so you can label the functions for input into EMC. The USB input for a remote would be just too easy... Thanks John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] DC Motor and PID
On Sun, 21 Oct 2007, Jon Elson wrote: Date: Sun, 21 Oct 2007 13:12:57 -0500 From: Jon Elson [EMAIL PROTECTED] Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] DC Motor and PID John Kasunich wrote: Jon Elson wrote: Kirk Wallace wrote: I connected the motor to my lab supply and got the motor to turn very slowly at about 4.5 Volts. At the slowest speed, it would only stop if I reduced the voltage. So I guess I have a good motor and I just need to work more on the tuning. Maybe, add more P to get the initial voltage up to 4.5 but then add more D (?) to fight the oscillating. Well, I wanted a real world test bed, I guess I got it. Right, you want P as high as possible, and to the point that you need some D to prevent oscillation. Unfortunately on the Pico Systems PWM system, there is no current loop or tach feedback, so the tuning is a little bit more touchy than with velocity servo amps. But, usually you can get the following error down to really negligable levels and still have a stable servo response. Too much D and the whole system gets quite unstable due to lags in the loop and the effects of quantization of the encoder. Once you have P and D up about as high as you can get them, you reduce the rest of the errors with FF1 and FF2. It doesn't take much of these factors to make quite a difference, and it is easy to go too far and make things worse. And, you need something like 1 - 2 encoder counts worth of deadband to stop the buzzing. Don't you use _any_ Integral gain? I guess there are as many ways to tune as there are people, but I can't imagine not using I gain. In fact the drives that I work on in my day job tend to use P and I only. No D, no FF. Of course these aren't servo drives, just simple speed loops for the most part. Yes, I do, but it doesn't seem to do a whole lot. I usually have numbers between 1 and 5 there. But, I find the FF is a LOT more sensitive, and I can get the error down to practically nothing, 100 uInch or .001-.002 mm. I really doesn't seem to help much with the PWM system, maybe because it is not a true velocity servo. My usualy tuning protocol is to make a 3/4 second move at various jog speeds, observe the error, tweak a parameter and repeat. My big problem is the unavoidable quantization noise of the encoder count being differentiated and turned into a huge signal with a lot of energy at 1/servo_period. I haven't had the time to work with it much more, but it looks like it needs some kind of fix to work well with my PWM servo system. I guess there is a lag in the system, most likely a combination of filter inductance and motor inertia, that makes it wildly unstable if you add too much D. Jon Velocity feed forward is especially important with straight PWM ampilifiers as it allows the system to approximate current control, that is, make the drive torque independent of motor back EMF. It also has one advantage over current control systems in that the inherent damping factor is higher (the amplifier has a low output impedance) One way to allow higher damping (and hence higher P) is to raise the servo sample rate. For small or high performance motors, 1KHz is _way_ too slow, the zero-order hold effect (because the velocity calculation from the previous cycle is applied over the current cycle) introduces a very unwanted delay in the D part of the feedback loop. This delay is inversely proportional to sample rate. Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] DC Motor and PID
Peter C. Wallace wrote: Velocity feed forward is especially important with straight PWM ampilifiers as it allows the system to approximate current control, that is, make the drive torque independent of motor back EMF. It also has one advantage over current control systems in that the inherent damping factor is higher (the amplifier has a low output impedance) One way to allow higher damping (and hence higher P) is to raise the servo sample rate. For small or high performance motors, 1KHz is _way_ too slow, the zero-order hold effect (because the velocity calculation from the previous cycle is applied over the current cycle) introduces a very unwanted delay in the D part of the feedback loop. This delay is inversely proportional to sample rate. I have been wondering about this. Of course, increasing the sampling rate makes the quantization problem worse, but each glitch lasts for a shorter time. My general feeling was that with these small motors hitched to heavy machinery, the bandwidth of the iron is pretty low compared to even the 1 KHz rate. But, it certainly is worth investigating. Some of the PWM users are running on really slow computer hardware and the rate can't be raised a whole lot. Others are using faster computers, and 10 KHz is not unreasonable to try. I will have to do some experiments and see what happens. Jon - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis Jog Speed
Thanks guys, I had altered the [TRAJ] MAX_VELOCITY and DEFAULT_VELOCITY a bit, partly because I read in one of the recent posts that it should be more than the individual axis MAX_VELOCITY, however, I didn't think I had changed it so much and it then got pared back until all the axes would run happily in a G0 situation. It was only late that I noticed that the jog speed which was indicated by AXIS was showing 300mm/min for the linear axes and 5000 degrees?/min for the angular axis. The system will only jog reliably at a little over half these speeds - so, the next question is, what is the difference between the speed in a G0 move? -- Best wishes, Ian Ian W. Wright Sheffield UK The difference between theory and practice is much smaller in theory than in practice... - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Starting a new project
Hello, I am new to both Linux and EMC. I am a maintenance supervisor in an aircraft manufacturing facility. We do landing gear. I have a Motenc-Lite servo board. I am pretty sure I won't have alot of problems with the motion control section of this but was wondering about how to use a manual pulse generator and jog push buttons. How would I tie hard pushbuttons to the soft buttons on tkemc? Also, classic ladder does not start when I bring up the EMC2 Sample config. How do I do this? Thanks, Paul- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
Hi Dave Welcome. This is a good place for help as is the IRC channel on freenode.net. There are both realtime and user space elements to ladder. The realtime stuff does the actual logic while the user space stuff shows and edits it. Both demo_step_cl and demo_sim_cl should start a user space set of windows into classic ladder. I believe there is still a page on them in the wiki. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Sample_HAL_And_ClassicLadder It's a bit dated because there have been some changes to the way that ladder handles variable names but the essence of the interaction between EMC and ladder are in there. Rayh On Sun, 2007-10-21 at 18:33 -0400, Dave Keeton wrote: Hello, I am new to both Linux and EMC. I am a maintenance supervisor in an aircraft manufacturing facility. We do landing gear. I have a Motenc-Lite servo board. I am pretty sure I won't have alot of problems with the motion control section of this but was wondering about how to use a manual pulse generator and jog push buttons. How would I tie hard pushbuttons to the soft buttons on tkemc? Also, classic ladder does not start when I bring up the EMC2 Sample config. How do I do this? Thanks, Paul - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
Hi Ray, Glad to be here. Thank you for the fast reply. I can get classic ladder to come up in demo_step_cl and demo_sim_cl. I guess my question is more about the configuration files for Motenc card. When I look at the moten_io file it reads: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp So I edit it to read: # Just uncomment the following line if you want a Software PLC loadusr -w classicladder --nogui ../configs/common/bridgeport.clp But I still don't get the classic ladder interface...What am I doing wrong? Thanks, Dave - Original Message - From: Ray Henry [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Sunday, October 21, 2007 6:54 PM Subject: Re: [Emc-users] Starting a new project Hi Dave Welcome. This is a good place for help as is the IRC channel on freenode.net. There are both realtime and user space elements to ladder. The realtime stuff does the actual logic while the user space stuff shows and edits it. Both demo_step_cl and demo_sim_cl should start a user space set of windows into classic ladder. I believe there is still a page on them in the wiki. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Sample_HAL_And_ClassicLadder It's a bit dated because there have been some changes to the way that ladder handles variable names but the essence of the interaction between EMC and ladder are in there. Rayh On Sun, 2007-10-21 at 18:33 -0400, Dave Keeton wrote: Hello, I am new to both Linux and EMC. I am a maintenance supervisor in an aircraft manufacturing facility. We do landing gear. I have a Motenc-Lite servo board. I am pretty sure I won't have alot of problems with the motion control section of this but was wondering about how to use a manual pulse generator and jog push buttons. How would I tie hard pushbuttons to the soft buttons on tkemc? Also, classic ladder does not start when I bring up the EMC2 Sample config. How do I do this? Thanks, Paul - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
Dave Keeton wrote: Hi Ray, Glad to be here. Thank you for the fast reply. I can get classic ladder to come up in demo_step_cl and demo_sim_cl. I guess my question is more about the configuration files for Motenc card. When I look at the moten_io file it reads: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp So I edit it to read: # Just uncomment the following line if you want a Software PLC loadusr -w classicladder --nogui ../configs/common/bridgeport.clp Hmmm. Well, it looks like that comment was added way back in the second version of the motenc_io.hal file, in December of 2005. Unfortunately, the referenced bridgeport.clp isn't in CVS, and as far as I can tell, it never has been. I'm not sure if Pete V. ever checked it in anywhere, or if he still has it. In any case, you probably don't want that exact ladder anyway. If you just want to mess around with it, you should be able to copy the .clp file from the demo_step_cl directory as a starting point, and change the ladder-related lines to read like the ones in the demo_step_cl hal file. - Steve [snip] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
We must be thinking the same..Scary thing is was I went looking through the motenc_io file. I figured that it was'nt finding what it was looking for, I copied the files over and renamed them. After getting errors here and there I finally got it working. The difference is you know what your doing and I don't. I'm just guessing at this point! I am already an avid ladder programmer so if I learn how to configure the I/O points, timers and what not in CL then I should be on my way.can push buttons be tied to tkemc through Classic ladder? I am going to need an operator panel with an MPG (manual pulse generator) or handwheel and pushbuttons. Thank you for your help. Dave - Original Message - From: Stephen Wille Padnos [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Sunday, October 21, 2007 8:06 PM Subject: Re: [Emc-users] Starting a new project Dave Keeton wrote: Hi Ray, Glad to be here. Thank you for the fast reply. I can get classic ladder to come up in demo_step_cl and demo_sim_cl. I guess my question is more about the configuration files for Motenc card. When I look at the moten_io file it reads: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp So I edit it to read: # Just uncomment the following line if you want a Software PLC loadusr -w classicladder --nogui ../configs/common/bridgeport.clp Hmmm. Well, it looks like that comment was added way back in the second version of the motenc_io.hal file, in December of 2005. Unfortunately, the referenced bridgeport.clp isn't in CVS, and as far as I can tell, it never has been. I'm not sure if Pete V. ever checked it in anywhere, or if he still has it. In any case, you probably don't want that exact ladder anyway. If you just want to mess around with it, you should be able to copy the .clp file from the demo_step_cl directory as a starting point, and change the ladder-related lines to read like the ones in the demo_step_cl hal file. - Steve [snip] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
Dave Keeton wrote: We must be thinking the same..Scary thing is was I went looking through the motenc_io file. I figured that it was'nt finding what it was looking for, I copied the files over and renamed them. After getting errors here and there I finally got it working. The difference is you know what your doing and I don't. I'm just guessing at this point! I am already an avid ladder programmer so if I learn how to configure the I/O points, timers and what not in CL then I should be on my way.can push buttons be tied to tkemc through Classic ladder? I am going to need an operator panel with an MPG (manual pulse generator) or handwheel and pushbuttons. Thank you for your help. Dave Oh - in my usual form, I helped with the specific problem and forgot about the bigger picture :) As far as I know, you can't hook external buttons to TkEMC (or mini, or AXIS ...). However, there is another user interface you can run at the same time as any of those - halui. That's how you hook up external buttons and lights and get things done with them. There is one exception though - jogging with an MPG needs the MPG to be read in realtime, so you would load a software encoder counter (or use a spare on the Motenc, if you have one), and connect that directly to the motion controller. There are individual jog-enable input bits to select the axis to jog, and the MPG gets hooked to all of the axes. Take a look at the jogwheel.hal file in the max config for more info on jogwheels. For more info on halui, look at the various files in the halui_halvcp config. There's also information on the wiki on both of these subjects (search for halui or jog wheel). - Steve - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
Glad to hear it's going. You'll need to add in the HAL pin links that connect estop and lube so that the demo works properly. You should also comment out the part of motenc_io.hal that loop back the estop. You could use the program halcmd to link buttons in tkemc to signals connected to ladder inputs. You'll need a bit of tickle language to do that but this stuff can be hacked together from a couple of other Tcl/Tk programs already in the source. Rayh On Sun, 2007-10-21 at 21:17 -0400, Dave Keeton wrote: We must be thinking the same..Scary thing is was I went looking through the motenc_io file. I figured that it was'nt finding what it was looking for, I copied the files over and renamed them. After getting errors here and there I finally got it working. The difference is you know what your doing and I don't. I'm just guessing at this point! I am already an avid ladder programmer so if I learn how to configure the I/O points, timers and what not in CL then I should be on my way.can push buttons be tied to tkemc through Classic ladder? I am going to need an operator panel with an MPG (manual pulse generator) or handwheel and pushbuttons. Thank you for your help. Dave - Original Message - From: Stephen Wille Padnos [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Sunday, October 21, 2007 8:06 PM Subject: Re: [Emc-users] Starting a new project Dave Keeton wrote: Hi Ray, Glad to be here. Thank you for the fast reply. I can get classic ladder to come up in demo_step_cl and demo_sim_cl. I guess my question is more about the configuration files for Motenc card. When I look at the moten_io file it reads: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp So I edit it to read: # Just uncomment the following line if you want a Software PLC loadusr -w classicladder --nogui ../configs/common/bridgeport.clp Hmmm. Well, it looks like that comment was added way back in the second version of the motenc_io.hal file, in December of 2005. Unfortunately, the referenced bridgeport.clp isn't in CVS, and as far as I can tell, it never has been. I'm not sure if Pete V. ever checked it in anywhere, or if he still has it. In any case, you probably don't want that exact ladder anyway. If you just want to mess around with it, you should be able to copy the .clp file from the demo_step_cl directory as a starting point, and change the ladder-related lines to read like the ones in the demo_step_cl hal file. - Steve [snip] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
A quick question (one of many to come!), would I change the line: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp To: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/myladder.clp To load the file myladder.clp into classic ladder when emc starts? - Original Message - From: Stephen Wille Padnos [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Sunday, October 21, 2007 8:06 PM Subject: Re: [Emc-users] Starting a new project Dave Keeton wrote: Hi Ray, Glad to be here. Thank you for the fast reply. I can get classic ladder to come up in demo_step_cl and demo_sim_cl. I guess my question is more about the configuration files for Motenc card. When I look at the moten_io file it reads: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp So I edit it to read: # Just uncomment the following line if you want a Software PLC loadusr -w classicladder --nogui ../configs/common/bridgeport.clp Hmmm. Well, it looks like that comment was added way back in the second version of the motenc_io.hal file, in December of 2005. Unfortunately, the referenced bridgeport.clp isn't in CVS, and as far as I can tell, it never has been. I'm not sure if Pete V. ever checked it in anywhere, or if he still has it. In any case, you probably don't want that exact ladder anyway. If you just want to mess around with it, you should be able to copy the .clp file from the demo_step_cl directory as a starting point, and change the ladder-related lines to read like the ones in the demo_step_cl hal file. - Steve [snip] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
Dave Keeton wrote: A quick question (one of many to come!), would I change the line: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp To: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/myladder.clp To load the file myladder.clp into classic ladder when emc starts? Yes, but you also have to remove the hash mark ( # ) from the start of the line: loadusr -w classicladder --nogui ../configs/common/myladder.clp - Steve - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Starting a new project
Thanks Ray, I will hopefully be working on that over the next few days. Still building the panel (Gotta make it look good as well as work good.) So far I am making progress and thats good. The goal is to get this up and running so we can decide wether to put it on production machines or not. How does this control handle 3d interpolated arcs? Anyone know? The reason I am asking is we have a machine that has a Fanuc10M control on it. It goes from 80ipm down to about 20ipm while cutting these arcs. Almost all profile cutting on landing gear is done this way.It's killing our job ratesgoing to bed now.Dave is tired! Thanks Again! - Original Message - From: Ray Henry [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Sunday, October 21, 2007 9:36 PM Subject: Re: [Emc-users] Starting a new project Glad to hear it's going. You'll need to add in the HAL pin links that connect estop and lube so that the demo works properly. You should also comment out the part of motenc_io.hal that loop back the estop. You could use the program halcmd to link buttons in tkemc to signals connected to ladder inputs. You'll need a bit of tickle language to do that but this stuff can be hacked together from a couple of other Tcl/Tk programs already in the source. Rayh On Sun, 2007-10-21 at 21:17 -0400, Dave Keeton wrote: We must be thinking the same..Scary thing is was I went looking through the motenc_io file. I figured that it was'nt finding what it was looking for, I copied the files over and renamed them. After getting errors here and there I finally got it working. The difference is you know what your doing and I don't. I'm just guessing at this point! I am already an avid ladder programmer so if I learn how to configure the I/O points, timers and what not in CL then I should be on my way.can push buttons be tied to tkemc through Classic ladder? I am going to need an operator panel with an MPG (manual pulse generator) or handwheel and pushbuttons. Thank you for your help. Dave - Original Message - From: Stephen Wille Padnos [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Sunday, October 21, 2007 8:06 PM Subject: Re: [Emc-users] Starting a new project Dave Keeton wrote: Hi Ray, Glad to be here. Thank you for the fast reply. I can get classic ladder to come up in demo_step_cl and demo_sim_cl. I guess my question is more about the configuration files for Motenc card. When I look at the moten_io file it reads: # Just uncomment the following line if you want a Software PLC #loadusr -w classicladder --nogui ../configs/common/bridgeport.clp So I edit it to read: # Just uncomment the following line if you want a Software PLC loadusr -w classicladder --nogui ../configs/common/bridgeport.clp Hmmm. Well, it looks like that comment was added way back in the second version of the motenc_io.hal file, in December of 2005. Unfortunately, the referenced bridgeport.clp isn't in CVS, and as far as I can tell, it never has been. I'm not sure if Pete V. ever checked it in anywhere, or if he still has it. In any case, you probably don't want that exact ladder anyway. If you just want to mess around with it, you should be able to copy the .clp file from the demo_step_cl directory as a starting point, and change the ladder-related lines to read like the ones in the demo_step_cl hal file. - Steve [snip] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/
Re: [Emc-users] Starting a new project
Thanks, I will check that out.I do have a spare encoder channel on the motenc. Do I not worry about connecting the Z channel. My MPG is a real MPG. It has A, not A, B, not B only. No Z channel - Original Message - From: Stephen Wille Padnos [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Sunday, October 21, 2007 9:27 PM Subject: Re: [Emc-users] Starting a new project Dave Keeton wrote: We must be thinking the same..Scary thing is was I went looking through the motenc_io file. I figured that it was'nt finding what it was looking for, I copied the files over and renamed them. After getting errors here and there I finally got it working. The difference is you know what your doing and I don't. I'm just guessing at this point! I am already an avid ladder programmer so if I learn how to configure the I/O points, timers and what not in CL then I should be on my way.can push buttons be tied to tkemc through Classic ladder? I am going to need an operator panel with an MPG (manual pulse generator) or handwheel and pushbuttons. Thank you for your help. Dave Oh - in my usual form, I helped with the specific problem and forgot about the bigger picture :) As far as I know, you can't hook external buttons to TkEMC (or mini, or AXIS ...). However, there is another user interface you can run at the same time as any of those - halui. That's how you hook up external buttons and lights and get things done with them. There is one exception though - jogging with an MPG needs the MPG to be read in realtime, so you would load a software encoder counter (or use a spare on the Motenc, if you have one), and connect that directly to the motion controller. There are individual jog-enable input bits to select the axis to jog, and the MPG gets hooked to all of the axes. Take a look at the jogwheel.hal file in the max config for more info on jogwheels. For more info on halui, look at the various files in the halui_halvcp config. There's also information on the wiki on both of these subjects (search for halui or jog wheel). - Steve - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users