CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Relay controlled by parallel

on 2001-11-18 18:54:29 UTC
Hi Chris,

I just posted a similar reply to Frank yesterday:

Hi Frank,

Well, there are four "strobes" that can be used:

#define SPP_STROBE 0x01 /* nStrobe (pin 1) */
#define SPP_AUTOFD 0x02 /* nAutoFd (pin 14) */
#define SPP_INIT 0x04 /* nInit (pin 16) */
#define SPP_SLC_IN 0x08 /* nSelectIn (pin 17) */

If they are not is use (for driving motors), they are fair game!
Connect an output pin to a solid state switch, or a relay driver. Of
course, you'll need to have command of the appropriate printer control
bit in the controller program you are using.

MaxNC (I think) has assigned a few outputs:

1 m3 output (M3 M4 M5 spindle control)
14 m4 output

16 m7 output (M7 M8 M9 coolent control)
17 m8 output

I know that CNCpro can command (and configure) output pins as well.

I'd hook up a voltmeter to each of the pins (and a ground), and see if
your controller program can control any of them.

OOPS! I just noticed "EMC" in the subject! SO, perhaps someone else
can comment on WHAT PINS EMC is using. The parallel port pins are still
the same!

HTH

Alan KM6VV


shymu@... wrote:
>
> Is there a way to config the printer port so I can turn on or off
> spindle and vac motors. I know about adding a second port but would
> rather not. Seems to me I should be able to run 4 axes and still have
> two lines left to control a spindle and vac system.
>
> Frank



cclough@... wrote:
>
> Hi all,
> Thanks a million for all your info... have yet another question. How
> hard would it be to control a relay from the parallel port; using a G-
> code command. I am trying to use a plasma torch; and upon sending the
> signal to the relay, it'll turn the plasma on.
> Any thoughts?
> -Chris Clough
> Xtech Engineering
>

Discussion Thread

cclough@x... 2001-11-18 18:28:33 UTC Relay controlled by parallel Alan Marconett KM6VV 2001-11-18 18:54:29 UTC Re: [CAD_CAM_EDM_DRO] Relay controlled by parallel cncdxf@a... 2001-11-18 18:58:57 UTC Re: Relay controlled by parallel Ray 2001-11-19 06:42:54 UTC Relay controlled by parallel Tim Goldstein 2001-11-19 07:34:27 UTC RE: [CAD_CAM_EDM_DRO] Relay controlled by parallel Chris Clough 2001-11-20 10:09:01 UTC Greasing linear rails Sven Peter 2001-11-20 17:39:41 UTC Re: [CAD_CAM_EDM_DRO] Greasing linear rails Chris Clough 2001-12-04 14:54:22 UTC RE: [CAD_CAM_EDM_DRO] Relay controlled by parallel