User`s manual

PK220036 s System Development
EPROM
EPROMs offer a permanent storage option for programs and data.
The PK2200 BIOS is factory installed in the EPROM. After an applica-
tion is fully debugged and running, it can be compiled and stored in
EPROM with an EPROM burner. Each time the PK2200 powers up, it
will run the stored application.
Flash EPROM
Flash EPROM offers the benefits of both battery-backed RAM and
standard EPROM. You can quickly change and download a program as if
you were using RAM. Using flash EPROM frees up RAM for data
storage rather than program storage. Flash EPROM does not depend
upon the onboard battery to retain data, so a program is safe in the event
that the battery is drained.
For more information on memory options or to place an order,
contact your Z-World Sales Representative at (530) 757-3737.
Digital Inputs
The digital inputs can be used for a variety of applications such as
detecting high-voltage and logic level digital signals, providing interrupts
for time critical events, and high-speed counting.
Using the Digital Inputs
The digital inputs are supported in software by Dynamic C functions and
virtual driver variables. There are several methods for reading the digital
inputs. Some of the digital inputs have additional features listed below.
Interrupt Inputs
Inputs 11 and 12 can be used to generate level sensitive hardware inter-
rupts on the PK2200 CPU. Interrupts can be used to signal events that
need to be serviced in real-time.
High Speed DMA Counter
Two counters connected to digital inputs 13 and 14 are actually the CPUî‚’s
DMA channel counters.
 The maximum counting speed is ≈1.5 MHz for
9.216 MHz PK2200 series controllers.
î‚• The maximum counting speed is 3.0 MHz for
18.432 MHz PK2200 series controllers.
(