[Emc-users] Released: EMC 2.2.0
I'm pleased to announce the first release of the EMC 2.2 series, EMC 2.2.0. After about a year of development, many new features are available in this release. The documentation (particularly the HTML documentation) is greatly improved, and a partial translation of the documentation into the french language is available. Please join us on IRC in the usual place (irc.freenode.net / #emc) if you have any questions, or just to help us celebrate! I am the release manager for the emc 2.2.x release cycle. As a result, you'll need to add my gpg key to the list of keys that will authenticate packages on your system. Do so by issuing these commands in the terminal: gpg --keyserver pgpkeys.mit.edu --recv-key 96935D7D gpg -a --export 96935D7D | sudo apt-key add - after the second step you will be prompted for your password in order to run the administrative command apt-key add. If you don't perform this step, you will get a warning about unauthenticated software when installing bugfix releases. Because (minor) changes to configuration files are needed, your existing install will not automatically be updated to 2.2. If you want to run 2.2, you will have to change to the EMC 2.2 repository by following these instructions: Run System/Administration/Synaptic Package Manager Go to Settings/Repositories In the list of Channels are two lines for linuxcnc.org. For each of them: Select the line and click Edit on the Components line, change emc2 or emc2.1 to emc2.2 Click OK Close the Software Preferences window Click Reload as instructed Click Mark All Upgrades Click Apply A new EMC 2.2 Live CD will be released in the next week or so. CVS users can get this release by checking out the RELEASE_2_2_0 tag. Once you have done the upgrade, you will need to update any custom configurations by following these instructions: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?UPDATING As noted previously, support for Ubuntu 5.10 Breezy Badger has been dropped from this release. The currently supported version is Ubuntu 6.06 LTS Dapper Drake. If you are running a Breezy Badger system, you must reinstall with Dapper Drake, or follow these instructions to update online: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Breezy_Upgrading More detailed changelog: * G41.1, G42.1, G43.1 to take tool parameters from gcode instead of tool table * split libposemath and libemcini from libnml * new inifile item: [HAL]SHUTDOWN, a .hal file run at a clean shutdown of emc * new component: deadzone * new component: tristate_float * new component: random * new components: clarke2 clark3 clarkeinv * hexapod visualization * scara robot sample configuration with visualization * opengl machine visualization for several robots * new m5i20 firmwares * M66 - digital input control (wait read external HAL inputs) * userspace comp * hal-8255 driver for a PCI multiple-8255 card * tapered in/out on multipass threading canned cycle * debug and print output from the interpreter * named parameters in the interpreter * puma robot kinematics * sample configuration for a puma robot * reduce quantization of the encoder module's velocity output * MDI history manipulation and save in AXIS * home to index on STG1 * number of samples in halscope can be specified at runtime * add 'source' command to halcmd * add tcl interface to halcmd commands (tcl/hal.so) * add -U (force unload) to halrun script * new component: lut5 * image-to-gcode: roughing passes * rs274.author: automatic arc recognition (used by image-to-gcode) * Filters can now show progress bars in the AXIS window as they run * U,V,W linear axes with fully coordinated motion * probing in A,B,C,U,V,W axes is now allowed * AXIS: touch-off in any coordinate system * AXIS: allow starting an editor on the loaded gcode or tool table from the File menu * AXIS: A much better Velocity display * AXIS: Preferences set on the View menu are saved for the next EMC run * Rigid tapping G33.1 * Feed Per Revolution and Constant Surface Speed for lathes * Index-only homing for configurations where homing on a switch is inconvenient * G28/G30 now move only the specified axes to the home/reference point * Improved error messages for incorrect arcs * All combinations of inch/metric machines running inch/metric programs work correctly when using the tool table. The tool table is always in machine units. * Now any combination of XYZABCUVW axes can be defined, and trying to move an undefined axis causes a proper error message * Tool change position can have an ABC component. Previously rotary axes always moved to 0 for a tool change. * Spindle speed override * Optional stop * Analog jogging in halui (for joysticks etc.) * Fix several-second unresponsiveness when switching between two guis (even if one of them was halui) *
[Emc-users] 2 ?'s Spindle control hwto/Double step?
Hello 1. Does anyone have a source of info that I can access to learn how and what I need for controlling a machine tool spindle? I have searched the net and came up empty. I have a Wells Index knee mill running Emc2 and the 80's vintage mill uses magnetic starters forward and reverse. I would like to explore spindle control for rigid tapping and I also would like to retro a lathe with Emc2. 2. I am curious about double step that Jeff Epler came up with and how it has tested out using Gecko drives? My setup uses 28000 BASE_PERIOD and a 25000 INPUT_SCALE and it nets me 38 IPM. My Dell has a latency of about 18200 and I currently use DIR hold of 2 Periods to get the 20us hold time required by the Gecko drive. The rapid speed isn't a great big deal to me,but if I can double that I would be pleased. I have never ran another PC based controller ,Fanuc,Yasnac,Mazatrol,and I will be the first to sing the praises EMC2, great job ! Thanks again Al Smart __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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] Step/Direction Drivers
On Sun, 4 Nov 2007, Kirk Wallace wrote: Has there been any movement on adding SPI to EMC? Paul_C updated a parallel port SPI driver for me to work with 2.6 kernels, so I can communicate with SPI devices, but my guess is, this is just a small part of getting EMC to talk to SPI drives. Would it be more accurate to to say, what I need is a Rutex driver that happens to use SPI? If getting SPI working would be similar to Ethernet I/O, has there been any documentation created from the recent thread on Ethernet I/O that I could study? If the hardware is there and assuming the Rutex 'protocol' is trivial, SPI should be much simpler than Ethernet, as it has short and known latencies and is likely point to point. Assuming SPI hardware on the PC, Output only SPI should not be much more than writing the (properly formated) data to a port. Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe Bridgeport mill conversion pending Zubal lathe conversion pending) - 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 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] 2 ?'s Spindle control hwto/Double step?
Alfred Smart wrote: Hello 1. Does anyone have a source of info that I can access to learn how and what I need for controlling a machine tool spindle? I have what appears to be a very similar machine, mine is a Model 810 built in 1980. I have set it up with Gecko 320's and the original PS rewired to produce 56 Volts.Currently it is running on EMC2 2.1.6 with a fourth axis, coolant control, and spindle control. The EMC gang at the CNC Workshop in Galesburg were instrumental in setting up the last two items along with a second Par Port. Thanks again to Chris, Steve, Jeff,and John for the big help. I have searched the net and came up empty. I have a Wells Index knee mill running Emc2 and the 80's vintage mill uses magnetic starters forward and reverse. I would like to explore spindle control for rigid tapping and I also would like to retro a lathe with Emc2. You will need an encoder and connections for rigid tapping, check out the Mazak setup. I use an extension/compression adapter for non-rigid tapping which works just fine for my use. I also have a Hardinge CHNC with no control as a retro candidate. 2. I am curious about double step that Jeff Epler came up with and how it has tested out using Gecko drives? My setup uses 28000 BASE_PERIOD and a 25000 INPUT_SCALE and it nets me 38 IPM. My machine is running with an Athlon 700 processor through 2 Par Ports, at 56 Volts I can get 72 IPM at a high acceleration with the Gecko's. What speed processor do you use? My Dell has a latency of about 18200 and I currently use DIR hold of 2 Periods to get the 20us hold time required by the Gecko drive. The rapid speed isn't a great big deal to me,but if I can double that I would be pleased. I have never ran another PC based controller ,Fanuc,Yasnac,Mazatrol,and I will be the first to sing the praises EMC2, great job ! Thanks again Al Smart - 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] Step/Direction Drivers
On Mon, 5 Nov 2007, Kirk Wallace wrote: Date: Mon, 05 Nov 2007 08:11:07 -0800 From: Kirk Wallace [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] Step/Direction Drivers On Mon, 2007-11-05 at 06:11 -0800, Peter C. Wallace wrote: On Sun, 4 Nov 2007, Kirk Wallace wrote: Has there been any movement on adding SPI to EMC? Paul_C updated a parallel port SPI driver for me to work with 2.6 kernels, so I can communicate with SPI devices, but my guess is, this is just a small part of getting EMC to talk to SPI drives. Would it be more accurate to to say, what I need is a Rutex driver that happens to use SPI? If getting SPI working would be similar to Ethernet I/O, has there been any documentation created from the recent thread on Ethernet I/O that I could study? If the hardware is there ... I think one of the problems is that the only SPI interfaces are parallel port bit banging, which is too slow; and USB to SPI which is non-real-time and very expensive. Could the 5i20 be configured to provide high speed SPI ports? Yes, already does (Hostmot2) (up to 32 bit SPI) Hostmot2 also supports step+direction, high speed UART (10 mbps), SSI (absolute encoder protocol), quadrature counters, 10,11 or 12 bit PWM (100 Mhz base), all overlaid on GPIO. and assuming the Rutex 'protocol' is trivial, All I have now is Rutex' drive datasheet: http://www.rutex.com/pdf/R20x0.pdf Which has this on page 4: Internal SPI registers: NameAdr Size Type Description Dummy8 10h 8-bit R/W Dummy FFh register StatusReg 11h 8-bit R/w Status Register ?? holds the status of FIFO, input and error Revision12h 8-bit R/W Firmware revision StepSize13h 8-bit E/W/E Size of the step multiplier Im 14h 8-bit R Motor current - real time reading ... snip SPI should be much simpler than Ethernet, as it has short and known latencies and is likely point to point. You can chain the data to the slaves and run chip selects to each, or you can chain both and, I think, you address the slave by the number of bytes you send after the data byte or put the address in with the data. Assuming SPI hardware on the PC, Output only SPI should not be much more than writing the (properly formated) data to a port. Of course, bi-directional communications would be better because the only way to tune the drive is through the SPI port. It bugs me to no end that I have to boot Windows to tune the drive. Plus, I can't use Halscope either. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe Bridgeport mill conversion pending Zubal lathe conversion pending) - 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 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] Step/Direction Drivers
On Mon, 2007-11-05 at 08:31 -0800, Peter C. Wallace wrote: On Mon, 5 Nov 2007, Kirk Wallace wrote: Date: Mon, 05 Nov 2007 08:11:07 -0800 From: Kirk Wallace [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] Step/Direction Drivers On Mon, 2007-11-05 at 06:11 -0800, Peter C. Wallace wrote: On Sun, 4 Nov 2007, Kirk Wallace wrote: Has there been any movement on adding SPI to EMC? Paul_C updated a ... snip non-real-time and very expensive. Could the 5i20 be configured to provide high speed SPI ports? Yes, already does (Hostmot2) (up to 32 bit SPI) Hostmot2 also supports step+direction, high speed UART (10 mbps), SSI (absolute encoder protocol), quadrature counters, 10,11 or 12 bit PWM (100 Mhz base), all overlaid on GPIO. Where can I get more information on Hostmot2? -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe Bridgeport mill conversion pending Zubal lathe conversion pending) - 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] Released: EMC 2.2.0
Jeff, Which version of Ubuntu will the live CD use? Andy Jeff Epler wrote: I'm pleased to announce the first release of the EMC 2.2 series, EMC 2.2.0. After about a year of development, many new features are available in this release. The documentation (particularly the HTML documentation) is greatly improved, and a partial translation of the documentation into the french language is available. Please join us on IRC in the usual place (irc.freenode.net / #emc) if you have any questions, or just to help us celebrate! I am the release manager for the emc 2.2.x release cycle. As a result, you'll need to add my gpg key to the list of keys that will authenticate packages on your system. Do so by issuing these commands in the terminal: gpg --keyserver pgpkeys.mit.edu --recv-key 96935D7D gpg -a --export 96935D7D | sudo apt-key add - after the second step you will be prompted for your password in order to run the administrative command apt-key add. If you don't perform this step, you will get a warning about unauthenticated software when installing bugfix releases. Because (minor) changes to configuration files are needed, your existing install will not automatically be updated to 2.2. If you want to run 2.2, you will have to change to the EMC 2.2 repository by following these instructions: Run System/Administration/Synaptic Package Manager Go to Settings/Repositories In the list of Channels are two lines for linuxcnc.org. For each of them: Select the line and click Edit on the Components line, change emc2 or emc2.1 to emc2.2 Click OK Close the Software Preferences window Click Reload as instructed Click Mark All Upgrades Click Apply A new EMC 2.2 Live CD will be released in the next week or so. -- Andy PGP Key ID: 0x67090A54 - 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] Step/Direction Drivers
Kirk Wallace wrote: [snip] Where can I get more information on Hostmot2? I think the Hostmot2 files are on the Mesa website, but my understanding was that they only work with the 5i22. I should look more closely at the VHDL source I guess :) At the moment, there is no EMC2 driver for the HostMot2 configuration. Hardware that's this configurable is difficult to use in the HAL model, because the HAL pins you need are dependent on the configuration of the hardware, and can't be changed after driver load time. This means that you either need to specify all of the options on the driver load line (a nightmare when there are so many functions), or you need to export all possible pins in HAL, along with enable / mode bits that allow the user to (re)configure the hardware in HAL. This is difficult at best because some functions require other functions to be shut off, and there are unintended consequences - for example, if you enable an SPI port, that disables the I/O functionality on those two pins (though you can still read back the pin state, I believe), so what do you do if someone has connected those I/Os to a HAL signal? I think there will also be SPI blocks in the configurable Mesa HAL driver at some point, FWIW. - 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] Step/Direction Drivers
On Mon, 2007-11-05 at 12:17 -0500, Stephen Wille Padnos wrote: Kirk Wallace wrote: [snip] Where can I get more information on Hostmot2? I think the Hostmot2 files are on the Mesa website, but my understanding was that they only work with the 5i22. I should look more closely at the VHDL source I guess :) At the moment, there is no EMC2 driver for the HostMot2 configuration. Hardware that's this configurable is difficult to use in the HAL model, because the HAL pins you need are dependent on the configuration of the hardware, and can't be changed after driver load time. This means that you either need to specify all of the options on the driver load line (a nightmare when there are so many functions), or you need to export all possible pins in HAL, along with enable / mode bits that allow the user to (re)configure the hardware in HAL. This is difficult at best because some functions require other functions to be shut off, and there are unintended consequences - for example, if you enable an SPI port, that disables the I/O functionality on those two pins (though you can still read back the pin state, I believe), so what do you do if someone has connected those I/Os to a HAL signal? I think there will also be SPI blocks in the configurable Mesa HAL driver at some point, FWIW. - Steve Are you talking about reconfiguring the 5i20 after loading EMC and the 5i20 driver? Normally, I would think, you would create the new configuration in a new driver. It certainly would be cool to be able to dynamically configure EMC and the 5i20, but might not be good for people like me to know about it. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe Bridgeport mill conversion pending Zubal lathe conversion pending) - 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] Step/Direction Drivers
On Mon, 5 Nov 2007, Kirk Wallace wrote: Date: Mon, 05 Nov 2007 09:37:27 -0800 From: Kirk Wallace [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] Step/Direction Drivers On Mon, 2007-11-05 at 12:17 -0500, Stephen Wille Padnos wrote: Kirk Wallace wrote: [snip] Where can I get more information on Hostmot2? I think the Hostmot2 files are on the Mesa website, but my understanding was that they only work with the 5i22. I should look more closely at the VHDL source I guess :) At the moment, there is no EMC2 driver for the HostMot2 configuration. Hardware that's this configurable is difficult to use in the HAL model, because the HAL pins you need are dependent on the configuration of the hardware, and can't be changed after driver load time. This means that you either need to specify all of the options on the driver load line (a nightmare when there are so many functions), or you need to export all possible pins in HAL, along with enable / mode bits that allow the user to (re)configure the hardware in HAL. This is difficult at best because some functions require other functions to be shut off, and there are unintended consequences - for example, if you enable an SPI port, that disables the I/O functionality on those two pins (though you can still read back the pin state, I believe), so what do you do if someone has connected those I/Os to a HAL signal? I think there will also be SPI blocks in the configurable Mesa HAL driver at some point, FWIW. - Steve Are you talking about reconfiguring the 5i20 after loading EMC and the 5i20 driver? Normally, I would think, you would create the new configuration in a new driver. It certainly would be cool to be able to dynamically configure EMC and the 5i20, but might not be good for people like me to know about it. You could also pretend that its not dynamically changeble and have the driver setup the IO options permamently when initilaizes the card, having a handful of different driver options, maybe changing IO only on a per connector basis, like the current hardware does. And yes, GPIO is always readable even if its used for another function. If the other function is input, there is no problem, but if its output, of course the alternate function controls the pin, and inuts of that bit wil read the alternate functions output state. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe Bridgeport mill conversion pending Zubal lathe conversion pending) - 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 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] Can't control spindle with M3 command
Have you tried setting the spindle speed also? M3S100 sam - Original Message - From: Mark Jackson To: emc-users@lists.sourceforge.net Sent: Monday, November 05, 2007 01:03 PM Subject: [Emc-users] Can't control spindle with M3 command Hi...I have just started working with EMC2. I reconfigued the Hal to control the spindle with pin 16. I can control the steppers just fine but the spindle doesn't respond via the m3 commands. I AM however able to control the spindle from the manual controls. Please can anyone tell me what I am missing? Thanks much! MJ -- - 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] Can't control spindle with M3 command
On Mon, Nov 05, 2007 at 11:03:42AM -0800, Mark Jackson wrote: Hi...I have just started working with EMC2. I reconfigued the Hal to control the spindle with pin 16. I can control the steppers just fine but the spindle doesn't respond via the m3 commands. I AM however able to control the spindle from the manual controls. Please can anyone tell me what I am missing? Thanks much! Probably an S word. http://www.linuxcnc.org/docs/html/gcode_main.html#sub:M3,-M4,-M5: (see paragraph 4) - 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] Released: EMC 2.2.0
On Mon, Nov 05, 2007 at 10:02:28AM -0700, Andrew Ayre wrote: Jeff, Which version of Ubuntu will the live CD use? For now, the Live CD will remain based on Ubuntu 6.06 LTS Dapper Drake. 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] Released: EMC 2.2.0
I didn't test it yet because I had no time today, but I would like to thank all developers for the hard work! Greetings, Manfredi My websites: www.m24-pro.com www.emc2cnc.altervista.org Date: Mon, 5 Nov 2007 07:48:55 -0600 From: [EMAIL PROTECTED] To: emc-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: [Emc-users] Released: EMC 2.2.0 I'm pleased to announce the first release of the EMC 2.2 series, EMC 2.2.0. After about a year of development, many new features are available in this release. The documentation (particularly the HTML documentation) is greatly improved, and a partial translation of the documentation into the french language is available. Please join us on IRC in the usual place (irc.freenode.net / #emc) if you have any questions, or just to help us celebrate! I am the release manager for the emc 2.2.x release cycle. As a result, you'll need to add my gpg key to the list of keys that will authenticate packages on your system. Do so by issuing these commands in the terminal: gpg --keyserver pgpkeys.mit.edu --recv-key 96935D7D gpg -a --export 96935D7D | sudo apt-key add - after the second step you will be prompted for your password in order to run the administrative command apt-key add. If you don't perform this step, you will get a warning about unauthenticated software when installing bugfix releases. Because (minor) changes to configuration files are needed, your existing install will not automatically be updated to 2.2. If you want to run 2.2, you will have to change to the EMC 2.2 repository by following these instructions: Run System/Administration/Synaptic Package Manager Go to Settings/Repositories In the list of Channels are two lines for linuxcnc.org. For each of them: Select the line and click Edit on the Components line, change emc2 or emc2.1 to emc2.2 Click OK Close the Software Preferences window Click Reload as instructed Click Mark All Upgrades Click Apply A new EMC 2.2 Live CD will be released in the next week or so. CVS users can get this release by checking out the RELEASE_2_2_0 tag. Once you have done the upgrade, you will need to update any custom configurations by following these instructions: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?UPDATING As noted previously, support for Ubuntu 5.10 Breezy Badger has been dropped from this release. The currently supported version is Ubuntu 6.06 LTS Dapper Drake. If you are running a Breezy Badger system, you must reinstall with Dapper Drake, or follow these instructions to update online: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Breezy_Upgrading More detailed changelog: * G41.1, G42.1, G43.1 to take tool parameters from gcode instead of tool table * split libposemath and libemcini from libnml * new inifile item: [HAL]SHUTDOWN, a .hal file run at a clean shutdown of emc * new component: deadzone * new component: tristate_float * new component: random * new components: clarke2 clark3 clarkeinv * hexapod visualization * scara robot sample configuration with visualization * opengl machine visualization for several robots * new m5i20 firmwares * M66 - digital input control (wait read external HAL inputs) * userspace comp * hal-8255 driver for a PCI multiple-8255 card * tapered in/out on multipass threading canned cycle * debug and print output from the interpreter * named parameters in the interpreter * puma robot kinematics * sample configuration for a puma robot * reduce quantization of the encoder module's velocity output * MDI history manipulation and save in AXIS * home to index on STG1 * number of samples in halscope can be specified at runtime * add 'source' command to halcmd * add tcl interface to halcmd commands (tcl/hal.so) * add -U (force unload) to halrun script * new component: lut5 * image-to-gcode: roughing passes * rs274.author: automatic arc recognition (used by image-to-gcode) * Filters can now show progress bars in the AXIS window as they run * U,V,W linear axes with fully coordinated motion * probing in A,B,C,U,V,W axes is now allowed * AXIS: touch-off in any coordinate system * AXIS: allow starting an editor on the loaded gcode or tool table from the File menu * AXIS: A much better Velocity display * AXIS: Preferences set on the View menu are saved for the next EMC run * Rigid tapping G33.1 * Feed Per Revolution and Constant Surface Speed for lathes * Index-only homing for configurations where homing on a switch is inconvenient * G28/G30 now move only the specified axes to the home/reference point * Improved error messages for incorrect arcs * All combinations of inch/metric machines running inch/metric programs work
Re: [Emc-users] Step/Direction Drivers
Kirk Wallace wrote: [snip] Are you talking about reconfiguring the 5i20 after loading EMC and the 5i20 driver? Normally, I would think, you would create the new configuration in a new driver. It certainly would be cool to be able to dynamically configure EMC and the 5i20, but might not be good for people like me to know about it. Well, there are two things here. First is hostmot2 and how something like that could work with EMC2. The Hostmot2 config has all sorts of I/O, but all of the advanced functions can be disabled. There are registers that select whether each port pin will be connected to the generic I/O function, or whether they'll be connected to the alternate function. These are dynamically changeable in the FPGA. There are two ways for HAL to deal with this: 1) Many load-time parameters. The loadrt line in the hal file would have to specify which UARTS, SPIs, PWMs, quadrature counters, and stepgens are going to be enabled. Also, you need to specify which pins should be inputs and which should be outputs. This is what tells the HAL driver which pins to export. The driver would then configure the board as specified, and run from there. For maximum flexibility, you'd end up with a load line like this: loadrt hal_hostmot2 spien=0,0,0,1,0,1 stepen=0,0,0,0,0,0,0,0,1,1,1,1 pwmen=0,0,0,0,0,0,0,0,0,0,1,1 quaden=0,0,1,1,1,1 uarten=0,0,0,0,0,0,0,0 iodirmap=0xFF,0xFF,0xFF,0xFF0 (I may have forgotten something there too) That might be the syntax to get 2 SPI ports, 4 stepgens, 2 PWM, 4 quadrature counters, no UARTs, and two I/O connectors that are compatible with the 7I37 (16 in + 8 out). 2) The HAL driver exports all possible pins for all functions. There would then be parameters that control which functions are enabled. Even something as simple as an I/O pin would have the following: pins: blahblah.0.dio.00-in blahblah.0.dio.00-in-not blahblah.0.dio.00-out params: blahblah.0.dio.00-invert blahblah.0.dio.00-mode When you have 72 or 96 I/O pins, this gets to be a very large number of mostly useless HAL pins. Now we add the fact that the SPI and other advanced functions are overlaid on top of I/O pins. For example, one connector has the SPI ports, so you'd also have these pins/params (at least, I haven't thought it through completely): pins: blahblah.0.spi.0.data blahblah.0.spi.0.busy params: blahblah.0.spi.0.baudrate blahblah.0.spi.0.numbits blahblah.0.spi.0.clk_phase blahblah.0.spi.0.clk_polarity blahblah.0.spi.0.enable As you can see, it gets mighty crowded mighty fast :) I just saw Pete's email, which has a reasonable third option, but the alternate functions would probably need to be moved around a bit. Doing things by connector would make it so you get 0 or 12 stepgens, since they're all on the same header. So if you want one quad counter, one SPI, one stepgen, one UART, and one SPI, you get no digital I/Os ;) It could be simpler for the load line as well, the parameters could specify only the count of each function, but that prevents you from choosing which ones to enable (to work around demaged pins, or to have some I/Os next to stepgens for amp enables, for example) So, that was the first part ;) The second way is to do it like the new configurable firmware. An FPGA designer might make a config with 6 stepgens, 6 quad counters, and 6 SPIs, for example. There would be a GUI tool (and likely command-line options as well) to allow a user to choose which functions should be enabled, and when there's an option, where the special functions get connected. The tools put this selected configuration information into the FPGA bitfile, and the program that programs the FPGA puts that data into a RAM area on the FPGA. The driver reads the RAM area, and exports the correct set of pins for the selected functions. This is a little different in that the FPGA must be programmed before loading the HAL driver, though that can be done in the same hal file with a loadusr command. It's not a simple problem to decide which way is right. - 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] Step/Direction Drivers
Of course, it would have been better if I had put parts 1, 2, and 3 in the correct numerical order. Please rearrange in your head ;) - 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