[Emc-users] pyVCP Actual position variable

2009-10-09 Thread Евгений Александрович
Hello guys,

I try to create pyVCP panel, which show X,Y and Z positions
So I created xml file with lines

number
halpinXdisplay/halpin
format+004.4f/format
/number


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] MAXNC Open Loop Mill

2009-10-09 Thread Sven Wesley
2009/10/8 Kirk Wallace kwall...@wallacecompany.com

 On Thu, 2009-10-08 at 10:30 +0200, Sven Wesley wrote:
  Sounds like a very clean setup. Then it would be really easy to make
  an amplifier board (with opto isolation) that just enhance the signal,
  right? No need to by step/dir drivers then.
  My friend bought an old school CNC with steppers, and I think this
  setup would be really nice on his machine.
 
  Regards,
  Sven

 Does the CNC have the original drivers? If so, my setup works fairly
 well and was dirt cheap. If you need to replace the old drivers, I think
 you would be better off with a more modern micro-stepping controller, or
 better yet, servos. The problem here is doing it with a tiny budget.


Yes it has, that's why I thought this would work.

Regards,
Sven
--
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

2009-10-09 Thread Michał Geszkiewicz
Евгений Александрович pisze:
 Hello guys,

 I try to create pyVCP panel, which show X,Y and Z positions
 So I created xml file with lines

 number
 halpinXdisplay/halpin
 format+004.4f/format
 /number
 

 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

--
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] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Andy Pugh
2009/10/9 Alan Condit acon...@ipns.com:

 I have been gone for a couple weeks, so I don't know if this has
 already been
 addressed.

I haven't seen anything.
I have noticed something a bit odd in that regard with 2.3.3 myself,
but I haven't paid enough attention to it to investigate (I have been
looking at other problems with my setup)

Does the max-velocity slider have any effect?

-- 
atp

--
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

2009-10-09 Thread Евгений Александрович

-Original Message-
From: Micha? Geszkiewicz mic...@wp.pl
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
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
 
  number
  halpinXdisplay/halpin
  format+004.4f/format
  /number
  
 
  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


Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Andy Pugh
2009/10/9 Евгений Александрович evgeni_a...@mail.ru:

 I did not check HALUI variables before.
 I have to use halui.axis.n.pos-commanded  and  halui.axis.n.pos-relative

Note that you need
HALUI = halui
in the .ini file or you can't see those pins.

If I can hijack the thread slightly, is it possible to write to #5nnn
parameters with halcmd?
I am contemplating a user-defined G-code that calls a halcmd script to
read back the current relative position into parameters for the G-Code
to use. (I think that writing to the parameter file wouldn't work?)

-- 
atp

--
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

2009-10-09 Thread Michał Geszkiewicz
Евгений Александрович pisze:
 -Original Message-
 From: Micha? Geszkiewicz mic...@wp.pl
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 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

 number
 halpinXdisplay/halpin
 format+004.4f/format
 /number
 

 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?
   
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

 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
   


--
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

2009-10-09 Thread Alex Joni
 If I can hijack the thread slightly, is it possible to write to #5nnn
 parameters with halcmd?
 I am contemplating a user-defined G-code that calls a halcmd script to
 read back the current relative position into parameters for the G-Code
 to use. (I think that writing to the parameter file wouldn't work?)

You can use M66 for that

Regards,
Alex

--
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] HAL setup of Mesa 4i65

2009-10-09 Thread Sebastian Kuzminsky
Peter C. Wallace wrote:
 Another possibility is that theres another PCI9030 chip in the system (does 
 the driver skip these cards?)

The driver looks for boards with the Device ID of the PCI9030 
(10b5:9030) and the Subsystem ID of the 5i20 (10b5:3131) or 4i65 
(10b5:3132).

Any 9030's lacking these Subsystem IDs will be ignored by the driver.


-- 
Sebastian Kuzminsky

--
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] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread robert


 Does the max-velocity slider have any effect?
   
as andy said
i had this problem a while back slider set to 10m/min slider is a 
overall max velocity of the overall combined join velocity  so increase 
it and see what happens

robert

--
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

2009-10-09 Thread Andy Pugh
2009/10/9 Alex Joni alex.j...@robcon.ro:

 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 :-)

-- 
atp

--
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

2009-10-09 Thread Евгений Александрович
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] MAXNC Open Loop Mill

2009-10-09 Thread Kirk Wallace
On Fri, 2009-10-09 at 10:03 +0200, Sven Wesley wrote:
 2009/10/8 Kirk Wallace kwall...@wallacecompany.com
... snip
  Does the CNC have the original drivers? If so, my setup works fairly
  well and was dirt cheap. If you need to replace the old drivers, I think
  you would be better off with a more modern micro-stepping controller, or
  better yet, servos. The problem here is doing it with a tiny budget.
 
 
 Yes it has, that's why I thought this would work.
 
 Regards,
 Sven

It's worth a try. If it's convenient, please post some pictures of the
drives and the rest of the machine.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
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

2009-10-09 Thread Dave Caroline
see here http://linuxcnc.org/docs/html/gcode_main.html#sec:M66:
Dave Caroline

--
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

2009-10-09 Thread Евгений Александрович
 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

2009-10-09 Thread Евгений Александрович
 
  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] Amp Enable Wiring logic.

2009-10-09 Thread Gene Heskett
On Thursday 08 October 2009, cogoman wrote:
LEDs usually have between 1.5 and 2.2 volts at 10mA depending on the color.
Silicon rectifier diodes are the ones that have .6 volts across them at
 10mA.

| That's because of the sink arrangement. When the EMC2 output is High,
| both sides of the opto-coupler LED are high, so there no current will go
| through the LED. Generally you need around .6 Volts across the LED and
| between 10 to 20 milliamps for normal operation. When the EMC output is
| Low, the minus side of the LED is zero volts (sinking to ground), the
| LED + side is around .6 Volts and the + side of the 270 Ohm current
| limit resistor is 5 Volts.

Agreed, that .6 volts is 100% doofy.  Should be, as you state, 1.6 to 2.2 
volts at the + terminal of the opto's led.  Are they hooked up backwards, and 
a protective diode is limiting the drop to that one silicon junction drop?

---
--- 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



-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
https://www.nrahq.org/nrabonus/accept-membership.asp

When things go well, expect something to explode, erode, collapse or
just disappear.

--
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)

2009-10-09 Thread Евгений Александрович
Hello,

I can not use Russian character in tab widget.

tabs
names[tab1,tab2]/names
/tabs

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] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Alan Condit
  EMC2-2.3.3 (robert)
 From: robert rob...@innovative-rc.com
 Date: October 9, 2009 4:42:10 AM PDT
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net 
 
 Subject: Re: [Emc-users] Max velocity suddenly limited to that of  
 slowest axis EMC2-2.3.3
 Reply-To: Enhanced Machine Controller \(EMC\) 
 emc-users@lists.sourceforge.net 
 




 Does the max-velocity slider have any effect?

 as andy said
 i had this problem a while back slider set to 10m/min slider is a  
 overall max velocity of the overall combined join velocity  so  
 increase it and see what happens

 robert

OK, I did a little more checking. In Axis I can set the jog speed  
slider up to 210ipm but the Max_velocity slider won't go above the  
15ipm. Using the jog keys the z-axis will jog at it's max_velocity of  
120ipm and the X-axis will jog at it's max_velocity of 15ipm. But if I  
go into MDI mode and do a G0 the z-axis will not exceed the 15ipm of  
the max_velocity slider.

Same in running a gcode file g0 is limited to 15ipm for either axis.

The Max_Velocity slider should allow me to set the 120ipm but it  
won't. I still don't know if the problem is actually in the Axis  
setup or in EMC2 proper. I do know that it was working in emc2-2.3.1  
and is not working in 2.3.3. I never even tried 2.3.2.

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906

--
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] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Chris Radek
On Fri, Oct 09, 2009 at 08:34:23AM -0700, Alan Condit wrote:

 The Max_Velocity slider should allow me to set the 120ipm but it  
 won't. 

I think you need to set [TRAJ]MAX_LINEAR_VELOCITY to whatever you
want the top of the max velocity slider to be.


--
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] [PATCH] fix non-ascii widget paths

2009-10-09 Thread Jeff Epler
such paths are used by non-english pyvcp files.
---
On Fri, Oct 09, 2009 at 06:44:30PM +0400, Евгений Александрович wrote:
 but if I use Russian characters instead tab1 or tab2 system crushes in 
 Axis UI.
... giving an error similar to the following:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0415' in position 
21: ordinal not in range(128)

The specified string is used both for display, and for the name of the
underlying widget.  It appears that non-ASCII characters work for this
purpose with the following change:

 lib/python/bwidget.py |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/python/bwidget.py b/lib/python/bwidget.py
index 7f98aa7..a884910 100644
--- a/lib/python/bwidget.py
+++ b/lib/python/bwidget.py
@@ -35,17 +35,17 @@ import Tkinter, types
 def returnswidget(f):
 def w(self, *args, **kw):
 r = f(self, *args, **kw)
-return self.nametowidget(str(r))
+return self.nametowidget(unicode(r))
 w.__doc__ = f.__doc__
 return w
 
 def makeswidget(f, t):
 def w(self, *args, **kw):
-r = str(f(self, *args, **kw))
+r = unicode(f(self, *args, **kw))
 try:
 return self.nametowidget(r)
 except KeyError:
-return makewidget(self, t, str(r))
+return makewidget(self, t, r)
 w.__doc__ = f.__doc__
 return w
 
@@ -80,7 +80,7 @@ def nametowidget(self, name):
 Tkinter.Misc.nametowidget = nametowidget
 
 def makewidget(master, klass, path):
-path = str(path)
+path = unicode(path)
 self = types.InstanceType(klass)
 self._name = path[len(master._w)+1:]
 self._w = path
@@ -281,7 +281,7 @@ class ComboBox(Entry):
 return self.tk.call(self._w, bind, *args)
 
 def getlistbox(self):
-r = str(self.tk.call(self._w, getlistbox))
+r = unicode(self.tk.call(self._w, getlistbox))
 try:
 return self.nametowidget(r)
 except KeyError:
-- 
1.6.5.rc1.49.ge970

 
 --
 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


Re: [Emc-users] Encoders

2009-10-09 Thread Jon Elson
Steve Blackmore wrote:
 The 120 Ohm are not pull-ups, they are to balance the twisted pair.
More specifically to absorb the transmision line energy when it reaches 
the end of the
cable.  There is significant energy contained in the 
inductive/capacitive effect as the transient
signal edges flow along a transmission line, and they have to go 
somewhere when the pulse
reaches the end.  Think of it like a taut rope when somebody snaps one 
end of the rope.  A
wave runs down the rope, and will bounce back off the far end if nothing 
there absorbs the
energy.  You don't want electrical waves bouncing off the receiving end 
and heading back up
the cable toward the encoder.

Jon

--
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] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Jeff Epler
On Fri, Oct 09, 2009 at 10:56:05AM -0500, Chris Radek wrote:
 On Fri, Oct 09, 2009 at 08:34:23AM -0700, Alan Condit wrote:
 
  The Max_Velocity slider should allow me to set the 120ipm but it  
  won't. 
 
 I think you need to set [TRAJ]MAX_LINEAR_VELOCITY to whatever you
 want the top of the max velocity slider to be.

Aha, I bet this is it.

Here is the changelog note about it:
  * in AXIS, use [TRAJ]MAX_LINEAR_VELOCITY for the top end of the max velocity
slider, instead of [TRAJ]MAX_VELOCITY which is inappropriate for machines
with some linear and some rotary axes.
this change was first in emc 2.3.2.

Jeff

--
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] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Alan Condit
On Oct 9, 2009, at 10:03 AM, emc-users-requ...@lists.sourceforge.net  
wrote:

 From: Chris Radek ch...@timeguy.com
 Date: October 9, 2009 8:56:05 AM PDT
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net 
 
 Subject: Re: [Emc-users] Max velocity suddenly limited to that of  
 slowest   axis EMC2-2.3.3
 Reply-To: Enhanced Machine Controller \(EMC\) 
 emc-users@lists.sourceforge.net 
 


 On Fri, Oct 09, 2009 at 08:34:23AM -0700, Alan Condit wrote:

 The Max_Velocity slider should allow me to set the 120ipm but it
 won't.

 I think you need to set [TRAJ]MAX_LINEAR_VELOCITY to whatever you
 want the top of the max velocity slider to be.

Thanks Chris, that solved the problem. I had MAX_LINEAR_VELOCITY set  
but I had it in the display section rather than Trajectory.
What really had me puzzled was the fact that it was working in 2.3.1  
and stopped working in 2.3.3. I thought there weren't supposed to be  
any changes within a major release that affected the .ini or .hal  
files, but I suppose that I just missed making this update sometime  
(or made it incorrectly).

Alan

---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906

--
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] HAL setup of Mesa 4i65

2009-10-09 Thread Peter C. Wallace
On Fri, 9 Oct 2009, Sebastian Kuzminsky wrote:

 Date: Fri, 09 Oct 2009 04:46:11 -0600
 From: Sebastian Kuzminsky s...@highlab.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] HAL setup of Mesa 4i65
 
 Peter C. Wallace wrote:
 Another possibility is that theres another PCI9030 chip in the system (does
 the driver skip these cards?)

 The driver looks for boards with the Device ID of the PCI9030
 (10b5:9030) and the Subsystem ID of the 5i20 (10b5:3131) or 4i65
 (10b5:3132).

 Any 9030's lacking these Subsystem IDs will be ignored by the driver.



Which is very puzzling, how can the driver load with these crazy BARs?

I am going to try a 4I65 in my test setup later today (later than I thought -- 
sheep emergency...)


 -- 
 Sebastian Kuzminsky


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
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] parport_pc and the http://linuxcnc.org/experimental/hardy/smp/ kernels

2009-10-09 Thread Haberler Michael
through the improved parport detection by Jeff Epler the parport_pc  
module is back in the game

unfortunately parport_pc is missing from the 
http://linuxcnc.org/experimental/hardy/smp/ 
  kernels, so I'm rolling my own as per 
hhttp://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC_With_Custom_Kernel 
  :-/

just noting for the next build

-Michael



--
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] parport_pc and the http://linuxcnc.org/experimental/hardy/smp/ kernels

2009-10-09 Thread Eric H. Johnson
Michael,

How recently was that updated. I just did rebuilt of smp (2.3.3) earlier
this week and have just not gotten around to posting them.

Regards,
Eric


through the improved parport detection by Jeff Epler the parport_pc module
is back in the game

unfortunately parport_pc is missing from the
http://linuxcnc.org/experimental/hardy/smp/
  kernels, so I'm rolling my own as per
hhttp://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC_With_Custom_Kernel
  :-/

just noting for the next build



--
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] HAL setup of Mesa 4i65

2009-10-09 Thread Sebastian Kuzminsky
Peter C. Wallace wrote:
 On Fri, 9 Oct 2009, Sebastian Kuzminsky wrote:
 The driver looks for boards with the Device ID of the PCI9030
 (10b5:9030) and the Subsystem ID of the 5i20 (10b5:3131) or 4i65
 (10b5:3132).

 Any 9030's lacking these Subsystem IDs will be ignored by the driver.
 
 Which is very puzzling, how can the driver load with these crazy BARs?

In Dave Camarillo's situation, the hm2_pci driver loads but does not 
initialize any boards.  It's happy at load-time because it doesnt make 
any expectations about what boards to expect -- it uses the PCI hotplug 
system to learn about boards, and it's happy waiting for boards to appear.

This may not be the right design decision, but that's how it currently 
works.


 I am going to try a 4I65 in my test setup later today (later than I thought 
 -- 
 sheep emergency...)

I think i'll duck out of any sheep-related activities  ;-)


-- 
Sebastian Kuzminsky

--
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] HAL setup of Mesa 4i65

2009-10-09 Thread Peter C. Wallace
On Fri, 9 Oct 2009, Sebastian Kuzminsky wrote:

 Date: Fri, 09 Oct 2009 14:40:23 -0600
 From: Sebastian Kuzminsky s...@highlab.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] HAL setup of Mesa 4i65
 
 Peter C. Wallace wrote:
 On Fri, 9 Oct 2009, Sebastian Kuzminsky wrote:
 The driver looks for boards with the Device ID of the PCI9030
 (10b5:9030) and the Subsystem ID of the 5i20 (10b5:3131) or 4i65
 (10b5:3132).

 Any 9030's lacking these Subsystem IDs will be ignored by the driver.

 Which is very puzzling, how can the driver load with these crazy BARs?

 In Dave Camarillo's situation, the hm2_pci driver loads but does not
 initialize any boards.  It's happy at load-time because it doesnt make
 any expectations about what boards to expect -- it uses the PCI hotplug
 system to learn about boards, and it's happy waiting for boards to appear.

 This may not be the right design decision, but that's how it currently
 works.


OK that makes a little more sense, So it looks more and more like a disabled 
EEPROM or corrupted EEPROM image.


Dave: In this case the easiset thing would be to return the card or run the 
EEPROM initialization batch file (DOS only) in the 4I65 distribution, 
(4I65EED.BAT) this requires the 9030EEP.EXE utility.




 I am going to try a 4I65 in my test setup later today (later than I thought 
 --
 sheep emergency...)

 I think i'll duck out of any sheep-related activities  ;-)

I wish I could have but a dog dug under our fence last night and attacked one 
of our lawnmower sheep so we were off to the feed and seed for Betadine and 
Pen-G :-(


 -- 
 Sebastian Kuzminsky


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
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] Spindle Control

2009-10-09 Thread Hubert Bahr
Just some thinking out loud!!  Is it possible to put a rotation detector 
on a spindle, use it as an input to EMC and then have EMC drive some 
type of digital to analog converter to change the speed until it agrees 
with the  desired setting?  Based on some past discussions on the list, 
I believe the answer to be yes.  If so, what type of rotation detection 
is needed?  What is the best way to convert the EMC output to be a 
control force for the spindle?
  I am talking about a spindle on the X3 Seig Mill.  I am planning to 
convert the current gear drive to a two range belt drive, and since the 
current controller appears to use a pot to adjust the speed and a switch 
to change direction I believe I could use some type of control voltage 
and a relay to replace the pot and switch.  I would appreciate any 
suggestions as I explore deeper.

Hubert

--
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] Spindle Control

2009-10-09 Thread Gene Heskett
On Friday 09 October 2009, Hubert Bahr wrote:
Just some thinking out loud!!  Is it possible to put a rotation detector
on a spindle, use it as an input to EMC and then have EMC drive some
type of digital to analog converter to change the speed until it agrees
with the  desired setting?  Based on some past discussions on the list,
I believe the answer to be yes.  If so, what type of rotation detection
is needed?  What is the best way to convert the EMC output to be a
control force for the spindle?
  I am talking about a spindle on the X3 Seig Mill.  I am planning to
convert the current gear drive to a two range belt drive, and since the
current controller appears to use a pot to adjust the speed and a switch
to change direction I believe I could use some type of control voltage
and a relay to replace the pot and switch.  I would appreciate any
suggestions as I explore deeper.

Hubert

Hubert, I suspect, but don't know for sure, but PMDX makes a card called the 
PMDX-106, which with some booster relays, took the VSD card out of my 
micromill, put it in a box with the PMDX-106 and put it under emc control 
quite nicely.

Now, the rest of the problem is probably a hal verse or 2 once the actual 
speed of the spindle is known to emc.  There are folks here who can probably 
help with that part.

As a side comment, the VSD from my micromill has very high gain, and without 
any feedback, I can hog the cut and blow the fuse without ever detecting a 
sag in the speed I hear.  That got a bit tiresome and expensive for fuses, so 
my spindle motor now has a 150% jury rigged ammeter to show me how hard the 
motor is working.

That makes me the relay element between keeping the motor working fairly  
hard, and the feed override slider to adjust it.  It seems to me that could 
be linked, taking me out of the picture long enough to go make a fresh cup of 
tea.

Based on that, you may want to see about using the feedback error to also 
modify the feed override  slow the cut down to where the motor can handle 
it.  Using a many turn toroid inductor, running one of the motor wires 
through it, rectify the output and a wee bit of smoothing filter, one could 
automate the feed override to always run as fast as the motor has the power 
to cut.  This should approach the ideal cutter life too.

Yeah, I dream a lot too, but this seems do-able to me.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
https://www.nrahq.org/nrabonus/accept-membership.asp

In matters of principle, stand like a rock; in matters of taste, swim with 
the current.
-- Thomas Jefferson

--
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] Spindle Control

2009-10-09 Thread Jon Elson
Hubert Bahr wrote:
   I am talking about a spindle on the X3 Seig Mill.  I am planning to 
 convert the current gear drive to a two range belt drive, and since the 
 current controller appears to use a pot to adjust the speed and a switch 
 to change direction I believe I could use some type of control voltage 
 and a relay to replace the pot and switch.
Warning!  The spindle speed controller on these machines is NOT isolated 
from the
line.  So, you need to provide some sort of isolation for and speed 
controller interface
to the computer.  PWM and optocouplers sounds like a good idea.

Jon

--
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