Sensoray 626 Instruction Manual

Pci multifunction i/o board
Table of Contents

Advertisement

Quick Links

INSTRUCTION MANUAL

Sensoray Model 626
PCI Multifunction I/O Board
Revision F
January 28, 2004
For Technical Support contact Sensoray Co., Inc.
7313 SW Tech Center Dr., Tigard, Oregon 97223, USA
Tel:(503) 684-8005
Fax:(503) 684-8164
e-mail: techsupport@sensoray.com
www.sensoray.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 626 and is the answer not in the manual?

Questions and answers

Summary of Contents for Sensoray 626

  • Page 1: Instruction Manual

    INSTRUCTION MANUAL Sensoray Model 626 PCI Multifunction I/O Board Revision F January 28, 2004 For Technical Support contact Sensoray Co., Inc. 7313 SW Tech Center Dr., Tigard, Oregon 97223, USA Tel:(503) 684-8005 Fax:(503) 684-8164 e-mail: techsupport@sensoray.com www.sensoray.com...
  • Page 3: Table Of Contents

    P THE OUNTER OURCE 10.5.1 Software Control of the Index ......................... 20 10.5.2 Multiplier................................. 20 10.5.3 Software Control Of Direction & Count Generation ..................20 10.6 A’ ................... 20 RIVING OUNTER OUNTER VERFLOW Sensoray Model 626 Instruction Manual Page 1...
  • Page 4 Table 7 Selecting Positive or Negative Edge Capture ................11 Table 8 Enabling & Disabling Edge Capture ..................11 Table 9 Reading Captured Edges ......................12 Table 10 Reading the Status of the Interrupt Enable Registers ............12 Sensoray Model 626 Instruction Manual Page 2...
  • Page 5 Table 20 Read from MISC1 88 (hex)..................... 23 Table 21 Write to MISC2 90 (hex)......................23 Table 22 Read from MISC2 92 (hex)..................... 23 Table 23 Reading back Digital Outputs 1-7 Source Selection............. 25 Table 24 Encoder Connectors ........................ 29 Sensoray Model 626 Instruction Manual Page 3...
  • Page 6: Limited Warranty

    2. Special Handling Instructions The Model 626 circuit board contains CMOS circuitry that is sensitive to Electrostatic Discharge (ESD). Special care should be taken in handling, transporting, and installing the 626 to prevent ESD damage to the board. In particular: •...
  • Page 7: Introduction

    This is the information that identifies the 626 board in the PCI system. Device ID: 7146(hex) Vendor ID: 1131(hex) 5. Installation The installation of the Model 626 into a PCI system is straight forward as no special adjustment (jumpers) are required. Sensoray Model 626 Instruction Manual...
  • Page 8: System Block Diagram

    6. System Block Diagram Sensoray Model 626 Instruction Manual...
  • Page 9: Board Layout

    JP1 (PCI reset switch) Watchdog LED JP2 (Battery, pin 1 is negative) Watchdog Relay output J2 (Channel 1-24) J1 (A/D) J3 (Channel 25-48) Watchdog Relay switch Square pins are pin one. Figure 2 - Board Layout Sensoray Model 626 Instruction Manual...
  • Page 10: Initial States After Reset

    The interrupts are disabled to allow the system time to get back up and running. Table 3 Counter Initial States Register or I/O State Page Counter input selection Edge detection Multiplier Counters Unchanged Clear Counter B Pre-load trigger Pre-load registers Sensoray Model 626 Instruction Manual...
  • Page 11: Digital I/O

    Digital I/O Channels Overview The 626 board provides 48 digital I/O channels. 40 of these channels (Channels 0-39) offer edge detection & interrupt on edge detection. Either a positive or negative edge can be detected. The other 8 channels (40-47) have simple input/output functionality only.
  • Page 12: Writing To The Digital Outputs

    Pulling the input to ground will cause a ‘1’ to be read from the digital input register. The corresponding output register must have “0” written to it before it can be used as an input. Sensoray Model 626 Instruction Manual...
  • Page 13: Capture Digital Input Edges

    ‘0’ is used to disable one or more channels. 2. Now write to the WRCAPSELA, B or C to apply the above command to the corresponding channels selected with a ‘1’ in WRCAPSELA, B or C. Sensoray Model 626 Instruction Manual...
  • Page 14: Reading Edge Capture Status Registers

    RDEDGREGC RDEDGREGA, B & C are used to determine which channels will capture positive edges and which will capture negative edges(when they are enabled). A transition from 0 to 1 is considered a positive edge. Sensoray Model 626 Instruction Manual...
  • Page 15: Reading The Status Of The Capture Enable Register

    9.6.2 Digital Input Interrupt Handling There is only one main interrupt to the system from the 626. Once this interrupt has been received it is up to the user to determine whether it originated from the counters (See “Counter Interrupt Handling”...
  • Page 16: Counters

    10.1 Overview The Model 626 has six counters arranged in 3 pairs : 0A, 0B, 1A, 1B, 2A, and 2B. One of these pairs is shown in Figure 6 P17. They can be used in pairs or “stand alone”. Each counter can be used with the internal quadrature encoder interface for positioning systems, as timers using the internal clock, or as external (hardware) or internal (software) event counters.
  • Page 17: Interrupts

    Note the counter interrupts are disabled when the system powers up but if an interrupt occurred during power down then it will occur the moment the interrupts are re-enabled. Sensoray Model 626 Instruction Manual...
  • Page 18: Encoder Connections

    Note: If the counters are driven in a single ended mode as shown in Figure 4 and Figure 5, then the unused phase inputs do not have to be biased at 2.5V. Each encoder input has two 100K resistors that bias the input to 2.5V when no driving source is present. Sensoray Model 626 Instruction Manual...
  • Page 19: Block Diagram

    10.3 Block Diagram From From other other counter counter interrupts interrupts Combined Counter Interrupts PCI Bus Figure 6 - Block diagram of a counter pair Sensoray Model 626 Instruction Manual...
  • Page 20: Counter Setup Registers

    Do not be confused by the naming of registers CR0A & CR0B. They are simply the A & B parts of the single register CR0 (Counter Register 0) and do not refer specifically to counter A and counter B. Sensoray Model 626 Instruction Manual...
  • Page 21: Setting Up The Counter Source

    If ‘Counter A Index Source’=01 then the digital inputs control the indexing. While in this mode ‘Counter A Index Edge Selection’=0 will index on the positive edges while 1 will index on the negative edges. Sensoray Model 626 Instruction Manual...
  • Page 22: Software Control Of The Index

    ‘Counter B Source Edge Selection’ must be 0. To set the count direction to down ‘Counter B Source’ must be 11. To set the count direction to up ‘Counter B Source’ must be 10. Sensoray Model 626 Instruction Manual...
  • Page 23: Triggeringa Counter Load

    ‘Latch Source’=01 will latch counter A when there is a counter A index. ‘Latch Source’=10 will latch counter B when there is a counter B index. ‘Latch Source’=11 will latch counter B when counter A overflows. (Useful when frequency counting). Sensoray Model 626 Instruction Manual...
  • Page 24: Interrupts

    10.10.4 Counter Interrupt Handling There is only one main interrupt to the system from the 626. Once this interrupt has been received it is up to the user to determine whether it originated from the counters or the digital inputs.
  • Page 25: Watchdog/Miscellaneous Registers

    Before writing to any of the bits of MISC2, except bit 15 (Clear watchdog), the write enable (bit 15) of MISC1 must be set. This is to prevent accidental modification of the watchdog settings by a crashed CPU. It is a good idea to clear this bit immediately after writing to MISC2. Sensoray Model 626 Instruction Manual...
  • Page 26: Watchdog Oscillator

    PCI bus (Pulled low) if JP1 is inserted or if the jumper is not inserted then bit 14 of Misc2 will go high and the LED will flash at ½ the selected watchdog period. Sensoray Model 626 Instruction Manual...
  • Page 27: Digital Outputs 1-6 Source Selection

    0=Digital input, 1= Counter 2B Overflow 12. Battery Backup A 3.6V Nickel Cadmium battery can be connected to the 626 using JP1. Make sure that it is connected correctly or damage will occur. It will be trickle charged at approximately 100mA if the “Charge Enable”...
  • Page 28: Analog Inputs

    If this feature is not used then insert the jumpers which in effect connects the sense input to the D/A output right on the board. J6, J7, J8 & J9 are inserted to disable the sense inputs for channels 0 -3 respectively. Sensoray Model 626 Instruction Manual...
  • Page 29: Appendix A: Specifications

    Operating range -12V -11.6 Quiescent current (not charging) Charging current 62.5 Battery drain under backup Battery Battery drain with charger off and not in backup mode Internal timer mode Encoder Externally driven 500KHz Temperature Operating range Sensoray Model 626 Instruction Manual...
  • Page 30: Appendix B: Digital I/O Connectors

    DIO37 DIO12 DIO36 DIO11 DIO35 DIO10 DIO34 DIO9 DIO33 DIO8 DIO32 DIO7 DIO31 DIO6 DIO30 DIO5 DIO29 DIO4 DIO28 DIO3 DIO27 DIO2 DIO26 DIO1 DIO25 DIO0 DIO24 All even pins Ground All even pins Ground Sensoray Model 626 Instruction Manual...
  • Page 31: Appendix C: Encoder Connectors

    The counter number is shown in brackets. A+, B-, I+ etc shows the phase & polarity of the quadrature inputs. Example: (2A) A+ is the positive line (Non inverted) of the A phase of counter 2A. Sensoray Model 626 Instruction Manual...
  • Page 32: Appendix D: A/D And D/A Connectors

    -AD7 +AD7 Ground Ground -AD8 +AD8 -AD9 +AD9 -AD10 +AD10 -AD11 +AD11 -AD12 +AD12 -AD13 +AD13 -AD14 +AD14 -AD15 +AD15 Ground Ground Ground Ground Sense1 DAC0 Sense2 DAC1 Sense3 DAC2 Sense4 DAC3 Ground Shield (Chassis) Sensoray Model 626 Instruction Manual...

Table of Contents