Discussion:
leds initial status after start a task
(too old to reply)
Ruzz
2008-06-04 14:40:16 UTC
Permalink
Hello to everyone, I have created a task and started it, for my board PCI-DIO-96. But when i do this, it seems the port im using starts with a high value on lines. I know this because i have a relay conected to the board, and the lights turn on when i start the task.What can i do to initialise the task using low values, so all the lines of the port will be low too?Thanks a lot for your time, Ruzz.
centerbolt
2008-06-05 15:40:16 UTC
Permalink
Ruzz,
PCI-DIO-96 by default powers up with all I/O configured as inputs with an internal 100K pullup resistor.  The best way to deal with this is to rewire your relays so that it takes a low output from the DIO-96 to energize them.  Instead of hooking common to one side of all your relay coils, hook the positive side of power supply to one side of relay coils.
Don't forget to use snubbers across the relay coils to protect the DIO.
Ruzz
2008-06-06 07:10:10 UTC
Permalink
Centerbolt, Thanks a lot for your reply. I will do your advices :).
Loading...