background image

User’s Manual

Revision E

PK2300

C-Programmable Controller

Summary of Contents for PK2300

Page 1: ...User s Manual Revision E PK2300 C Programmable Controller ...

Page 2: ...ailure is the buyer s responsibility This device is not approved for life support or medical systems All Z World products are 100 percent functionally tested Additional testing may include visual quality control inspections or mechanical defects analyzer inspections Specifications are based on characterization of tested sample units rather than testing over temperature and voltage of each unit Z W...

Page 3: ... a Sample Program 22 Chapter 3 Input Output Configuration 25 PK2300 Components 26 Flexible Input Output Summary 27 Configuring Serial Communication 29 Configuring Inputs and Outputs 30 Selecting IN 08 and IN 09 or RMI Input and 30 Selecting IN 12 thru IN 16 or OUT 04 thru OUT 08 31 Selecting IN 10 and IN 11 or RS 485 and RS 485 33 CMOS Outputs 34 Chapter 4 System Development 35 PK2300 Operating Mo...

Page 4: ...Chapter 5 Software Reference 63 Supplied Software 64 Digital Inputs Outputs 65 Level Sensitive Interrupts 68 Interrupt Service Routines ISR 69 Resistance Measurement Input 70 PWM Outputs 72 Additional Software Feature References 74 Advanced Input Output Programming 75 Digital Input Addressing Detail 76 Digital Output Addressing Detail 77 LED Addressing Detail 78 RS 485 Driver IC Addressing Detail ...

Page 5: ...terface Board 2 103 Introduction 104 External Dimensions 105 Appendix D Sinking vs Sourcing Drivers 107 Selecting Sourcing or Sinking Drivers 109 Sinking Driver Low Side Drive 109 Sourcing Driver High Side Drive 110 Appendix E Power Management 111 Power Failure Detection Circuitry 112 Power Failure Sequence of Events 112 Appendix F Enclosure Mounting 115 Enclosure Mounting Considerations 116 Mount...

Page 6: ...vi s Table of Contents PK2300 Appendix I Battery 129 Storage Conditions and Shelf Life 130 Instructions for Replacing the Lithium Battery 130 Battery Cautions 131 Index 133 Schematics ...

Page 7: ...ce in the following areas Ability to design and engineer the target system that a PK2300 will control Understanding of the basics of operating a software program and editing files under Windows on a PC Knowledge of the basics of C programming For a full treatment of C refer to the following texts The C Programming Language by Kernighan and Ritchie and or C A Reference Manual by Harbison and Steel ...

Page 8: ...ble Programmable Read Only Memory LCD Liquid Crystal Display LED Light Emitting Diode NMI Nonmaskable Interrupt PIO Parallel Input Output Circuit Individually Programmable Input Output PRT Programmable Reload Timer RAM Random Access Memory RTC Real Time Clock SIB Serial Interface Board SRAM Static Random Access Memory UART Universal Asynchronous Receiver Transmitter Table 2 Icons Icon Meaning Icon...

Page 9: ...phrase IN 01 Program comments are written in Courier font plain face Italics Indicates that something should be typed instead of the italicized words e g in place of filename type a file s name Edit Sans serif font bold signifies a menu or menu selection An ellipsis indicates that 1 irrelevant program text is omitted for brevity or that 2 preceding program text may be repeated indefinitely Bracket...

Page 10: ...PK2300 x s About This Manual Blank ...

Page 11: ...erview s 11 CHAPTER 1 OVERVIEW Chapter 1 provides a comprehensive overview and description of the PK2300 The following sections are included PK2300 Overview Features Flexibility and Customization Developer s Kit ...

Page 12: ...mended for initial system development The PK2310 is identical to the PK2300 with the following exceptions The Real Time Clock is not included The Resistive Measurement Input is not included As shown in Figure 1 1 the PK2300 is housed in a rugged enclosure that has multiple mounting options including DIN rail Figure 1 1 PK2300 Enclosure Side View Left Side See Appendix F Enclosure Mounting for furt...

Page 13: ...igure 1 2 PK2300 Component Layout Top View Case Removed J3 Battery Driver H1 J1 User LED Optional CMOS Outputs H5 Voltage Regulator H4 I O Board J4 Run LED H3 J2 U1 SRAM Z180 unde de rsi Flash EPROM 8 pin Programming Header Real Time Clock CM7200 Board H2 Run Program H10 ...

Page 14: ...orted Nineteen pins out of the 24 total are provided for assigning various I O combinations One RJ 12 modular jack is also provided for RS 232 communications Figure 1 3 PK2300 Top View Showing Screw Terminal Locations Seven of the digital outputs can optionally provide Pulse Width Modulation under software control To complete the features our Dynamic C library provides an assortment of C functions...

Page 15: ...on prototype is defined our automatic surface mount manufacturing can deliver the PK2300 Series controller with the exact hardware your application requires Example Jumper blocks can be configured and hardwired at the factory For details on PK2300 customization please contact your Z World Sales Representative at 530 757 3737 Optional Accessories The following accessories are available for the PK23...

Page 16: ...liance The PK2300 has been tested by an approved competent body and was found to be in conformity with applicable EN and equivalent standards Note the following requirements for incorporating the PK2300 in your application to comply with CE requirements The power supply provided with the Development Kit is for develop ment purposes only It is the customer s responsibility to provide a clean DC sup...

Page 17: ...TED Chapter 2 provides instructions for connecting the PK2300 to your PC and running a sample program on the PK2300 The following sections are included Connecting the PK2300 to Your PC Establishing Communication with the PK2300 Running a Sample Program ...

Page 18: ...als as shown in Figure 2 1 Figure 2 1 Power Supply Connection Do not plug the transformer into the wall until all the connec tions and jumpers have been set If a transformer other than the one supplied with the developer s kit is used ensure that the input voltage specifica tions 9 V to 24 V DC are not exceeded Appendix B contains complete specifications for the PK2300 Use the programming cable su...

Page 19: ...are not connected The PK2300 will not be in Program Mode if this jumper is installed incorrectly 4 Establish a serial communication link Option 1 Via RS 232 Serial Port Use the adapter and the programming cable supplied with the developer s kit to connect the PK2300 s RJ 12 J2 socket to the appropriate COM port of your computer See Figure 2 3 Figure 2 3 Programming Connections Run Program Jumper H...

Page 20: ...ormation on the SIB2 5 Plug in the transformer to an AC source only after double checking all connections The PK2300 is now ready for programming Running Dynamic C Double click the Dynamic C icon to start the software Note that the PC attempts to communicate with the PK2300 each time Dynamic C is started No error messages are displayed once communication is established See Appendix A Troubleshooti...

Page 21: ...ed s 21 J4 J1 JP1 Blue Conductor to Pin 1 Pin 1 6 conductor RJ 12 Cable RJ12 to DB9 Adapter To PC COM Port Top View J2 Run Program Jumper CM7200 Board I O Board Figure 2 4 Programming Connections to Serial Interface Board ...

Page 22: ...K2300 s LEDs at differing flash rates 2 Compile the program by pressing F3 or by choosing Compile from the Compile menu Dynamic C compiles and downloads the program into the PK2300 s flash memory During compilation Dynamic C rapidly displays several messages in the compiling window This condition is normal See Appendix A Troubleshooting if an error message such as Target Not Responding or Communic...

Page 23: ...flash rates use vdriver lib main VdInit for costate outport 0x4141 1 Turn on LED D1 waitfor DelayMs 400 Delay 4 seconds outport 0x4141 0 Turn off LED D1 waitfor DelayMs 550 Delay 55 seconds costate outport 0x4142 1 Turn on LED D2 waitfor DelayMs 600 Delay 6 seconds outport 0x4142 0 Turn off LED D2 waitfor DelayMs 380 Delay 38 seconds ...

Page 24: ...PK2300 24 s Getting Started Blank ...

Page 25: ...roller and describes how to configure the available inputs outputs I O The following sections are included PK2300 Components Flexible I O Summary Configuring Serial Communications Configuring Inputs and Outputs Selecting IN 08 and IN 09 or RMI Input and Selecting IN 12 through IN 16 or OUT 04 through OUT 08 Selecting IN 10 and IN 11 or RS 485 and ...

Page 26: ... provides the processor real time clock supervisor memory and control of the various I O Figure 3 1 illustrates the headers and the signal names for the PK2300 s pins Use this figure for reference throughout this chapter Figure 3 1 PK2300 Pin and Header Layout Top View Case Removed RS 232 DC K GND OUT 01 OUT 02 OUT 03 OUT 04 IN 16 OUT 05 IN 15 OUT 06 IN 14 OUT 07 IN 13 OUT 08 IN 12 GND GND IN 01 I...

Page 27: ...2 Pin Label Function 1 Function 2 user assignable 1 GND Ground N A 2 IN 01 Protected Digital Input 1 N A 3 IN 02 Protected Digital Input 2 N A 4 IN 03 Protected Digital Input 3 N A 5 IN 04 Protected Digital Input 4 N A 6 IN 05 Protected Digital Input 5 N A 7 IN 06 Protected Digital Input 6 Protected Digital Input 6 with level sensitive interrupt INT0 8 IN 07 Protected Digital Input 7 Protected Dig...

Page 28: ... A 4 OUT 01 High Current Output 1 N A 5 OUT 02 High Current Output 2 N A 6 OUT 03 High Current Output 3 N A 7 OUT 04 IN 16 High Current Output 4 Protected Digital Input 16 8 OUT 05 IN 15 High Current Output 5 Protected Digital Input 15 9 OUT 06 IN 14 High Current Output 6 Protected Digital Input 14 10 OUT 07 IN 13 High Current Output 7 Protected Digital Input 13 11 OUT 08 IN 12 High Current Output...

Page 29: ...I are used for reference later in this chapter Table 3 3 Serial Communication Configurations Header Jumpers Configurations Configuration I One 3 wire RS 232 no hand shaking and one RS 485 Configuration II One 5 wire RS 232 RTS CTS handshaking and one RS 485 Configuration III Two 3 wire RS 232 no hand shaking 1 2 3 4 5 6 7 8 H3 1 2 3 4 5 6 7 8 9 10 H4 11 12 RS 232 RS 485 1 2 3 4 5 6 7 8 H3 1 2 3 4 ...

Page 30: ...Digital Inputs IN 08 and IN 09 or as Resistance Measurement Inputs RMI and RMI The RMI function is not available on the PK2310 Figure 3 2 illustrates header H4 Figure 3 2 Header H4 Configurations Header H4 must be configured for either Protected Digital Input operation or RMI operation In either case ensure that both jumpers shown above are installed 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10...

Page 31: ...nstalled the corresponding pin is configured as a protected digital input When a jumper is not installed the corresponding pin is config ured as a high current output Figure 3 3 Header H5 and H1 Configurations When you install jumpers on headers H1 or H5 to connect an input IC to the terminals the output IC remains hard wired to the terminal Do not enable turn on the output drivers on any channel ...

Page 32: ...ure J1 pins 9 10 and 11 as Protected Digital Inputs IN 12 through IN 14 and J1 pins 7 and 8 as High Current Outputs OUT 05 and OUT 04 Figure 3 4 Sample Configuration 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 IN 12 IN 13 IN 14 OUT 05 OUT 04 H5 H1 J1 pin 11 J1 pin 10 J1 pin 9 J1 pin 8 J1 pin 7 ...

Page 33: ... J4 pins 11 and 12 as Protected Digital Inputs IN 10 and IN 11 or as an RS 485 communication port RS 485 and RS 485 Figure 3 5 Header H4 Settings for RS 485 and IN 10 IN 11 Header H4 must be configured either as a protected digital input or for RS 485 operation In either case both sets of jumpers must be installed as shown in Figure 3 5 Use tinned wires for connections to the terminals on J1 and J...

Page 34: ...ed digital inputs IN 12 to IN 16 may be selected instead of CMOS outputs on J1 pins 7 11 by jumpering the pins on headers H1 and H5 as shown in Figure 3 3 Four additional optional CMOS outputs are available next to the User LED as shown in Figure 3 1 The PK2300 is available in quantity with the driver IC removed and surface mount jumpers factory installed to customer specifications in socket U1 Fo...

Page 35: ...ol ler The following major sections are included PK2300 Operating Modes Running a Program Stand Alone Using the Digital I O Protected Digital Inputs High Current Outputs Resistance Measurement Input RMI Serial Communication RS 485 Communication Network PWM Outputs User Programmable LEDs Memory Real Time Clock RTC Power Supervisor ...

Page 36: ... remain on continuously Run LED is disabled or off Both LEDs are available for the application being developed Figure 4 1 Run and User LED Locations Run Mode In Run Mode the PK2300 controller runs standalone At power up the PK2300 checks to see if its onboard memory contains a program If such a program exists the PK2300 controller executes the program immediately after power up Both LEDs are under...

Page 37: ...t Program Mode Remove jumper at H2 to select Run Mode 4 Reapply power to restart the PK2300 in the selected mode Pay particular attention to the installation of the Run Program jumper at H2 It is possible to install the jumper so that the pins are not connected The PK2300 will not be in Program Mode if the Run Program jumper is installed incorrectly Table 4 1 Permissible Activities in Program Run ...

Page 38: ...d Pay close attention to any electronic or mechanical devices connected to the PK2300 that could cause injury or damage Your program is now loaded permanently in the PK2300 s onboard flash EPROM Until you load another program the program runs automatically every time the PK2300 powers up in Run Mode The flash EPROM has a rated lifetime of only 100 000 writes unlimited reads Do not write the flash ...

Page 39: ...s below 2 5 V DC and a 1 ON if the input voltage is above 2 5 V DC Protected digital inputs can be used with 5 V DC CMOS or TTL compat ible hardware drivers and sensors This compatibility allows your system to interface directly with other electronic hardware such as peripheral controllers as well as many mechanical switches including contacts on relays Refer to Appendix B Specifications for compl...

Page 40: ...IN 01 through 15 for IN 16 RETURN VALUE 0 if and only if the input channel reads low 1 if and only if the input channel reads high The Input Demonstration Program shows how to read the status of a digital input Input Demonstration Program use eziopk23 lib Use the PK2300 I O library define INPUT1 0 Assign INPUT1 protected digital input IN 01 main int I Create integer I eioBrdInit 0 Initialize the P...

Page 41: ...g the Dynamic C command F8 run step over single step through the program to the line marked A At this point the Dynamic C STDIO window opens and displays the status of IN 01 The status of IN 01 should be 1 If the status is not 1 or the STDIO window did not open verify your hardware connections and the program 6 Remove the wire from J1 pin 1 DC and connect that end to J4 pin 1 GND Leave the other e...

Page 42: ... inductive loads such as relays High current driver outputs are factory configured as sinking drivers and can optionally be configured as sourcing drivers How to Use the Outputs This section provides information on the Dynamic C software drivers for the PK2300 s high current driver outputs The following software function turns a specified high current driver ON or OFF int eioBrdDO unsigned chanNum...

Page 43: ...2300 eioBrdDO OUTPUT1 OFF Turn off OUT 01 eioBrdDO OUTPUT1 ON Turn on OUT 01 eioBrdDO OUTPUT1 OFF Turn off OUT 01 End of program The following steps explain how to use the Output Demonstration Pro gram 1 Key in the Output Demonstration Program 2 Save the program by choosing Save from the file menu 3 Compile the program by pressing F3 or by choosing Compile from the Compile menu 4 Connect a wire be...

Page 44: ... marked A At this point your device should be OFF If your device is not OFF verify your hardware connections and the program 6 Using the Dynamic C command F8 run step over single step through your program to the line marked B At this point your device should be ON If your device is not ON verify your hardware connections and the program 7 Using the Dynamic C command F8 run step over single step th...

Page 45: ...istance of 0 Ω to 275 kΩ at a frequency of approximately six conversions per second A thermistor or potentiometer can be quickly interfaced to the PK2300 A small set of sample applications is listed below Dependable temperature measurements using thermistors Moving table position using linear potentiometer with mechanical cable attachment Continuous control wheel for a high quality man machine int...

Page 46: ... be either 0 or 1 chanNum is 0 if you want to read the calibrated and converted value using the calibration constants stored in the PK2300 chanNum is 1 if you want to read the input s raw value This function returns a number between 0 and 65535 when the raw value is read i e channel 1 If chanNum is out of range the global variable eioErrorCode has the EIO_NODEV flag bit set In this case the expres...

Page 47: ... program The following steps explain how to use the RMI demonstration program 1 Key in the RMI Demonstration Program 2 Save the program by choosing Save from the File menu 3 Compile the program by pressing F3 or by choosing Compile from the Compile menu 4 Connect a resistor with a value ranging from 0 Ω to 275 kΩ between J4 pin 9 RMI and J4 pin 10 RMI 5 Using the Dynamic C command F8 run step over...

Page 48: ... program to the line marked B At this point the Dynamic C STDIO window opens and displays the raw RMI input value of the new resistor If you do not see a change in RMI values verify your connections and the program 8 Continue to press F8 until the program terminates 9 Repeat steps 4 through 8 as necessary If there is no resistor across the RMI terminals the RMI value printed in the STDIO window sh...

Page 49: ...tor on the PK2300 As the capacitor charges its voltage rises until it reaches a trip point at two thirds of the reference voltage The PK2300 processor is interrupted when the voltage reaches the trip point and the PK2300 then stores the count from one of its internal counters The counter is then reset to zero and the capacitor is discharged This completes one cycle In summary the larger the resist...

Page 50: ...cation during software development A special cable has to be made to access J2 if both RS 232 ports are needed Serial Communication The PK2300 provides two serial communication ports that can be config ured as RS 232 and or RS 485 RS 232 Communication RS 232 is an asynchronous serial communications protocol that is full duplex simultaneous bidirectional data transfer The RS 232 ports and the suppl...

Page 51: ...End Slave Termination Resistor Required J1 1 J4 1 Master RS 485 Communication Network The PK2300 can be configured to provide one channel of RS 485 commu nication RS 485 is an asynchronous multidrop half duplex standard that provides multidrop networking for cable lengths up to 1200 m 4000 feet Figure 4 6 Multidrop Network ...

Page 52: ...ins 11 and 12 for RS 485 communication as outlined in the Configuring Serial Communication section in Chapter 3 Input Output Configuration 2 On all networked controllers connect RS 485 to RS 485 and RS 485 to RS 485 using nonstranded tinned single twisted pair wires Refer to Figure 4 6 Termination and Bias Resistors Termination and bias resistors are required in a multidrop network to minimize ref...

Page 53: ...rop network Figure 4 7 Enabling Termination Resistor PK2300 Top View Cover Removed The RS 485 drivers supplied by Z World support up to 32 nodes As additional nodes over the benchmark quantity of 32 are added to your network the transmission bandwidth may be reduced Contact Z World Technical Support at 530 757 3737 for assistance with large scale network design The PK2300 is available in quantity ...

Page 54: ...dulated PWM signals from seven of its high current outputs simultaneously The supplied software provides two levels of support The first level provides easy to use fixed PWM functions for only four of the outputs The periods of the PWM signals are fixed at 13 3 ms 75 Hz with a resolution of 256 divisions per period 8 bit resolution Using the supplied software the generation of PWM signals consumes...

Page 55: ...9 216 MHz 52 08 µs Single Edge 120 9 216 MHz 13 02 µs Figure 4 8 Transition Timing Chan 0 Chan1 Chan 2 Chan 3 Wave Period 256 x 480 9 216 MHz Next Possible Transisition n0 x 480 9 216 MHz 52 08 µs 256 n0 480 9 216 MHz 480 9 216MHz 52 08 µs 13 33 ms 52 08 µs Figure 4 9 DMA Timing ...

Page 56: ...or the PWM function Consequently the period of each square wave is 1024 13 02 µs 13 33 ms Notice also that the square waves are displaced slightly from each other in phase That is OUT 02 starts and ends one division after OUT 01 OUT 03 starts one division after OUT 02 and OUT 04 starts one division after OUT 03 As a result although the period of each wave is 1024 divisions a change to one particul...

Page 57: ...ne output channel main auto unsigned dutyCycle auto int sign eioBrdInit 0 initialize general I O _eioSetupAO1st initialize PWM dutyCycle 0 duty cycle starts at 0 sign 1 ramp up while 1 do this forever eioBrdAO OUT_CHAN dutyCycle change cycle if _eioBrdAORf 1 break refresh OK if dutyCycle 256 sign 1 reverse else if dutyCycle 0 sign 1 reverse dutyCycle dutyCycle sign ramp hitwd hit watchdog printf A...

Page 58: ...the Run LED D1 and the User LED D2 The user s program can control both LEDs During program development the User LED indicates the various operating modes illuminating steadily to indicate power on and that the Z World factory default BIOS is functioning The following software drivers can be used to turn the LEDs ON or OFF LED D1 User outport 0x4141 1 turns the LED ON outport 0x4141 0 turns the LED...

Page 59: ...ock constantly in a tight loop may lead to a loss of accuracy Event scheduling from the RTC is not recom mended Table 4 3 Real Time Clock Functions Function Description tm_rd Read time and date values from the RTC tm_wr Write time and date values into the RTC Real Time Clock RTC The PK2300 s RTC maintains the current time and date accounts for the number of days in differing months and accounts fo...

Page 60: ... SRAM to prevent writing spurious data The supervisor also switches the SRAM to battery power when VCC falls below the threshold voltage to preserves the SRAM s data until power is restored The supervisor has a watchdog timer that guards against system or software faults If the application s software does not reset the timer at least once every second the PK2300 s microprocessor will reset The Dyn...

Page 61: ...d 6 on header H1 as shown in Figure 4 10 Figure 4 10 Header H1 Configurations to Reset Processor The PK2300 normally operates with the jumper attached as shown in Figure 4 10 Leave the jumper attached but not connected to ensure it is available when needed The processor may be reset either as shown in Figure 4 10 or by removing power from the PK2300 for approximately 10 ms ...

Page 62: ... s subsystems Figure 4 11 PK2300 Subsystems Z180 Regulator DC 5 V Serial 0 Timers Serial 1 RTC RAM Protected Inputs Reset PK2300 Internal Battery Resistive Measurement Input 691 Supervisor VBAT VRAM 5 V High Current Outputs Configurable I O LED1 LED2 Z0 Z1 Z1 RS 232 RS 485 Flash EPROM ...

Page 63: ...d Supplied Software Digital Inputs Outputs Level Sensitive Interrupts Resistance Measurement Input PWM Outputs Additional Software Feature Reference Advanced Input Output Programming Digital Input Addressing Detail Digital Output Addressing Detail LED Addressing Detail RS 485 Driver IC Addressing Detail Resistance Measurement Input Addressing Detail PWM Addressing Detail PWM Advanced Programming F...

Page 64: ... int param Initializes the software Call this function in the initialization section of your program before using any other functions Always pass 0 for param This function Does not call _eioSetupAI1st If you use the Resistance Measurement Input you must call _eioSetupAI1st separately Does not call _eioSetupAO1st If you use the DMA driven PWM output you must call _eioSetupAO1st separately long int ...

Page 65: ...VALUE 0 if and only if the input channel reads low 1 if and only if the input channel reads high Sets the flag EIO_NODEV in eioErrorCode and returns 1 if and only if the channel does not exist i e if chanNum is greater than 15 Table 5 1 lists the software input channel assignments Table 5 1 Software Input Channel Assignments Input Channel Assignment IN 01 0 IN 02 1 IN 03 2 IN 04 3 IN 05 4 IN 06 5 ...

Page 66: ...is to be disabled OFF or 1 if and only if the corresponding output is to be enabled ON RETURN VALUE 0 if and only if chanNum is within range Sets the flag EIO_NODEV in eioErrorCode and returns 1 if and only if chanNum is out of range Table 5 2 lists the software output channel assignments Table 5 2 Software Output Channel Assignments Output Channel Assignment OUT 01 0 OUT 02 1 OUT 03 2 OUT 04 3 OU...

Page 67: ...output channel 0 is disabled OFF Otherwise the digital output is enabled DIO1 C use ezio lib general I O definitions use eziopk23 lib pk2300 specific defns define IN_CHAN 0 define input channel define OUT_CHAN 0 define output channel main eioBrdInit 0 while 1 do this indefinitely eioBrdDO OUT_CHAN eioBrdDI IN_CHAN hitwd hit watchdog Refer to the Dynamic C SAMPLES PK23XX subdirectory for additional...

Page 68: ...0 By default the interrupt 0 and 1 are disabled OFF allowing inputs IN 06 and IN 07 to be used as standard protected digital inputs When level sensitive interrupts are required interrupts 0 and 1 can be enabled ON or disabled OFF by including the following commands in your code Enable ON Interrupt 0 outport ITC inport ITC 1 Enable ON Interrupt 1 outport ITC inport ITC 2 Disabled OFF Interrupt 0 ou...

Page 69: ...pecified ISRs All other activities are stopped until the ISR is complete Enabling interrupts 0 or 1 can severely affect the interrupt latency of other types of interrupts such as those generated by PRTs the DMA and UARTs Contact Z World Technical Support at 530 757 3737 for assistance Interrupts 0 and 1 can only be used when the PK2300 s inputs are in the factory default pulled up configuration En...

Page 70: ... s programmable timer PRT0 int eioBrdACalib int chanNum int d1 int d2 float f1 float f2 Sets up the calibration constants needed by eioBrdAI when called with chanNum equal to 0 The function computes the calibration coefficients and stores them in reserved locations in nonvolatile memory The function eioBrdInit loads these constants from nonvolatile memory To calibrate the resistance measurement in...

Page 71: ...nnel 1 If chanNum is out of range the global variable eioErrorCode has the EIO_NODEV flag bit set In this case the expression eioErrorCode EIO_NODEV evaluates to non zero indicating an error has happened The following sample program from the Dynamic C SAMPLES PK23XX subdirectory prints the raw value of the resistance measurement AI1 C use eziopk23 lib pk2300 specific defns main eioBrdInit 0 initia...

Page 72: ...nter and address pointer Your program must call _eioBrdAORf every 25 ms or more fre quently after _eioSetupAO1st is called RETURN VALUE The function returns 1 if the DMA count is zero PWM has stopped and returns 0 otherwise If the function returns 1 it means the driver is either not initialized by calling _eioSetupAO1st or _eioBrdAORf is called less frequently than every 25 ms While the PWM functi...

Page 73: ...Cycle auto int sign eioBrdInit 0 initialize general I O _eioSetupAO1st initialize PWM dutyCycle 0 duty cycle starts at 0 sign 1 ramp up while 1 do this forever eioBrdAO OUT_CHAN dutyCycle change cycle if _eioBrdAORf 1 break refresh OK if dutyCycle 256 sign 1 reverse else if dutyCycle 0 sign 1 reverse dutyCycle dutyCycle sign ramp hitwd hit watchdog printf AO refresh failed n Refer to the Dynamic C...

Page 74: ...ff_485 in your Dynamic C manuals For Watchdog information refer to descriptions of the function hitwd in your Dynamic C manuals For EEPROM information refer to descriptions of the functions ee_rd and ee_wr in your Dynamic C manuals For Power Fail Flag information refer to the descrip tions of the function _sysIsPwrFail and sysIsPwrFail in your Dynamic C manuals For Resetting the Board information ...

Page 75: ...s 0x40c0 read TRIGGER of 555 Read to start charging and turns OUTPUT of 555 high 0x4140 write RS 485 Driver Bit 0 indicates on off 1 to turn on 0 to turn off 0x4141 write LED D1 Same as above 0x4142 write LED D2 Same as above 0x4143 write CMOS OUT 09 Same as above 0x4144 write CMOS OUT 10 Same as above 0x4145 write CMOS OUT 11 Same as above 0x4146 write CMOS OUT 12 Same as above 0x4147 write OUT 0...

Page 76: ... 0x4160 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 IN 08 IN 07 IN 06 IN 05 IN 04 IN 03 IN 02 IN 01 0x4161 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 IN 16 IN 15 IN 14 IN 13 IN 12 IN 11 IN 10 IN 09 Table 5 5 provides the Dynamic C commands to read each individual input Table 5 5 Digital Input States Channel Function IN 01 IBIT 0x4160 0 IN 02 IBIT 0x4160 1 IN 03 IBIT 0x4160 2 IN 04 IBIT 0x...

Page 77: ...xxx000 0xxxx000 OUT 02 1xxxx001 0xxxx001 OUT 03 1xxxx010 0xxxx010 OUT 04 1xxxx011 0xxxx011 OUT 05 1xxxx100 0xxxx100 OUT 06 1xxxx101 0xxxx101 OUT 07 1xxxx110 0xxxx110 In other words if you want to turn OUT 05 on the lowest three bits should be binary 100 and the most significant bit should be a 1 making the byte to write binary 1xxxx100 xxxx means the values of these bit does not matter 0x84 is one...

Page 78: ...he LED write 0 to turn off the LED Enable ON LED D2 Run outport 0x4142 1 Disable OFF LED D2 Run outport 0x4142 0 RS 485 Driver IC Addressing Detail The RS 485 driver IC corresponds to the I O address 0x4140 Write 1 to enable the RS 485 driver IC write 0 to disable the RS 485 driver IC Enable ON RS 485 driver outport 0x4140 1 Disable OFF RS 485 driver outport 0x4140 0 See Chapter 3 Input Output Con...

Page 79: ...chanism during the measurement cycle to the appropriate sensor reading using calibration constants derived from test readings The software supporting eioBrdAI interface described earlier in this chapter s simple function section uses the Z180 s on chip programmable timer PRT0 as a timing mechanism The Z180 s on chip DMA1 is used as a capturing mechanism to stop and record the time elapsed The step...

Page 80: ... counter T Based on the difference T T recall that T was the reload value 0xffff we can compute the actual delay the PRT0 counter decrements every 20 states in ticks of PRT0 Each tick of PRT0 is 20 clocks which is 20 9 216 MHz 2 17 µs The delay between trigger and output on the 555 timer is approximately 1 1 RC seconds where R is the resistive sensor s resistance in ohms and C is the capacitance o...

Page 81: ... driver also needs to know the total number of channels pulse width modulated We assume all channels have the same frequency and resolution The clock output from communication port 1 CKA1 must have a frequency f1 Nch fw Rw in which f1 is the frequency of CKA1 Nch is the number of pulse width modulated channels fw is the frequency of each channel and Rw is the resolution in number of divisions per ...

Page 82: ...ample if we wish OUT 01 to be at 0 375 duty cycle OUT 02 to be at 0 75 duty cycle and a resolution of 8 divisions per cycle a simple wave form would be as follows CT1 turn on OUT 01 turn on OUT 02 CT2 do nothing CT3 do nothing CT4 turn off OUT 01 CT5 do nothing CT6 do nothing CT7 turn off OUT 02 CT8 do nothing go back to CT1 Outputting the byte 0x80 turns on OUT 01 0x00 turns off OUT 01 0x81 turns...

Page 83: ... for the Z180 or 64180 MPU for more details on how to set up the frequency of CKA1 The driver includes a function dmapwmInit that sets up the frequency of CKA1 The PWM interface sets up CKA1 to clock at 76 800 Hz in the call _eioSetupAO1st See the section on PWM Advanced Programming Func tions later in this chapter for details on dmapwmInit Refresh the DMA counter and source address The DMA device...

Page 84: ...waveforms are up and running the application may need to change the duty cycles for the channel s This poses two problems First the change should only be done to the channel that needs a change of duty cycle all other channels should remain the same Second the change must become effectively phase synchronized with the current waveform The solution to the first problem depends on how the edges are ...

Page 85: ...for the waveform pattern buffer Recall that the second problem of changing the duty cycle is the requirement for the change to be phase synchronized to the current waveform Many of the involved issues are similar to those of refresh ing the DMA counter and pointer The driver software library provides the function dmapwmSwBuf to switch waveform pattern buffers The following sample programs in the D...

Page 86: ... PK23XX subdirectory provide more detailed examples DMAPWM1 C DMAPWM2 C DMAPWM3 C void dmapwmSwBuf unsigned newBuf256 In order to facilitate all or none duty cycle transitions you should use two buffers While one buffer is being used by the DMA mechanism to generate the PWM output modify the other buffer for the new PWM pattern When the new buffer is ready this function should be called to switch ...

Page 87: ... aligned physical address of the buffer in 256 byte units In general if the buffer is defined as an array in root memory i e of type char the following expression should be passed to this parameter unsigned xmadr buffer 255 8 in which buffer is a pointer of type char to the array bufsize256 is the size of the buffer in 256 byte units This size should not include the overflow area resSize256 is the...

Page 88: ...PK2300 88 s Software Reference Blank ...

Page 89: ...LESHOOTING Appendix A provides procedures for troubleshooting system hardware and software The following sections are included Out of the Box Dynamic C Will Not Start Dynamic C Loses Serial Link PK2300 Repeatedly Resets Common Programming Errors ...

Page 90: ...ften interfere with proper COM port operation For example a mouse running on COM1 can preclude running Dynamic C on COM3 Use the Z World power supply that comes with the developer s kit If another power supply must be used verify that it has enough capacity and filtering to support the PK2300 Use the Z World cables that come with the developer s kit The most common fault of user made cables is fai...

Page 91: ...table and industrial PCs some RS 232 level converter ICs go into a nondestructive latch up Connect the RS 232 cable after powerup to eliminate this problem To reset the PK2300 recycle power or momentarily short pins 5 and 6 on header H1 Dynamic C Loses Serial Link If the program disables interrupts for a period greater than 50 ms Dynamic C will lose its serial link with the application program Mak...

Page 92: ...oSetupAI1st This may be because the resistance being mea sured is too small To resolve the problem try adding a constant resistor in series with the sensor being measured If the total resistance is at least 1 5 kΩ the interval between DMA1 interrupts will be about 0 8 ms which is enough time for the processor to perform computa tions other than handling DMA1 interrupts The DMA driven PWM function ...

Page 93: ...NS Appendix B provides comprehensive PK2300 physical electronic and environmental specifications The following sections are included Electrical and Mechanical Specifications Factory Default Jumper Positions Protected Digital Inputs High Current Drivers ...

Page 94: ...ts 11 protected 20 V to 24 V DC Digital Outputs 8 high current sinking 75 mA channel at 48 V all channels ON at 60ºC 1 channel can sink up to 500 mA continuously at 25 C optional 8 high current sourcing 75 mA channel at 30 V at 60ºC optional CMOS level ouputs Analog Inputs See Resistance Measurement Input Analog Outputs Up to 7 PWM digital outputs Resistive Measurement Input One 0 Ω to 275 kΩ Proc...

Page 95: ...External Dimensions Figure B 1 illustrates external dimensions for the PK2300 Screw Mounting Up to 10 0 28 typ 7 1 4 40 5 0 127 0 315 typ 8 0 2 96 75 1 275 32 4 1 69 42 9 1 15 29 2 0 31 7 9 1 81 46 Figure B 1 PK2300 External Dimensions ...

Page 96: ...J1 H4 J4 Run LED H3 J2 User LED H5 H2 Run Program H10 Table B 2 PK2300 Jumper Connections Header Pins Description Factory Default 1 4 Connect pins 1 2 and pins 3 4 for sinking driver Connect pins 1 3 and pins 2 4 for sourcing driver Pins 1 2 and pins 3 4 connected 5 6 Connect to reset processor not connected allows Run or Program mode Not connected H1 7 8 Connect to enable pin 7 header J1 as IN 16...

Page 97: ... 1 2 and pins 4 6 connected to enable protected digital inputs IN 08 and IN 09 on J4 pins 9 and 10 Connect pins 7 9 and pins 11 12 to configure J4 pins 11 and 12 as RS 485 H4 7 12 Connect pins 7 8 and pins 10 12 to configure J4 pins 11 and 12 as protected digital inputs IN 10 and IN 11 Pins 7 9 and pins 11 12 connected to enable RS 485 on J4 pins 11 and 12 1 2 Connect to enable J1 pin 11 as protec...

Page 98: ...ncy response of protected inputs IN 01 through IN 05 and IN 08 through IN 16 fc 2πRIN C 1 2π 22 103 10 10 9 1 723 Hz t fc 1 1 38 ms at 0 707 of full input value Figure B 3 shows the circuit for protected inputs IN 01 through IN 05 and IN 08 through IN 16 in the factory default pulled up configuration Table B 3 Protected Digital Input Specifications Protected Digital Inputs Maximum Rating Digital I...

Page 99: ...nfiguration Customization Frequency Response and Input Range A faster frequency response is possible by replacing RIN with a smaller resistor For example if the digital input is being driven by a 5 V DC CMOS compatible driver RIN may be replaced with a 0 Ω valued 0805 resistor A 0 Ω resistor for RIN will adversely affect the PK2300 s noise immunity The PK2300 may be ordered in quantity with a cust...

Page 100: ...N 16 and is configured with JP10 0 Ω resistor High Current Drivers Table B 4 lists the high current driver characteristics when sinking drivers or sourcing drivers are used Table B 4 High Current Driver Characteristics Characteristic Sinking Driver Sourcing Driver IC Model Number 2803 2985 Channels 8 8 Max Current per Channel all channels ON 75 mA 60 C 125 mA 50 C 75 mA 60 C 125 mA 50 C Voltage So...

Page 101: ...lso allow a diode internal to the driver chips to snub voltage transients produced during inductive kick associated with switching inductive loads Relays solenoids and speakers are examples of inductive loads Long leads may present enough induction to also produce large potentially damaging voltage transients Because the anodes of the protection diodes for each bank of channels are common only one...

Page 102: ...igh Current Output Figure B 5 PK2300 K Connection Sinking Configuration K must be connected to your load s power supply as shown in Figure B 5 or Figure B 6 To PK2300 pin 2 on J1 To PK2300 High Current Output To Load Power DC Source LOAD Sourcing IL Figure B 6 PK2300 K Connection Sourcing Configuration ...

Page 103: ...oard 2 s 103 APPENDIX C SERIAL INTERFACE BOARD 2 Appendix C provides technical details and baud rate configuration data for Z World s Serial Interface Board 2 The following sections are included Introduction External Dimensions ...

Page 104: ...tch the communication rates established by the host PC 9600 bps 19 200 bps or 57 600 bps However the SIB2 determines the host s communication baud rate only on the first communication after reset To change baud rates change the COM baud rate reset the target PK2300 which also resets the SIB2 then select Reset Target from Dynamic C The SIB2 receives power and resets from the target PK2300 via the 8...

Page 105: ...105 External Dimensions Figure C 1 illustrates the external dimensions for the Serial Interface Board 2 Figure C 1 Serial Interface Board 2 External Dimensions Top View Side View 2 25 57 2 12 0 305 3 60 91 4 0 8 20 1 525 38 7 1 625 41 3 ...

Page 106: ...106 s Serial Interface Board 2 PK2300 Blank ...

Page 107: ...PK2300 Sinking vs Sourcing Drivers s 107 APPENDIX D SINKING VS SOURCING DRIVERS Appendix D provides detailed information about sinking and sourcing high current drivers ...

Page 108: ... and by setting header H1 The factory installed driver chip and default jumper settings are for sinking control ULN2803 Figure D 1 shows the locations of the driver ICs at U1 and U2 Figure D 2 shows the jumper configurations on header H1 Figure D 1 PK2300 High Current Output Driver Chip at U1 Figure D 2 PK2300 Header H7 Jumper Configurations J3 H1 J1 U1 FD H1 1 2 3 4 5 6 7 8 H1 2 4 6 8 1 3 5 7 SIN...

Page 109: ... For more information call your Z World Sales Representative at 530 757 3737 Sinking Driver Low Side Drive The ULN2803 sinking driver can handle up to 500 mA for any channel or an absolute maximum of 1 38 A which represents an average of 75 mA per channel with all channels ON at 60 C The absolute maximum power that the ULN2803 can dissipate is 2 2 W The saturation voltage is a maximum of 1 6 V DC ...

Page 110: ...um power that the ULN2985 can dissipate is 2 2 W The saturation voltage is a maximum of 1 6 V DC per channel The sourcing driver s source voltage must range from 15 V to 30 V Figure D 4 illustrates the sourcing driver configuration Figure D 4 ULN2985 Sourcing Driver See the Motorola DL128 or Allegro AMS 502Z Linear Data Books for more information on sinking and sourcing high current drivers K Load...

Page 111: ...PK2300 Power Management s 111 APPENDIX E POWER MANAGEMENT Appendix E provides detailed information about the power systems and how the PK2300 handles power failures ...

Page 112: ...lure Sequence of Events Figure E 2 summarizes the events that occur as the input power fails Figure E 2 Power Failure Sequence 4 7 V R29 10 kΩ R19 51 kΩ 5 V 9 24 V DC VBAT VRAM NMI RESET RAM CS 691 Regulator Switching LM2575 100 µF 10 µF Power Management IC 22 pF 1 0 2 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 Unregulated DC Regulated 5 V 691 Asserts PFO 691 Asserts RESET 691 Ceases Operation tH Power Fails V...

Page 113: ... below 1 V The 691 ceases operating at this point By this time the portion of the circuitry not battery backed should have long since ceased functioning The ratio of the power supply s output capacitance to a circuit s current draw determines the actual duration of the holdup time interval tH A situation similar to a continuous low input brownout can occur if the power supply is overloaded For exa...

Page 114: ...PK2300 114 s Power Management Blank ...

Page 115: ...PK2300 Enclosure Mounting s 115 APPENDIX F ENCLOSURE MOUNTING Appendix F provides technical details for the PK2300 enclosure and includes mounting suggestions for the enclosure ...

Page 116: ...ove heat from it s circuitry to the outside ambient environment Heat removal is crucial to reliable operation The preferred orientations of the PK2300 enclosure are shown in Figures F 1 to F 4 in order of recommended to least desirable Figure F 1 Preferred PK2300 Enclosure Mounting RS 232 Port Mounting Surface UP RS 232 Port Mounting Surface UP ...

Page 117: ... UP Figure F 3 Acceptable PK2300 Enclosure Mounting Figure F 4 Acceptable PK2300 Enclosure Mounting Figure F 5 PK2300 Enclosure Mounting not recommended The mounting configuration shown in Figure F 5 is not recommended Components on the PK2300 may overheat leading to failure or reduced operating life ...

Page 118: ...2 5 mm and 45 mm The holders available from Z World snap together to form a tray of almost any length Z World s PK2300 enclosure is 75 mm wide and fits directly in these circuit board holders The PK2300 can also be mounted with plastic standoffs to any flat surface that accepts screws The mounting holes are 0 315 inches 8 mm in from the edge of a board and can accept up to 10 mounting screws Figur...

Page 119: ...PK2300 Nonvolatile Storage s 119 APPENDIX G NONVOLATILE STORAGE Appendix G provides information about the flash EPROM memory used in the PK2300 ...

Page 120: ...rld controllers to read and write nonvolatile data The flash EPROM constants listed in Table G 1 apply to the PK2300 Table G 1 PK2300 Flash EPROM Constants Address Definition 0 Startup mode If 1 enter program mode If 8 execute loaded program at startup 1 Programming baud rate in multiples of 1200 bps The factory value is 16 19 200 bps 2 RMI calibration constant 3 RMI calibration constant 4 RMI cal...

Page 121: ...PK2300 I O Map and Interrupt Vectors s 121 APPENDIX H I O MAP AND INTERRUPT VECTORS Appendix H provides information on the PK2300 s memory mapping which is based on the CM7200 core ...

Page 122: ... 0 0x07 TDR1 Transmit Data Register Serial Channel 1 0x08 RDR0 Receive Data Register Serial Channel 0 0x09 RDR1 Receive Data Register Serial Channel 1 0x0A CNTR Clocked Serial Control Register 0x0B TRDR Clocked Serial Data Register 0x0C TMDR0L Timer Data Register Channel 0 low 0x0D TMDR0H Timer Data Register Channel 0 high 0x0E RLDR0L Timer Reload Register Channel 0 low 0x0F RLDR0H Timer Reload Re...

Page 123: ...1B DMA Memory Address Register Channel 1 extra bits 0x2B IAR1L DMA I O Address Register Channel 1 low 0x2C IAR1H DMA I O Address Register Channel 1 high 0x2D Reserved 0x2E BCR1L DMA Byte Count Register Channel 1 low 0x2F BCR1H DMA Byte Count Register Channel 1 high 0x30 DSTAT DMA Status Register 0x31 DMODE DMA Mode Register 0x32 DCNTL DMA WAIT Control Register 0x33 IL Interrupt Vector Low Register...

Page 124: ...0 D7 SEC10 10 seconds 0 5 0x4182 D0 D7 MIN1 minutes 0 9 0x4183 D0 D7 MIN10 10 minutes 0 5 0x4184 D0 D7 HOUR1 hours 0 9 0x4185 D0 D7 HOUR10 10 hours 0 2 0x4186 D0 D7 DAY1 days 0 9 0x4187 D0 D7 DAY10 10 days 0 3 0x4188 D0 D7 MON1 months 0 9 0x4189 D0 D7 MON10 10 months 0 1 0x418A D0 D7 YEAR1 years 0 9 0x418B D0 D7 YEAR10 10 years 0 9 0x418C D0 D7 WEEK week days 0 6 0x418D D0 D7 TREGD Register D 0x41...

Page 125: ...0 indicates on off 1 to turn on 0 to turn off 0x4141 LED D1 RUN LED As above 0x4142 LED D2 USER LED As above 0x4143 CMOS OUT9 As above 0x4144 CMOS OUT10 As above 0x4145 CMOS OUT11 As above 0x4146 CMOS OUT12 As above 0x4147 OUT8 As above 0x4160 read IN 01 to IN 08 Bit x for state of Inx 1 0x4161 write OUT 01 to OUT 07 Bits 0 1 2 indicate which high current driver bit 7 indicates on off 1 to turn on...

Page 126: ...Address Name Description 0x00 INT1_VEC Expansion bus attention INT1 vector 0x02 INT2_VEC INT2 vector 0x04 PRT0_VEC PRT Channel 0 0x06 PRT1_VEC PRT Channel 1 0x08 DMA0_VEC DMA Channel 0 0x0A DMA1_VEC DMA Channel 1 0x0C CSI O_VEC Clocked Serial I O 0x0E SER0_VEC Asynchronous Serial Port Channel 0 0x10 SER1_VEC Asynchronous Serial Port Channel 1 A directive such as the following is used to vector an ...

Page 127: ...ities Highest Priority Trap Illegal Instruction NMI Nonmaskable Interrupt INT 0 Maskable interrupts Level 0 3 modes PIO interrupts INT 1 Maskable interrupts Level 1 PLCBus attention line interrupt INT 2 Maskable interrupts Level 2 PRT Channel 0 PRT Channel 1 DMA Channel 0 DMA Channel 1 Clocked Serial I O Asynchronous Serial Port 0 Lowest Priority Asynchronous Serial Port 1 ...

Page 128: ...PK2300 128 s I O Map and Interrupt Vectors Blank ...

Page 129: ...PK2300 Battery s 129 APPENDIX I BATTERY Appendix I provides information about the onboard lithium battery ...

Page 130: ...humidity and or contaminants such as dust and chemicals To ensure maximum battery shelf life follow proper storage procedures Replacement batteries should be kept sealed in the factory packaging at room temperature until installation Protection against environmental extremes will help maximize battery life Instructions for Replacing the Lithium Battery Use the following steps to replace the batter...

Page 131: ...atterie du même type ou d un type équivalent recommandé par le fabricant Mettez au rebut les batteries usagées conformément aux instructions du fabricant Cuidado Spanish Peligro de explosión si la pila es instalada incorrectamente Reemplace solamente con una similar o de tipo equivalente a la que el fabricante recomienda Deshagase de las pilas usadas de acuerdo con las instrucciones del fabricante...

Page 132: ...PK2300 132 s Battery Blank ...

Page 133: ... COM port 91 common problems continued programming errors 91 repeated resets 91 communication ports 74 Compile 38 icon 22 program 22 components 26 configuring inputs and outputs 30 serial communication 29 connect PK2300 to PC 18 customization 15 D Darlington transistors 42 default communication rate 20 default jumper positions 96 Developer s Kit 16 device I O map 75 digital I O 65 addressing 76 77...

Page 134: ...ible I O 27 float use 91 function of K 101 H H1 31 standard configuration 96 H10 52 53 H2 standard configuration 96 H3 standard configuration 96 H4 33 standard configuration 96 H5 31 caution 31 standard configuration 96 halt program 22 header H1 31 H4 33 H5 31 H10 52 53 high current driver outputs 14 42 specifications 100 I I O addresses external to Z180 125 advanced programming 75 combinations 14...

Page 135: ...upt 60 nonvolatile storage 120 O offChar 86 operating modes 36 changing 37 permissible activities 37 output channel assignments 66 CMOS 14 34 demonstration program 42 43 high current 42 high current driver 14 overload 113 P pBufStart 86 permissible activities 37 phyBuffer256 87 PK2300 components 26 connect to PC 18 device I O map 75 establish communication 20 external dimensions 95 features 14 mod...

Page 136: ... jack 14 RMI 12 14 45 64 70 circuit 26 demonstration program 46 how to use 46 sample applications 45 theory of operation 49 RS 232 14 29 communication 50 connector pinouts 50 RS 485 14 29 communication 51 driver addressing 78 port 50 51 termination resistors 51 53 run icon 22 mode 36 program 22 program standalone 38 sample program 22 Run Program jumper 37 S sample program AI1 C 71 AO1 C 57 73 DIO1...

Page 137: ...t driver 100 LEDs 58 protected digital inputs 98 PWM 54 SRAM 58 standalone mode 36 run program 38 storage nonvolatile 120 subsystems 62 supplied software 64 T termination resistor 51 53 tm_rd 59 tm_wr 59 troubleshooting baud rate 91 cables 90 COM port 90 91 communication mode 91 expansion boards 90 grounds 90 operating mode 91 power supply 90 repeated resets 91 U unregulated input voltage 113 user...

Page 138: ...PK2500 138 s Index Blank ...

Page 139: ... No 019 0040 Revision E Printed in U S A Z World Inc 2900 Spafford Street Davis California 95616 6800 USA Telephone Facsimile Web Site E Mail 530 757 3737 530 753 5141 http www zworld com zworld zworld com ...

Reviews: