101-0440 Rabbit Semiconductor, 101-0440 Datasheet - Page 49

no-image

101-0440

Manufacturer Part Number
101-0440
Description
CARD 8-RELAYS SR9510 SMARTSTAR
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0440

Accessory Type
Smart Star Relay Card
For Use With/related Products
SR9150
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
4.5 Serial Communication Calls
Library files included with Dynamic C provide a full range of serial communications support.
The RS232.LIB library provides a set of circular-buffer-based serial functions. The
PACKET.LIB
by the 9th bit, by transmission gaps, or with user-defined special characters. Both libraries
provide blocking functions, which do not return until they are finished transmitting or receiv-
ing, and nonblocking functions, which must be called repeatedly until they are finished. For
more information, see the Dynamic C Function Reference Manual and Technical Note 213,
Rabbit 2000 Serial Port Software.
Use the following function calls with the Smart Star.
PARAMETERS
RETURN VALUE
RETURN VALUE
SEE ALSO
User’s Manual
int serMode(int mode);
ser485Tx();
User interface to set up serial communication lines for the Smart Star control system. Call this function
after
mode
0 if correct mode, 1 if not.
Enables RS-485 transmission (disables receive) on serial port D.
None.
ser485Rx
serXOpen()
Mode
is the defined serial port configuration of the CPU Card.
0
1
2
3
library provides packet-based serial functions where packets can be delimited
RS-232, 3-wire
RS-232, 3-wire
RS-232, 5-wire
RS-232, 5-wire
.
C (PC2 and PC3)
Serial Port
RS-485
RS-232, 3-wire
RS-485
D (PC0 and PC1)
RTS/CTS
RTS/CTS
D (PD0 and PD1)
Parallel Port
49

Related parts for 101-0440