Smart Distributed System: SDS-PCI-2 PCI Interface Card User's Guide
Smart Distributed System: SDS-PCI-2 PCI Interface Card User's Guide
SDS-PCI-2
PCI Interface Card
User’s Guide
All  rights  reserved.  No  part  of  this  guide  can  be  reproduced  in  any  form  
without  permission  from  the  publishers.    
MS-DOS,  Microsoft,  and  Windows  are  registered  trademarks  and  Windows  is  a  trademark  of  
Microsoft  Corporation.  Intel  is  a  registered  trademark  of  Intel  Corporation.    
Holjeron Corp.
27520 S.W. 95th Ave.
Wilsonville, OR 97070
1-800-691-8302
www.holjeron.com
                                                                     	
  
                                                                                                                                                      Table  of  Contents    
                                   CHAPTER 1.............................................................................................................. 1
                                        Introduction .............................................................................................................................. 1
                                        About this User’s Guide ....................................................................................................... 1
                                        Sales and Service ................................................................................................................. 3
                                        Internet Addresses................................................................................................................ 3
                                        Warranty/Remedy .................................................................................................................. 3
                                   CHAPTER 2.............................................................................................................. 4
                                         Installation ................................................................................................................................ 4
                                             System Overview .................................................................................................................4
                                               PC to PCI Card Interface ................................................................................................. 5
                                                Control............................................................................................................................. 5
                                               Bus Channels ................................................................................................................... 5
                                            Order Guide.......................................................................................................................... 5
                                            PC Card Layout and Configuration...................................................................................... 5
                                               Connectors and Cabling................................................................................................... 5
                                               Connector Pin Assignments............................................................................................. 6
                                                Termination Resistors...................................................................................................... 6
                                                Card Installation...............................................................................................................7
                                            PC to System Cabling .......................................................................................................... 7
                                            Hardware Initialization Instructions..................................................................................... 8
                                            Software Installation and Configuration .............................................................................. 9
                                               What is on the Configuration Disk .................................................................................. 9
                                               Installing the Configuration Software.............................................................................. 9
                                            Specifications..................................................................................................................... 11
                                               Host System Requirements............................................................................................ 11
                                               PCI Bus Requirements................................................................................................... 11
                                                PC Interface Card Specifications................................................................................... 11
                                   CHAPTER 3............................................................................................................. 12
                                         DLL Interface ......................................................................................................................... 12
                                           Operation Order ................................................................................................................. 12
                                           API Services....................................................................................................................... 13
                                             Cfg Bld .......................................................................................................................... 13
                                              Cfg Dev Status............................................................................................................... 13
                                             Cfg Sys Status................................................................................................................ 13
                                             Cfg2Cfx ......................................................................................................................... 14
                                              Change Address............................................................................................................. 14
                                              Clear Device Error......................................................................................................... 14
                                             Create Handle ................................................................................................................ 14
                                             Destroy Handle .............................................................................................................. 14
                                             Device Action ................................................................................................................ 14
                                             Device Present ............................................................................................................... 14
                                              Device Prim Tag............................................................................................................ 14
                                             Download APL .............................................................................................................. 14
                                             Finish ............................................................................................................................. 14
                                             Generate Unique Addresses........................................................................................... 14
                                              Get Attr.......................................................................................................................... 15
                                     CHAPTER 5........................................................................................................... 27
                                        Log File and Error Messages.................................................................................................. 27
                                           The Anatomy of the Log File............................................................................................. 27
                                              Example Log File .......................................................................................................... 27
                                          Information Messages ........................................................................................................ 28
                                               Date: nn/nn/nn Time: nn:nn:nn .................................................................................... 28
                                              File: name Line: number............................................................................................... 28
                                             Honeywell - MICRO SWITCH System Initialize In Progress (Version:nn) ................. 28
                                             Initialize the PC Interface Board: nnnn Bus#n: nnn Bus#n: nnn ................................... 28
                                              Parameter: nnn............................................................................................................... 28
                                             System Initialization Complete -- No Errors. ................................................................ 28
                                           Error Messages................................................................................................................... 29
                                           Initialization Error Message............................................................................................... 29
                                             Errors Found in Smart Distributed System Initialization............................................... 29
                                              Initialize Error: nnnn...................................................................................................... 29
                                              <<<Unknown Channel Error Bit>>>............................................................................. 29
                                          Device Error Messages ...................................................................................................... 33
                                               Device Error for Address: nn Error: nnn ...................................................................... 33
                                          Configuration Error Messages ........................................................................................... 38
                                              Board: nnn Channel: nn Address: nn ........................................................................... 38
                                              Duplicate Configuration Files Specified........................................................................ 39
                                               Error in Specified Board Address..................................................................................39
                                             Error Initializing Interface Board Channel nn Status: nnnn........................................... 39
                                              Error in Initialize Write Status: nn................................................................................. 39
                                             Extra Device on the Bus ................................................................................................ 39
                                             Error Invalid Channel Number ...................................................................................... 39
                                             Error Processing Line: <line from file> ........................................................................ 39
                                              Error Reading System Bus errors for Channel nn Status: nnn....................................... 39
                                             Error -- NO Parameters passed to STARTSDS ............................................................. 39
                                              Incorrect Attribute Value Attr: nnn................................................................................ 39
                                             Initialize Errors for Channel nn ..................................................................................... 40
                                             Invalid Automatic_attribute_update parameter.............................................................. 40
                                              Invalid Device Address.................................................................................................. 40
                                              Invalid Option Specified: nnnnn.................................................................................... 40
                                              Invalid Speed Selected -- MUST BE 125, 250, 500 or 1000......................................... 40
                                             Missing Address Information. ....................................................................................... 40
                                              Missing Board Parameter............................................................................................... 40
                                             Missing Channel Information ........................................................................................ 40
                                             Missing Device .............................................................................................................. 40
                                              No Configuration File Specified.................................................................................... 40
                                             Unable to Open Configuration File: nnn........................................................................ 41
                                              Summary Screen............................................................................................................ 41
Chapter 1
                                                                                                            Introduction
                             About  this  User’s  Guide    
                                           This User’s Guide for the Smart Distributed System PCI Interface Card is organized
                                           into a Table of Contents, five chapters, and an index. It contains the information
                                           needed to install and configure the PCI Interface Card. Throughout the User’s
                                           Guide important information is highlighted with the NOTICE banner as shown in
                                           the example below:
                                                                                       
                                                           Failure to read this User’s Guide may cause undue delays in
                                                           implementation of the PCI Interface Card.
                                           Please take special note of these highlighted portions. They will help make your
                                           installation of the PCI Interface Card faster and easier.
                                           Chapter 1                   This chapter contains organizational information about this User’s Guide, as
                                                                       well as information on sales and service and product warranties.
                                           Chapter 2
                                                                       This chapter contains an overview of the PCI Interface Card and in-depth
                                                                       information on the setup and operation.
                                           Chapter 5                   This chapter explains the organization of the log file and details the
                                                                       messages that appear in both the log file and on the screen.
Index
                                           1-800-691-8302 or
                                           1-971-224-1600
                                           Specifications may change at any time and without notice. The information we
                                           supply is believed to be accurate and reliable as of this printing. However, we
                                           assume no responsibility for its use.
                           Internet  Addresses    
                                           To request information on the Smart Distributed System via the Internet send an e-
                                           mail to:
info@holjeron.com
Or, if you have access to the World Wide Web, point your browser to:
http://www.holjeron.com
                           Warranty/Remedy    
                                           Holjeron warrants goods of its manufacture as being free of defective materials
                                           and faulty workmanship. Commencing with date of shipment, Holjeron’s warranty
                                           runs for 18 months. If warranted goods are returned to Holjeron during that period
                                           of coverage, Holjeron will repair or replace without charge those items it finds
                                           defective. The foregoing is Buyer’s sole remedy and is in lieu of all other
                                           warranties, express or implied, including those of merchantability and fitness
                                           for a particular purpose.
                                                                                                                                                         Chapter  2    
  
                                                                                                                                                      Installation
                           System  Overview    
                                           The PCI Interface Card for the Smart Distributed System provides the interface
                                           between an IBM-compatible personal computer (PC) and two separate Smart
                                           Distributed System buses.
                                                               ������������
                                               �                 ��������	
  	
  
                                                                                                                     	
  
                                               	
  
                                               �
                                               	
  
                                                                    	
  
                                               �
                                               	
         ����
                                               �           �	
  
                                               	
         ����
                                               �          ����
                                               	
         ���	
  	
  
                                               �
                                                                           �	
  � 	
  � 	
  � 	
  � 	
  � 	
  	
  
                                               	
  	
  
                                                              �����	
  
                                                          �����������	
  	
  
                                                   Control    
                                                   The control section contains the CPU and the RAM. The CPU oversees the
                                                   operation of the card and the communication of both bus channels.
                                                   The Flash EPROM is where the application layer of the Smart Distributed System
                                                   protocol is downloaded. At Smart Distributed System PCI Interface power-up time,
                                                   the application layer software is moved to the SRAM and execution is started. This
                                                   happens automatically with no user intervention required.
                                                   Bus  Channels    
                                                   There are two independent, optically isolated CAN channels on each PC Interface
                                                   Card: bus one (B1) and bus two (B2). See Figure 2-3 PC Card Layout on page 5.
                                                   Each channel has an individual driver, optical isolator, and a 9-pin Male D-sub
                                                   Connector.
                                   Order  Guide    
                                                     Catalog  Listing  Description    
                                                          PC  Interface  Card    
                                                     SDS-PCI-2  PC  Interface  Card  Kit  with  one  “PCI”  PC  Interface  Card  (  RoHS  compliant  
                                                     version  of  SDS-PCI-2).  (  Itools  configuration  software  is  available  at  www.holjeron.com)  
                                                          Cables  Available  for  Purchase  Separately    
                                                     SDS-AFA-003  9-Pin  Female  D-sub  Connector  to  5-Pin  Male  Mini  Connector  cable,  3  ft.    
Termination Resistors
                                                                           
                                                           Each bus must have two — and only two — termination
                                                           resistors - one resistor at each extreme end of the trunk. (See
                                                           Figure 2-5).
                                                           The PCI Interface Card has 120 Ohm terminating resistors for
                                                           each bus. They are enabled or disabled by DIP switches near
                                                           the connector edge and between the bus connectors. Disable
                                                           the resistor if the PCI card is not at one end of the bus.   
                                                            
                                                   Figure 2-5 shows the PC Interface Card connected to the middle of the bus using
                                                   B1. It also shows the PC Interface Card terminating one end of a bus using B2.
                                                   Card  Installation    
                                                   Install the SDS-PCI-2 Card in a PCI expansion slot. Refer to your PC’s
                                                   documentation for expansion card installation procedures.
                                                                  The user must provide the power supply for the Smart
                                                                  Distributed System bus power. Figure 2-6 PC to System
                                                                  Cabling Example shows the proper cabling to connect the bus
                                                                  and bus power to the system trunk.
                                           This completes the card initialization. Exit iTools before launching control
                                           software. If you need to configure more than one SDS-PCI-2 card, it is best to do
                                           one at a time, otherwise there is no way to guarantee which card is which.
                                            The “Verify” button compares the code in flash memory with the data in pci.s19 file
                                            and reports the results.
                                           The “Reset Card” button resets (reboots) the card. Under normal conditions, this button
                                           is not necessary. It is included here as a convenience for troubleshooting.
                                                   There are example subroutines that can be used by software developers to access
                                                   the shared memory. README.TXT has more information on these developer’s
                                                   tools.
                                                                              
                                             SDS-PCI-2 requires iTools Version 6.0 or higher.
                                                                                                                                                                Chapter  3    
                                                                                                                                                             
                                                                                                           DLL Interface
                                   The Smart Distributed System DLL provides a standardized interface between the
                                   control software and the interface hardware. The DLL provides an API for
                                   accessing Smart Distributed System buses on a Windows NT platform via multiple
                                   types of Smart Distributed System interface hardware.
                                   This API presents a C style interface to the Smart Distributed System buses. The
                                   actual implementation of the SDSIF DLL is accomplished using a C++ style object
                                   oriented approach.
                                   NOTE: The following description of the DLL is provided for expert users or
                                   software driver developers who must interface directly at the DLL level. Users of
                                   packaged PC Control application software should ask their software supplier for a
                                   Smart Distributed System driver which supports the SDS-PCI-2 card and interfaces
                                   to the API and DLL services described below.
                   Operation  Order    
                                   The order of operations when accessing a bus is:
                                      1.   Request a handle to the Smart Distributed System bus. The desired bus is
                                           indicated through parameters calling out the type of Smart Distributed System
                                           interface hardware, the location (address, ID) of the interface hardware, and the
                                           channel number to use on the interface.
                                      2.   Start the bus at a particular desired baud rate. If desired, system start-up behavior
                                           may be provided by use of a CFX file, and the results of the start-up may be
                                           logged to a data file.
                                      3.   Access the bus through a series of API calls that provide access to I/O,
                                           diagnostics, device attributes, and many other features.
                                      4.   Stop the bus in a controlled manner.
                                      5.   Destroy the handle to the bus.
                                           Because a single Smart Distributed System interface card may contain multiple
                                           channels, the linkage between the bus object and the actual interface hardware is
                                           somewhat complex. It is necessary for multiple Smart Distributed System bus
                                           objects to communicate via the same piece of hardware. Some driver utilities, in
                                           particular WinDriver, lock the interface hardware when a communications link is
                                           established. This locking process prevents other entities from accessing the
                                           hardware. Because of this locking process, it may be necessary to use the same
                                           hardware link for multiple bus objects. The handling of these hardware links is
                                           handled via the Hardware Linkage Factory object. It maintains knowledge about
                                           which hardware links are in existence.
                                           Requests for Smart Distributed System bus handles result in the generation of bus
                                           interface objects. When new Smart Distributed System interface hardware is
                                           developed, appropriate new bus objects would also be developed, if necessary, to
                                           interface with this hardware.
                           API  Services    
                                           The following list provides a brief description of each API service. The actual
                                           SDSIF DLL API calls are described in SDSIF.h and SDSIFDEF.h.
                                           Cfg  Bld    
                                           Builds a text based CFG (configuration) file from the current Smart Distributed
                                           System bus. This CFG file may be used during enrollment to ensure that the state of
                                           the bus is the same as it is was when the CFG file was created. This service can be
                                           used with the bus running or not running. In either case, the bus will be returned to
                                           its initial state (running or not running) when the build service is completed.
                                   Create  Handle      
                                   Generates a handle that is used to refer to a particular bus.
                                   Destroy  Handle      
                                   Releases a previously requested handle.
                                   Device  Action    
                                   Initiates a specified action within a Smart Distributed System device.
                                   Device  Present    
                                   Indicates whether or not a Smart Distributed System device is enrolled on the
                                   system.
                                   Download  APL    
                                   Downloads application layer code (interface card embedded code) to the Smart
                                   Distributed System interface card. This service is only supported by certain
                                   interface cards that require a code download.
                                   Finish    
                                   Stops a Smart Distributed System bus from executing. (Note that finishing a bus
                                   does not release its handle. Use the Destroy Handle service.)
                                           Get  Attr    
                                           Reads data from a specified attribute of a Smart Distributed System device.
                                           Get  Info    
                                           Returns information about the Smart Distributed System device such as vendor,
                                           catalog listing, serial number, etc.
                                           Get  Privilege    
                                           Returns the privilege level for the Smart Distributed System bus.
                                   Init    
                                   Initializes a Smart Distributed System bus. The bus will be enrolled.
                                   Is  Analog    
                                   Indicates whether the specified input or output value is analog or digital. More
                                   detailed I/O information may be obtained by decoding the value returned by the
                                   Get I/O Descriptor service.
                                   Multi-Errors    
                                   Obtains all system and device level diagnostics at once. The behavior of the system
                                   and device diagnostic indications are the same for each as if they were read
                                   individually.
                                   Multi-Read  Input    
                                   Reads all Smart Distributed System input data at once.
                                   Multi-Read  Output    
                                   Reads all Smart Distributed System output data at once.
                                   Multi-Write  Output      
                                   Writes all Smart Distributed System output data at once.
                                   Read  Input      
                                   Reads the input for a Smart Distributed System device.
                                   Set  Attr    
                                   Writes data to a specified attribute of a Smart Distributed System device.
                                           Watchdog  Status    
                                           Indicates the status of the system watchdog timer.
                                           Watchdog  Sustain    
                                           Sustains the system watchdog timer (keeps it from tripping). Once configured, the
                                           system watchdog must be sustained faster than the configured rate to keep it from
                                           tripping.
                                           Write  Output      
                                           Writes the output value to a Smart Distributed System device.
Chapter 4
                                                                            Configuration File
                                   You may, at your option, specify a configuration file describing the low-level
                                   details of your system. The use of a configuration file is highly recommended;
                                   however, you can elect to omit a system configuration file. The purpose of the
                                   system configuration file is to establish and verify each attribute in every device on
                                   all of the buses in the system. By specifying a Configuration File, you will be
                                   assured that each and every device is present and properly configured prior to
                                   system startup. Any text editor or word processor (text mode) may be used to
                                   create a configuration file, or software is available from third-parties to
                                   automatically create a configuration file from a properly configured network.
                                   Case    
                                   Case is not significant. Capitalize the commands and comments any way that looks
                                   good and makes sense.
                                                       Name	
                                            Character	
  
                                                       	
  	
                                 	
  	
  
                                                       Parenthesis	
                                              ()	
  
                                                       Square	
  Brackets	
                                       []	
  
                                                       Tab	
  
                                                       Space	
                                	
  
                                                       Comma	
                                	
                  ,	
  
                                                       Colon	
                                                    :	
  
                                                       Equal	
  Sign	
                                            =	
  
Organization
                                   The Configuration File has a relatively simple hierarchical organization (See Figure
                                   4-1 Configuration File Organization Example). The commands for each board
                                   (CHANNEL, BAUD, etc.) must be grouped under the BOARD command. The
                                   ADDRESS commands must be grouped under the appropriate CHANNEL
                                   command and the INPUT, OUTPUT, and ATTR commands must be grouped under
                                   the appropriate ADDRESS command.
                                           Board    
                                           The BOARD command allows you to specify the address of the PC Interface Card
                                           which has been selected via the iTools program. (You must specify the Card ID
                                           number you selected for each card with the iTools program).
                                           Baud    
                                           The BAUD command specifies the bus speed of the buses connected to B1 and B2
                                           of the PC Interface Card respectively. The BAUD option is subordinate to the
                                           CHANNEL option.
NOTE: Different bus topology rules are applicable to each selectable baud rate.
                                           Channel  1  and  2    
                                           The CHANNEL 1 and CHANNEL 2 commands specify that the network device
                                           data in the section following pertains to connector B1 or B2, respectively. The
                                           CHANNEL option is subordinate to the BOARD option.
Syntax: CHANNEL 1
                                           Address    
                                           The ADDRESS option specifies the device address number. The data following this
                                           option pertains to the selected device number. Each ADDRESS specified must be
                                           followed by a corresponding INPUT or OUTPUT command (see below). The
                                           ADDRESS option is subordinate to the CHANNEL option.
                                           Replacement_Address    
                                           The REPLACEMENT_ADDRESS command specifies the address which the Smart
                                           Distributed System PC Interface will interrogate in an effort to locate a device
                                           which is missing from the system. The user must also specify the HIERARCHY
                                           command whenever the REPLACEMENT_ADDRESS command is specified.
                                           When the Smart Distributed System PC Interface Card discovers a device is missing
                                           from the system, the card will examine the specified replacement address
                                   and object model to determine if the missing device is located at the replacement
                                   address. If this situation is true and unambiguous, the Smart Distributed System
                                   PC Interface will move the device from the replacement address to the device
                                   address. The REPLACEMENT_ADDRESS command is subordinate to the
                                   ADDRESS option.
                                   Syntax: REPLACEMENT_ADDRESS <device_address>
                                   Hierarchy    
                                   The HIERARCHY command specifies the object model hierarchy number of the
                                   device used at the specified address. The system uses the option only with the
                                   REPLACEMENT_ADDRESS command. Hierarchy information is available from
                                   the device manufacturer or by reading Attribute 2 within the device. When the
                                   following conditions are met, the Smart Distributed System PC Interface will
                                   automatically readdress a device from the specified replacement address to the
                                   specified device address:
                                   Input    
                                   The INPUT command specifies that the device is an input device. The user then
                                   specifies the number of bits of input which are contained in the device. Check the
                                   device documentation to determine how many bits are contained in the device.
                                   Most digital sensors (On or off) contain only one bit. Analog inputs or some
                                   specialty devices may contain more. The INPUT command is subordinate to the
                                   ADDRESS option.
                                   Output    
                                   The OUTPUT command specifies that the device on the bus is an output device.
                                   The user then specifies the number of bits of output which are contained in the
                                   device. Check the device documentation to determine how many bits are contained
                                   in the device. Most digital actuators (On or off) contain only one bit. Analog
                                   outputs or some specialty devices may contain more. The OUTPUT command is
                                   subordinate to the ADDRESS option.
                                           Attr    
                                           The ATTR option allows you to verify or set specific device attributes on power-up
                                           or reset. The ATTR option is subordinate to the ADDRESS option.
                                           Syntax: ATTR <nn> <type> <value>
                                                           <nn> The number of the attribute to be checked and updated if necessary.
                                                           <type> The type of the attribute in the device. The following types of
                                                           attributes are supported by devices:
                                                                    BYTE - A single 8 bit character attribute.
                                                                    WORD - A numeric attribute which is 2 bytes in length. This type
                                                                            of attribute may take values from 0 to 65,535.
                                                                    LONG - A numeric attribute which is 4 bytes in length. This type of
                                                                            attribute may take values from 0 to 4,294,967,295.
                                                                    FLOAT – A single-precision floating point numeric value. The
                                                                    ARRAY modifier can be used with all three types of
                                                                            descriptors to describe an array of the attribute types.
                                                           <value> The desired value of the attribute in the device. Character strings
                                                           should be between quote marks and are connected to individual byte
                                                           values.
* * * * * * Board #1 * * * * * *
* * * * * * * * * * * * Channel #1 * * * * * * * * * * * * * *
Channel 1
* * * * * * Board #1 * * * * * *
* * * * * * * * Board # 1 - Channel #1 * * * * * * * * * * * * * *
Channel 1
* * * * * * * * * Board # 1 - Channel #2 * * * * * * * * * * * * * *
Channel 2
                                   * * * * * * Board #2 * * * * * *
                                   Board: 7                                      * Board ID 7 configured with iTools
                                   * * * * * * * * * *Board #2 - Channel #1 * * * * * * * * * * * * * *
                                   Channel 1
* * * * * * * * * Board #2 - Channel #2 * * * * * * * * * * * * * *
Channel 2
Chapter 5
                                           The SDS.LOG file keeps an on-going record of the power-up condition of the Smart
                                           Distributed System bus. This provides an excellent source of information for:
                                           •               Application development
                                           •               System maintenance
                                           •               System operational documentation
                   Information  Messages    
                                   This section details the informational messages that can appear on the screen or in
                                   the Log File.
                                   Initialize  the  PC  Interface  Board:  nnnn  Bus#n:  nnn  Bus#n:  nnn    
                                   Information message informs the user of the buses initialized on the specified PC
                                   Interface card. nnnn is the card’s ID number, n is the bus number, nnn is the baud
                                   rate.
                                   Parameter:  nnn    
                                   Message displaying the parameter passed to the program when it is started. nnn is
                                   the parameter value.
                                           With one exception, all of the messages indicate a problem with bus operations. To
                                           troubleshoot these problems you should:
                                   If these steps don’t resolve the problem you should contact Holjeron Customer
                                   Service at 1-800-691-8302 for assistance. See Sales and Service on page 2.
                                   The one exception is Device Errors Present on the Channel. See the next section for
                                   details on device errors.
                                   Note: This status indicator is reserved for later hardware compatibility on the
                                   Holjeron PC Interface Card, and cards from various other vendors. When
                                   implemented, the value will always be coded as a 0.
                                   Serious internal error on the Smart Distributed System PC Interface. This condition
                                   occurs rarely, if at all.
                                   This bit is set if the Receive FIFO (First In - First Out buffer storage system) is full
                                   and can accept no more messages. All input bus traffic is processed on the control
                                   PC Interface by the ISR (Interrupt Service Routine). This software module places
                                   the raw CAN data into the receive FIFO for processing by the Input Task. This error
                                   occurs when the Input Task is unable to process the data from the ISR in a timely
                                   fashion. At some time the data passed between the ISR and the Input Task
                                   accumulates to the point where the FIFO buffer is entirely full.
                                   Solution:
                                   •      Select a slower baud rate to reduce the bus traffic the PC Interface must process.
                                   •      Reduce the bus traffic by other means including turning off cyclical timers in devices,
                                          etc.
Serious internal error on the PC Interface. This condition occurs rarely, if at all.
                                           All bus traffic which is NOT understood by the PC Interface is placed into the IMB
                                           Buffer (Incoming Message Buffer) This buffer may be read by the host driver
                                           software to determine what bus traffic exists on the bus which the interface card is
                                           unable to decode. This buffer will overflow when enough bus traffic is present
                                           which the interface card is unable to understand.
                                           Solution:
                                           •      Error is due to the fact that a device is sending unknown bus traffic.
                                                  Replacement of this device will correct this error condition.
                                           This bit indicates that at least one device on the PC Interface channel has reported a
                                           device error. Please see the report of device errors for more details.
Serious internal error on the PC Interface. This condition occurs rarely, if at all.
                                           This bit indicates that a low level CAN error has occurred in the CAN Controller
                                           which is used on the PC Interface. This internal error is due to the fact that the
                                           embedded process is unable to retrieve the CAN message from the CAN Controller
                                           chip before another message was present on the bus.
                                           Solution
                                           •      Reduce the baud rate of the bus to allow the embedded system more
                                                  time to process CAN messages present on the bus.
                                   Solution:
                                   •      Ensure the bus is functioning properly by checking the power supply and the
                                          connections to devices. This includes the tees, main trunk cable and branch cables.
                                   •      Consult “Installation and Troubleshooting Guide” (Honeywell PK-80062) for
                                          detailed troubleshooting procedures.
                                   This condition occurs rarely. It is indicative of a bus problem affecting the PCI
                                   Interface Card’s ability to communicate. The cause of the problem should be
                                   corrected.
                                   This bit indicates that a low level CAN error has occurred in the CAN Controller
                                   which is used on the PC Interface. This internal error occurs when the error traffic
                                   on the bus has caused an error counter on the CAN Controller to be incremented to
                                   the point where the CAN Controller has declared it is no longer involved in Bus
                                   communications. This bit indicates a heavily disturbed bus and control will be
                                   disrupted until the underlying problem is corrected.
                                   Solution:
                                   •      Ensure the bus is functioning properly by checking the power supply and the
                                          connections to devices. This includes the tees, main trunk cable and branch cables.
                                   •      Consult “Installation and Troubleshooting Guide” (Honeywell PK-80062) for
                                          detailed troubleshooting procedures.
Serious internal error on the PC Interface. This condition occurs rarely, if at all.
                                   The embedded software contains a Health Check task which verifies that the
                                   embedded software system is functioning properly. This check occurs every 500 ms.
                                   This error is an indication that the PC Interface has failed internally.
Solution:
                                           Solution:
                                           •      Increase the watchdog time specified in the driver when the Host to Smart
                                                  Distributed System PC Interface watchdog is enabled.
                                           •      Contact the supplier of the driver software for support to correct this error.
Undefined bit in the Error register. These bits should NEVER be set.
                                           The device error message may indicate a device failure or a diagnostic message from
                                           a device. There are a total of 32 device diagnostic bits, ten of which have a common
                                           definition for all Smart Distributed System devices.
                                           The following list details the possible error codes. For definition of device-specific
                                           errors please refer to the manufacturer’s documentation for the device.
                                    6               30                      Write  or  Re-            This  bit  is  set  if  1.)  a  device  has  failed  to  acknowledge  
                                                                            Write  Error               Write  commands  from  the  Host  after  three  attempts,  or  2.)  
                                                                                                       the  output  value  of  the  device  was  not  corrected  after  it  
                                                                                                       was  sent  three  times.    
                                    7               31                  Device  Error                  This  bit  is  set  when  a  device  responds  with  an  error  code  to  
                                                                           Code                        any  bus  transmission.    
                                           This bit indicates the device has detected a program memory checksum error. The
                                           device will undergo a self-test every time the PC Interface starts the bus. The
                                           program checksum is a check of all of the program memory in a device to ensure the
                                           device is properly functioning and programmed correctly.
                                           Solution:
                                           •      Replace the device.
                                           Certain Output devices may implement the Device Watchdog timer function. If
                                           enabled, communication must occur within the time interval configured for each
                                           device in order to prevent the device watchdog from tripping. This bit indicates the
                                           device watchdog has detected a failure. The device supports a watchdog feature and
                                           the system has NOT met the requirements of the watchdog.
                                           Solution:
                                           •      Examine the watchdog setting selected, and reconfigure the device so that
                                                  the system will meet the requirements of the device watchdog. The exact
                                                  details of the device watchdog should be contained in the documentation
                                                  for the device. Please refer to those documents.
                                           This bit indicates the device has reported a bus off error. The meaning of the Bus Off
                                           Condition is that there is at least a temporary loss of communication between the
                                           device and the bus, which may disrupt system control.
                                           Solution:
                                           •      Ensure the bus is functioning properly by checking the power supply and
                                                  the connections to devices. This includes the tees, main trunk cable and
                                                  branch cables. Consult “Installation and Troubleshooting Guide” for
                                                  detailed troubleshooting procedures.
This bit indicates the device has detected a fatal device error.
                                           Solution:
                                           •      Replace the defective device. The exact details of the fatal device error
                                                  indications should be contained in the documentation for the device. Please
                                                  refer to those documents.
                                      The PC Interface checks communications to each device on the bus at least once
                                      every 2.5 seconds. If the device does NOT communicate in that period of time, the
                                      host will generate a message to the device in an effort to ensure the device is still
                                      present and functioning properly on the bus. Should the device be removed from the
                                      bus, or fail to communicate after the initial communications check and 2 additional
                                      retries, this bit will be asserted by the host to indicate a missing device error.
                                     Solution:
                                    •               Check the wiring between the PC Interface and the device. Either the bus signal
                                                    or the power to the device may be incorrect.
                                    •               Replace the device if it isn’t functioning properly.
                                           During enrollment and bus startup, the host PC Interface found more than one
                                           device at the specified address. This is an invalid situation and must be corrected to
                                           ensure proper operation of the system.
                                           Solution:
                                           •      Find the device that is addressed improperly and set the address to a
                                                  unique device address.
                                           This bit indicates the device has detected an error in the EEPROM system on the
                                           device.
                                           Solution:
                                           •      Write data to the device at a slower rate to allow the device to update the
                                                  internal EEPROM. This may be the problem if the user has elected to write
                                                  data to device attributes in their application.
                                           •      Replace the device.
                                    Bit: 29 - Host Detected - Device Configuration differs from the CFG File
                                   The host has detected that the configuration data contained in the SDS.CFG file
                                   differs from the current configuration in the device and that the device was unable to
	
                                 be updated to the configuration that was contained in the SDS.CFG file.
                                   Solution:
                  	
                •              Examine the SDS.LOG file to determine the exact details of which attributes are in error.
                                    •              This error most commonly occurs when the host attempts to write to a device during a
                                                   time when it is missing from the bus, or cannot communicate due to a bus
                                                   communication problem. Correct any underlying communication problem(s) first.
                                    •              If this error persists, replace the device.
                                   The host has attempted to write output data to the device, and that request has been
                                   refused 3 times by the device. This indicates that the device is not functioning
                                   properly.
                                   Solution:
                                   •      Replace the device.
                                   The host has received a Negative Acknowledgment to a request from a device. The
                                   system is organized such that all requests from senders must receive an
                                   acknowledgment from the receiver. Should the receiver refuse to carry out the
                                   request because the request is invalid or the receiver is currently unable to perform
                                   the desired command, the receiver may elect to send a Negative Acknowledgment to
                                   the sender. In this case, this error bit usually indicates that the device is not able to
                                   properly carry out the request from the host.
                                   Solution:
                                   •      Reset the device and retry the request.
                                   •      Replace the device.
                                           Error  Reading  System  Bus  errors  for  Channel  nn  Status:  nnn    
                                           The global error location which contains errors for the entire Bus contained an error
                                           indicator. This message displays the raw data value. This message is then followed
                                           by an interpretation of each portion of the error message.
                                   Invalid  Speed  Selected  --  MUST  BE  125,  250,  500  or  1000    
                                   The setting of the BAUD parameter is invalid.
                                   Missing  Device    
                                   A device which was specified in the Configuration File was not found on the bus.
                                           Summary  Screen    
                                           A shorthand display has been developed to condense the report output to a simple
                                           summary screen. Here is an example:
Initialize the SDS PC Interface Board: 6 Bus #1: 125 Bus #2: 125
                                   Index    
                                                                                                                               Device Error Messages · 31
                                                                                                                               Device Present · 13
                                   9-Pin Female D-sub Connector · 4, 6                                                         Device Prim Tag · 13
                                   9-pin Male D-sub Connector · 4                                                              DLL · 11
                                                                                                                               Download APL · 13
                                   A                                                                                           E
                                                                                                                                Error Message Descriptions · 28, 32
                                   ADDRESS · 19
                                                                                                                                Error Messages · 27
                                   API Services · ii, 12
                                   Application Layer · 8
                                   asterisk · 17                                                                               F
                                   ATTR · 21
                                   Authorized Distributor · 2                                                                  Finish · 13 Flash
                                                                                                                               EPROM · 4, 10
                                                                                                                               flash memory · 7, 8
                                   B
                                   B1 · 4, 6, 19                                                                               G
                                   B2 · 4, 6, 19
                                   BAUD1 · 19                                                                                  Generate Unique Addresses · 13
                                   BAUD2 · 19                                                                                  Get Attr · 13
                                   BOARD · 19                                                                                  Get Available Interfaces · 13
                                                                                                                               Get Bus Error · 14
                                                                                                                               Get Bus Error Description · 14
                                                                                                                               Get Device Error · 14
                                                                                                                               Get Device Error Description · 14
                                                                                                                               Get I/O Descriptor · 14
                                   cables · 6
                                                                                                                               Get I/O Type · 14
                                   Cables · 4
                                                                                                                               Get Info · 14
                                   CAN channels · 4
                                                                                                                               Get Privilege · 14
                                   Case · 17
                                                                                                                               Get Returncode Description · 14
                                   Cfg Bld · 12
                                                                                                                               Get Supported Bus Type · 14
                                   Cfg Dev Status · 12
                                                                                                                               Get Supported Channel · 14
                                   Cfg Sys Status · 12
                                                                                                                               Get Supported Privilege · 15
                                   Cfg2Cfx · 12
                                                                                                                               Get Supported Speed · 15
                                   Change Address · 13
                                   channel · 4
                                   CHANNEL 1 · 19
                                   CHANNEL 2 · 19                                                                              H
                                   Clear Device Error · 13
                                   Configuration · 8                                                                           Hardware Initialization · ii, 7
                                   Configuration Commands · 19                                                                 Hierarchy · 20
                                   Configuration Disk · 8                                                                      Host System Requirements · 10
                                   Configuration Error Messages · 35
                                   Configuration File Syntax · 17
                                   Configuration Files · 22                                                                    I
                                   Connector · 4, 6
                                   Connectors and Cabling · ii, 4                                                              Information Messages · 26
                                   CPU · 4 Create Handle · 13                                                                  Init · 15
                                                                                                                               Initialization Error Message · 27
                                                                                                                               Initialize Error · 27
                                                                                                                               INPUT · 20
                                   D                                                                                           Internet · 2
                                                                                                                               Is Analog · 15
                                   Destroy Handle · 13                                                                         iTool1 · 7
                                   Device Action · 13
                                                                                                                                       S
                                           M                                                                                           SDS.LOG · 25
                                                                                                                                       SDSID · 7
                                           Multi-Errors · 15                                                                           SDSIF DLL · 11
                                           Multi-Read Input · 15                                                                       Service · 2
                                           Multi-Read Output · 15                                                                      Set Attr · 15
                                           Multi-Write Output · 15                                                                     Software Installation · 8
                                                                                                                                       Special Character · 17
                                                                                                                                       SRAM · 4, 10
                                           O                                                                                           Start Up · 17
                                                                                                                                       System Info · 15
                                           optical isolator · 4
                                           Order Guide · 4
                                           OUTPUT · 20                                                                                 T
                                                                                                                                       Termination Cap · 5
                                           P                                                                                           Termination resistor · 5
                                                                                                                                       Termination Resistors · ii, 5
                                           Parameter · 26                                                                              troubleshooting tools · 8
                                           PC Card Layout · ii, 4, 5
                                           PC Interface Card Specifications · 10
                                           PC to PCI Card Interface · ii, 4                                                            V
                                           PCI Bus Requirements · 10
                                           PCI expansion slot · 6                                                                      Verify · 8
                                           Pin Assignments · 5
                                           Program · 8
                                                                                                                                       W
                                           R                                                                                         Warranty · 2
                                                                                                                                      Watchdog Control · 15
                                           Read Input · 15                                                                           Watchdog Status · 16
                                           Replacement_Address · 19                                                                  Watchdog Sustain · 16
                                                                                                                                     Write Output · 16