Specifications

PK2100 Series
Z-World 530-757-3737 10
onds. The programmer reads and writes to virtual registers as
variables, and does not contend with the hardware details.
Initial PK2100 Setup
When the PK2100 powers up, it consults its board jumpers, the
keypad if any, and the contents of the EEPROM to determine its
mode of operation. The modes of operation are the following:
Run a program stored in battery-backed RAM.
Prepare for Dynamic C programming at 19.2K baud using
the RS232 port (“phone” jack).
Prepare for Dynamic C programming at 38.4K baud using
the RS232 port.
If your controller has a keypad, you can use it to select the op-
eration mode. Hold down the menu/setup key and one other
key simultaneously (field/run, up/pgm 19.2, or down/pgm 38.4).
The unit will beep to acknowledge the change of operating
mode. In unusual instances, you might also need to cycle
power while holding the key combination.
If the keypad is not available, or you want to override the key-
pad, use the jumper block J4.
Connecting the PK2100 to your PC & Dynamic C
1 Connect the red-tagged lead from your 24V (or 12V) power-
supply to the +24V screw connector. Connect the other
power supply lead to the GND screw connector.
2 Plug the serial programming cable into the PK2100 jack and
connect it to a PC serial port.
3 Plug the PK2100s power supply into a wall socket. Start Dy-
namic C.
Software Drivers
Z-World software includes the functions listed here.
Digital Input/Output
void up_setout( int channel, int value )
void up_digin( int channel )
Analog Output
void up_daccal( int value )
void up_dacout( int rawval )
void up_expout( int rawval )
void up_dac420( int current )
Analog Input
void up_adcal( int channel )
void up_in420()
void up_adrd( int channel )
void up_adtest( int channel, int testval )
void up_uncal( int calval )
void up_docal( int calval )
float up_higain( int mode )
High Speed DMA Counter
void DMA0Count( uint count )
void DMA1Count( uint count )
uint DMASnapShot( byte channel, uint *counter )
EEPROM Read / Write
int ee_rd( int address )
int ee_wr( int address, char data )
int eei_rd( int address )
Flash EPROM Write
int WriteFlash( ulong addr, char* buf, int num )
Parts List
Listed are major parts. Resistors, capacitors and other small
parts may be found on the schematic.
B3 Battery, 3V, 560 mA-H
BZ1
Buzzer
H1 1x9 Header, .100
H4 1x6 Header, .100
H5 1x8 Header, .100
H6 2x6 Header, .100
H7 1x9 Header, .100
H8 2x3 Header, .100
H9 1x9 Header, .100
H11 2x1 Header, .100
J1 1x14 Header, .100
J3 1x3 Header, .100
J4 1x8 Header, .100
J7 1x9 Header, .100
J8 2x7 Header, .100
J9 1x3 Header, .100
J11 1x3 Header, .100
JP1 Phone Jack RJ12
JP2
Terminal strip 25x
JP3 Terminal Strip 25x
K1 Keypad flex connecter
P1 2x13 Header for PLCBus
P2 2x7 Header, .100
SW1 2x1 Header, .100
U1 EPROM and socket, 32K
U2 SRAM
, 32K, 70ns
U3 Octal 3-state transceiver, 74HC245
U4
Octal 3-state transceiver, 74HC245
U5 EEPROM
, 512, 24C04
U6 PAL
(for PK2100)
U7 Dual decoder 2:4, 74HC139
U8
Quad 2:1 mux, 74HC257
U9
Quad 2:1 mux, 74HC257
U10
Watchdog, 691
U11
Adjustable Reg, 723, 150mA
U12
Linear Reg, 7805, 15V, TO-220
U13
Switching Reg, 7662
U14 8
-bit addressable latch, 74HC259
U15
Real-Time Clock, Toshiba 8250
U16 Z180
U17
Hex inverter, open drain, 74HC05
U18
Quad 2-in OR, 74HC32
U19
Quad 2-in OR, 74HC32
U20
Linear Reg, 7805, 5V, TO-220
U21
Comparator, 339
U22 8
-bit DAC