Re: [Emc-users] EMC2 to Compact Flash
I had to build EMC on Puppy linux to be able start EMC 2 from CF, USB Flash, DOM and another modules. I use Puppy because that OS work in RAM and write on disk only when I shutdown PC. Also I am looking for tinycore linux, but it is very difficult to start EMC on tinycore linux. Evgeny Tue, 13 Apr 2010 16:49:47 -0500 письмо от "RogerN" : > I'm interested in trying to run my EMC2 lathe from a CF card. I bought a 4Gb > CF card, can I make an Acronis backup of my EMC2 hard drive and restore on > the CF card? Or if I try to install from the Live CD will it let me select > the USB CF drive and leave my working hard drive alone? I want to try it out > on the CF card but I don't want it to destroy what works on my hard drive. > > Thanks! > > Roger Neal > -- > Download Intel Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Puppy based linux with EMC2 for Russian users
Hello, I am ready with Puppy based linux with EMC2 for Russian users http://www.cnczone.ru/forums/index.php?showtopic=1074&hl= Should We publish this information at linuxcnc.org ? -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Big files
-Original Message- From: "j...@coats.org" To: "Enhanced Machine Controller (EMC)" Date: Tue, 2 Feb 2010 10:44:21 -0600 Subject: Re: [Emc-users] Big files > If you are hitting swap, adding more real memory can help. If it is > the pre-scan that is > slowing things down, only a faster processor will really help. Even a > slow disk drive > or SD card doesn't seem like it would cause the slowness you mentioned. I will try to use swap. Thanks. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Big files
Hello guys I have G-CODE program about 70 Mb and 230 lines. EMC loads it very very slow. Any ways to do system faster? -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] parameter SCALE
Oh guys, my mistake, thanks > This is wrong. It does not need to be an integer. > > > Well, but I have problem this case. > > I have axis A with 166,667 pulses for one grad. > > I could to set SCALE to 167, but this case I will have error > > about 0,5 grad for whole turn. > > How can i solve this problem? > > Just set SCALE to 166.667 (or 166.7) -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] parameter SCALE
Hello guys As I understand from manual SCALE defines number of pulses that corresponds to a move of one machine unit. It must be integer, but not float, because it is not possible to generate 1,5 pulses. Well, but I have problem this case. I have axis A with 166,667 pulses for one grad. I could to set SCALE to 167, but this case I will have error about 0,5 grad for whole turn. How can i solve this problem? -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] M101-199 pause problem
Thanks guys M62-63 is good solution. -Original Message- From: "Alex Joni" To: "??? ?" , "Enhanced Machine Controller \(EMC\)" Date: Tue, 12 Jan 2010 14:22:14 +0200 Subject: Re: [Emc-users] M101-199 pause problem > Use M62-63 [1] for digital outputs which don't interrupt your motion. > > Or use M67 [2] for analog output which doesn't interrupt motion, but this is > only available in the current developement version. > > Regards, > Alex > > [1] - > http://www.linuxcnc.org/docview/devel/html/gcode_main.html#sec:M62-to-M65: > [2] - > http://www.linuxcnc.org/docview/devel/html/gcode_main.html#sec:M67-Analog-Motion > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Latency test numbers confusing
Maybe the problem is CPU TERMAL TROLLING? I tested one PC, which had BIOS without option to disable CPU TERMAL TROLLING. I did not find any way how to use that PC with EMC2. -Original Message- From: "rng3" To: "Enhanced Machine Controller \(EMC\)" Date: Thu, 14 Jan 2010 07:05:49 -0500 Subject: Re: [Emc-users] Latency test numbers confusing > If the GUI latency test gives a result of how EMC will perform I always > wondered if "abusing the computer" during the test does not result in an > overly conservative number. I never use the computer that is running EMC > with any other program until the parts are done. (Am I the only one?) There > can be a dramatic difference between the latency test running by itself or > the test running with everything else we may be doing with the computer at > the same time. On a side note I have just started testing a Dell Optiplex > GX520. When you first start the computer during the first 4 minutes there > are two 250,000 spikes in the test with or without SMI. So far they do not > repeat again even after the computer is on for several hours. Have had > similar results in the 120,000 range with a Optiplex GX260 that I am using > on a mill without any problems. May not be an issue, just have to warm the > computer up before cutting! > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] M101-199 pause problem
Hello guys, We still try to run sewing-machine robot. New problem is pause (about 0,3 sec) on M101 command We use M101 (M102, M103, M104) to manage speed of needle. Here some example of program M3 S4000 G0 X9.100 Y197.600 Z4.000 M101 (set slow speed of needle)(pause 0,3 sec) G1 Z0.000 F200 (cutting-in) M103 (set fast speed of needle)(again pause about 0,3 sec) G3 X1.300 Y188.500 R9.014 F800 Any way to use M101 without pause Best regards Evgeny P.S. We tried to use M7,M8,M9 with the same result. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] GUI for hole-probe.ngc
Ohh, I did know about it before. Thank you, I will see > There is Gwiz, the wizard framework, > > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GWiz_-_A_Gcode_Wizard_Framework > > It's pretty easy to copy and paste an existing wizard to extend it. > -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] GUI for hole-probe.ngc
Hello guys, To use hole-probe.ngc file I have to define folowing variables #1001= #1002= #1003= #1004= #1005=[/2.0 - #1004] This is possibe, but is a little bit complicated Does exists any way to build GUI where we can have 5 fields (with params) and one button to start probe? Any ideas? Best Regards Evgeny -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Manual command on pause
Thanks I will try -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Manual command on pause
Hello guys, Does exist any way to run some command on GCODE program pause? I need it for sewing-machine robot. If thread is break off, I need to press pause, restore thread, return robot on 2-3 steps and continue program. Best Regards Evgeny -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Compact Flash card for Hard Dr ive
> Hi Kirk, > > You must be very lucky. I have a whole stack of dead drives. When a hard > drive fails it is very often catastrophic failure and you lose > everything. One day it's working fine, the next day it won't boot. Hello Guys, I use 1Gb DOM Flash as main HDD. System does work more that one year without any problem. But I use Puppy Linux instead Ubuntu. Puppy has write cycles only on showdown event. Evgeny -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Custom kernel
> I want to buld my own kernel. I've read the instructions on the wiki, but > I'm struggling to find the right versions of the kernel and RTAI. Can > someone tell me the versions of the kernel and RTAI used to build the Ubuntu > 8.04 live cd version? Hello Frank, I build EMC2 with Puppy Linux. I tried to use RTAI 3.7.1 with kernel 2.6.29.7 but this combination was ubstable. I was able to handle the system if I use autocompete in command line in bash (by TAB button)(Maybe it is only puppy problem). So I used RTAI 3.6.2 with kernel 2.6.24.7. System is stable and fast. Version of EMC is 2.3.3 Best Regards Evgeny -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Start from line....
I think it is good way if emc starts the spindle automatically on the start from line. By this way we prevent crash if user forget to start the spindle. Maybe we need to have special variable in INI file? Evgeny -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] pyVCP TABs and Internationalization (looks like a bug)
Hello, I can not use Russian character in tab widget. ["tab1","tab2"] does work. but if I use Russian characters instead "tab1" or "tab2" system crushes in Axis UI. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] pyVCP Actual position variable
> > Do you mean you can change value of machine coords by M66. > > No, sorry. I am guilty of stealing your subject line with a different > but related question. > I was looking for a way to transfer the current relative coordinates > into a G-code program. > In EMC the machine coordinates are fixed. I don't think that changing > the machine coordinates is sensible, but if you could, would you move > the limit switch positions with the coordinates, or re-calculate their > positions? How about home? > When you have the choice of 6 relative coordinate systems all with > persistent origins, and G92, why would you need to also shift the > machine absolute coordinates? Really I can set any machine coords, but need to restart Emc 1. Stop emc 2. Open POSITON_FILE, set values 3. Start EMC ... Home is good idea, but it is possible to use on machine without home switchs and I am able to set only Zero coords. As I described, the reason does not use G92, but use machine coords only habit. But habit is a power! -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] pyVCP Actual position variable
> You can only change machine coordinates by machine moves. > There is no offsets and such for machine coords. > If you can describe what you're trying to do, we could find some > solution for this. > > regards, > Michael Basically it is possible to use g92 and work with EMC without problems. Only one problem with it, I have to reload file after G92 command to get right image in Axis UI. Really the problem is that many CNC users (include me) used MachX software. In Mach user can change coords at any moment and most of people work in machine coords. I want to migrate to EMC and migrate another people with me. It would be much easy to do it if I do not need to change methodology. Provide linux like windows Provide emc like mach ... -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] pyVCP Actual position variable
Sorry guys, what does mean M66 ? Thire is no information at http://linuxcnc.org/docs/html/gcode.html > > You can use M66 for that > > Ooh! So I can! > I hadn't put the various bits together to realise that I could net the > analog inputs to something other than an actual, physical, analog > input > (I would still like the current relative and absolute coordinates > directly readable in G-code though :-) -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] pyVCP Actual position variable
-Original Message- From: Micha? Geszkiewicz To: "Enhanced Machine Controller (EMC)" Date: Fri, 09 Oct 2009 10:14:17 +0200 Subject: Re: [Emc-users] pyVCP Actual position variable > Евгений Александрович pisze: > > Hello guys, > > > > I try to create pyVCP panel, which show X,Y and Z positions > > So I created xml file with lines > > > > > > "Xdisplay" > > "+004.4f" > > > > > > > > create hal file, add PYVCP and POSTGUI_HALFILE in ini file > > start Emc with Axis ... I can see my panel with 0.000 > > So I have to write in hal file something like > > > > net Xpos pyvcp.Xdisplay <= ??? > > > > What is variable to get machine and relative position value? > > > Read this > http://www.linuxcnc.org/docview/html//config_emc2hal.html > > and this > http://www.linuxcnc.org/docview/html//gui_halui.html#sec:Halui-pin-reference > > regards, > > Michael Thank You Michael! I did not check HALUI variables before. I have to use halui.axis.n.pos-commanded and halui.axis.n.pos-relative So I have another question. All variables work only in OUT mode. Does exists to change value of axis position in machine coordinates? Best regards Evgeny P.S. I know about G92, but it is for relative, not machine position. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] pyVCP Actual position variable
Hello guys, I try to create pyVCP panel, which show X,Y and Z positions So I created xml file with lines "Xdisplay" "+004.4f" create hal file, add PYVCP and POSTGUI_HALFILE in ini file start Emc with Axis ... I can see my panel with 0.000 So I have to write in hal file something like net Xpos pyvcp.Xdisplay <= ??? What is variable to get machine and relative position value? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Does EMC save coordinations on program shutdown?
Oh, guys sorry Just found solution. It is "POSITION_FILE" in ini file. Sorry for this very easy question. -Original Message----- From: Евгений Александрович To: Emc-users Date: Wed, 07 Oct 2009 14:51:36 +0400 Subject: [Emc-users] Does EMC save coordinations on program shutdown? > Hello Guys, > > I have question about coordination. > > When I start EMC it always has HOME coordinations, does not matter if I > finished at home or at another place. > > Does exists any way to save coordinations and start emc with saved > coordinations? > > Best Regards > Evgney > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Does EMC save coordinations on program shutdown?
Hello Guys, I have question about coordination. When I start EMC it always has HOME coordinations, does not matter if I finished at home or at another place. Does exists any way to save coordinations and start emc with saved coordinations? Best Regards Evgney -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC2_NCFILES_DIR
Jeff thank you a lot! It does work now. >The only real use of EMC2_NCFILES_DIR is to give a value to >$emc::NCFILES_DIR, used in pickconfig.tcl to set the inifile variable >[DISPLAY]PROGRAM_PREFIX when copying configurations. >As documented at >http://linuxcnc.org/docs/html/config_ini_config.html#sub:[DISPLAY]-section >it is the inifile value that is used by the GUIs to select the initial >directory of their 'open part program' dialog. >Jeff > > > > > Maybe I'm not understanding your question but I believe your system is > > working correctly. If I recall correctly, in Puppy Linux, /mnt/home is a > > symbolic link to /initrd/mnt/dev_save. Hence as far as EMC2 is > > concerned, your variables are actually > > > > EMC2_CONFIG_PATH=/initrd/mnt/dev_save/ems/emc-config > > EMC2_NCFILES_DIR=/initrd/mnt/dev_save/ems/ncfiles > > > > > > You don't notice this when EMC2 starts up because it doesn't present you > > with a menu then. > > > > Just my two cents worth. > > > > Regards, > > Kent > > > > Hello Kent, > Thanks for you mail > I sorry for my English, I had not practics long time. > > The problem is not path /initrd/mnt/dev_save/emc or /mnt/home/emc > I set to EMC2_CONFIG_PATH=/mnt/home/emc/emc-config, and it does work. > Does not matter if really path is /initrd/mnt/dev_save/emc/emc-config. > > The problem is in open file function. > I set EMC2_NCFILES_DIR=/initrd/mnt/dev_save/emc/ncfiles (or > /mnt/home/emc/ncfiles) > I start EMC script, select Stepper_mm standart configuration (based on AXIS) > and press button > Open file button. System opens "Open file dialog" with default locaton in > /initrd/mnt/dev_save/emc/emc-config/stepper. That is not correct because I > set EMC2_NCFILES_DIR=/initrd/mnt/dev_save/emc/ncfiles. > Here is screenshot http://cnczone.ru/img/folder.png > > I checked Ubuntu, and in Ubuntu EMC2_NCFILES_DIR does work correct. > > > > > > > > > > > > > > > > > > -- > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC2_NCFILES_DIR
> > Maybe I'm not understanding your question but I believe your system is > working correctly. If I recall correctly, in Puppy Linux, /mnt/home is a > symbolic link to /initrd/mnt/dev_save. Hence as far as EMC2 is > concerned, your variables are actually > > EMC2_CONFIG_PATH=/initrd/mnt/dev_save/ems/emc-config > EMC2_NCFILES_DIR=/initrd/mnt/dev_save/ems/ncfiles > > > You don't notice this when EMC2 starts up because it doesn't present you with > a menu then. > > Just my two cents worth. > > Regards, > Kent > Hello Kent, Thanks for you mail I sorry for my English, I had not practics long time. The problem is not path /initrd/mnt/dev_save/emc or /mnt/home/emc I set to EMC2_CONFIG_PATH=/mnt/home/emc/emc-config, and it does work. Does not matter if really path is /initrd/mnt/dev_save/emc/emc-config. The problem is in open file function. I set EMC2_NCFILES_DIR=/initrd/mnt/dev_save/emc/ncfiles (or /mnt/home/emc/ncfiles) I start EMC script, select Stepper_mm standart configuration (based on AXIS) and press button Open file button. System opens "Open file dialog" with default locaton in /initrd/mnt/dev_save/emc/emc-config/stepper. That is not correct because I set EMC2_NCFILES_DIR=/initrd/mnt/dev_save/emc/ncfiles. Here is screenshot http://cnczone.ru/img/folder.png I checked Ubuntu, and in Ubuntu EMC2_NCFILES_DIR does work correct. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] EMC2_NCFILES_DIR
Hello guys I have EMC2 verson 3.3 System based on puppy linux and works well. I have one small problem and do not have ideas how I can solve it In emc script I changed variables EMC2_CONFIG_PATH="~/emc2/configs:/usr/local/etc/emc2/configs:/usr/share/doc/emc2/examples/sample-configs" EMC2_NCFILES_DIR=/usr/share/emc/ncfiles to EMC2_CONFIG_PATH=/mnt/home/ems/emc-config EMC2_NCFILES_DIR=/mnt/home/ems/ncfiles when I start system , it takes config from directory /mnt/home/ems/emc-config but when I try to open file, in onen file dialog, I have default directory = /initrd/mnt/dev_save/emc/emc-config/stepper what really is /mnt/home/ems/emc-config + configuretion directory. Any ideas what is a problem ? Best Regards Evgeny -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Internationalization
The problem is solved The problem was because all files were copied in catalog /usr/ , but system was builded in /usr/local/ ... I sovled the problem by ./configure --prefix=/usr Also it is possibel just copy MO files Best Regards Evgeny -Original Message- From: Евгений Александрович To: emc-users@lists.sourceforge.net Date: Thu, 27 Aug 2009 15:48:47 +0400 Subject: [Emc-users] Internationalization > Hello guys, > > I have build emc 2.3.3 on Puppy linux version 3 > Everything works. > But I can start Axis with translation. > > For example > I start EMC by > > env LANG=de emc > > Starter is translated (Willkommen ...), but AXIS still is English. > > What could be a problem? > > Evgeny > > P.S. > I checked /po/de_axis.po and /po/de_axis.mo exist > > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Select Jog Increment and keybo ard, BUG?
Hello again, Looks like I have a bug. I start EMC 2.3.3 Try to move machine by keyboard - does work Change Jog Increment to another value Try to move machine by keyboard - does not work Click on MDI tab Try to move machine by keyboard - does work Every time when I change Jog Increment value I have to click MDI to get keyboard control. I guess it is "conrol focus problem" Evgeny -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Internationalization
Hello guys, I have build emc 2.3.3 on Puppy linux version 3 Everything works. But I can start Axis with translation. For example I start EMC by env LANG=de emc Starter is translated (Willkommen ...), but AXIS still is English. What could be a problem? Evgeny P.S. I checked /po/de_axis.po and /po/de_axis.mo exist -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] SMI problem
Looks like we has the same motherbords. I guess your configuration I can see at page http://www.newegg.com/Product/Product.aspx?Item=N82E16813153092 Both PCs are based on VIA C7 CN700 platform. http://www.gigabyte.com.tw/Products/Barebone/Products_Spec.aspx?ProductID=2369&ProductName=U1R Differents are CPU, your is 1,5 Gg, my 1 Gg funless. I do not thnik it could be a reason of my problems. Also I have DOM Flash instead HDD. Why you did not like DOM Flash? Why real HDD? I use Puppy linux, and system works complitly in RAM. It has a little bit slow start and shutdown, but no more problems with performance. At the moment I think I found what is reason of problem. In BIOS I have parameter for CPU "Delay Prior of Thermal" I am able to set it to 4-32 minutes. (But I am not able to disable it) It is 16 minutes by default. And I have latency problem each 16 minutes. If I set it to 4 minutes, I have problem each 4 minutes. You wrote about some BIOS changes. What kind of your changes? Also if it is possible I would ask about version of BIOS on your computers. Evgeny P.S. Thank you for you answer. -Original Message- From: Ray Henry <[EMAIL PROTECTED]> To: Евгений Александрович <[EMAIL PROTECTED]>, "Enhanced Machine Controller (EMC)" Date: Sun, 12 Oct 2008 11:40:35 -0500 Subject: Re: [Emc-users] SMI problem > > > The second link is really a dead one. You should use > > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Latency-Test > > I've got several C7-D 1.5 MHz boxes running here. They are the ones I > used for the EMC2 lab at fest. Their stats are listed on the page above > as well as a Jetway that I tested for another company. > > Both of these use their on-board video drivers. > > I tried a flash adapter for memory but didn't like it a bit so went back > to small hard drives. > > HTH > > Rayh > > > > > On Sun, 2008-10-12 at 20:12 +0400, Евгений Александрович wrote: > > Also, I want to ask about VIA С7 CN700. > > At page http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Hardware_Requirements I > > see that VIA C7 CN700 is good choise. > > But, at page http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TestedHardware I > > see that VIA C7 has problems like I. > > So, does anybody use VIA C7 CN700 based computer for EMC? > > > > Thanks > > Evgeny > > > > P.S. > > My PC has DOM Flash, could be this a reason for RT problem? > > > > > > > > > > > > -Original Message- > > From: Евгений Александрович<[EMAIL PROTECTED]> > > To: emc-users@lists.sourceforge.net > > Date: Sun, 12 Oct 2008 18:37:05 +0400 > > Subject: [Emc-users] SMI problem > > > > > > > > Hello guys, > > > > > > I have small computer which based on VIA C7 1Gg, motherboard is CN700. > > > Looks like I have SMI problem with this computer. > > > When I start latency test, it works well (15000-36000 nS) > > > But each 10-15 minutes system has 20-36 nS ... > > > As I can read from this document > > > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingSMIIssues > > > I have to add rtapi_smi.ko in rtapi.conf. > > > Nice. But how can i be sure that the problem is solved? > > > By that document I can see SMI module in memory when I start EMC. > > > When I start latency test I do not see SMI module in memory. > > > How can I start latency test SMI module, to be sure that my RT machine is > > > real RT machine? > > > > > > Thank you > > > Evgeny > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] SMI problem
Also, I want to ask about VIA С7 CN700. At page http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Hardware_Requirements I see that VIA C7 CN700 is good choise. But, at page http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TestedHardware I see that VIA C7 has problems like I. So, does anybody use VIA C7 CN700 based computer for EMC? Thanks Evgeny P.S. My PC has DOM Flash, could be this a reason for RT problem? -Original Message- From: Евгений Александрович<[EMAIL PROTECTED]> To: emc-users@lists.sourceforge.net Date: Sun, 12 Oct 2008 18:37:05 +0400 Subject: [Emc-users] SMI problem > > Hello guys, > > I have small computer which based on VIA C7 1Gg, motherboard is CN700. > Looks like I have SMI problem with this computer. > When I start latency test, it works well (15000-36000 nS) > But each 10-15 minutes system has 20-36 nS ... > As I can read from this document > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingSMIIssues > I have to add rtapi_smi.ko in rtapi.conf. > Nice. But how can i be sure that the problem is solved? > By that document I can see SMI module in memory when I start EMC. > When I start latency test I do not see SMI module in memory. > How can I start latency test SMI module, to be sure that my RT machine is > real RT machine? > > Thank you > Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] SMI problem
Hello guys, I have small computer which based on VIA C7 1Gg, motherboard is CN700. Looks like I have SMI problem with this computer. When I start latency test, it works well (15000-36000 nS) But each 10-15 minutes system has 20-36 nS ... As I can read from this document http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingSMIIssues I have to add rtapi_smi.ko in rtapi.conf. Nice. But how can i be sure that the problem is solved? By that document I can see SMI module in memory when I start EMC. When I start latency test I do not see SMI module in memory. How can I start latency test SMI module, to be sure that my RT machine is real RT machine? Thank you Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] HALUI loads only 10 MDI_COMMAN Ds
Hello System loads only 10 commands. Version of EMC 2.2.6 It it bug? Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Custom controls
Hello, I made button "HomeAll", but have the problem with it yet. I am able to press this buttom anytime. Ofcouse some time I get error on button pressing. So is it possible to disable button, when it is impossible to run MDI command like botton "GO" in MDI panel? Evgeny -Original Message- From: "John Thornton" <[EMAIL PROTECTED]> To: "Евгений Александрович" <[EMAIL PROTECTED]>,"Enhanced Machine Controller \EEMC\"" Date: Wed, 08 Oct 2008 05:43:35 -0600 Subject: Re: [Emc-users] Custom controls > VCP is depreciated and has been replaced with pyVCP. VCP should not be used > for > new configs. > > To create a custom pyVCP button see this page: > > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Adding_Custom_MDI_Buttons > > John > > > On 8 Oct 2008 at 13:46, Евгений Александрович wrote: > > > Hello one time more. > > > > As I can see from manual VCP controls bases on indicators. > > So it is not possible to create VCP button which run some G code. > > > > I would like to create custom control like buttom "HOME ALL". > > People love functons like this, especialy with touchscreen display. > > > > Does exist any way to do it. > > Any example how can I change source code in AXIS to have this > > functionality. > > > > > > Best Regards > > Evgeny > > > > > > > > -- > > --- This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] VCP problem
Ups I found solution I add new library and system is adle to show VCP controls Here is xml library https://launchpadlibrarian.net/9807876/python-xml_0.8.4.orig.tar.gz -Original Message- From: Евгений Александрович<[EMAIL PROTECTED]> To: emc-users@lists.sourceforge.net Date: Wed, 08 Oct 2008 13:09:50 +0400 Subject: [Emc-users] VCP problem > > Hello guys > > I build Puppy&EMC2 system. > System works well. > But when I tried to add VCP system does not start. > I have problem with my ini file and with sim-lathe configuration. > > In debug mode I see some parse error > > + case $EMCDISPLAY in > + '[' '!' -x /usr/local/bin/axis ']' > + /usr/local/bin/axis -ini /usr/local/etc/emc2/sample-configs/sim/lathe.ini > Traceback (most recent call last): > File "/usr/local/bin/axis", line 3408, in ? > import vcpparse > File "/usr/lib/python2.4/site-packages/vcpparse.py", line 24, in ? > import xml.dom.ext > ImportError: No module named ext > > Looks like I did not have some library to parce xml file. > Anybody know what is name (package) of that library? > > Best Regards > Evgeny > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Localization problem
Hello again, I have localization problem. When I run system I do not see russian characters, only english. I tried to find any russian translation modules, but system did not build any. Should I use any spetial option to build system with all translations? I took source from www.linuxcnc.org site in archive. Also as I can see on Ubuntu, russian locale has font problem. Space between charecters is too big. How can I change font or spacing? Best Regards Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Custom controls
Hello one time more. As I can see from manual VCP controls bases on indicators. So it is not possible to create VCP button which run some G code. I would like to create custom control like buttom "HOME ALL". People love functons like this, especialy with touchscreen display. Does exist any way to do it. Any example how can I change source code in AXIS to have this functionality. Best Regards Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] VCP problem
Hello guys I build Puppy&EMC2 system. System works well. But when I tried to add VCP system does not start. I have problem with my ini file and with sim-lathe configuration. In debug mode I see some parse error + case $EMCDISPLAY in + '[' '!' -x /usr/local/bin/axis ']' + /usr/local/bin/axis -ini /usr/local/etc/emc2/sample-configs/sim/lathe.ini Traceback (most recent call last): File "/usr/local/bin/axis", line 3408, in ? import vcpparse File "/usr/lib/python2.4/site-packages/vcpparse.py", line 24, in ? import xml.dom.ext ImportError: No module named ext Looks like I did not have some library to parce xml file. Anybody know what is name (package) of that library? Best Regards Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Homing
Hello guys Last day I found very nice homing function in software Mach3 You can see it here http://www.youtube.com/watch?v=KOXY4O0UkRM&feature=related I tried to search something like this in EMC, but did not find it. So does it exist in EMC. Any plan to do it ? Best Regards Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] No version for "nano2count" fo und
Thank you Jeff I solved the "nano2count" problem as I wrote before. -Original Message- From: Jeff Epler <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Date: Thu, 2 Oct 2008 09:26:23 -0500 Subject: Re: [Emc-users] No version for "nano2count" found > On Thu, Oct 02, 2008 at 08:56:11AM -0400, Kenneth Lerman wrote: > > Why would you want a puppy based system? What advantages does it have > > for the general user? Why should we support it? > > We should not discourage experienced users from running emc on whatever > system they find is advantageous to them, and we should try to avoid > doing technical things that needlessly make it difficult. > > Jeff By the way, I started EMC system on Puppy linux last day. It was not easy, but I was able to do it (I tried to do it for one month). I tested all on real CNC machine and do not find any mechanical problems. Now I have very small and fast system :) By the way, as another guys wrote, first start EMC after rebooting gets fail by rtai_hal.ko problem. I have the same, and solve it by "halrun -U" command in XWin start. Also pidof in Puppy based on BusyBox and does not have "-x" option. I changed pidof command to "pidof -s" in emc start script. I did not found russian locale files for EMC after building. Strange, because EMC with Ubuntu has it. > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] No version for "nano2count" fo und
Look like you are right. The problem was solved by this patch http://wiki.linuxcnc.org/uploads/ipipe.patch.txt Before I patched ipipe.h by a little bet another way. Thank you Evgeny -Original Message- From: paul_c <[EMAIL PROTECTED]> To: emc-users@lists.sourceforge.net Date: Thu, 2 Oct 2008 17:27:19 +0100 Subject: Re: [Emc-users] No version for "nano2count" found > On Thursday 02 October 2008, Евгений Александрович wrote: > > rtapi: No version for "nano2count" found: kernel tained. > > > > Is it problem or just information message? > > If it is a problem, what could be wrong? > > It is a compile time problem that is easily solved - What kernel & RTAI > versions are you using ? > > > > Paul. > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC2.2.6 compiling help
Hello I modified ipipe.h file #include DECLARE_PER_CPU(struct pt_regs, __ipipe_tick_regs); I am not sure than it is right way ;-) Evgeny -Original Message- From: "Alex Joni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>,"Enhanced Machine Controller \(EMC\)" Date: Fri, 3 Oct 2008 12:11:45 +0300 Subject: Re: [Emc-users] EMC2.2.6 compiling help > > Hello there, > > I had to use this small patch to fix a similar issue as you describe: > http://wiki.linuxcnc.org/uploads/ipipe.patch.txt > > Regards, > Alex > > - Original Message - > From: sivaraj sg > To: emc-users@lists.sourceforge.net > Sent: Friday, October 03, 2008 11:59 AM > Subject: [Emc-users] EMC2.2.6 compiling help > > > Hello, > I could compile realtime kernel on Mepis-7.0 with Kernel-2.6.24/RTAI-3.6.1. > All latency test is working fine as per the link > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI. > But while compiling emc2.2.6 I end up with error as below. > Please let me know what I am missing. > Rgds > Sivaraj > > > make -C /usr/src/linux SUBDIRS=`pwd` CC=gcc V=0 -o > /usr/src/linux/Module.symvers modules > make[1]: Entering directory `/usr/src/linux-2.6.24' > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/abs.o > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/and2.o > CC [M] /usr/local/emc2-2.2.6/src/hal/components/at_pid.o > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/biquad.o > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/blend.o > CC [M] /usr/local/emc2-2.2.6/src/hal/components/blocks.o > CC [M] /usr/local/emc2-2.2.6/src/hal/components/boss_plc.o > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/charge_pump.o > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/clarke2.o > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/clarke3.o > CC [M] /usr/local/emc2-2.2.6/src/objects/hal/components/clarkeinv.o > CC [M] /usr/local/emc2-2.2.6/src/hal/classicladder/module_hal.o > CC [M] /usr/local/emc2-2.2.6/src/hal/classicladder/arithm_eval.o > CC [M] /usr/local/emc2-2.2.6/src/hal/classicladder/arrays.o > CC [M] /usr/local/emc2-2.2.6/src/hal/classicladder/calc.o > In file included from /usr/realtime/include/asm/rtai_vectors.h:40, > from /usr/realtime/include/asm/rtai_hal.h:57, > from /usr/realtime/include/asm/rtai.h:20, > from /usr/realtime/include/rtai.h:25, > from /usr/local/emc2-2.2.6/src/hal/classicladder/calc.c:26: > include/asm/ipipe.h:34: error: expected declaration specifiers or '...' > before '__ipipe_tick_regs' > include/asm/ipipe.h:34: warning: 'struct pt_regs' declared inside parameter > list > include/asm/ipipe.h:34: warning: its scope is only this definition or > declaration, which is probably not what you want > include/asm/ipipe.h:34: warning: data definition has no type or storage > class > include/asm/ipipe.h:34: warning: type defaults to 'int' in declaration of > 'DECLARE_PER_CPU' > In file included from include/asm/ipipe.h:37, > from /usr/realtime/include/asm/rtai_vectors.h:40, > from /usr/realtime/include/asm/rtai_hal.h:57, > from /usr/realtime/include/asm/rtai.h:20, > from /usr/realtime/include/rtai.h:25, > from /usr/local/emc2-2.2.6/src/hal/classicladder/calc.c:26: > include/asm/ipipe_32.h: In function '__ipipe_call_root_xirq_handler': > include/asm/ipipe_32.h:62: error: 'per_cpuipipe_tick_regs' undeclared > (first use in this function) > include/asm/ipipe_32.h:62: error: (Each undeclared identifier is reported > only once > include/asm/ipipe_32.h:62: error: for each function it appears in.) > make[2]: *** [/usr/local/emc2-2.2.6/src/hal/classicladder/calc.o] Error 1 > make[1]: *** [_module_/usr/local/emc2-2.2.6/src] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.24' > make: *** [modules] Error 2 > > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net h
[Emc-users] No version for "nano2count" fo und
Hello I still try to build puppy base system. Now I have problem on system start rtapi: No version for "nano2count" found: kernel tained. Is it problem or just information message? If it is a problem, what could be wrong? Best Regards Evgeny - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Problem on EMC2 starting with rtai_hall.ko
> your base period and those timings need adjusted to a higher number, the > computer isnt able to keep up with the speeds the configs are trying to > run. these are in the stepper_mm.ini file. > > this talks about using the latency test to set the timings. > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration I do not think so, I tested it on phisical machine with Intel Core2Due 2,66. It is very fast computer. Another information. If I build RT linux, reboot, build libraries and emc and start emc without rebooting, then first start works properly. On second and other start I have rtai_hal.ko problem or "adress in use" I have not more ideas. Only one idea. Maybe prblem is then puppy linux has only Root user ... Evgeny P.S. Thank you for you help > > 2008/9/25 Евгений Александрович <[EMAIL PROTECTED]> > > > Hello, > > > > I have more information. > > > > I installed linux&emc2 on real machine. > > > > I have same result :( > > > > But if I try to start emc second time withour reboot system starts, but > > with errors. (Both on VM and RM) > > It is log of second start. > > > > # emc > > EMC2 - 2.2.5 > > Machine configuration directory is > > '/usr/local/etc/emc2/sample-configs/stepper' > > Machine configuration file is 'stepper_mm.ini' > > Starting EMC2... > > libnml/cms/tcp_srv.cc 278: bind error: 98 -- Address already in use > > libnml/cms/tcp_srv.cc 279: Server can not bind the connection socket on > > port 5005. > > libnml/rcs/rcs_exit.cc 99: > > Errors Reported!!! > > Press ^C to exit. > > RTAPI: ERROR: Unexpected realtime delay on task 1 > > > > I can start program, but this way I get messagebox "Unexpected realtime > > delay on task 1" several times. > > > > Any ideas? > > > > > > -Original Message- > > From: Евгений Александрович<[EMAIL PROTECTED]> > > To: Enhanced Machine Controller \(EMC\) > > Date: Thu, 25 Sep 2008 13:19:07 +0400 > > Subject: Re: [Emc-users]Problem on EMC2 starting with rtai_hall.ko > > > > > > > > > > > > sounds like rtai is already loaded. Either you compiled it into the > > kernel, > > > > not as a module. > > > What do you mean. Did I somesing worng in kernel? > > > > > > > Or you had a latency test still running, or the last time you had > > realtime > > > > run there was some problem during unload. > > > > A lsmod should tell you more, and a reboot will probably cure it. > > > Reboot is not solution. I tried it many times. > > > At bottom is my log after reboot > > > > > > > > I user VMWare machine under WinXP > > > > > > > > I do that too sometimes without problems. (I don't expect to run any > > real > > > > machine this way..) > > > > > > Any way I will try to install on real machine. > > > > > > EMC DEBUG FILE > > > Stopping realtime threads > > > Unloading hal components > > > > > > EMC PRINT FILE > > > RUN_IN_PLACE=no > > > EMC2_DIR= > > > EMC2_BIN_DIR=/usr/local/bin > > > EMC2_TCL_DIR=/usr/local/share/emc/tcl > > > EMC2_SCRIPT_DIR= > > > EMC2_RTLIB_DIR=/usr/realtime/modules/emc2 > > > EMC2_CONFIG_DIR= > > > EMC2_LANG_DIR=/usr/local/share/emc/tcl/msgs > > > INIVAR=/usr/local/bin/inivar > > > HALCMD=/usr/local/bin/halcmd > > > EMC2_EMCSH=/usr/local/bin/emcsh > > > EMC2_IOSH=/usr/local/bin/iosh > > > INIFILE=/usr/local/etc/emc2/sample-configs/stepper/stepper_mm.ini > > > PARAMETER_FILE=stepper.var > > > EMCMOT=motmod > > > EMCIO=io > > > TASK=milltask > > > HALUI= > > > DISPLAY=axis > > > NML_FILE=emc.nml > > > Starting EMC2 server program: emcsvr > > > Loading Real Time OS, RTAPI, and HAL_LIB modules > > > Removing HAL_LIB, RTAPI, and Real Time OS modules > > > Removing NML shared memory segments > > > > > > CONSOLE LOG > > > # lsmod > > > Module Size Used by > > > usb_storage84160 0 > > > usbcore 138220 1 usb_storage > > > ide_cd 39584 0 > > > cdrom 36384 1 ide_cd > > > evdev 11648 0 > > > hal_lib36376 0 > > > rtapi
Re: [Emc-users] Problem on EMC2 starting with rtai_hall.ko
Hello, I have more information. I installed linux&emc2 on real machine. I have same result :( But if I try to start emc second time withour reboot system starts, but with errors. (Both on VM and RM) It is log of second start. # emc EMC2 - 2.2.5 Machine configuration directory is '/usr/local/etc/emc2/sample-configs/stepper' Machine configuration file is 'stepper_mm.ini' Starting EMC2... libnml/cms/tcp_srv.cc 278: bind error: 98 -- Address already in use libnml/cms/tcp_srv.cc 279: Server can not bind the connection socket on port 5005. libnml/rcs/rcs_exit.cc 99: Errors Reported!!! Press ^C to exit. RTAPI: ERROR: Unexpected realtime delay on task 1 I can start program, but this way I get messagebox "Unexpected realtime delay on task 1" several times. Any ideas? -Original Message- From: Евгений Александрович<[EMAIL PROTECTED]> To: Enhanced Machine Controller \(EMC\) Date: Thu, 25 Sep 2008 13:19:07 +0400 Subject: Re: [Emc-users]Problem on EMC2 starting with rtai_hall.ko > > > > sounds like rtai is already loaded. Either you compiled it into the kernel, > > not as a module. > What do you mean. Did I somesing worng in kernel? > > > Or you had a latency test still running, or the last time you had realtime > > run there was some problem during unload. > > A lsmod should tell you more, and a reboot will probably cure it. > Reboot is not solution. I tried it many times. > At bottom is my log after reboot > > > > I user VMWare machine under WinXP > > > > I do that too sometimes without problems. (I don't expect to run any real > > machine this way..) > > Any way I will try to install on real machine. > > EMC DEBUG FILE > Stopping realtime threads > Unloading hal components > > EMC PRINT FILE > RUN_IN_PLACE=no > EMC2_DIR= > EMC2_BIN_DIR=/usr/local/bin > EMC2_TCL_DIR=/usr/local/share/emc/tcl > EMC2_SCRIPT_DIR= > EMC2_RTLIB_DIR=/usr/realtime/modules/emc2 > EMC2_CONFIG_DIR= > EMC2_LANG_DIR=/usr/local/share/emc/tcl/msgs > INIVAR=/usr/local/bin/inivar > HALCMD=/usr/local/bin/halcmd > EMC2_EMCSH=/usr/local/bin/emcsh > EMC2_IOSH=/usr/local/bin/iosh > INIFILE=/usr/local/etc/emc2/sample-configs/stepper/stepper_mm.ini > PARAMETER_FILE=stepper.var > EMCMOT=motmod > EMCIO=io > TASK=milltask > HALUI= > DISPLAY=axis > NML_FILE=emc.nml > Starting EMC2 server program: emcsvr > Loading Real Time OS, RTAPI, and HAL_LIB modules > Removing HAL_LIB, RTAPI, and Real Time OS modules > Removing NML shared memory segments > > CONSOLE LOG > # lsmod > Module Size Used by > usb_storage84160 0 > usbcore 138220 1 usb_storage > ide_cd 39584 0 > cdrom 36384 1 ide_cd > evdev 11648 0 > hal_lib36376 0 > rtapi 35796 1 hal_lib > rtai_math 27140 0 > rtai_sem 23552 1 rtapi > rtai_shm 12164 1 rtapi > rtai_fifos 29640 1 rtapi > rtai_sched102360 4 rtapi,rtai_sem,rtai_shm,rtai_fifos > rtai_hal 39868 5 rtapi,rtai_sem,rtai_shm,rtai_fifos,rtai_sched > snd_mixer_oss 16384 0 > snd_hda_intel 283548 0 > snd_pcm76936 1 snd_hda_intel > snd_timer 22788 1 snd_pcm > snd51940 4 snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer > soundcore 7392 1 snd > snd_page_alloc 10376 2 snd_hda_intel,snd_pcm > apm20432 0 > nls_utf82048 0 > nls_cp866 5248 0 > > # cd /usr/realtime/testsuite/kern/latency/ > # ./run > * > * > * Type ^C to stop this application. > * > * > > ## RTAI latency calibration tool ## > # period = 10 (ns) > # avrgtime = 1 (s) > # do not use the FPU > # start the timer > # timer_mode is oneshot > > RTAI Testsuite - KERNEL latency (all data in nanoseconds) > RTH|lat min|ovl min|lat avg|lat max|ovl max| overruns > RTD| 0| 0| 91538|2443889|2443889| 8498 > RTD| 0| 0| 92556|1709717|2443889| 17202 > RTD| -838| -838| 92385|1765031|2443889| 25888 > RTD| 0| -838| 91617|1727317|2443889| 34456 > RTD| 0| -838| 92610|1759165|2443889| 43157 > RTD| 0| -838| 92409|1664460|2443889| 51832 > RTD| 0| -838| 92498|1939355|2443889| 60543 > RTD| -838| -838| 92428
Re: [Emc-users] Problem on EMC2 starting with rtai_hall.ko
> sounds like rtai is already loaded. Either you compiled it into the kernel, > not as a module. What do you mean. Did I somesing worng in kernel? > Or you had a latency test still running, or the last time you had realtime > run there was some problem during unload. > A lsmod should tell you more, and a reboot will probably cure it. Reboot is not solution. I tried it many times. At bottom is my log after reboot > > I user VMWare machine under WinXP > > I do that too sometimes without problems. (I don't expect to run any real > machine this way..) Any way I will try to install on real machine. EMC DEBUG FILE Stopping realtime threads Unloading hal components EMC PRINT FILE RUN_IN_PLACE=no EMC2_DIR= EMC2_BIN_DIR=/usr/local/bin EMC2_TCL_DIR=/usr/local/share/emc/tcl EMC2_SCRIPT_DIR= EMC2_RTLIB_DIR=/usr/realtime/modules/emc2 EMC2_CONFIG_DIR= EMC2_LANG_DIR=/usr/local/share/emc/tcl/msgs INIVAR=/usr/local/bin/inivar HALCMD=/usr/local/bin/halcmd EMC2_EMCSH=/usr/local/bin/emcsh EMC2_IOSH=/usr/local/bin/iosh INIFILE=/usr/local/etc/emc2/sample-configs/stepper/stepper_mm.ini PARAMETER_FILE=stepper.var EMCMOT=motmod EMCIO=io TASK=milltask HALUI= DISPLAY=axis NML_FILE=emc.nml Starting EMC2 server program: emcsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments CONSOLE LOG # lsmod Module Size Used by usb_storage84160 0 usbcore 138220 1 usb_storage ide_cd 39584 0 cdrom 36384 1 ide_cd evdev 11648 0 hal_lib36376 0 rtapi 35796 1 hal_lib rtai_math 27140 0 rtai_sem 23552 1 rtapi rtai_shm 12164 1 rtapi rtai_fifos 29640 1 rtapi rtai_sched102360 4 rtapi,rtai_sem,rtai_shm,rtai_fifos rtai_hal 39868 5 rtapi,rtai_sem,rtai_shm,rtai_fifos,rtai_sched snd_mixer_oss 16384 0 snd_hda_intel 283548 0 snd_pcm76936 1 snd_hda_intel snd_timer 22788 1 snd_pcm snd51940 4 snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer soundcore 7392 1 snd snd_page_alloc 10376 2 snd_hda_intel,snd_pcm apm20432 0 nls_utf82048 0 nls_cp866 5248 0 # cd /usr/realtime/testsuite/kern/latency/ # ./run * * * Type ^C to stop this application. * * ## RTAI latency calibration tool ## # period = 10 (ns) # avrgtime = 1 (s) # do not use the FPU # start the timer # timer_mode is oneshot RTAI Testsuite - KERNEL latency (all data in nanoseconds) RTH|lat min|ovl min|lat avg|lat max|ovl max| overruns RTD| 0| 0| 91538|2443889|2443889| 8498 RTD| 0| 0| 92556|1709717|2443889| 17202 RTD| -838| -838| 92385|1765031|2443889| 25888 RTD| 0| -838| 91617|1727317|2443889| 34456 RTD| 0| -838| 92610|1759165|2443889| 43157 RTD| 0| -838| 92409|1664460|2443889| 51832 RTD| 0| -838| 92498|1939355|2443889| 60543 RTD| -838| -838| 92428|1800231|2443889| 69232 RTD| 0| -838| 92472|1746593|2443889| 77919 RTD| 0| -838| 92395|1602441|2443889| 86600 RTD| 0| -838| 92477|1699660|2443889| 95291 RTD| -838| -838| 91476|1822860|2443889| 103798 RTD| -838| -838| 91476|1822860|2443889| 103798 # # emc EMC2 - 2.2.5 Machine configuration directory is '/usr/local/etc/emc2/sample-configs/stepper' Machine configuration file is 'stepper_mm.ini' Starting EMC2... insmod: error inserting '/usr/realtime/modules/rtai_hal.ko': -1 File exists Realtime system did not load Shutting down and cleaning up EMC2... /bin/pidof: illegal option -- x BusyBox v1.6.1 (2007-08-26 04:52:27 MDT) multi-call binary Usage: pidof process-name [OPTION] [process-name ...] List the PIDs of all processes with names that match the names on the command line Options: -s Display only a single PID -o Omit given pid Use %PPID to omit the parent pid of pidof itself // pidof was repeated several times. # lsmod Module Size Used by usb_storage84160 0 usbcore 138220 1 usb_storage ide_cd 39584 0 cdrom 36384 1 ide_cd evdev 11648 0 snd_mixer_oss 16384 0 snd_hda_intel 283548 0 snd_pcm76936 1 snd_hda_intel snd_timer 22788 1 snd_pcm snd51940 4 snd_mixer_oss,snd_hda_intel,snd
Re: [Emc-users] Problem on EMC2 starting with rtai_hall.ko
I do not think then VMWare is a problem. Linux does not know than VMWare is not real machine. May be only unstable CPU resource ... By the way I prepare EMC2 for small computer (No cooler, no HDD, small size). I try to make distrib on VMWare, before installing on real computer. Any way I will try to install on real machine tomorrow (it is night in Russia now ;). Thnak you for you comments. > > I don't think a realtime OS will work in a virtual machine. I have the same > problem with EMC2 in parallels on the mac. The sim machines do work though. > You don't consider real machining this way, do you? > > Dirk > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Problem on EMC2 starting with rtai_hall.ko
Hello. I build emc2 based on PuppyRus linux. linux was patched by kernel is 2.6.24.7 rtai test was succesfull. Whan i make EMC2 i had problem with ipipe.h file. I had to insert #include in ipipe.h file to build EMC2. Now, when I try to start EMC i have problem with rtai_hal.ko file insmod: error inserting 'usr/realtime/modules/rtai_hal.ko': -1 File exists What could be a problem? Thanks Evgeny P.S. I user VMWare machine under WinXP - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users