User`s manual

BL160056 s System Development
Table 4-1. Dynamic C Serial Communication Libraries
Library Description
AASC.LIB
Abstract Application-Level Serial Communication
set of libraries for all Z-World controllers.
Z0232.LIB RS-232 library for Z180 Port 0.
Z1232.LIB RS-232 library for Z180 Port 1.
MODEM232.LIB
Miscellaneous functions common to other commu-
nication libraries.
UART232.LIB RS-232 library for the XP8700.
NETWORK.LIB
RS-485 9-bit binary half-duplex support for Z180
Port 1.
Table 4-2. Dynamic C Sample Serial Communication Programs
Sample Program Description
CZ0REM.C
Z0REM.C
Sample master program using Z180 Port 0 as the
RS-232 communication port.
CSREMOTE.C
SREMOTE.C
Sample slave program, talks with the master running
with CZ0REM.C (Z0REM.C).
RS232.C Simple RS-232 sample program.
Z1232.C Simple RS-232 sample program for Z180 Port 1.
RS485.C Simple slave program to talk with a running master.
UART232.C Simple RS-232 sample program using the XP8700.
CUARTREM.C
UARTREM.C
Same program as CZ0REM.C or Z0REM.C, but it
uses an XP8700 as the RS-232 communication port.
void op
_
kill
_
z1()
Turns off Z180 Port 1 and disables the RS-485 driver.
void z1
_
op
_
int()
Interrupt service routine for Z180 Port 1 used in master-slave network-
ing.
Support Libraries and Sample Programs
Table 4-1 lists the libraries in the Dynamic C LIB subdirectory that support
serial communication.
Table 4-2 lists Dynamic C SAMPLES\NETWORK subdirectories with sample
programs to illustrate the use of the various serial communication functions.