[Emc-users] Display issues

2009-05-07 Thread Frank Tkalcevic
I'm using 2.3 axis, and I am having a few display issues. Things like the File menu popping up at screen position (0,0) the first time, and the toolpath preview being displayed all grey, or on top of other windows. I suspect this is my linux set up, or maybe my video driver. Any ideas where to s

Re: [Emc-users] Cheap MPG

2009-05-07 Thread Jon Elson
Chris Radek wrote: > Through long painful experience using a machine that has a lot of > buttons like that, where you have to look at a display while madly > stabbing the button repeatedly until the display says what you want, > I've come to the firm conclusion that it ... sucks. Much better is a

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Frank Tkalcevic
> > Here's a trace of the commanded velocity (after going > through limit3), > > encoder velocity (*60) and the lowpass output. > > > > http://www.franksworkshop.com.au/img_bin/Velocity.png > > > > The encoder scale is 12000; 12000 pulses representing 1 > revolution. > > The encoder velocity

Re: [Emc-users] Modbus and Classic Ladder

2009-05-07 Thread Kirk Wallace
On Fri, 2009-05-08 at 02:41 +, Chris Morley wrote: > Gs2_vfd and Classicladder use different routines to comunicate with Modbus. > You actually don't need to learn much ladder programming to use Modbus in CL. > You can map modbus directly to CL's HAL pins. One annoyance is that CL's > GUI must

Re: [Emc-users] Modbus and Classic Ladder

2009-05-07 Thread Chris Morley
> From: kwall...@wallacecompany.com > To: emc-users@lists.sourceforge.net > Date: Thu, 7 May 2009 19:26:05 -0700 > Subject: [Emc-users] Modbus and Classic Ladder > > I was looking at the gs2_vfd component source, and though it is mostly > greek (or geek) to me, it looks like it's not tied to Cl

[Emc-users] Modbus and Classic Ladder

2009-05-07 Thread Kirk Wallace
I was looking at the gs2_vfd component source, and though it is mostly greek (or geek) to me, it looks like it's not tied to Classic Ladder. At one point it seemed that anything Modbus had to be done with CL and I just don't need another language to learn. If gs2_vfd can stand on its own, I may try

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Sebastian Kuzminsky
Sebastian Kuzminsky wrote: > Frank Tkalcevic wrote: >>> Hm, the hm2 encoder velocity output is supposed to be really smooth. >>> I'll double check it tonight. Any chance you can supply a >>> halscope trace of it looking bad on your machine? >> I'm using 2.3. >> >> Here's a trace of the commanded

Re: [Emc-users] Cheap MPG

2009-05-07 Thread Chris Radek
On Thu, May 07, 2009 at 05:31:43PM -0700, Kirk Wallace wrote: > At slow mpg rates each, you get a fast stop - start > which can shake the whole machine. Has anyone else had this problem? This is why the ilowpass component was made - it works great. > I am planning on having the mpg and two butto

Re: [Emc-users] Cheap MPG

2009-05-07 Thread Jon Elson
Kirk Wallace wrote: > As a 100 pulse per revolution encoder, what I have so far works well. > One problem is that in the .01" per pulse scale selected, the axis does > what is is told to do, which is move .01" at maximum velocity. If you > spin the mpg at moderate speeds, the .01" commands stack up

[Emc-users] Cheap MPG

2009-05-07 Thread Kirk Wallace
I think MPG's are too expensive, so I am trying to see if I could make one. What I have so far is at the top of the page here: http://www.wallacecompany.com/machine_shop/Shizuoka/ Thanks to jmk, swp and tom on IRC, I was able to come up with the pyVCP files to jury rig something that seems to work

Re: [Emc-users] Threading using a servo's encoder ou tput with a geared output.

2009-05-07 Thread Gene Heskett
On Thursday 07 May 2009, Frank Tkalcevic wrote: >> >> First, there's an index mask option in the hostmot2 firmware. >> >> You set the -index-mask (and optionally >> >> -index-mask-invert) bits to >> >> >> true, and the index will only be active when another input is on. >> >> Connect that other in

Re: [Emc-users] user interface development?

2009-05-07 Thread John Guenther
Eric, Dewey, Alex, Thanks for the help, I have now been able to get emcrsh to work as it is supposed to. Everything is working as it should, I have also been able to access emcsh and check out the commands there also. I will now crawl back in the wood work and study more code as I progress down

Re: [Emc-users] Threading using a servo's encoder output with a geared output.

2009-05-07 Thread Frank Tkalcevic
> >> First, there's an index mask option in the hostmot2 firmware. > >> You set the -index-mask (and optionally > -index-mask-invert) bits to > >> true, and the index will only be active when another input is on. > >> Connect that other input to the correct Index Mask > physical pin, and >

Re: [Emc-users] Threading using a servo's encoder output with a geared output.

2009-05-07 Thread Sebastian Kuzminsky
Frank Tkalcevic wrote: >> First, there's an index mask option in the hostmot2 firmware. >> You set the -index-mask (and optionally -index-mask-invert) >> bits to true, and the index will only be active when another >> input is on. Connect that other input to the correct Index >> Mask physical

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Sebastian Kuzminsky
Frank Tkalcevic wrote: >> Hm, the hm2 encoder velocity output is supposed to be really smooth. >> I'll double check it tonight. Any chance you can supply a >> halscope trace of it looking bad on your machine? > > I'm using 2.3. > > Here's a trace of the commanded velocity (after going through

Re: [Emc-users] Threading using a servo's encoder output with a geared output.

2009-05-07 Thread Frank Tkalcevic
> First, there's an index mask option in the hostmot2 firmware. > You set the -index-mask (and optionally -index-mask-invert) > bits to true, and the index will only be active when another > input is on. Connect that other input to the correct Index > Mask physical pin, and you have an encode

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Frank Tkalcevic
> Hm, the hm2 encoder velocity output is supposed to be really smooth. > I'll double check it tonight. Any chance you can supply a > halscope trace of it looking bad on your machine? I'm using 2.3. Here's a trace of the commanded velocity (after going through limit3), encoder velocity (*60) an

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Sebastian Kuzminsky
Frank Tkalcevic wrote: > Yes, I'm using HostMot2. The velocity coming out of the encoder was fuzzy, > and combining that with my poor PID tuning caused vibration at low speeds. Which version of emc2 are you using? -- Sebastian Kuzminsky you press what you hope is the right switch, and you

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Sebastian Kuzminsky
Frank Tkalcevic wrote: >> Are you using HostMot2? HostMot2 has a much better velocity >> output than the old M5I20 driver/firmware. > > Yes, I'm using HostMot2. The velocity coming out of the encoder was fuzzy, > and combining that with my poor PID tuning caused vibration at low speeds. Hm, the

Re: [Emc-users] user interface development?

2009-05-07 Thread Dewey Garrett
>Hello results in a HELLO NAK Specify : Hello for shutdown, it must enabled first with: set enable the_enable_password Once a telnet session is started, help hello, help set, help shutdown are very useful example session: $ telnet localhost 5007 Trying 127.0.0.1... Connected to localhost.

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Frank Tkalcevic
> > the place. I used lowpass, and got good enough results. > Is there a > > component that will smooth out a curve? A moving average? > > > Are you using HostMot2? HostMot2 has a much better velocity > output than the old M5I20 driver/firmware. Yes, I'm using HostMot2. The velocity comi

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Frank Tkalcevic
Sorry, a typo. I was using commanded speed. But the timedelay option sounds more efficient. > -Original Message- > From: Jeff Epler [mailto:jep...@unpythonic.net] > Sent: Friday, 8 May 2009 12:38 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Emc-users Digest, Vo

Re: [Emc-users] user interface development?

2009-05-07 Thread Eric H. Johnson
John, You should not be able to do much if you have not successfully negotiated a Hello. Only help and quit should work. Do the following after establishing the connection: Hello EMC client 1.0 EMC is the connection password, the remainder is basically a hook for the future to facilitate communi

Re: [Emc-users] user interface development?

2009-05-07 Thread Dewey Garrett
>j...@john-desktop:~$ halcmd loadusr emcrsh >j...@john-desktop:~$ emc/usr_intf/emcrsh.cc 2767: can't connect to emc Using trunk, I tried and saw this problem so i straced emcrsh and found it gave up when trying to open emc.nml You could try to cd to a directory containg emc.nml and then start e

Re: [Emc-users] user interface development?

2009-05-07 Thread John Guenther
Ok, some progress has been made. I can now connect to emcrsh via a telnet session. Help and Get both work Hello results in a HELLO NAK Get results an appropriate response. Set results in SET NAK Enable does not seem to work Shutdown results in SHUTDOWN NAK I am most likely doing something

Re: [Emc-users] user interface development?

2009-05-07 Thread John Guenther
I have this problem emcrsh with 2.3.0 and the May 2, 2009 emc2-trunk. - John Guenther 'Ye Olde Pen Maker' Sterling, Virginia On Thu, 2009-05-07 at 20:39 +0300, Alex Joni wrote: > Are you running latest TRUNK from CVS? > If so, this might be related to the fact that the nml files are now missing

Re: [Emc-users] smp

2009-05-07 Thread Eric H. Johnson
Update. Alex was kind enough to put the 2.3 smp packages here: http://linuxcnc.org/experimental/hardy/smp/ Regards, Eric The reason the second processor is not recognized is due to the rtai kernel which is installed as a part of emc. It does not recognize the second processor. There are packa

Re: [Emc-users] smp

2009-05-07 Thread Eric H. Johnson
David, The reason the second processor is not recognized is due to the rtai kernel which is installed as a part of emc. It does not recognize the second processor. There are packages for pre-2.3 here: http://www.linuxcnc.org/experimental/ These packages were tested with the Intel Atom 330 board

Re: [Emc-users] smp

2009-05-07 Thread Alex Joni
Hi, for that you need a kernel that's configured to allow 2 cores to be used. Our default (most used & tested) kernel only supports one core. I think there are some testing packages for smp out there, but I am not sure where. Regards, Alex > hi, > my old single core system died and i switched

Re: [Emc-users] user interface development?

2009-05-07 Thread Alex Joni
Are you running latest TRUNK from CVS? If so, this might be related to the fact that the nml files are now missing. I think I saw Jeff removing the need for a default NML file, but maybe emcrsh still needs to get some hardcoded defaults. Regards, Alex - Original Message - From: "John Gu

[Emc-users] smp

2009-05-07 Thread David Szakovits
hi, my old single core system died and i switched to a system that has a dual core cpu. i did a fresh install of linuxcnc 8.04, but according to /proc/cpuinfo only one core appears to be utilized. i am not sure why this is, running the generic kernel, multiple cores are used automatically. i

Re: [Emc-users] Threading using a servo's encoder output with a geared output.

2009-05-07 Thread Jon Elson
Frank Tkalcevic wrote: > My lathe CNC conversion uses a servo motor to drive the spindle. It is > 4000ppr, with an index pulse, controlled by a 5i20 and 7i33. It uses a 1:3 > pulley ratio. Can I set this up for threading? > > I had a quick try, machining a simple test thread, but as I expected,

Re: [Emc-users] user interface development?

2009-05-07 Thread John Guenther
Eric, Thanks, no hurry when ever you get to it. Here is some additional information: j...@john-desktop:~$ halcmd loadusr emcrsh j...@john-desktop:~$ emc/usr_intf/emcrsh.cc 2767: can't connect to emc j...@john-desktop:~$ it takes about 10 seconds on this machine for the error message to come u

Re: [Emc-users] user interface development?

2009-05-07 Thread Eric H. Johnson
John, Does the error message come up right away, or do you get a chance to enter anything? You should be able to type 'help' after getting: Connected to localhost. Escape character is '^]'. I am also running 2.3.0 on Hardy, so I know that it works for that configuration. I will not be able to tes

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Peter C. Wallace
On Thu, 7 May 2009, Frank Tkalcevic wrote: > Date: Thu, 7 May 2009 08:07:03 + (UTC) > From: Frank Tkalcevic > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15 > >> did you test limit2 and

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Jeff Epler
you're using feedback speed to decide when to turn off the spindle? why not use commanded speed instead? or maybe just a timeout based on the 3 second time you mentioned for acceleration (the component 'timedelay' can do this)? Jeff --

Re: [Emc-users] user interface development?

2009-05-07 Thread John Guenther
Eric, That did not help either, here is what I got: j...@john-desktop:~$ halcmd loadusr emcrsh j...@john-desktop:~$ telnet localhost 5007 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. emc/usr_intf/emcrsh.cc 2767: can't connect to emc Connection closed by foreign host. j...

Re: [Emc-users] user interface development?

2009-05-07 Thread Eric H. Johnson
John, It is generally pretty simple. If you are getting connection refused that usually means emcrsh is not running. Another way to start it from any configuration is to use halcmd (after starting emc) from a terminal session as follows: halcmd loadusr emcrsh Then see if you can connect with: te

Re: [Emc-users] user interface development?

2009-05-07 Thread John Guenther
Eric, Thank you for the information, I am beginning to grasp what I need to know to proceed down this path. I have tried to connect to emcrsh following your instructions below, I am using Hardy Heron and EMC2.2.3 but I cannot get a connection to emcrsh. It either tells me the connection is refus

Re: [Emc-users] Threading using a servo's encoder output with a geared output.

2009-05-07 Thread Stephen Wille Padnos
Frank Tkalcevic wrote: >My lathe CNC conversion uses a servo motor to drive the spindle. It is >4000ppr, with an index pulse, controlled by a 5i20 and 7i33. It uses a 1:3 >pulley ratio. Can I set this up for threading? > > Not without adding some hardware. >I had a quick try, machining a sim

[Emc-users] Threading using a servo's encoder output with a geared output.

2009-05-07 Thread Frank Tkalcevic
My lathe CNC conversion uses a servo motor to drive the spindle. It is 4000ppr, with an index pulse, controlled by a 5i20 and 7i33. It uses a 1:3 pulley ratio. Can I set this up for threading? I had a quick try, machining a simple test thread, but as I expected, using a standard setup, I got a

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Frank Tkalcevic
> did you test limit2 and limit3, or just limit3? I'm not sure whether > second-derivative limiting (since command is speed, I guess that makes > it a jerk limit) is useful for spindle speed, and it would be nice to > hear real-world results. Just limit3. I used the basic motion equations s=vt a

Re: [Emc-users] I Need help optimizing the step generation

2009-05-07 Thread Rob Jansen
Michael, the documentation is of course the first thing where to look for the information you need. But having been there myself I know it can be quite overwhelming ... > I've been reading in parts of the documentation and troubleshooting > pages that some of these issues could be due to step