Relay Output (Lp3500 Only) - Z-World Fox LP3500 User Manual

C-programmable single-board computer
Table of Contents

Advertisement

4.6 Relay Output (LP3500 only)

int relayOut(int relay, int value)
A 10 ms low-to-high pulse sets the state of a relay. On power-up or brdInit() the relay contact will
go to the normally closed (NC) RESET contact.
PARAMETERS
relay
0 = the one relay
value is a value used to connect the relay common contact:
0 = relay normally closed (NC or RESET) (Parallel Port PG5)
1 = relay normally open (NO or SET) (Parallel Port PG4)
RETURN VALUE
0 if successful
-1 if the normal power source is not available
66
Fox (LP3500)

Advertisement

Table of Contents
loading

Table of Contents