Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dfurlano on November 18, 2011, 04:43:03 PM

Title: LPT2
Post by: dfurlano on November 18, 2011, 04:43:03 PM
Can the flood and mist outputs be triggered from LPT2?

I would think under the outputs tab I can use;   Output 1  port 2 pin 17

That look right?

 I have a cnc4pc c15 relay board that I want to use for my solenoids.

http://www.cnc4pc.com/Store/osc/product_info.php?cPath=24&products_id=148

I want to eliminate using LTP1 which is a Gecko540
Title: Re: LPT2
Post by: Hood on November 18, 2011, 05:08:35 PM
Yes no problem with that at all.
Hood
Title: Re: LPT2
Post by: dfurlano on November 18, 2011, 05:25:01 PM
I checked parallel port 2 and I am getting 3.3vdc when I hit the flood.  Problem is the C15 is not triggering the solenoid.   I am not sure where I should be getting the ground from for the C15.  Should I be getting off the parallel port?  The wiring instructions say the grounds are common.  No clue what that means.

http://cnc4pc.com/Tech_Docs/C15R2WG.pdf

I did call CNC4PC and the possible problem could be the relay is optoisolated and it may not work with a parallel port.  Although it seems to say to me it should work with a parallel port. 
Title: Re: LPT2
Post by: Hood on November 18, 2011, 05:32:01 PM
The ground I would imagine would have to be from the same source as your signal, are you getting the signal direct from the port or is it via a BOB?
Hood
Title: Re: LPT2
Post by: dfurlano on November 18, 2011, 05:41:28 PM
Directly from the parallel port.

(http://www.dfurlano.com/c15.jpg)
Title: Re: LPT2
Post by: Hood on November 18, 2011, 06:11:54 PM
Reading the docs it would seem to suggest it should work from a parallel port.
Hood
Title: Re: LPT2
Post by: dfurlano on November 18, 2011, 06:40:56 PM
I was told I bought the wrong board.  I need the C36.
Title: Re: LPT2
Post by: ger21 on November 18, 2011, 07:09:42 PM
Their website seems to say the C15 only works with 5V parallel ports, while the C36 works with 3.3V and 5V ports.
Title: Re: LPT2
Post by: Hood on November 18, 2011, 07:35:38 PM
But the docs mention 3.3v which would make you think its fine.
Hood
Title: Re: LPT2
Post by: dfurlano on November 18, 2011, 08:35:35 PM
Thats what I thought.
Title: Re: LPT2
Post by: fixittt on November 21, 2011, 02:58:01 PM
get another bob a descent bob will take 3.3v and boost it to 5v.  Will make it easyier to wire it up.
Title: Re: LPT2
Post by: dfurlano on November 21, 2011, 03:08:30 PM
OK, this is like going no where quick.

I asked and they told me to buy the C36 board.  But there is no wiring manual.  I am not sure how to wire this, what is positive and what is negative.

(http://www.dfurlano.com/Capture1.JPG)
Title: Re: LPT2
Post by: dfurlano on November 21, 2011, 03:09:54 PM
Looking at this I am guessing that V_IN is voltage in so that should be the positive lead?
Title: Re: LPT2
Post by: Hood on November 21, 2011, 05:15:39 PM
Not sure what you are showing there but it just seems to be relay outputs. If that is the case then it doesnt really matter how you wire it as it is just a switch, so if in your example above you put the +ve to the device, connected the other side of the device to the common (V_In it seems to be called) and then connected the NO to 0v (Gnd) then it would work fine. All that would happen is device gets 12v but as there is no path to 0v no current flows so device does not operate, close the relay and current can then flow so device works.

Hood
Title: Re: LPT2
Post by: fixittt on November 21, 2011, 05:22:45 PM
think of it as a light switch.  The center is the power coming in, and eith side is how it runs. Nomraly open or normally closed.

So say, you have 12v to the center lug.  Then another wire from NO to your device positive .  Then run your ground to its ground like normal.

The relay is nothing more then a light switch on either the positive or the negative line
Title: Re: LPT2
Post by: fixittt on November 21, 2011, 05:24:31 PM
the input side is where it gets it signal from the printer port.
If it gets a signal on the input side say its wired to pin 1 on the bob.  That fires the relay which completes the circuit to your coolant pump
Title: Re: LPT2
Post by: fixittt on November 21, 2011, 05:41:24 PM
here are a couple pics
Title: Re: LPT2
Post by: dfurlano on November 21, 2011, 06:58:02 PM
Not sure what you are showing there but it just seems to be relay outputs. If that is the case then it doesnt really matter how you wire it as it is just a switch, so if in your example above you put the +ve to the device, connected the other side of the device to the common (V_In it seems to be called) and then connected the NO to 0v (Gnd) then it would work fine. All that would happen is device gets 12v but as there is no path to 0v no current flows so device does not operate, close the relay and current can then flow so device works.

Hood

Works, I had the wrong voltage powering the board.   Had a 3.3vdc line instead of a 5vdc.
Title: Re: LPT2
Post by: dfurlano on November 21, 2011, 07:12:52 PM
Thanks for the photo but I am still not sure why this C15 board would not work but the C36 is working fine.  Arturo did tell me the C15 was not for coming directly from a parallel port. Happy it all works again.

here are a couple pics
Title: Re: LPT2
Post by: dfurlano on November 22, 2011, 10:07:44 AM
this is what I ended up with.

(http://www.dfurlano.com/wiring.jpg)