[Emc-users] Possible bug in Mesa 5I20 for polarity of DAC
Dear all, I am currently implementing Mesa 5i20, 7i33 and 7i37 cards for my self-designed machine. I have a problem with regards to the polarity of the DACs from the Mesa 7i33 card.When I set the voltage of DAC to a value (example: 5V) using EMC, the DAC sent out from the 7i33 card is -5V which is of opposite polarity. I had rectified by using a scale function to change my gain to -1. However, this is not an ideal solution as other users will think the gain is -1. Is there anyone who has encountered the same problem? Is there is a possible bug in the Mesa driver? Thank you for your attention.Regards,Daniel _ Help Splitzo Sally Before It’s Too Late! http://www.thegirlwhosplitinto5.com/- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Possible bug in Mesa 5I20 for polarity of DAC
Is there anyone who has encountered the same problem? Is there is a possible bug in the Mesa driver? do you have an optoisolator somewhere between the fpga output and the DAC? optos tend to reverse the logic. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Possible bug in Mesa 5I20 for polarity of DAC
On Fri, 11 Apr 2008, How Lin Hoo wrote: Date: Fri, 11 Apr 2008 06:46:07 + From: How Lin Hoo [EMAIL PROTECTED] Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: [Emc-users] Possible bug in Mesa 5I20 for polarity of DAC Dear all, I am currently implementing Mesa 5i20, 7i33 and 7i37 cards for my self-designed machine. I have a problem with regards to the polarity of the DACs from the Mesa 7i33 card.When I set the voltage of DAC to a value (example: 5V) using EMC, the DAC sent out from the 7i33 card is -5V which is of opposite polarity. I had rectified by using a scale function to change my gain to -1. However, this is not an ideal solution as other users will think the gain is -1. Is there anyone who has encountered the same problem? Is there is a possible bug in the Mesa driver? Thank you for your attention.Regards,Daniel Its either a bug in the driver or the FPGA firmware (depending on who you wish to blame: PeterV or PeterW) At this point its probably better to live with the bug than have a update that will break existing configurations (in a _really_ bad way = servo runaway). If you can live with the -gain for a couple of months there is a new 5I20 configuration available (HostMot2) and the driver for that will have the correct output polarity. HostMot2 also improves the 7I33 performance somewhat because is has a selectable 12 bit PDM mode and PDM frequency selectability (low to 100 MHz) to get the best ripple/linearity tradeoff in the 7I33. 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] 5I20 connection to 7i33/7i37
Hi I want to ask question about 5i20 and connection to 7i33 and 7i37 boards. Are there limits on length of cable that connect 5i20 to other boards? Can I use cable that 2 or 3 feet long, and will it effect over all performance of system? Thanks Aram - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] starting in the middle of a program
Speaking of which, I've noticed that in multi-file programs variables set in one file do not commute to subsequent files. That is: values set in one file don't propogate beyond that file. This seems kinda strange since the docs seem to indicate that each file bounded by %'s concatenate into one large program. If that's so then the g-code interpreter should have no idea about file boundries and variable values set in one file should continue over all files. If variables are intended by the authors to *not* propogate over sperate files then its seems to me that *modes* should not propogate over seperate files either, but they clearly do (modes propogate). Robert W. Jon Elson wrote: Stuart Stevenson wrote: Gentlemen, Has there been a good procedure developed for starting in the middle of a program? This is too well hidden. Assuming you are using the Axis GUI, you scroll down to the line you want to start from, using the mouse buttons on the G-code window. You click to highlight that line, and then in the File pull down (I think) is a start from line entry. Click on that, then hit r and it will run quickly through the code to get to the right position and modes at the beginning of the selected block. BUT, it won't start the spindle! If you don't have a manual spindle override, you are pretty sunk until this BUG is fixed. Starting the spindle with F9 and then doing the Run will just turn the spindle off. Please excuse, I'm going into rant on Clearly, the spindle is a modal operation, just like G41 or G17, and so if the G-code starts the spindle in the first couple lines, it should be running when the line to start from is performed. In all machining operations, you'd want the spindle to be started before beginning a cutting operation. If somebody used M03 and M05 to turn a plasma cutter or laser on and off, then these would be scattered all through the code, and presumably the operator would know to start on a line where the device was off. This all combines with spindle speed, and maybe even gear changes, so it might get a bit more complex. But, these are clearly modal functions, and so if you are preserving the state of all the other modal settings, spindle on/off and speed should be handled as well. rant off Jon - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] EMC2 Charge Pump
The manual(s) seem to be lacking on charge pump operation and this being my first foray into the world of CNC I have a couple questions: 1. Does the charge pump run non stop from the time you open EMC till you close it (or it crashes) or does it stop on E-Stop condition? 2. To add it to my setup do I need to add anything other than the following 4 lines to my machines .hal file: loadrt charge_pump net charge-pump = charge.pump-out addf charge-pump base-thread net charge-pump = parport.0.pin-xx-out My intention is to have the charge pump wait for EMC to be running then close a contactor supplying the stepper powersupply and the mill control circuitry. That allows me a single power button (the CPU) as opposed to 2 or 3 and guarantees that only when EMC is control can anything happen and no sequencing issues (do this then that, then this - ie human error). I may even add a relay to drop the panel power switch out once the charge pump engages so that I can't accidentally bump it and upset the OS at all. But I don't want the mill and power supply to be shutdown completely with the activation of an E-Stop or Machine Power Off. I only want E-stop to disable the amplifier enable and the spindle enable, not drop the charge pump too. So in short - I want the Charge Pump running the moment EMC2 successfully loads, till the moment it closes (purposefully or otherwise). Am I correct or am I a resident of left field? I am designing my enclosure right now and don't have a spare mobo available to temporarily fire up EMC2 and see what happens until I finish the enclosure setup, which will kind of be determined by the functionality of the charge pump...catch 22 anyone? The Charge Pump component from the CVS repository (GNU GPL truncated for space) is: // This is a 'charge-pump' component for EMC2 HAL // Copyright 2006 Jeff Epler component charge_pump Create a square-wave for the 'charge pump' input of some controller boards; option singleton yes; pin out bit out Square wave if 'enable' is TRUE or unconnected, low if 'enable' is FALSE; pin in bit enable = TRUE If FALSE, forces 'out' to be low; function _ nofp Toggle the output bit (if enabled); license GPL; ;; FUNCTION(_) { if ( enable ) { out = !out; } else { out = 0; } } Not being that well versed in coding (been a very long time) I'm confused. Do I need to somehow send an enable the charge pump - and how do I go about doing that automatically as I verbosely stated above? Thanks. Greg No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.12/1374 - Release Date: 04.11.08 16.59 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC2 Charge Pump
Greg Michalski wrote: The manual(s) seem to be lacking on charge pump operation and this being my first foray into the world of CNC I have a couple questions: 1. Does the charge pump run non stop from the time you open EMC till you close it (or it crashes) or does it stop on E-Stop condition? That is up to you, based on how you configure your HAL setup. 2. To add it to my setup do I need to add anything other than the following 4 lines to my machines .hal file: loadrt charge_pump net charge-pump = charge.pump-out addf charge-pump base-thread net charge-pump = parport.0.pin-xx-out You probably need one more: setp charge-pump.enable 1 That will enable the pump so that it runs continuously until you shut EMC down. If you only wanted it to run when EMC is not in E-stop, you would connect the enable pin to an E-stop related signal. My intention is to have the charge pump wait for EMC to be running then close a contactor supplying the stepper powersupply and the mill control circuitry. That allows me a single power button (the CPU) as opposed to 2 or 3 and guarantees that only when EMC is control can anything happen and no sequencing issues (do this then that, then this - ie human error). I may even add a relay to drop the panel power switch out once the charge pump engages so that I can't accidentally bump it and upset the OS at all. But I don't want the mill and power supply to be shutdown completely with the activation of an E-Stop or Machine Power Off. I only want E-stop to disable the amplifier enable and the spindle enable, not drop the charge pump too. So in short - I want the Charge Pump running the moment EMC2 successfully loads, till the moment it closes (purposefully or otherwise). The 'setp' command I described above should do that. Am I correct or am I a resident of left field? I am designing my enclosure right now and don't have a spare mobo available to temporarily fire up EMC2 and see what happens until I finish the enclosure setup, which will kind of be determined by the functionality of the charge pump...catch 22 anyone? How to do E-stop is an on-going debate. Some people (me included) think that if you have a charge pump, E-stop should turn it off. That is more fail-safe than your arrangement, where the pump is running as long as EMC is running. But the final decision is up to you. Only you know your machine and your situation. The Charge Pump component from the CVS repository (GNU GPL truncated for space) is: // This is a 'charge-pump' component for EMC2 HAL // Copyright 2006 Jeff Epler component charge_pump Create a square-wave for the 'charge pump' input of some controller boards; option singleton yes; pin out bit out Square wave if 'enable' is TRUE or unconnected, low if 'enable' is FALSE; pin in bit enable = TRUE If FALSE, forces 'out' to be low; function _ nofp Toggle the output bit (if enabled); license GPL; ;; FUNCTION(_) { if ( enable ) { out = !out; } else { out = 0; } } Not being that well versed in coding (been a very long time) I'm confused. Do I need to somehow send an enable the charge pump - and how do I go about doing that automatically as I verbosely stated above? Yes, the enable pin turns the charge pump on and off. Setting it true with 'setp charge-pump.enable 1' is all you need to make the pump run all the time. If you wanted to turn the pump on and off, the enable pin is how you would do that. Thanks. Greg Hope this helps, John Kasunich - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Debounce component syntax for multiple groups
Hi all, The documentation for the debounce component shows the syntax as: loadrt debounce [cfg=size[,size...]] Trying various permutations, the only syntax I got to work so far was (for example): loadrt debounce cfg=3 2 I checked the various example configurations, but did not find one that defined more than one group of debounce components. The first question is am I doing something wrong, and if not, what is the appropriate fix? Should the documentation be changed to match the implementation, or should the component's command parsing be changed to match the documentation? I don't mind giving a go at fixing it, if that is the appropriate thing to do. Thanks, Eric - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users