Re: [Emc-users] Is there a Numbered Parameters List?

2010-08-14 Thread yann
There is also parameter #5399, witch contains the value of the motion.digital-
input-x you read with M66 Px L0



Re: [Emc-users] Is there a Numbered Parameters List?
De : 
Chris Radek ch...@timeguy.com
  À : 
Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
  Date : 
Aujourd'hui 05:36:40
   
On Fri, Aug 13, 2010 at 11:00:08PM -0400, Don Stanley wrote:
 Hi All;
 I am attempting to use the EMC Number Parameters data
 to make decisions in the G Code program. The only ones
 I have found in the documentation so far is:
 5211 - 5216 for G92.
 5221 - 5389 for G54 - G59.3
 
 Is there a list of the number parameters used by EMC that are
 accessible by the G Code with a definition of their contents?

If you search for the word parameter in

http://linuxcnc.org/docs/2.4/html/gcode_main.html

you'll find a lot more, including at least the two reference points,
probe results, and M66 input.  There are also 5400...5413 which are
information about the current tool, but I don't see that on this
page.

That's all of them I can think of...

 Also is there a group available for use in the G Code, unused by EMC?

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Is there a Numbered Parameters List?

2010-08-14 Thread Don Stanley
Thanks Chris and Yann;
I scoured the documents and came up with the attached list.
If you see any errors please let me know.
If you think it is worth anything to anyone else, post it wherever.

Thanks again
   Don

On Fri, Aug 13, 2010 at 11:36 PM, Chris Radek ch...@timeguy.com wrote:


 If you search for the word parameter in

 http://linuxcnc.org/docs/2.4/html/gcode_main.html

 you'll find a lot more, including at least the two reference points,
 probe results, and M66 input.  There are also 5400...5413 which are
 information about the current tool, but I don't see that on this
 page.

 That's all of them I can think of...

  Also is there a group available for use in the G Code, unused by EMC?

 Variables #1 through #5000 are completely safe to use, but remember #1
 through #30 are subroutine-local (described in section 3.1)

 Chris



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



EMC Numbered Parameters.list
Description: Binary data
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] an exciting new setup: generated tach signal

2010-08-14 Thread Chris Radek
On Tue, Aug 10, 2010 at 07:53:48PM -0700, Neil Baylis wrote:
 Chris,
 
 would you care to hazard a guess at how much phase shift you see from the
 7i48 input to the velocity input at the servo amp?

I tried to measure the delay in this setup.  I scoped the real
tachometer (which is now hooked to nothing else) vs the dac output,
and issued a move 1.5 positive then 1.5 negative.  I doubled the
acceleration to 60 inch/sec^2 to try to get a better slope to
measure the delay.

I can't identify any significant delay with this setup.  Upper trace
is the real tach, lower trace is the dac output.

http://timeguy.com/cradek-files/emc/real-vs-generated-tach.jpg

Here is another shot with 1ms/div horizontal and 0.1v/div vertical.
This is the beginning of a move.  You can clearly see each servo
cycle.  I have about 1 div vertical separation and at the beginning of
each servo cycle it looks to me like the two signals match (of course
as the cycle goes on, the generated value gets stale and falls
behind but that is unavoidable).

http://timeguy.com/cradek-files/emc/real-vs-generated-tach-upclose.jpg

I think the noise is a feature of my very old digital capture scope;
I'm not sure how much of it is real.

Anyway I'm still inclined to call this configuration 100% successful.

Chris

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] No joy with Saitek P880 USB joypad

2010-08-14 Thread Igor Chudov
I attended a garage sale today, and accidentally bought a Saitek P880
joypad for $2 (brand new, never used).

If I plug it in, I can see it in jscalibrator. By all accounts it
works well. I am a member of group plugdev.

I tried to follow this web page, which also talks about Saitek P880:

http://wiki.linuxcnc.org/emcinfo.pl?A_New_Approach_For_Using_Joypads_With_EMC2

However, EMC2 saw NO signals from this joystick, if I tried to do
halcmd show all, no buttons or anything would appear in the list.

I decided to comment out everything and left only one statement:
loadusr -W hal_input -KRAL Saitek

Even then nothing was listed (no buttons or other things).

I have a feeling that I am missing something simple, maybe something
in xorg.conf or whatever.

lsmod shows joydev loaded. if I do cat /dev/inupt/js0 and press
buttons, I get some characters output so I assume that it is working.

Any ideas?

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] No joy with Saitek P880 USB joypad

2010-08-14 Thread Igor Chudov
Never mind, I am an idiot

On Sat, Aug 14, 2010 at 10:11 PM, Igor Chudov ichu...@gmail.com wrote:
 I attended a garage sale today, and accidentally bought a Saitek P880
 joypad for $2 (brand new, never used).

 If I plug it in, I can see it in jscalibrator. By all accounts it
 works well. I am a member of group plugdev.

 I tried to follow this web page, which also talks about Saitek P880:

 http://wiki.linuxcnc.org/emcinfo.pl?A_New_Approach_For_Using_Joypads_With_EMC2

 However, EMC2 saw NO signals from this joystick, if I tried to do
 halcmd show all, no buttons or anything would appear in the list.

 I decided to comment out everything and left only one statement:
 loadusr -W hal_input -KRAL Saitek

 Even then nothing was listed (no buttons or other things).

 I have a feeling that I am missing something simple, maybe something
 in xorg.conf or whatever.

 lsmod shows joydev loaded. if I do cat /dev/inupt/js0 and press
 buttons, I get some characters output so I assume that it is working.

 Any ideas?


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] No joy with Saitek P880 USB joypad

2010-08-14 Thread Ries van Twisk
 From they sound of it you got it to work,

what happened??

 Never mind, I am an idiot

 On Sat, Aug 14, 2010 at 10:11 PM, Igor Chudov ichu...@gmail.com  
 wrote:
 I attended a garage sale today, and accidentally bought a Saitek P880
 joypad for $2 (brand new, never used).

 If I plug it in, I can see it in jscalibrator. By all accounts it
 works well. I am a member of group plugdev.

 I tried to follow this web page, which also talks about Saitek P880:

 http://wiki.linuxcnc.org/emcinfo.pl?A_New_Approach_For_Using_Joypads_With_EMC2

 However, EMC2 saw NO signals from this joystick, if I tried to do
 halcmd show all, no buttons or anything would appear in the list.

 I decided to comment out everything and left only one statement:
 loadusr -W hal_input -KRAL Saitek

 Even then nothing was listed (no buttons or other things).

 I have a feeling that I am missing something simple, maybe something
 in xorg.conf or whatever.

 lsmod shows joydev loaded. if I do cat /dev/inupt/js0 and press
 buttons, I get some characters output so I assume that it is working.

 Any ideas?


 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] No joy with Saitek P880 USB joypad

2010-08-14 Thread Igor Chudov
I was dumb and checked permissions of /dev/input/js0 only (they were
good). So I thought that I did not need to change udev rules. But
actually EMC2 needed /dev/input/event6 which was at wrong permissions.
The  joypad works really great.

i

On Sat, Aug 14, 2010 at 11:47 PM, Ries van Twisk e...@rvt.dds.nl wrote:
  From they sound of it you got it to work,

 what happened??

 Never mind, I am an idiot

 On Sat, Aug 14, 2010 at 10:11 PM, Igor Chudov ichu...@gmail.com
 wrote:
 I attended a garage sale today, and accidentally bought a Saitek P880
 joypad for $2 (brand new, never used).

 If I plug it in, I can see it in jscalibrator. By all accounts it
 works well. I am a member of group plugdev.

 I tried to follow this web page, which also talks about Saitek P880:

 http://wiki.linuxcnc.org/emcinfo.pl?A_New_Approach_For_Using_Joypads_With_EMC2

 However, EMC2 saw NO signals from this joystick, if I tried to do
 halcmd show all, no buttons or anything would appear in the list.

 I decided to comment out everything and left only one statement:
 loadusr -W hal_input -KRAL Saitek

 Even then nothing was listed (no buttons or other things).

 I have a feeling that I am missing something simple, maybe something
 in xorg.conf or whatever.

 lsmod shows joydev loaded. if I do cat /dev/inupt/js0 and press
 buttons, I get some characters output so I assume that it is working.

 Any ideas?


 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users