User`s manual
PK2200 Software Reference s 63
Table 5-1. PK2200 Sample Programs (concluded)
Program Description
LADDERC.C Use ladder C for I/O control.
LCGRAM.C Illustrates use of the LCD character generator.
OUTDEMO.C Use keypad to toggle the state of the digital
outputs
.
OUTVDVR.C Similar to OUTDEMO.C, but uses the virtual
driver to change the state of the output.
PRT0DEMO.C Use TIMER0 for timer interrupt .
READIO.C
Read and toggle the I/Os through STDIN. The
I/Os are driven by function calls.
READKEY.C Read the keypad and write to the LCD and to
the STDIO window.
SCANBLK.C Use function blocks for I/O control.
UREADIO.C Read and toggle the I/Os through STDIN. The
I/Os are driven by the virtual driver
.
VWDOG.C
Illustrates the use of the virtual watchdogs and
of KEYREQUEST
Communication Sample Programs
The sample communication programs listed in Table 5-2 are located in the
SAMPLES\NETWORK directory.
Table 5-2. Sample Communication Programs
Program Description
CSREMOTE.C
Slave version of CZ0REM.C, that includes most
capabilities of CZ0REM.C. Master-to-slave
communication is via opto22 9th-bit binary
protocol.
CUARTREM.C Same as CZ0REM.C but uses XP8700
expansion card.
continued…