View Single Post
  #4   Spotlight this post!  
Unread 03-04-2012, 22:17
kstl99's Avatar
kstl99 kstl99 is offline
Registered User
AKA: Kevin
FRC #1922 (Oz-Ram)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Hopkinton, NH
Posts: 404
kstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond reputekstl99 has a reputation beyond repute
Send a message via AIM to kstl99
Re: How to read relay state?

Quote:
Originally Posted by Jay1986 View Post
the light on the relay. orange means no value, green means true and red means false
Close. These Spike relays had me confused for a while. First you must think of them as 2 relays,each with one contact. Each contact connects its output terminal (M+ or M-) to either the 12V or the GND terminal.

When the light is orange both are connected to GND.

When the light is green M+ is connected to +12 and M- is connected to GND.

When the light is red M+ is connected to GND and M- is connected to +12.

When the light is off M+ and M- are connected to +12

The PWM cable can be confusing also as it is not really PWM. It is connected to a relay output on the Digital Sidecar. The black wire is tied to the negative. The red and white wires are connected to + 5 when the cRIO wants to activate a contact. I cannot remember which controls which.

Here is a link to the manual: http://www.robotmarketplace.com/prod...sersManual.pdf

(If you are right, Mark, Maybe my explanation will help someone)
__________________

Last edited by kstl99 : 03-04-2012 at 22:19.
Reply With Quote