Re: [Emc-users] 2.2.7, no touch-off available after M00???

2008-12-02 Thread Rob Jansen
Hi,

I'm not sure this is related to M00, I have a similar problem on my 2.2.2
system.
At a sudden moment touch off won't work anymore.
As soon as I enter a value, the OK button is grayed out.

Rob

On Tue, Dec 2, 2008 at 12:21 PM, rtwas [EMAIL PROTECTED] wrote:

 Hello,

 I upgraded to 2.2.7 and noticed that I am no longer able to execute the
 touch-off menu or
 even slew the axis manually after an M00 is encountered in the g-code
 program.

 Is this intentional?

 Basically I wrote my code covering several files and labeled them
 stp0. stp1. etc.
 With stp0. use to pre-position the table for touch off. Is my modus
 operandi flawed?
 Are we not supposed to manually execute g-codes in the middle of an
 executing program?

 Thanks.

 Robert W.

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] standalone installation packages

2008-12-02 Thread rtwas
Hello,

Jon Elson wrote:
  John Thornton wrote:
  I assume you want to install EMC on a computer without an internet
  connection...
 
  You will need an internet connection somewhere to download the
  software after that you don't.
 
 
  Yes, if he has an internet connection to write the email, then it may
  well be easiest to drag the computer used for CNC control to where
  his internet is av
  hook it up, install the update and then drag back to the shop.ailable,


This is unsatisfactory. Requiring a machine to be connected to the 
internet to be usable is a
really bad constraint IMO.

In my case I *routinely* must pack in *all* my files for use in *remote* 
regions.

With packaging systems (such as rpm's) one need only download the 
appropriate rpms and
do rpm -i.



 On the other hand,
 network cable is cheap, and even the hardware to ship network
 connections modest distances (like to an outbuilding) is not that
 expensive. I wouldn't want to be without the network to ship G-code
files around.


Maybe you can help me run some cat5 10 miles to the school where I 
mentor, or 200miles to the range where I work.

The other issue is having NAT/IP masquerading (which I don't), so 
getting a machine on the internet
means unplugging the main machine from the internet, plugging in the cnc 
machine, (assuming you can relocate it, and
it even has networking capability) restart the cable-modem (so it will 
associate with the mac of the new machine), then hope dhcp works.
And of course if I haven't configured a firewall my cnc machine is wide 
open for the duration.
I can certainly put on my network admin hat when needed, but it's very 
difficult to switch gears like that (for me),
especially since I do it so seldom I have to hunt down procedures for 
all the required operations.

With RPM type packages this simply is a non-issue.

Robert W.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] standalone installation packages

2008-12-02 Thread rtwas
Thanks for responding Jeff,


Jeff Epler wrote:
  emc2 does use the standard package management system on ubuntu, dpkg.
  Within a release series, (e.g., during 2.2.x) you can upgrade with a
  single .deb.

  Going from 2.1.x to 2.2.x is more hairy, because we often require new
  external packages.

  To upgrade from 2.2.x to 2.2.7, download the relevant file linked
  from
 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?InstallingUpdates#On_Ubuntu_without_an_internet_connection
  such as
 
http://linuxcnc.org/emc2/dists/dapper/emc2.2/binary-i386/emc2_2.2.7_i386.deb
  for dapper or
 
http://linuxcnc.org/hardy/dists/hardy/emc2.2/binary-i386/emc2_2.2.7_i386.deb
  for hardy/i386.

  Install with 'sudo dpkg -i'.

Based on what I learned and what I was told (and reading the offline 
procedure) you need apt-get to figure out
which dependencies you need. The rather involved procedure outlined on 
the wiki explains it. If you say
I only need the *one* package and dpkg -i then life is good. Based on 
what I'm learning it would seem
to not be that easy.

(ie., RTAI depencies for 2.2.7)

BTW, I finally managed to get it updated with a friends help who showed 
me how to setup temporary NAT/IP Masquerading.



  Feel free to improve the the wiki on this subject so that others will
  have better access to this information.

When I finally get a clue, I'll be sure to do that. ;)

Robert W.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.2.7, no touch-off available after M00???

2008-12-02 Thread Jeff Epler
On Tue, Dec 02, 2008 at 04:21:38AM -0700, rtwas wrote:
 Hello,
 
 I upgraded to 2.2.7 and noticed that I am no longer able to execute the 
 touch-off menu or
 even slew the axis manually after an M00 is encountered in the g-code 
 program.
 
 Is this intentional?

As far as I know, emc2 has always behaved this way---manual actions like
jogging and mdi actions (which the axis touch off button uses behind
the scenes) are not available in auto mode, and the machine stays in
auto mode during an m0 pause.

What version do you recall behaving otherwise?

Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.2.7, no touch-off available after M00???

2008-12-02 Thread Jeff Epler
On Tue, Dec 02, 2008 at 01:07:43PM +0100, Rob Jansen wrote:
 Hi,
 
 I'm not sure this is related to M00

No, it's probably not.

 I have a similar problem on my 2.2.2 system.  At a sudden moment touch
 off won't work anymore.  As soon as I enter a value, the OK button is
 grayed out.

A bug in touch off along these lines was fixed in emc 2.2.3.  This bug
affects axis when the loaded part program has percent signs at the start
and end.  When the bug strikes, the touch off window will display
Unable to open file when a valid value has been entered, and the OK
button will be greyed out.

The list of bugs fixed after 2.2.3 is now several screens long
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Released
and anyone who is affected by bugs should update to the latest released
version before reporting them---the bug may already be fixed, as I
think it may be in this case.

Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.2.7, no touch-off available after M00???

2008-12-02 Thread rtwas
Hello,

Jeff Epler wrote:
  On Tue, Dec 02, 2008 at 04:21:38AM -0700, rtwas wrote:
  Hello,
 
  I upgraded to 2.2.7 and noticed that I am no longer able to execute
  the touch-off menu or even slew the axis manually after an M00 is
  encountered in the g-code program.
 
  Is this intentional?

  As far as I know, emc2 has always behaved this way---manual actions
  like jogging and mdi actions (which the axis touch off button uses
  behind the scenes) are not available in auto mode, and the machine
  stays in auto mode during an m0 pause.

  What version do you recall behaving otherwise?


The ubuntu 6.06, emc-2.2.2 live cd behaved this way. Being a newb I 
didn't know any
better.

Robert W.






-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] configuracion hal para encoder

2008-12-02 Thread EDU
Hola

Soy nuevo en linuxcnc, quisiera saber si alguien me puede ayudar a
conectar 4 encoders  ya que no se como setear el archivo HAL.

DESDE YA MUCHAS GRACIAS

 

 

Eduardo Gonzalez  From Argentina 

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] configuracion hal para encoder

2008-12-02 Thread Stuart Stevenson
practicamos espanol !!  :)

On Tue, Dec 2, 2008 at 9:36 AM, EDU [EMAIL PROTECTED] wrote:
 Hola

Soy nuevo en linuxcnc, quisiera saber si alguien me puede ayudar a
 conectar 4 encoders  ya que no se como setear el archivo HAL.

cual tipo de encoder?

cual conexion en la computdora?

 DESDE YA MUCHAS GRACIAS





 Eduardo Gonzalez  From Argentina



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] configuracion hal para encoder

2008-12-02 Thread Peter Georgi
Ola Eduardo,

A qui my espanol termina. What kind of machine do you want to drive with
EMC? Actualy I'm woking on a four axes foam cutter for cutting model wing
panels. Is this what you intend to do?

Regards Peter Georgi

-Original Message-
From: EDU [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 2. Dezember 2008 16:37
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] configuracion hal para encoder


Hola

Soy nuevo en linuxcnc, quisiera saber si alguien me puede ayudar a
conectar 4 encoders  ya que no se como setear el archivo HAL.

DESDE YA MUCHAS GRACIAS





Eduardo Gonzalez  From Argentina



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] I need to connect my Voltmeter to actually read....

2008-12-02 Thread Olusegun A.
Thank you very much for your replies. I feel very happy each time I get replies 
from the users list. I also want to use this opportunity to thank everybody 
here because of the realities that I have sen in EMC2. It is a wonderful game. 
I tried my first set up and it worked like magic.

I will probably get the 1000Volts scaled down to about 3V because my system 
gives out 3.3V. Thank you for the components. I will feedback my results to the 
users list. Actually I'm not new to voltages, I'm a power man, its just that I 
needed a thorough explanation sometimes like the responses that came did. Thank 
you.

Olusegun Abode 
+234 8037045535 
Email:[EMAIL PROTECTED]

--- On Sat, 11/29/08, John Kasunich [EMAIL PROTECTED] wrote:
From: John Kasunich [EMAIL PROTECTED]
Subject: Re: [Emc-users] I need to connect my Voltmeter to actually read
To: [EMAIL PROTECTED], Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net
Date: Saturday, November 29, 2008, 12:38 PM

Olusegun A. wrote:
 I'm actually trying to read an analogue signal (High Voltage -
 say 1000VAC) being applied to my heavy motor. Do I need an
 ADC converter or what is the procedure?

How heavy is your heavy motor?

You need to scale the 1000V down to a range that is safe for typical
integrated circuits, probably either +/-10V, or 0-5V.  Then you feed
that scaled signal to an analog-to-digital converter.  Then the digital
output of the converter needs to get into the computer (the parallel
port is one possible way to do that).  Next you need a driver that makes
the digital data available on a HAL pin.  And finally, you connect the
HAL pin to a pin on your PYVCP to make the meter work.

To be blunt - if you have to ask this kind of question, you are not
qualified to work on 1000V circuits.

EMC supports a number of boards with digital-to-analog converters, since
all analog servo systems need that.  There are fewer analog-to-digital
converters supported, but the Servo-to-Go and Vital Systems boards do
provide analog inputs.  Both of those boards are rather expensive.  (see
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware)

I believe both of those boards expect +/-10V analog inputs, so you will
have to do the scaling yourself.  Again I remind you that this kind of
voltage will KILL you or explode your circuits if you overlook ANY
details.  Resistors don't just have ohms values, they also have maximum
power AND voltage ratings that must not be exceeded.  Circuit board
clearances for power circuits are much more than you'd expect - they
need to avoid arcing over under transient voltages that are much higher
than the nominal.  A low energy high voltage transient can ionize the
air and result in a high energy arcing fault.

This is your computer on 480V: http://www.youtube.com/watch?v=-iClXrd50Z8

Regards,

John Kasunich



  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Emory Smith
Why do you need them on different pins?
You could wire two NO switches in parallel or two NC switches in series.
Each set would be handled by a single pin.

Emory

On Tue, Dec 2, 2008 at 15:10, Len Shelton [EMAIL PROTECTED] wrote:
 How do I configure hal to handle two e-stop switches on two different pins?



 Thanks,

Len

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
Those that forget the pasta are doomed to reheat it.
Emory

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Stuart Stevenson
for the plus and minus limits?

On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton [EMAIL PROTECTED] wrote:
 How do I configure hal to handle two e-stop switches on two different pins?



 Thanks,

Len

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Stephen Wille Padnos
Len Shelton wrote:

How do I configure hal to handle two e-stop switches on two different pins?
  

If you're looking for two inputs to stop EMC2, you can easily do that 
with an or component (or and if you're using negative logic).

A better way to do it is to use an input as active low, and wire the two 
switches in series.  This will allow you to physically disable the 
machine from one connection as well.  This is the most common practice, 
to wire all things that can cause an e-stop in series (the e-stop 
chain), and feed that to the machine disabling hardware (which then 
optionally informs EMC2 that the machine is off and it can stop now :) ).

- Steve


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Jack Coats
e-stop would be manual switches. Not limit switches.

Stuart Stevenson wrote:
 for the plus and minus limits?

 On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton [EMAIL PROTECTED] wrote:
   
 How do I configure hal to handle two e-stop switches on two different pins?



 Thanks,

 
 Len
   
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Len Shelton
Sorry - let me rephrase the question...

Forget about the fact that it's an e-stop. I want to be able to use switches
on a pendent to perform the same functions as some of the axis screen
buttons. 

I just happened to start with the e-stop signal, but I will be using others.
I tried to point it to iocontrol.0.emc-enable-in and it complained that that
was already assigned.

Len



-Original Message-
From: Jack Coats [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 02, 2008 5:02 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] two e-stop switches

e-stop would be manual switches. Not limit switches.

Stuart Stevenson wrote:
 for the plus and minus limits?

 On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton [EMAIL PROTECTED] wrote:
   
 How do I configure hal to handle two e-stop switches on two different
pins?



 Thanks,

 
 Len
   
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
 Build the coolest Linux based applications with Moblin SDK  win great
prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
 Build the coolest Linux based applications with Moblin SDK  win great
prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Emory Smith
Thanks for bringing this up.
EMC has provisions for soft limits set in the ini file, hard limit
switches (some of mine also
serve as Home switches) and E(mergency)-Stop switches.

My E-stop switches (big Allen-Bradley N.O. buttons with guards) are
tied to the estop input
pin and a relay to kill power to the motors. They are for emergency only.

I'm no EMC or CNC guru but this works for me.

Emory

On Tue, Dec 2, 2008 at 17:01, Jack Coats [EMAIL PROTECTED] wrote:
 e-stop would be manual switches. Not limit switches.

 Stuart Stevenson wrote:
 for the plus and minus limits?

 On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton [EMAIL PROTECTED] wrote:

 How do I configure hal to handle two e-stop switches on two different pins?



 Thanks,


 Len

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great 
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
Those that forget the pasta are doomed to reheat it.
Emory

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Emory Smith
Oops, sorry. Your last email came in as I was responding.
Emory

On Tue, Dec 2, 2008 at 17:41, Emory Smith [EMAIL PROTECTED] wrote:
 Thanks for bringing this up.
 EMC has provisions for soft limits set in the ini file, hard limit
 switches (some of mine also
 serve as Home switches) and E(mergency)-Stop switches.

 My E-stop switches (big Allen-Bradley N.O. buttons with guards) are
 tied to the estop input
 pin and a relay to kill power to the motors. They are for emergency only.

 I'm no EMC or CNC guru but this works for me.

 Emory

 On Tue, Dec 2, 2008 at 17:01, Jack Coats [EMAIL PROTECTED] wrote:
 e-stop would be manual switches. Not limit switches.

 Stuart Stevenson wrote:
 for the plus and minus limits?

 On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton [EMAIL PROTECTED] wrote:

 How do I configure hal to handle two e-stop switches on two different pins?



 Thanks,


 Len

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's 
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great 
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great 
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 --
 Those that forget the pasta are doomed to reheat it.
 Emory




-- 
Those that forget the pasta are doomed to reheat it.
Emory

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Leslie Newell
Hi Len,


Never rely on a computer for EStop or limits. Your EStop and limit 
switches should all be part of a chain of switches that directly kill 
the supply. The computer should obviously be notified that an EStop has 
occurred but it should not be able to prevent an EStop. In the case of 
limits you need some way of overriding them, preferably by a pushbutton 
switch rather than under software control.

This is a basic safety requirement and should not be ignored. Computers 
and software are simply not reliable enough for safety critical 
functions like this. If something goes wrong with the computer or EMC 
crashes and causes a runaway you want to be able to stop it.

Les


Len Shelton wrote:
 How do I configure hal to handle two e-stop switches on two different pins?

  

 Thanks,

   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Len Shelton
 Never rely on a computer for EStop or limits. 

Yeah - I get that. But these machines are tiny little desktop routers. We
don't even use limits, because they will quietly crash and stall the motors
without damaging anything.

I am not a newbie, I just don't know how to join two pins to a single signal
in hal. ;)

Lets say my external button needs to be connected to the axis interface
pause button, then. 

Thanks,
Len


 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread John Thornton
The standard way is to wire the switches in series using the n/c contact. So I 
assume you 
have some valid reason for wanting to do it with two inputs... like your 
machine is so huge 
you need to know which switch is in the stop condition. 

What you need is to or the inputs using the or2 component if you use the N/O 
contacts.

First you have to load an or2 in your hal file with:

loadrt or2

Now when you look in your Show HAL Configuration screen under Pins you will see 
an or2 
has been loaded.

You will then see that your or2 has two inputs and one output.

First you connect the or2 out to the line where the single e-stop was 
connected (if you used 
stepconf wizard) it will be:

net estop-ext = parport.0.pin-10-in
change to 
net estop-ext = or2.0.out

You need to connect the two inputs to your physical inputs with net. Lets say 
you used pin 
10 and 11 of the parallel port to bring your signals in... then connect the 
pins to the or2 in's 
like so:

net estop1 or2.0.in0 == parport.0.pin-10-in
net estop2 or2.0.in0 == parport.0.pin-11-in

This has not been tested but AFAIK it is correct...

The other option which would be better is to use is the  and2 component and the 
N/C 
contacts. It will be similar to the above... this should get you started and 
now I have to write 
an example for the manual...

John



On 2 Dec 2008 at 17:01, Jack Coats wrote:

 e-stop would be manual switches. Not limit switches.
 
 Stuart Stevenson wrote:
  for the plus and minus limits?
 
  On Tue, Dec 2, 2008 at 3:10 PM, Len Shelton [EMAIL PROTECTED]
 wrote:

  How do I configure hal to handle two e-stop switches on two
 different pins?
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] loadrt abs component not working

2008-12-02 Thread Tom
I am using the Mesa 5i20  7i33 DAC board combination to retrofit a Kasuga mill.
I am controlling a VFD that takes the standard 0-10V speed reference plus start
and reverse.
I am currently working my way thru the problem of outputting a speed command
/voltage signal that does not switch to a negative integer/value when I hit M4.
I am trying to use the abs component to strip the negative value from the
floating point speed command integer coming out of motion.spindle-speed-out. 

Below are the corresponding statements from my m5i20_io.hal file:   

# Set up spindle speed control
loadrt abs count=1
net spindle-rpm-cmd motion.spindle-speed-out
linkps abs.0.in = spindle-rpm-cmd
newsig abs-spindle float
linkps abs.0.out = abs-spindle 
linksp abs-spindle = m5i20.0.dac-03-value
net SpindleOn motion.spindle-on
linksp SpindleOn = m5i20.0.dac-03-enable
setp m5i20.0.dac-03-gain [SPINDLE]DAC_SCALE #from 5i20ini file#
setp m5i20.0.dac-03-offset 80


Looking at the Halmeter pins/signals, the abs component shows up with 3 pins but
integer values that appear on the abs.0.in pin never come out on the abs.0.out
pin. Zip, nada, no output. Is is as if the abs component needs a parameter or
argument that I am not aware of to make it function. Is there something I am
missing here?

Thanks for your help.
Tom


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread Len Shelton
Thanks John and others. Very helpful.

Len



-Original Message-
From: John Thornton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 02, 2008 6:20 PM
To: Enhanced Machine Controller EEMC
Subject: Re: [Emc-users] two e-stop switches

there are lots of good examples on the wiki site this is one

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant

Bringing up the word e stop always gets the ESTOP Police :) to respond.

in this case you need an or2 like in the other example I sent...

John

On 2 Dec 2008 at 17:23, Len Shelton wrote:

 Sorry - let me rephrase the question...
 
 Forget about the fact that it's an e-stop. I want to be able to use
 switches
 on a pendent to perform the same functions as some of the axis
 screen
 buttons. 
 
 I just happened to start with the e-stop signal, but I will be using
 others.
 I tried to point it to iocontrol.0.emc-enable-in and it complained
 that that
 was already assigned.
 
 Len
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] spindle speed 0-10V reference output, can't get the abs component to work...?

2008-12-02 Thread Tom
I am using the Mesa 5i20  7i33 DAC board combination to retrofit a Kasuga mill.
I am controlling the spindle thru a VFD that takes the standard 0-10V speed
reference plus start and reverse.
I am currently working on the problem of outputting a speed command /voltage
signal that does not switch to a negative integer/value when I hit m4. The
command: m3s3000, for example works fine without the abs component loaded, but
M4 will turn the integer output from motion.spindle-speed-out to a negative
value, which my vfd won't respond to. 
I am trying to use the abs component to strip the negative value from the
floating point speed command integer coming out of motion.spindle-speed-out. 

Below are the corresponding statements from my m5i20_io.hal file:   

# Set up spindle speed control
loadrt abs count=1
net spindle-rpm-cmd motion.spindle-speed-out
linkps abs.0.in = spindle-rpm-cmd
newsig abs-spindle float
linkps abs.0.out = abs-spindle 
linksp abs-spindle = m5i20.0.dac-03-value
net SpindleOn motion.spindle-on
linksp SpindleOn = m5i20.0.dac-03-enable
setp m5i20.0.dac-03-gain [SPINDLE]DAC_SCALE #from 5i20ini file#
setp m5i20.0.dac-03-offset 80


Looking at the Halmeter pins/signals, the abs component shows up with 3 pins but
integer values that appear on the abs.0.in pin never come out on the abs.0.out
pin. Zip, nada, no output from abs. Is there a parameter or argument that I am
not aware of to make it function properly? Is there something I am missing here?

Thanks everyone for considering this.
Tom



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Surface Finsishing

2008-12-02 Thread [EMAIL PROTECTED]
What do you guys use as the quickest and best cost effective and
time-effective way to finish flat surfaces before the parts are Anodized?
The parts are 8x6x3 Al boxes made from square tube with a few slots
and holes CNC'd in so the surfaces are still the raw surfaces.
I can CNC the boxes with a flat-face-mill , but wonder if there isnt
something else you know of that is maybe a bit faster as I need to clamp
and turn each side for the mill if I want to do it that way.


 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] two e-stop switches

2008-12-02 Thread acondit
John Thornton [EMAIL PROTECTED] writes:

 
 First you have to load an or2 in your hal file with:
 
   loadrt or2
 
 You need to connect the two inputs to your physical inputs with net. Lets say
you used pin 
 10 and 11 of the parallel port to bring your signals in... then connect the
pins to the or2 in's 
 like so:
 
   net estop1 or2.0.in0 == parport.0.pin-10-in
   net estop2 or2.0.in0 == parport.0.pin-11-in
 
 This has not been tested but AFAIK it is correct...
 


Shouldn't the or-connection be like this:
net estop1 or2.0.in0 == parport.0.pin-10-in
net estop2 or2.0.in1 == parport.0.pin-11-in

Alan


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tool table.

2008-12-02 Thread Stephen Wille Padnos
Dave Engvall wrote:

Hi all,

IIUC there is no way to dynamically replace a whole tool table.
IOW I must shut down emc, edit the .ini to point to the new tool
table and then start emc again.
  

I'm pretty sure you can reload the tool table.  If this is so, then you 
can replace the contents even if you can't change the name of the table 
that gets loaded.

- Steve


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tool table.

2008-12-02 Thread Jon Elson
Dave Engvall wrote:
 Hi all,

 IIUC there is no way to dynamically replace a whole tool table.
 IOW I must shut down emc, edit the .ini to point to the new tool
 table and then start emc again.
   
No, you pull the tool table into your favorite editor, and then click 
the meny entry to load tool table
(It might have been abbreviated to just load table.)

Jon

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tool table.

2008-12-02 Thread Dave Engvall
We'll give a try.
Tnx
Dave
On Dec 2, 2008, at 9:59 PM, Jon Elson wrote:

 Dave Engvall wrote:
 Hi all,

 IIUC there is no way to dynamically replace a whole tool table.
 IOW I must shut down emc, edit the .ini to point to the new tool
 table and then start emc again.

 No, you pull the tool table into your favorite editor, and then click
 the meny entry to load tool table
 (It might have been abbreviated to just load table.)

 Jon

 -- 
 ---
 This SF.Net email is sponsored by the Moblin Your Move Developer's  
 challenge
 Build the coolest Linux based applications with Moblin SDK  win  
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in  
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] loadrt abs component not working

2008-12-02 Thread Tom
Chris  Stephen,

Thank you guys, that did it.

Although I read the Hal manual and did the tutorials, I am still grappling with 
the notion of threads. I appreciate your help!

Tom


--- On Tue, 12/2/08, Chris Radek [EMAIL PROTECTED] wrote:
From: Chris Radek [EMAIL PROTECTED]
Subject: Re: [Emc-users] loadrt abs component not working
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Date: Tuesday, December 2, 2008, 6:58 PM

On Wed, Dec 03, 2008 at 01:48:34AM +, Tom wrote:
 
 Looking at the Halmeter pins/signals, the abs component shows up with 3
pins but
 integer values that appear on the abs.0.in pin never come out on the
abs.0.out
 pin. Zip, nada, no output. Is is as if the abs component needs a parameter
or
 argument that I am not aware of to make it function. Is there something I
am
 missing here?

You need to add the abs component to a thread for it to run.

something like addf abs.0 servo-thread.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users