[Emc-users] Parallel port pins

2011-01-29 Thread Farzin Kamangar
Hello EMC users,
 I would like to find out which Parallel port pins are on and which pins
are off between the computer power on and the time EMC starts. This is
essential for me because when I turn the computer on my spindle starts
turning and keeps on turning utill EMC starts and its logo appears on the
screen (when it stops turning). Some of my axis drives get enabled during
this time also. How can I prevent these events to happen between turning on
the computer time and when EMC starts? Thanks
Farzin
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread Steve Blackmore
On Sat, 29 Jan 2011 12:54:09 +0330, you wrote:

>Hello EMC users,
> I would like to find out which Parallel port pins are on and which pins
>are off between the computer power on and the time EMC starts. This is
>essential for me because when I turn the computer on my spindle starts
>turning and keeps on turning utill EMC starts and its logo appears on the
>screen (when it stops turning). Some of my axis drives get enabled during
>this time also. How can I prevent these events to happen between turning on
>the computer time and when EMC starts? Thanks

Start PC, then EMC before powering machine?

Sequence should be

PC on 
Machine on

When finished

Machine off
PC off

Steve Blackmore
--

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread andy pugh
On 29 January 2011 09:24, Farzin Kamangar  wrote:

>     I would like to find out which Parallel port pins are on and which pins
> are off between the computer power on and the time EMC starts. This is
> essential for me because when I turn the computer on my spindle starts
> turning and keeps on turning utill EMC starts

Steve is right, the values on the p-port pins are undefined while the
computer is booting so you should bring up the PC first.

You can use a charge-pump enable circuit. This would only turn on
main-relay power when there is an oscillating square-wave on a pin,
generated by EMC2.

However, it is likely that your machine will go through the same
sequence every time, so you can _probably_ find some safer pins to use
in your particular installation.

You used to be able to get indicator plugs (a bit like this, but this
is for a serial port
http://www.techzonics.com/db25-status-indicator.jpg )
Now it is probably simpler and cheaper to put an LED with 1k series
resistor between each pin and an earth pin, go through the boot
sequence, note down the behaviour and repeat for the next pin.
You will need the LED to be the correct way round. I can never
remember which the correct way round is.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread Farzin Kamangar
Hi Steve,
   During the period between PC on and machine on, some of the parallel port
pins are on which make some outputs on. How do I know which pins are on
during that period and which pins are off. This is all before the time EMC
starts. Thanks
Farzin

On Sat, Jan 29, 2011 at 1:03 PM, Steve Blackmore  wrote:

>  On Sat, 29 Jan 2011 12:54:09 +0330, you wrote:
>
> >Hello EMC users,
> > I would like to find out which Parallel port pins are on and which
> pins
> >are off between the computer power on and the time EMC starts. This is
> >essential for me because when I turn the computer on my spindle starts
> >turning and keeps on turning utill EMC starts and its logo appears on the
> >screen (when it stops turning). Some of my axis drives get enabled during
> >this time also. How can I prevent these events to happen between turning
> on
> >the computer time and when EMC starts? Thanks
>
> Start PC, then EMC before powering machine?
>
> Sequence should be
>
> PC on
> Machine on
>
> When finished
>
> Machine off
> PC off
>
> Steve Blackmore
> --
>
>
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread John Thornton
On my plasma torch I have the same situation as parallel port pins 
states are unknown as the PC boots up I start the PC first then energize 
the plasma torch after. Simple but works.

John

Farzin Kamangar wrote:
> Hello EMC users,
>   I would like to find out which Parallel port pins are on and which pins
> are off between the computer power on and the time EMC starts. This is
> essential for me because when I turn the computer on my spindle starts
> turning and keeps on turning utill EMC starts and its logo appears on the
> screen (when it stops turning). Some of my axis drives get enabled during
> this time also. How can I prevent these events to happen between turning on
> the computer time and when EMC starts? Thanks
> Farzin
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread Peter Blodow
I made myself an indicator plug from an old parallel port dongle. Take a 
piece of printed circuit board, a 1 k resistor and a LED for each pin 
you want to check. Some dongles contain a circuit board ready made. This 
is very useful not only at boot up time, but also to check what EMC2 
does, sometimes.

The longer pin of an LED is the positive one, easy to memorize since a 
plus sign takes more ink to draw than a minus:-)) Don't bother with 
cathodes and anodes.

Peter
> You used to be able to get indicator plugs (a bit like this, but this
> is for a serial port
> http://www.techzonics.com/db25-status-indicator.jpg )
> Now it is probably simpler and cheaper to put an LED with 1k series
> resistor between each pin and an earth pin, go through the boot
> sequence, note down the behaviour and repeat for the next pin.
> You will need the LED to be the correct way round. I can never
> remember which the correct way round is.
>
>   


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread gene heskett
On Saturday, January 29, 2011 08:55:28 am Farzin Kamangar did opine:

> Hello EMC users,
>  I would like to find out which Parallel port pins are on and which
> pins are off between the computer power on and the time EMC starts.
> This is essential for me because when I turn the computer on my spindle
> starts turning and keeps on turning utill EMC starts and its logo
> appears on the screen (when it stops turning). Some of my axis drives
> get enabled during this time also. How can I prevent these events to
> happen between turning on the computer time and when EMC starts? Thanks
> Farzin

That is one of the hazards of a direct control scheme. Here I do not have a 
problem such as that because I use a PMDX-106 to control the VSD for my 
spindle, and without the steady PWM signal from the computer that also 
controls its speed, and my enabling the computers control by hand once emc 
is running, there is no spindle motion.  I used center off switches, and 
the computer has control when they are off, flipped to one side or the 
other for fwd/rev, then I have a manual speed control control available 
too.

Many have rigged a similar, needs a heartbeat from emc sort of control, and 
there are no doubt several other ways to achieve that function.  The 
simplest of course is to not power up the spindle at all until emc is 
running.

There may, I haven't looked, be some suggestions about how to do this on 
the emc wiki at , and I'm sure others will chime 
in with suggestions too.

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

Q: How does a Unix guru have sex?
A: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
-- unknown source

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread Kirk Wallace
On Sat, 2011-01-29 at 16:25 +0330, Farzin Kamangar wrote:
> Hi Steve,
>During the period between PC on and machine on, some of the parallel port
> pins are on which make some outputs on. How do I know which pins are on
> during that period and which pins are off. This is all before the time EMC
> starts. Thanks
> Farzin

This is a common problem and can be handled by using the charge pump
feature and a parallel port buffer or breakout board which has an enable
input. The charge pump signal is connected to the software "machine ON"
button in HAL, then routed to a pump detector, the detector to the
buffer enable. This way the signals don't get passed until EMC2 is up
and running and the operator signals that she/he is ready. There are
other ways to do this, but this is the basic idea.

See:
http://wiki.linuxcnc.org/emcinfo.pl?About_Charge_Pumps 

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


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread Kirk Wallace
On Sat, 2011-01-29 at 16:25 +0330, Farzin Kamangar wrote:
> Hi Steve,
>During the period between PC on and machine on, some of the parallel port
> pins are on which make some outputs on. How do I know which pins are on
> during that period and which pins are off. This is all before the time EMC
> starts. Thanks
> Farzin
> 
> On Sat, Jan 29, 2011 at 1:03 PM, Steve Blackmore  wrote:
> 
> >  On Sat, 29 Jan 2011 12:54:09 +0330, you wrote:
> >
> > >Hello EMC users,
> > > I would like to find out which Parallel port pins are on and which
> > pins
> > >are off

This may help:
http://www.epanorama.net/circuits/parallel_output.html 
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread craig
Where can one find a list of parallel port card known to work well with 
EMC ?
If not in EMC docs a list (possibly with comments or notes) would be useful.

Craig

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread Kirk Wallace
On Sat, 2011-01-29 at 15:07 -0800, craig wrote:
> Where can one find a list of parallel port card known to work well with 
> EMC ?
> If not in EMC docs a list (possibly with comments or notes) would be useful.
> 
> Craig

It depends on what you want to do with the parallel port. If you are
using "loadrt hal_parport":
http://www.linuxcnc.org/docview/html/hal_parallel_port.html 

in your .hal file to create software generated steps, PWM, or digital
I/O, then most any card will do. For this sort of thing I use tend to
use these:
http://www.newegg.com/Product/Product.aspx?Item=N82E16815166007 

but there are many to choose from.

If you have a Pluto, Pico or Mesa FPGA signal generator that uses EPP,
then there are very few cards that will work. We are in the process of
putting a list together now. I have this one on order:
http://www.newegg.com/Product/Product.aspx?Item=N82E16815158040 

and will know how it works soon. Otherwise, many motherboard parallel
ports work okay.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-29 Thread James Louis
Craig,

Although not a parallel port card, the Intel D510MO motherboard now works well 
with EMC2.4.6 and above.  It's low power and inexpensive too.

Jim

- Original Message -
From: craig 
To: Enhanced Machine Controller (EMC) 
Sent: Sat Jan 29 17:07:28 2011
Subject: Re: [Emc-users] Parallel port pins

Where can one find a list of parallel port card known to work well with
EMC ?
If not in EMC docs a list (possibly with comments or notes) would be useful.

Craig

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

This communication is for the use of the intended recipient only. It may 
contain information that is privileged and confidential. If you are not the 
intended recipient of this communication, the disclosure, copying, distribution 
or use hereof is prohibited. If you have received this communication in error, 
please advise me by return e-mail or by telephone and then delete it 
immediately.
<>--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins

2011-01-30 Thread Dave
I agree, I have used a few of the Rosewill Moschip based cards for step 
and direction and they work fine.The EPP mode for use with the smart 
motion cards is where problems pop up.

Dave

On 1/29/2011 7:20 PM, Kirk Wallace wrote:
> On Sat, 2011-01-29 at 15:07 -0800, craig wrote:
>
>> Where can one find a list of parallel port card known to work well with
>> EMC ?
>> If not in EMC docs a list (possibly with comments or notes) would be useful.
>>
>> Craig
>>  
> It depends on what you want to do with the parallel port. If you are
> using "loadrt hal_parport":
> http://www.linuxcnc.org/docview/html/hal_parallel_port.html
>
> in your .hal file to create software generated steps, PWM, or digital
> I/O, then most any card will do. For this sort of thing I use tend to
> use these:
> http://www.newegg.com/Product/Product.aspx?Item=N82E16815166007
>
> but there are many to choose from.
>
> If you have a Pluto, Pico or Mesa FPGA signal generator that uses EPP,
> then there are very few cards that will work. We are in the process of
> putting a list together now. I have this one on order:
> http://www.newegg.com/Product/Product.aspx?Item=N82E16815158040
>
> and will know how it works soon. Otherwise, many motherboard parallel
> ports work okay.
>


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port pins not reflecting paraport pins

2007-03-23 Thread Colin
Hello, 

Using the "halcmd show pin" command I viewed all the paraport values as emc2
was running, however, the values did not reflect the voltage readings on my
parallel port. Is there something that I have to enable for emc to drive my
pp pins? I am running ubuntu on a pentium2.

 

thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port pins not reflecting paraport pins

2007-03-23 Thread Colin
No need to reply, I found that placing "loadrt probe_parport" in the hal
file and also forcing my bios settings to epp and address 0x378.
 
By the way, Great software and user list.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Colin
Sent: Saturday, 24 March 2007 12:57 PM
To: 'Enhanced Machine Controller (EMC)'
Subject: [Emc-users] Parallel port pins not reflecting paraport pins

 

Hello, 

Using the "halcmd show pin" command I viewed all the paraport values as emc2
was running, however, the values did not reflect the voltage readings on my
parallel port. Is there something that I have to enable for emc to drive my
pp pins? I am running ubuntu on a pentium2.

 

thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users