Stable Real Time Clock for PCs Model PCRTC Documentation Number PCRTC2095 This product Designed and Manufactured In Ottawa, Illinois USA of domestic and imported parts by B&B Electronics Mfg. Co. Inc. 707 Dayton Road --P.O. Box 1040 --Ottawa, IL 61350 PH (815) 433-5100 --FAX (815) 433-5105 Internet: orders@bb-elec.com support@bb.elec.com . B&B Electronics March 1995 Documentation Number PCRTC2095 Manual Cover Page B&B Electronics --PO Box 1040 --Ottawa, IL 61350 PH (815) 433-5100 --FAX (815) 433-5105 Table of Contents CHAPTER 1. GENERAL INFORMATION ....................................1 INTRODUCTION ........................................................................................1 PACKING LIST..........................................................................................1 SPECIFICATIONS.......................................................................................1 CHAPTER 2. SETUP ..........................................................................2 HARDWARE SETUP...................................................................................2 TABLE 1. ADDRESS SWITCH SETTINGS...................................................2 HARDWARE INSTALLATION .....................................................................3 SOFTWARE SETUP....................................................................................3 CHAPTER 3. OPERATION...............................................................4 OVERVIEW ...............................................................................................4 USING THE DEVICE DRIVER.....................................................................4 COMMAND LINE OPTIONS........................................................................5 SETTING THE PCRTC TIME AND DATE ...................................................5 REPLACING THE BATTERY .......................................................................6 PROGRAMMING WITH THE PCRTC ..........................................................6 QUICKBASIC PROGRAMMING EXAMPLE..............................................10 PASCAL PROGRAMMING EXAMPLE........................................................10 C PROGRAMMING EXAMPLE..................................................................11 CHAPTER 4. CALCULATING ERROR........................................12 PPM TERMINOLOGY..............................................................................12 OSCILLATOR ERROR ..............................................................................12 APPENDIX A. HARDWARE I/O MAP..........................................14 Documentation Number PCRTC2095 Manual Table of Contents B&B Electronics --PO Box 1040 --Ottawa, IL 61350 PH (815) 433-5100 --FAX (815) 433-5105 Chapter 1. General Information Introduction The PCRTC is real time clock for PCs based on a highly stable oscillator circuit. Using the software driver provided, the PCRTC will update the DOS clock every minute, ensuring that all applications have access to accurate time information. With a simple function call, the PCRTC also reports battery status and the time of the last power loss or computer reset. Packing List Examine the shipping carton and contents for physical damage. The following items should be in the shipping carton: 1. PCRTC unit 2. One PCRTC 3.5” disk 3. This instruction manual If any of these items are damaged or missing contact B&B Electronics immediately. Specifications Setup Address: Programmable with four position DIP switch Interrupt: None required Oscillator Temperature Stability: < 5 ppm 0 -50 °C Calibration: < 1 ppm @ 23 °C (room temperature) Aging: < 1 ppm Power Requirements 35 mA @ 5VDC Battery Requires lithium AA battery 3-4V Battery Life: approximately 10K hr. without host computer powered. Replacement batteries are available from B&B Electronics, order as part number 3345. Dimensions: 4.8” l x 3.0” h Documentation Number PCRTC2095 Manual B&B Electronics --PO Box 1040 --Ottawa, IL 61350 PH (815) 433-5100 --FAX (815) 433-5105 Chapter 2. Setup Hardware Setup The address switch on the PCRTC must be set to an address which doesn’t conflict with other devices in the host computer. The address settings are listed in Table 1, and are also printed on the PCRTC card. The PCRTC is shipped from the factory set for 200h. If you need to change this address, select one from the table which will not conflict with another device in the host computer. If the PCRTC does not operate properly, select a new address. Remember to edit the file CONFIG.SYS to match the device driver address to that used by the hardware. Appendix A contains a hardware I/O address map for AT class PCs. Table 1. Address Switch Settings Hex Address Switch Settings 1234 200 0000 220 1000 240 0100 260 1100 280 0010 2A0 1010 2C0 0110 2E0 1110 300 0001 320 1001 340 0101 360 1101 380 0011 3A0 1011 3C0 0111 3E0 1111 Documentation Number PCRTC2095 Manual B&B Electronics --PO Box 1040 --Ottawa, IL 61350 PH (8...