User’s Manual
45
Sets the position for the relay common contact. The default position is for normally closed contacts.
PARAMETERS
relay
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 VALUE
None.
SEE ALSO
brdInit
5.2.6.4 Serial Communication
Enables the RS-485 transmitter. Transmitted data are echoed back into the receive data buffer. The
echoed 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 receive
data buffer.
Block data mode—disable the transmitter after the same number of bytes transmitted are detected in
the receive data buffer.
Remember to call the
serXopen()
function before running this function.
SEE ALSO
ser485Rx
Disables the RS-485 transmitter. This puts the device into the listen mode, which allows it to receive data
from the RS-485 interface.
Remember to call the
serXopen()
function before running this function.
SEE ALSO
ser485Tx
void relayOut(int relay, int value);
void ser485Tx(void);
void ser485Rx(void);
Содержание RCM3305
Страница 6: ...RabbitCore RCM3305 RCM3315...
Страница 14: ...8 RabbitCore RCM3305 RCM3315...
Страница 22: ...16 RabbitCore RCM3305 RCM3315...
Страница 28: ...22 RabbitCore RCM3305 RCM3315...
Страница 70: ...64 RabbitCore RCM3305 RCM3315...
Страница 106: ...100 RabbitCore RCM3305 RCM3315...
Страница 144: ...138 RabbitCore RCM3305 RCM3315...
Страница 160: ......