11-18-2008 11:01 AM
I need to provide a digital output for 5 channels to energize a relay board that will have 4 channels at 12 vdc and 1 channel at 120 vac.
The fastest digital output pattern will be 113 mSec energized and 6 mSec de energized and will repeat 20 times. Will the 6602 do this and if so what cables can I get so I can go from the 6602 to a generic 8 channel relay board (70RCK8) with an edge connector? Do I need a 2050 board in this wiring scheme? No DAQ required on this setup, will validate DIO with an Oscope.
11-19-2008
06:22 PM
- last edited on
02-12-2025
01:44 PM
by
Content Cleaner
The maximum digital output of your 6602 counter/timer board is 5V with 24mA per channel. However, to reach your specifications of your output pattern I would recommend to the counters (there is no hardware timing for the digital Input/Output on the 6602). The counters are able to provide 5V with a max current of 16mA. There are many different examples that ship with LabVIEW on how to output a digital pulse train (NI Example Finder>>Hardware Input Output>>DAQmx>>Generating Digital Pulses).
User Manual for 6602 board.
Regarding your second question, National Instruments does not sell any 50-pin accessories for the 6602. I would recommend reading the article below because it talks about the pin mappings for if you use a 68-50 pin adapter (made for our E/M series boards) and the consequences. Instead it is recommended to use a SCB-68 to break out the connections from your 6602 board.
08-25-2009 07:44 AM
Hello there !
I was thinking to do the same with a 6602 counter.
If I understand well, you want to drive some relays with the output lines of the counter. And you want to switch the relays quite fast, dont you("113 mSec energized and 6 mSec de energized and will repeat 20 times") ?
I just need to drive the relays in DC, so I will need the output to be on the same state for hours even.
I wonder if I can set the difital output of the counter to high or low level undefinitelly.
08-26-2009 02:09 PM
Hi,
I would recommend to use the digital outputs for this application. You can set these to ouput high or low for an indefinite amount of time. One important thing is to make sure that the digital ouputs have enough current to be able to switch the relays. Otherwise we have examples that show how to do static generation in labVIEW. The reason you would use counters is to get deterministic timing when generating high/low values repeatedly.
Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Digital Generation
Regards,
Jordan
08-27-2009 02:57 AM
Thanks Jordan !
I already tested driving a relay with a digital output and it works fine. I can set it to 0 or 1 undefinitelly.
That test was with the DO of a NI 6016, having 13mA or 24mA current on TTL levels.
With a NI 6608 counter, which has the same specifications on its digital output, it should work as well.
So deal done!
08-27-2009 01:20 PM