[Emc-users] joint following error on resume from vector
Hello, Recently I mentioned that my AXIS is skipping some vectors when I'm resuming program many times. I have heavy modified AXIS and You mentioned that I must show this error in oryginal one. And here it is: this is the file: http://www.pastebin.us/?show=m33d4637c EMC 2.1.6/2.1.7 after start and stop after few vectors I selected vector on line 24, set_next_line and run then EMC execute vector 24 and operate correct. when I.m selecting vector 25 and resume from this line, EMC move to end of 24 vector and then execute 25. EMC 2.2.2 when I was doing either run form 24 or 25 line, following error on axis 0 and 1 is showing. My modifications on AXIS bypass this problem on EMC line 2.1 but I cannot fix problem of followings in 2.2 and use goodies built in EMC 2.2.2 please help regards Michael Polityka, Wprost, PC World Komputer i inne tytuły w Twoim komputerze! Kup prasę z bez wychodzenia z domu i oszczędź pieniądze! http://klik.wp.pl/?adr=http%3A%2F%2Fe-wydania.wp.plsid=163 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Arduino
On Fri, 2007-12-28 at 15:11 -0600, Jeff Epler wrote: (there are, or at least were, similar board designs with RS232 or TTL serial instead of USB), you run into bandwidth limits -- you can't quite transmit 12 bytes every 1ms at 115200bps, and with the protocol I used, it takes 12 bytes to read or write all the pins. I was looking at the Pixie and it's application to running Fanuc servo drives and it looks like they use a mixed mode connection. Seven wires that are labeled like this. To Pixie Step Direction Ground Serial tx (pin 3) To PC Fault Serial rx (pin 2) Both Serial ground (pin 5) This would not get us around the PC's upper bound in PPS but it would allow for feedback of position to the PC and perhaps velocity to the servo drive. I can just hear the screams of all my pure servo buddies. There are quite a few high end servo drives that permit step in. Rayh - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Additional I/O Modbus card.
On Fri, 2007-12-28 at 18:33 -0500, Dave Keeton wrote: How did you get it to work with EMC2.2.2? I may be wrong, and you should wait for Peter to get back from walk-about, for a reply, but I suspect he hasn't. I think that he is offering options to people seeking Modbus hardware. Using Modbus with EMC is another issue. There have been rumors that Modbus is available with EMC, but for me, finding any information on it, is like finding hen's teeth. It appears that EMC provides Modbus support via Classic Ladder, this means that it is restricted to non-real-time, which shouldn't be a big deal(?). On the Classic Ladder site: http://membres.lycos.fr/mavati/classicladder/ I found in a README file: http://membres.lycos.fr/mavati/classicladder/README.txt ... snip HARDWARE (DISTRIBUTED INPUTS/OUTPUTS)... ClassicLadder can use distributed inputs/outputs on modules using the modbus protocol (master: pooling slaves). The slaves and theirs I/O can be configured in the config window. 2 exclusive modes are available : ethernet using Modbus/TCP and serial using Modbus/RTU. For the serial one, the serial port and the speed must be correctly set in the config file (manually with a text editor), and then you must pass this file to classicladder with -c argument. No parity is used. If no port name for serial is set, IP mode will be used... The slave address is the slave address (Modbus/RTU) or the IP address. The IP address can be followed per the port number to use (xx.xx.xx.xx:) else the port 502 will be used per default. The modbus address element 1 is the first one (0 in the frame). 2 products have been used for tests: a Modbus/TCP one (Adam-6051, http://www.advantech.com) and a serial Modbus/RTU one (http://www.ipac.ws) See examples: adam-6051 and modbus_rtu_serial. Web links: http://www.modbus.org and this interesting one: http://www.iatips.com/modbus.html ... snip For getting Peter's ModIO board to talk to EMC, the above README excerpt leads me to believe that you would first need to get Classic Ladder to talk to EMC: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ClassicLadder Then research the Modbus/RTU mentioned in the README above to see if the ModIO's serial port can talk to EMC/Classic Ladder serially. Another issue, is that it appears that the ModIO is configured with a Windows program, although, for some of you that may not be an issue. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Additional I/O Modbus card.
On Sat, 2007-12-29 at 10:04 -0800, Kirk Wallace wrote: On Fri, 2007-12-28 at 18:33 -0500, Dave Keeton wrote: How did you get it to work with EMC2.2.2? I may be wrong, and you should wait for Peter to get back from walk-about, for a reply, but I suspect he hasn't. I think that he is ... snip Another issue, is that it appears that the ModIO is configured with a Windows program, although, for some of you that may not be an issue. I am most likely wrong here. Sorry. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] KBIC Controller
My experince with this kind of controller, although not this specific brand, is that it's chopping the AC wave (using SCRs) to provide a chopped DC output. It's very much light a light dimmer, but rectified. It's a simple and inexpensive way to provide a fixed speed control for something like a conveyor belt, but I'm not sure it would work very well for CNC. I think that the torque curves are different than with straight variable DC as well-less low speed torque. Your assesment is probably correct-that using a PM motor with PWM drive is the best way to go. Javid - Original Message - From: Kirk Wallace [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Saturday, December 29, 2007 11:09 AM Subject: [Emc-users] KBIC Controller I am trying to understand how the KBIC controller works. http://www.galco.com/scripts/cgiip.exe/wa/wcat/webpromo2.htm?promo=120KBIC My understanding so far is: Universal motors are brush motors with windings for the armature and the stator. They can run on DC, or more commonly, AC if both windings are kept in phase. To reverse direction, the polarity of the armature or the stator is reversed. The speed of the motor can be controlled by changing the average voltage to either the rotor or stator by PWM, PDM or SCR (I don't know the term, but like a light dimmer). Because there is mains voltage on the control potentiometer, the KBIC appears to use an SCR to control the passing of mains current to the motor. There seems to be no provision for motor direction control, but an external means of reversing the polarity of a winding might do it. The documentation mentions that the controller has current limiting to prevent demagnetizing permanent magnet motors, but provides no information on how to use the controller with PM motors. Usually, Universal motors are used where cost is a major factor, but when you try to control one, the controller, and if needed for CNC, the analog input and reversing options are fairly expensive. For CNC, it seems that you would save money by changing out the motor for a PM motor and PWM controller. Although, if you run the Universal on DC, it should act like and be controllable by a PM motor controller? Am I off base on any of this? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Additional I/O Modbus card.
Modbus is not available in EMC's adaption of Classicladder. I am currently trying to adapt the newest version of Classicladder 7.123 and include modbus support. From: [EMAIL PROTECTED] To: emc-users@lists.sourceforge.net Date: Sat, 29 Dec 2007 10:04:05 -0800 Subject: Re: [Emc-users] Additional I/O Modbus card. On Fri, 2007-12-28 at 18:33 -0500, Dave Keeton wrote: How did you get it to work with EMC2.2.2? I may be wrong, and you should wait for Peter to get back from walk-about, for a reply, but I suspect he hasn't. I think that he is offering options to people seeking Modbus hardware. Using Modbus with EMC is another issue. There have been rumors that Modbus is available with EMC, but for me, finding any information on it, is like finding hen's teeth. It appears that EMC provides Modbus support via Classic Ladder, this means that it is restricted to non-real-time, which shouldn't be a big deal(?). On the Classic Ladder site: http://membres.lycos.fr/mavati/classicladder/ I found in a README file: http://membres.lycos.fr/mavati/classicladder/README.txt ... snip HARDWARE (DISTRIBUTED INPUTS/OUTPUTS)... ClassicLadder can use distributed inputs/outputs on modules using the modbus protocol (master: pooling slaves). The slaves and theirs I/O can be configured in the config window. 2 exclusive modes are available : ethernet using Modbus/TCP and serial using Modbus/RTU. For the serial one, the serial port and the speed must be correctly set in the config file (manually with a text editor), and then you must pass this file to classicladder with -c argument. No parity is used. If no port name for serial is set, IP mode will be used... The slave address is the slave address (Modbus/RTU) or the IP address. The IP address can be followed per the port number to use (xx.xx.xx.xx:) else the port 502 will be used per default. The modbus address element 1 is the first one (0 in the frame). 2 products have been used for tests: a Modbus/TCP one (Adam-6051, http://www.advantech.com) and a serial Modbus/RTU one (http://www.ipac.ws) See examples: adam-6051 and modbus_rtu_serial. Web links: http://www.modbus.org and this interesting one: http://www.iatips.com/modbus.html ... snip For getting Peter's ModIO board to talk to EMC, the above README excerpt leads me to believe that you would first need to get Classic Ladder to talk to EMC: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ClassicLadder Then research the Modbus/RTU mentioned in the README above to see if the ModIO's serial port can talk to EMC/Classic Ladder serially. Another issue, is that it appears that the ModIO is configured with a Windows program, although, for some of you that may not be an issue. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _ Discover new ways to stay in touch with Windows Live! Visit the City @ Live today! http://getyourliveid.ca/?icid=LIVEIDENCA006 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Additional I/O Modbus card.
the classicladder in emc2 does not have any modbus support. emc2 doesn't ship with any modbus drivers. jeff - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Spindle speed control with cnc4pc board
Just had word from Arturo, maker of the C11 board that the fequency for full voltage is set to be 25KHz. Will need to investigate why I get nice results with 400Hz... Kirk Wallace wrote: On Wed, 2007-12-26 at 23:18 +0100, Geert De Pecker wrote: Same here, but then again, the 400 Hz is the maximum needed to get the full analog voltage. So no problem here. The C11 board really needs a frequency, the pulse width is of very little influence on the voltage. ... snip It is frequency, sort of. For 10Hz a short pulse comes out every 100ms. For 100Hz, every 10ms and so on up to 10kHz. You get this: __-__-_ , ___-___-___-_ , _-_-_-_- Instead of: __-__-- , __--__--__--_ , _-_-_-_- Just because you have something that works doesn't mean it can't be broken :) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Classicladder-modbus
I see your point Jeff though I don't see anything wrong with having classicladder support the modbus protocol. I am no where near finished adapting the new version (this is stretching my abilities!) so I don't know how modbus would be finalized but I visioned the actual calls to the ports as separate hal components ( there already is a serial port component I think). I agree that a totally separate modbus hal component gives the most flexability but even then the writing to ports should be separate components. I am thinking that getting modbus support in emc first is important and Classicladder has all the gui and code there. It could be pulled out and made into a separate component I suppose Chris Morley _ Introducing the City @ Live! Take a tour! http://getyourliveid.ca/?icid=LIVEIDENCA006 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users