Re: [Emc-users] Automating emc2

2009-03-17 Thread Michael Dubno
I currently have Keling drivers and I have the enable pins hooked up but
I don't know how to get EMC to manage the power to the steppers. How did
you do this? And how can I get run to turn 'em on and stop to turn 'em
off?
(All this with the known caveat that powering down the motors loses
accuracy).
Thanks - Mike

-Original Message-
From: BRIAN GLACKIN [mailto:glackin.br...@gmail.com] 
Sent: Monday, March 16, 2009 8:22 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Automating emc2

If your driver chip has an idle current circuit, you can let EMC manage
power to the steppers.  I currently use this function and this past
weekend,
the machine was up for 8 hours with no activity.  Touched the steppers
and
they were stone cold.  Hit the run button and they were humming along.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based
development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Automating emc2

2009-03-16 Thread BRIAN GLACKIN
If your driver chip has an idle current circuit, you can let EMC manage
power to the steppers.  I currently use this function and this past weekend,
the machine was up for 8 hours with no activity.  Touched the steppers and
they were stone cold.  Hit the run button and they were humming along.
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Automating emc2

2009-03-16 Thread Michael Dubno
I suppose my initial idea of using emcrsh as part of a shell script that
starts emc is coming out as the preferred solution for homing the
machine automatically upon startup. This is not too difficult to do.

I hear the suggestion that turning off the stepper power is a mistake
due to positioning errors. Since my machine moves a ball bearing through
sand, micro accuracy isn't that important (it doesn't mean the machine
can't do it!)  The table will sit for long periods of time doing nothing
and then people will start interacting with it. I have to weigh constant
current to the steppers vs. turning off the power and occasionally
re-homing. The need for the request will be figured out over time.

I can also use a script that occasionally polls emc using emcrsh to
determine when a run has finished and then invoke some action.

Thanks again for everything - Mike

-Original Message-
From: BRIAN GLACKIN [mailto:glackin.br...@gmail.com] 
Sent: Monday, March 16, 2009 12:49 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Automating emc2

I am confused.  If home switches are installed on a machine, can't the
home
all sequence be initiated by an add in or minor program adjustment?

I recognize thats not the current way EMC is set up, but I would think
that
could be done as an optional switch in the software.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based
development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Automating emc2

2009-03-16 Thread BRIAN GLACKIN
I am confused.  If home switches are installed on a machine, can't the home
all sequence be initiated by an add in or minor program adjustment?

I recognize thats not the current way EMC is set up, but I would think that
could be done as an optional switch in the software.
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Automating emc2

2009-03-16 Thread saadp


>Dave Caroline wrote:
>I would advise against full power down of steppers because you cannot
>then guarantee where you start from unless you re home, on release of
>power they will move to a comfortable magnetic position, they are not
>going to move back to the exact same position on reapplication of
>power, micro stepping will be worse


I couldn't agree more with you, Dave. This is the situation I am in right now. I
have to re-home everytime I open the enclosure or push the e-stop. This is why I
wanted to automate the homing sequence upon starting a program.

What do you propose to overcome what you describe?

Sincerely,

Patrice
Portland, OR

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Automating emc2

2009-03-16 Thread Dave Caroline
I would advise against full power down of steppers because you cannot
then guarantee where you start from unless you re home, on release of
power they will move to a comfortable magnetic position, they are not
going to move back to the exact same position on reapplication of
power, micro stepping will be worse

Dave Caroline

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Automating emc2

2009-03-14 Thread Michael Dubno
I'd like to automatically turn on and off power to the stepper drivers
when running my g-code.  I already have an enable line coming from my
parallel port that goes to the stepper drivers. Going in and out of
estop enables/disables the drivers.  I would like some way to either
estop or turn on a different pin on the port when my code finishes
running. I generate all of the g-code so it is easy to insert
instructions.  How can I do this?

 

I would also like the machine to home whenever emc2 is initially
started. I can use emcrsh (which rocks) if necessary (and don't need
instructions now!)   If there is a smarter/better/preferred way of doing
this I would like to know.

 

Thanks - Mike

 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users