User’s Manual
43
4.4.4 Relay and LED Outputs
Sets the state of a relay.
The relay is driven by PA0, which is the same Rabbit 2000 parallel port that drives OUT0 and LED DS4.
OUT0 therefore works in parallel with the relay output. Z-World therefore recommends that you do not
use OUT0 for a digital output when you are using the relay.
PARAMETERS
relay
is the relay to control, 0 = Relay 0.
value
is the value used to connect the relay common contact to one of the following contacts:
0 = relay common connected to relay normally closed contact
1 = relay common connected to relay normally open contact
SEE ALSO
brdInit
LED ON/OFF control.
The relay is driven by PA0, which is the same Rabbit 2000 parallel port that drives OUT0 and LED0.
OUT0 therefore works in parallel with the relay output. Z-World therefore recommends that you do not
use OUT0 for a digital output when you are using the relay. The relay and OUT0 are also turned on when
LED0 is turned on.
PARAMETERS
led
is the LED to control:
0 = OUT0 LED
1 = OUT1 LED
2 = OUT2 LED
3 = OUT3 LED
4 = BAD indicator
value is the value used to control the LED:
0 = OFF
1 = ON
SEE ALSO
brdInit
void relayOut(int relay, int value);
void ledOut(int led, int value);
Summary of Contents for Wildcat BL2000
Page 16: ...12 Wildcat BL2000 ...
Page 36: ...32 Wildcat BL2000 ...
Page 54: ...50 Wildcat BL2000 ...
Page 82: ...78 Wildcat BL2000 ...
Page 86: ...82 Wildcat BL2000 ...
Page 90: ...86 Wildcat BL2000 ...
Page 92: ...88 Wildcat BL2000 ...
Page 96: ......