[Emc-users] Two steppers - same axis
Well, I'm finally to the point where I can hook the 'pooter to control box and the control box to the machine. I've got a moving gantry two-axis machine, using the X and Z axes, with dual rack and pinion set ups on the X axis. I thought I'd archived a whole bunch of emails and other discussions some place about configuring and running two steppers on the same axis, and how to home and limit switch them, but I can't find that archive on either my home or work computer. I also did some searches on the documents to see if there were any instructions there for setting up systems like this but was unable to find anything (may have been the search terms i was using). Anybody have any locations in the doccy's, or possible links to setting up a system like this? Thanks, Mark -- 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
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! Rick -- 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] hosmot2+5i20+7i37 output problem
I updated emc2 to 2.3.4. I think the old version was 2.2.8 which was runing ok. I'm trying to configure the new file hm2-sevo.hal but I can not have any output from the 7i37 I can reed all the inputs from the home-switches but I can not close any output, even when I open (show_hal_configuration) and it show that the output is activated but my multimeter tells no! A piece of the old 5i20_io: # Connect amp enables to motion controller linksp Xenable = m5i20.0.out-06 --- A piece of the new hm2-sevo.hal # # X [0] Axis # # axis enable chain newsig emcmot.00.enable bit sets emcmot.00.enable FALSE net emcmot.00.enable = pid.0.enable #net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.gpio.046.out net emcmot.00.enable = axis.0.amp-enable-out - What I am doing wrong? Thanks ArnoldRiter mesa cards 5i20+7i33+7i37 dmesghttp://pastebin.com/m62ba3103 5i20.ini http://pastebin.com/d4bb9ee0a Old 50i20_io.hal http://pastebin.com/d59ab5a60 New hm2-servo.hal http://pastebin.com/m27b3937f -- 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 r...@verizon.net To: Enhanced Machine Controller \(EMC\) emc-users@lists.sourceforge.net 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
Re: [Emc-users] [Emc-developers] hosmot2+5i20+7i37 output problem
--- A piece of the new hm2-sevo.hal # # X [0] Axis # # axis enable chain newsig emcmot.00.enable bit sets emcmot.00.enable FALSE net emcmot.00.enable = pid.0.enable #net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.gpio.046.out net emcmot.00.enable = axis.0.amp-enable-out - I cant see no setp hm2_[HOSTMOT2](BOARD).0.gpio.070.is_output 1 setp hm2_[HOSTMOT2](BOARD).0.gpio.070.invert_output 1 in your HAL file or above, read the Man page for more info on the above for there meanings. with out the above the output will not be set as an ourput. rob -- 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
On Thu, Jan 14, 2010 at 4:05 AM, rng3 r...@verizon.net wrote: 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! Rick Yes, this is exactly what I'm seeing on the GX280. If I reset the latency test after those spiikes, I never see them again. I'm going to try starting the computer, but not running the test for half an hour or so to see what happens. Is there any procedure for tracking down the cause of these spikes? Neil -- 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
2010/1/14 Евгений Александрович evgeni_a...@mail.ru: 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. Sorry I don't know what that is. I guess it means my BIOS has no way of disabling it either. -- 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
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! Rick What is SMI? Also, what graphics card are you using with the Dells? Neil -- 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] [Emc-developers] hosmot2+5i20+7i37 output problem
robert wrote: --- A piece of the new hm2-sevo.hal # # X [0] Axis # # axis enable chain newsig emcmot.00.enable bit sets emcmot.00.enable FALSE net emcmot.00.enable = pid.0.enable #net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.gpio.046.out net emcmot.00.enable = axis.0.amp-enable-out - I cant see no setp hm2_[HOSTMOT2](BOARD).0.gpio.070.is_output 1 setp hm2_[HOSTMOT2](BOARD).0.gpio.070.invert_output 1 in your HAL file or above, read the Man page for more info on the above for there meanings. with out the above the output will not be set as an ourput. rob Thank very much! Now the piece of hm2-sevo.hal is: # # X [0] Axis # # axis enable chain newsig emcmot.00.enable bit sets emcmot.00.enable FALSE net emcmot.00.enable = pid.0.enable net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable net emcmot.00.enable = axis.0.amp-enable-out setp hm2_[HOSTMOT2](BOARD).0.gpio.046.is_output 1 setp hm2_[HOSTMOT2](BOARD).0.gpio.046.invert_output 1 net emcmot.00.enable = hm2_[HOSTMOT2](BOARD).0.gpio.046.out PD: My servo enables with a 10V signal, so I'm using the 0uput06 of the 7i37 to switch on 10VCC to the servo. ArnoldoRiter. -- 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
OK, so I started up the computer, then waited 1/2 hour. Then I ran the latency test for 1/2 hour with no abuse, and the latency was below 7 microseconds. I have plenty of other computers, so I certainly don't need to be doing anything else on my EMC box when it's running EMC. Neil -- 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
2010/1/14 Neil Baylis neil.bay...@gmail.com: What is SMI? System Management Interrupt. Wiki description: http://en.wikipedia.org/wiki/System_Management_Mode How to get round it in RTAI http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingSMIIssues -- atp -- 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
Ah OK. The penny drops. When I get home tonight, I'll follow the directions to disable SMI and see what happens. Is SMI the facility that makes the fans speed up and slow down according to how busy the system is? Or is that something else? (My fans seem very dynamic, speeding up and slowing down at the drop of a hat. But if I run just the latency test, they run quiet and slow.) -- 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
Ah OK. The penny drops. When I get home tonight, I'll follow the directions to disable SMI and see what happens. Is SMI the facility that makes the fans speed up and slow down according to how busy the system is? Or is that something else? (My fans seem very dynamic, speeding up and slowing down at the drop of a hat. But if I run just the latency test, they run quiet and slow.) -- 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
2010/1/14 Neil Baylis neil.bay...@gmail.com: Ah OK. The penny drops. When I get home tonight, I'll follow the directions to disable SMI and see what happens. It doesn't sound like SMI. That normally happens periodically. (in my case it was every 64 seconds) Is SMI the facility that makes the fans speed up and slow down according to how busy the system is? Or is that something else? That's something else, I think. Though SMI is involved in thermal management, I believe, and so you don't want to mess with it unless you are sure you need to. -- atp -- 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] Installation issue
Hello, Due to the need of compiling the kernel, I have swichted back to ubuntu 9.10 (32bit). I have just downloaded the files from http://linuxcnc.org/experimental/Karmic. During installation of kernel image I have received this errors: Richte linux-image-2.6.31.4-rtai ein (r1) ... Hmm. There is a symbolic link /lib/modules/2.6.31.4-rtai/build However, I can not read it: No such file or directory Therefore, I am deleting /lib/modules/2.6.31.4-rtai/build Hmm. The package shipped with a symbolic link /lib/modules/2.6.31.4-rtai/source However, I can not read the target: No such file or directory Therefore, I am deleting /lib/modules/2.6.31.4-rtai/source Running depmod. Finding valid ramdisk creators. Using mkinitramfs-kpkg to build the ramdisk. Running postinst hook script update-grub. Generating grub.cfg ... Found linux image: /boot/vmlinuz-rtai Found linux image: /boot/vmlinuz-2.6.31.4-rtai Found initrd image: /boot/initrd.img-2.6.31.4-rtai Found linux image: /boot/vmlinuz-2.6.31.4 Found linux image: /boot/vmlinuz-2.6.31-17-generic Found initrd image: /boot/initrd.img-2.6.31-17-generic Found memtest86+ image: /boot/memtest86+.bin done Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms run-parts: executing /etc/kernel/postinst.d/nvidia-common run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.31.4-rtai.postinst line 1186. dpkg: Fehler beim Bearbeiten von linux-image-2.6.31.4-rtai (--install): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück Fehler traten auf beim Bearbeiten von: linux-image-2.6.31.4-rtai r...@emc:/mnt/dorsy/lvm/Daten/Downloads/EMC/linuxcnc.org/experimental/Karmic# So I have compiled the kernel from given kernel-source file, without errors. I used the way described in http://neo-technical.wikispaces.com/emc2-ubuntu; described. But the despite of error-free compilation, the pc did not start up! After selection of the rtai entry in grub menu, the screen is black. Only the coursor is shown of top left and nothing happens. So I compared the entries and I missed an line for the initrd, as described in wiki. I do not understand, why the precomiled package could not be installed and why I can not find an inirtrd in self compiled package. My entry: ---/boot/grub/grub.cfg--- menuentry Ubuntu, Linux rtai { insmod ext2 set root=(hd0,2) linux /boot/vmlinuz-rtai root=/dev/sda2 ro quiet splash } ---/boot/grub/grub.cfg--- I get no error or messages, so I do not know where I can start searching for an error.Please help me to get EMC working! -- Kind regaards Sebastian Reinhardt -- 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] Installation issue
2010/1/14 Sebastian Reinhardt s...@lmv-hartmannsdorf.de: I get no error or messages, so I do not know where I can start searching for an error.Please help me to get EMC working! Running EMC2 on a SMP kernel is something of an enthusiasts choice. Do you have a good reason not to run EMC on the default Live-CD installed system? -- atp -- 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] homing using index
I want to setup home using the index pulse from the encoder I have Pico system servo controller version 2 running current firmware and the current version of EMC I must be missing something in hal that need to be turn on looked through the examples I even hooked up the index pulse to a nother input on the controller I can see the index pulse come in I tried linking that to Newsig xindex Linksp xindex ppmc.0.din.03 Linksp xindex axis.0.index-enable This gave me and error Xindex already had and output pin Is there something missing I also tried linking the ppmc.0.encoder.00.index And got the same error -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- 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] homing using index
I think you want to connect the signal coming from the index to the axis.N.home-sw-in of the axis you want to home. net axis0homeswitch ppmc.0.din.03 = axis.0.home-sw-in then try setting the index-enable to true setp axis.0.index-enable TRUE and then in your ini file, setup your HOME_SEARCH_VEL and HOME_LATCH_VEL according to the chart at http://www.linuxcnc.org/docview/html//config_ini_homing.html I tried this a few days ago but couldn't get it to work very well because of my setup (not EMC2 problem, but my hardware problem), but you may have better luck. Kasey Matejcek wrote: I want to setup home using the index pulse from the encoder I have Pico system servo controller version 2 running current firmware and the current version of EMC I must be missing something in hal that need to be turn on looked through the examples I even hooked up the index pulse to a nother input on the controller I can see the index pulse come in I tried linking that to Newsig xindex Linksp xindex ppmc.0.din.03 Linksp xindex axis.0.index-enable This gave me and error Xindex already had and output pin Is there something missing I also tried linking the ppmc.0.encoder.00.index And got the same error -- 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] homing using index
In your hal, use net xindex axis.0.index-enable = ppmc.0.encoder.00.index-enable and so on for the other axes. ('net' is a very handy syntax for 'newsig' + several 'linkXX' commands. = is optional and is a hint for the reader that the communication between the two pins is bidirectional.) In your ini, set [AXIS_0] HOME_USE_INDEX=1 and so on for the other axes. I note that the documentation http://linuxcnc.org/docs/html/drivers_pico_ppmc.html doesn't list index-enable for ppmc and says that there's something substandard about the index implementation, but I think this is out of date. The source code seems to indicate that the standard index-enable pin is there. I don't actually own any pico-systems hardware, so take this all with just a bit of salt. Jeff -- 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
On Thu, Jan 14, 2010 at 1:00 PM, Andy Pugh a...@andypugh.fsnet.co.uk wrote: 2010/1/14 Neil Baylis neil.bay...@gmail.com: Ah OK. The penny drops. When I get home tonight, I'll follow the directions to disable SMI and see what happens. It doesn't sound like SMI. That normally happens periodically. (in my case it was every 64 seconds) You were correct. I followed the instructions for disabling SMI, and it made no difference. However, it seems reliably true that once you get past the two spikes, the latency is tolerable. I'm going to run that way for the time being, and see how it goes. If I notice problems, I'll investigate further. Neil -- 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