[Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Michael Jones
I'm ALMOST finished enabling my Logitech Dual Action gamepad with emc2 2.3.4. I have a couple of things I'd like to do but don't know the best way to start with it. I'm using a pendant hal configuration that is a variation of this one (with some alterations/corrections for my system) For s

Re: [Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Sven Wesley
2010/1/19 Michael Jones > I'm ALMOST finished enabling my Logitech Dual Action gamepad with emc2 > ... > > 2) Hat Jog Function: > > I would like to make the hat button on the controller jog the x and y > axis by a fixed amount (i.e. 0.01" or 0.001" or maybe whatever is > selected in the menu in

[Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread acemi list
Hi all, I have a PCI parallel port card with SUN1888 chipset (Digitus). There are two ports on it. I can't switch it to EPP mode. Port1 is at 0x1018 and Port2 is at 0x1008 I tried to write 0x80 to base_address + 0x402 using the base address 0x1018 and 0x1008 but it doesn't work. I always read 0xf

Re: [Emc-users] Another Machine Comes Back to Life - Thanks for your help!

2010-01-19 Thread John Thornton
John Nice job on the conversion. I really like the EMC logo. You might want to post the link on the wiki and on the forum for everyone to see. John On 18 Jan 2010 at 18:14, John Figie wrote: > All > > I would like to thank all of you for your help answering my > questions over the last 1.5

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread Jeff Epler
What does linux parport_pc say about ports? Presumably the "base" and "base_hi" ports all have to be from the set of I/O ports named in lspci, so the "base_hi" ports must be the 1000 and 1010 addresses if the xxx8 addresses are the "base"s. Jeff --

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread acemi list
On 1/19/10, Jeff Epler wrote: > What does linux parport_pc say about ports? > > Presumably the "base" and "base_hi" ports all have to be from the set of > I/O ports named in lspci, so the "base_hi" ports must be the 1000 and > 1010 addresses if the xxx8 addresses are the "base"s. # insmod /lib/m

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread Jeff Epler
Shouldn't you be writing at base_hi + 2, not at base_hi? Jeff -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference atte

Re: [Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Michael Jones
On Jan 19, 2010, at 1:13 AM, Sven Wesley wrote: > 2010/1/19 Michael Jones > >> I'm ALMOST finished enabling my Logitech Dual Action gamepad with >> emc2 >> ... >> >> 2) Hat Jog Function: >> >> I would like to make the hat button on the controller jog the x and y >> axis by a fixed amount (i.

Re: [Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Frank Tkalcevic
> 2) Hat Jog Function: > > I would like to make the hat button on the controller jog the > x and y axis by a fixed amount (i.e. 0.01" or 0.001" or maybe > whatever is selected in the menu in Axis) each time it is > pressed. I may go as far as using a modifier button, and the > hat together

Re: [Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Andy Pugh
2010/1/19 Michael Jones : > 2)  Hat  Jog Function: > > I would like to make the hat button on the controller jog the x and y > axis by a fixed amount (i.e. 0.01" or 0.001" or maybe whatever is > selected in the menu in Axis) each time it is pressed.  I may go as > far as using a modifier button, a

Re: [Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Michael Jones
On Jan 19, 2010, at 1:15 PM, Andy Pugh wrote: > 2010/1/19 Michael Jones : > >> 2) Hat Jog Function: >> >> I would like to make the hat button on the controller jog the x and y >> axis by a fixed amount (i.e. 0.01" or 0.001" or maybe whatever is >> selected in the menu in Axis) each time it is p

Re: [Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Michael Jones
On Jan 19, 2010, at 12:03 PM, Frank Tkalcevic wrote: > >> 2) Hat Jog Function: >> >> I would like to make the hat button on the controller jog the >> x and y axis by a fixed amount (i.e. 0.01" or 0.001" or maybe >> whatever is selected in the menu in Axis) each time it is >> pressed. I may go

Re: [Emc-users] Problems with HAL programming for gamepad pendant

2010-01-19 Thread Andy Pugh
2010/1/19 Michael Jones : > No idea, but worth looking into.. I'm new to this HAL stuff, but It > might be worth checking out. Start up emc2 and then select machine -> View HAL Config. From there you can see each and every pin of halui (the interface into the Axis GUI) and Input (all the buttons

[Emc-users] (PRINT command in AXIS

2010-01-19 Thread Flying Electron
Hi, I've noticed that if I load a gcode program like this in AXIS G00 X0 Y1 (PRINT, "TEST") M02 it will print TEST when it loads and then print TEST again when it runs. Is there a setting to suppress the first print when it loads? I'm embedding PRINT statements in generated GCode with another