CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings

on 2003-07-31 15:46:29 UTC
Hi Shelby,

Thanks for the complements. I was wondering if anyone had seen it!

The resistor is probably not needed, however it did help on one
computer.

M01 is optional stop, you probably mean M03 for spindle CW on?

This is ESSENTIALLY what I do in 'C' for the spindle:

M3_OUTPUT_PIN = 1;
M4_OUTPUT_PIN = 2;
CMD_MASK = 0x1B;
SPP_CMD = 2;

/* for M03 Spindle CW */
Mbits &= ~M3_OUTPUT_PIN; /* I n (pin 1) strobe */
Mbits |= M4_OUTPUT_PIN; /* I n (pin 14) autofd */
Mbits ^= CMD_MASK; /* flip bits */
outp(LPTbase + SPP_CMD, Mbits); /* out cmd */

/* for M04 Spindle CCW */
Mbits &= ~M4_OUTPUT_PIN; /* I n (pin 14) autofd */
Mbits |= M3_OUTPUT_PIN; /* I n (pin 1) strobe */
Mbits ^= CMD_MASK; /* flip bits */
outp(LPTbase + SPP_CMD, Mbits); /* out cmd */

/* for M05 spindle OFF */
Mbits |= M4_OUTPUT_PIN; /* I n (pin 14) autofd */
Mbits |= M3_OUTPUT_PIN; /* I n (pin 1) strobe */
Mbits ^= CMD_MASK; /* flip bits */
outp(LPTbase + SPP_CMD, Mbits); /* out cmd */

Don't know if this helps, but you'll see that we end setting the bit to
1 to cause the printer line to go Active low. It all gets tricky as the
parallel port inverts some lines, and not others.

Check with Yeager (or just try it both ways) on the setting in CNCpro.
I'd guess you've got it backwards for this wiring. We want the line to
go LOW on activation, and HIGH to turn it off. The SSS has it's +5
connected to +5, and it's - connected to the printer line. When the
line goes low (.5V), there is 5V across the SSS, and it turns on. The
SSS must be the 3-30V control type, and you must be switching at least
24VAC, as I recall.

If you don't see the line (pin 1 of parallel port) change as you issue
the M03 or M05, then the PP address is possibly incorrect.

HTH

Alan KM6VV




shelbyshepherd2002 wrote:
>
> Hi Alan,fortino,
>
> I had wired my machine from your wiring diagram Alan, (very easy to
> follow, thank you)
> I forgot to mention, had a dwell time in the test code between M01
> (on)and M05 (off), when it got to M01 line the LED was off and come
> on at the dwell line and off on the M04 line.
> There was no reading on a test meter on any lines.
> The setting is on "default" which is HIGH in CNC Pro.
> There is no resistor installed, is this really necessory on your
> wiring diagram Alan?
>
> Shelby
>
> --- In CAD_CAM_EDM_DRO@yahoogroups.com, Alan Marconett KM6VV
> <KM6VV@a...> wrote:
> > Hi Fortino, Shelby,
> >
> > To drive a load like a SSS, you want the parallel port to SINK
> current.
> > Some parallel ports cannot SOURCE current as you describe.
> >
> > I suggest you connect the + of the SSS to +5V, and pin 1 to the -
> > terminal. then when the pin goes low (>.5V or so), the SSS will
> turn
> > on.
> >
> > My DriverPS PDF in the files of this group might be of help:
> >
> > http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/DriverPS/
> >
> > HTH
> >
> > Alan KM6VV
> > SherlineCNC
> >
> > fortino wrote:
> > >
> > > First, Pin 1 should be +5 V when it is turn on (set high when
> enabled). The
> > > negative should go to the logic ground.
> > > Don't forget to put small resistance ( I use 0.5-1 ohm
> resistor). Just in
> > > case you short your parallel port output.
> > >
> > > Second, to turn on the Output 1 the G code should be M03, while
> to turn off
> > > the Output 1 the G code is M05.
> > >
> > > Fortino
> > >
> > > ----- Original Message -----
> > > From: "shelbyshepherd2002" <cabrillo_shepherd@m...>
> > > To: <CAD_CAM_EDM_DRO@yahoogroups.com>
> > > Sent: Thursday, July 31, 2003 4:53 PM
> > > Subject: [CAD_CAM_EDM_DRO] Yeager CNC Pro and relay settings
> > >
> > > > Hi all,
> > > >
> > > > I need some help on the settings within CNC pro for a solid
> state
> > > > relay to activate a solinoid.
> > > > It is using pin 1 to the neg on the relay and 5 volt to
> positive
> > > > from games port, should it be set on high or low?
> > > > This is the sample G code I used to test with but the relay
> did not
> > > > appear to work.
> > > >
> > > > G01 X5 Y5
> > > > M01 (to turn on)
> > > > M0 (to turn off)
> > > > X0 Y0
> > > >
> > > > Any ideas welcome on settings or a sample G code to test with.
> > > >
> > > >
> > > > Addresses:
> > > > FAQ: http://www.ktmarketing.com/faq.html
> > > > FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
> > > > Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
> > > >
> > > > Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> > > > Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> > > > List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com,
> wanliker@a...,
> > > timg@k...
> > > > Moderator: pentam@c... indigo_red@q... [Moderators]
> > > > URL to this group:
> http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> > > >
> > > > OFF Topic POSTS: General Machining
> > > > If you wish to post on unlimited OT subjects goto:
> > > aol://5863:126/rec.crafts.metalworking or go thru Google.com to
> reach it if
> > > you have trouble.
> > > > http://www.metalworking.com/news_servers.html
> > > >
> > > > http://groups.yahoo.com/group/jobshophomeshop I consider
> this to be a
> > > sister site to the CCED group, as many of the same members are
> there, for OT
> > > subjects, that are not allowed on the CCED list.
> > > >
> > > > NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY
> POSTING THEM.
> > > DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........
> > > > bill
> > > > List Mom
> > > > List Owner
> > > >
> > > >
> > > >
> > > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> > >
> > > Addresses:
> > > FAQ: http://www.ktmarketing.com/faq.html
> > > FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
> > > Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
> > >
> > > Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> > > Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> > > List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com,
> wanliker@a..., timg@k...
> > > Moderator: pentam@c... indigo_red@q... [Moderators]
> > > URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> > >
> > > OFF Topic POSTS: General Machining
> > > If you wish to post on unlimited OT subjects goto:
> aol://5863:126/rec.crafts.metalworking or go thru Google.com to
> reach it if you have trouble.
> > > http://www.metalworking.com/news_servers.html
> > >
> > > http://groups.yahoo.com/group/jobshophomeshop I consider this
> to be a sister site to the CCED group, as many of the same members
> are there, for OT subjects, that are not allowed on the CCED list.
> > >
> > > NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY
> POSTING THEM. DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO
> EXCEPTIONS........
> > > bill
> > > List Mom
> > > List Owner
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
> Addresses:
> FAQ: http://www.ktmarketing.com/faq.html
> FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
> Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
>
> Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@..., timg@...
> Moderator: pentam@... indigo_red@... [Moderators]
> URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
>
> OFF Topic POSTS: General Machining
> If you wish to post on unlimited OT subjects goto: aol://5863:126/rec.crafts.metalworking or go thru Google.com to reach it if you have trouble.
> http://www.metalworking.com/news_servers.html
>
> http://groups.yahoo.com/group/jobshophomeshop I consider this to be a sister site to the CCED group, as many of the same members are there, for OT subjects, that are not allowed on the CCED list.
>
> NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY POSTING THEM. DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........
> bill
> List Mom
> List Owner
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Discussion Thread

shelbyshepherd2002 2003-07-31 02:53:06 UTC Yeager CNC Pro and relay settings fortino 2003-07-31 06:36:00 UTC Re: [CAD_CAM_EDM_DRO] Yeager CNC Pro and relay settings Torsten 2003-07-31 11:21:53 UTC Re: Yeager CNC Pro and relay settings Alan Marconett KM6VV 2003-07-31 11:46:24 UTC Re: [CAD_CAM_EDM_DRO] Yeager CNC Pro and relay settings shelbyshepherd2002 2003-07-31 13:21:40 UTC Re: Yeager CNC Pro and relay settings Alan Marconett KM6VV 2003-07-31 15:46:29 UTC Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings fortino 2003-07-31 16:04:05 UTC Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings Raymond Heckert 2003-07-31 18:22:55 UTC Re: [CAD_CAM_EDM_DRO] Yeager CNC Pro and relay settings shelbyshepherd2002 2003-08-01 01:35:51 UTC Re: Yeager CNC Pro and relay settings Alan Marconett KM6VV 2003-08-01 10:21:49 UTC Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings shelbyshepherd2002 2003-08-01 14:19:45 UTC Re: Yeager CNC Pro and relay settings Alan Marconett KM6VV 2003-08-01 15:23:37 UTC Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings James Cullins 2003-08-01 20:41:27 UTC Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings shelbyshepherd2002 2003-08-01 21:08:29 UTC Re: Yeager CNC Pro and relay settings James Cullins 2003-08-01 21:21:47 UTC Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings markpowerplus 2003-08-03 14:10:23 UTC Re: Yeager CNC Pro and relay settings shelbyshepherd2002 2003-08-05 02:24:07 UTC Re: Yeager CNC Pro and relay settings Jon Elson 2003-08-05 10:43:09 UTC Re: [CAD_CAM_EDM_DRO] Re: Yeager CNC Pro and relay settings