User’s Manual 49Sets the position for the relay common contact. The default position is for normally closed contacts.PARAMETERSrelay is the one relay (1)value is the value used to connect the relay common contact:0 = normally closed positions (NC1 and NC2)1 = normally open positions (NO1 and NO2)RETURN VALUENone.SEE ALSObrdInit5.2.6.4 Serial CommunicationEnables the RS-485 transmitter. Transmitted data are echoed back into the receive data buffer. Theechoed data may be used as an indicator for disabling the transmitter by using one of the following meth-ods:Byte mode—disable the transmitter after the same byte that is transmitted is detected in the receivedata buffer.Block data mode—disable the transmitter after the same number of bytes transmitted are detected inthe receive data buffer.Remember to call the serXopen() function before running this function.SEE ALSOser485RxDisables the RS-485 transmitter. This puts the device into the listen mode, which allows it to receive datafrom the RS-485 interface.Remember to call the serXopen() function before running this function.SEE ALSOser485Txvoid relayOut(int relay, int value);void ser485Tx(void);void ser485Rx(void);