===================================================================== 04/09/04 Instructions for installing libraries and samples programs for RabbitNet Expansion cards. Revision History: ----------------- Rev 1.00 Initial Release. Rev 1.01 Defect #81031 fixed. No longer getting intermittent results when reading RN1100 digital inputs. Rev 1.02 Support for RN1300 added. Functions now return No Connect (-1) value at runtime. Samples updated. Rev 1.03 Support for RN1400 Added. Rev 1.04 Added support for RN1100, RN1200, RN1300, RN1400 device timing. See _rn_enumerate_port(). Minimized rn_devtable from 256 to RN_MAX_PORT size. Preserved register ix in the _mosi_driver(). Bug #81148 fixed - RN1100 rn_digOutConfig() configures and saves sinking and sourcing output safe states. Rev 1.05 Added support for RN1600. Rev 1.06 Added instructions for BL2600 and RCM3300. ===================================================================== INSTRUCTIONS ============ The Rabbbitnet Install Shield program has completed loading all files required for Rabbitnet Expansion cards into the following three folders. \Temp \Temp\Lib \Temp\Samples To complete the install process, do Steps 1 - 3 which will require you to copy/paste folders and edit setup files. Step 1: Copy the "Lib" and "Samples" folders from the Temp directory to your working Dynamic C root directory. Step 2: Locate and save backup copies of the following files: \DCRabbit8xxP\LIB.DIR \DCRabbit8xxP\LIB\DEFAULT.H \DCRabbit8xxP\LIB\BOARDTYPES.LIB Step 3: This step describes how to edit the three files named in Step 2. Read the following instructions carefully when adding new information. For "LIB.DIR", add the following lines after the last entry. Do not leave blank lines. LIB\RABBITNET\rnet.lib LIB\RABBITNET\rn_cfg_bl25.lib LIB\RABBITNET\rn_cfg_op72.lib LIB\RABBITNET\rnet_driver.lib LIB\RABBITNET\rnet_dio.lib LIB\RABBITNET\rnet_ain.lib LIB\RABBITNET\rnet_aout.lib LIB\RABBITNET\rnet_relay.lib LIB\RABBITNET\rnet_keyif.lib LIB\RABBITNET\rnet_lcdif.lib For "DEFAULT.H", add the following lines in places as indicated. . . . #if ((_BOARD_TYPE_ == OP7200) || (_BOARD_TYPE_ == OP7200B)) #define ANALOG #define TOUCHSCREEN #endif /////add next 8 lines #use "rn_cfg_op72.lib" #use "rnet.lib" #use "rnet_dio.lib" #use "rnet_ain.lib" #use "rnet_aout.lib" #use "rnet_relay.lib" #use "rnet_keyif.lib" #use "rnet_lcdif.lib" ///// #endif . . . . . . #if ((_BOARD_TYPE_ >= BL2500A) && (_BOARD_TYPE_ <= (BL2500A+0x00FF))) #define ADC_ONBOARD #define DAC_ONBOARD #use "bl25xx.lib" /////add next 8 lines #use "rn_cfg_bl25.lib" #use "rnet.lib" #use "rnet_dio.lib" #use "rnet_ain.lib" #use "rnet_aout.lib" #use "rnet_relay.lib" #use "rnet_keyif.lib" #use "rnet_lcdif.lib" ///// #endif . . . . . . #if ((_BOARD_TYPE_ == BL2610A) || (_BOARD_TYPE_ == BL2610B)) #define BL26_ENET_OPT1 #endif #use "bl26xx.lib" /////add next 8 lines #use "rn_cfg_bl26.lib" #use "rnet.lib" #use "rnet_dio.lib" #use "rnet_ain.lib" #use "rnet_aout.lib" #use "rnet_relay.lib" #use "rnet_keyif.lib" #use "rnet_lcdif.lib" ///// #endif . . . For "BOARDTYPES.LIB", add the following line under the "product codes" heading. // product codes . . . /////add the next 5 lines #define RN1100A 0x1900 // RabbitNet RN1100 Digital I/O board #define RN1200A 0x1A00 // RabbitNet RN1200 Analog-to-Digital board #define RN1300A 0x1B00 // RabbitNet RN1300 Digital-to-Analog board #define RN1400A 0x2100 // RabbitNet RN1400 Relay board #define RN1600A 0x2000 // RabbitNet RN1600 Keypad/Display Interface . . . ================================================= RCM3300 only: You will need to add #use rcm33xx.lib at the top of all sample programs. For "\Samples\RCM3300\RN_CFG_RCM33.LIB", at the end of the library add the following lines between BeginHeader and EndHeader. /*** BeginHeader */ /////add the next lines #use "rnet.lib" // RabbitNet driver #use "rnet_dio.lib" // RabbitNet DI/O card #use "rnet_ain.lib" // RabbitNet Analog Input card #use "rnet_aout.lib" // RabbitNet Analog Output card #use "rnet_relay.lib" // RabbitNet Relay card #use "rnet_keyif.lib" // RabbitNet Keypad Interface #use "rnet_lcdif.lib" // RabbitNet Display Interface ////// /*** EndHeader */ ================================================= Once you have completed these steps, you are ready to use your RabbitNet I/O Card. For documentation on a RabbitNet I/O Expansion Card, go to one of the following links: http://www.zworld.com/products/rn1100/ http://www.zworld.com/products/rn1200/ http://www.zworld.com/products/rn1300/ http://www.zworld.com/products/rn1400/ http://www.zworld.com/products/rn1600/ =================================================