Z-World Fox LP3500 User Manual - page 72
Manual is about: C-Programmable Single-Board Computer
of
144
66
Fox (LP3500)
4.6 Relay Output (LP3500 only)
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
int relayOut(int relay, int value)