VersaLogic VCM-DAS-3 Reference Manual

Analog output & digital i/o module for the pc/104 bus

Advertisement

Quick Links

Reference
Manual
REV. February 2020
VCM-DAS-3
Analog Output & Digital I/O
Module for the PC/104 Bus

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VCM-DAS-3 and is the answer not in the manual?

Questions and answers

Summary of Contents for VersaLogic VCM-DAS-3

  • Page 1 Reference Manual REV. February 2020 VCM-DAS-3 Analog Output & Digital I/O Module for the PC/104 Bus...
  • Page 2 All Rights Reserved Notice: Although every effort has been made to ensure this document is error-free, VersaLogic makes no representations or warranties with respect to this product and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.
  • Page 3 BIOS information and upgrades  Utility routines and benchmark software Note: This is a private page for VCM-DAS-3 users that can be accessed only be entering this address directly. It cannot be reached from the VersaLogic homepage. VCM-DAS-3 Reference manual...
  • Page 4: Table Of Contents

    Enhanced Mode Data Registers ................20 Digital I/O Control Register ..................... 21 Digital I/O Data Registers ....................22 Digital Input Registers ..................22 Digital Output Registers ..................23 External Trigger Enable Register ..................24 Analog Output Data Registers ..................25 VCM-DAS-3 Reference Manual...
  • Page 5 Setting a Channel to Sleep Mode ................ 36 Reading the Sleep Status of a Channel ..............36 Digital I/O ........................37 Signal Direction ........................ 37 Signal Polarity ........................37 Digital Input ........................37 Digital Output ........................37 References ........................38 VCM-DAS-3 Reference manual...
  • Page 6: Introduction

    Introduction Description The VCM-DAS-3 is a PC/104-format data acquisition board that provides analog outputs and digital I/O for process control and other applications. Its features include:   16 analog voltage outputs with 12-bit Software calibration resolution  16-bit or 8-bit ISA modes ...
  • Page 7: Technical Specifications

    Windows 95/85/NT/CE/XP, QNX, VxWorks, and Linux Driver Support: No native drivers. Fully compatible with Diamond Systems drivers. Compatibility: PC/104 – Full compliance, 8-bit and 16-bit Weight: 0.152 lbs (0.069 kg) Specifications are subject to change without notice. VCM-DAS-3 Reference Manual...
  • Page 8: Rohs Compliance

    (PBDE) flame retardants, in certain electrical and electronic products sold in the European Union (EU) beginning July 1, 2006. VersaLogic Corporation is committed to supporting customers with high-quality products and services meeting the European Union’s RoHS directive.
  • Page 9: Technical Support

    Technical Support Technical Support If you are unable to solve a problem after reading this manual please visit the VCM-DAS-3 Product Support web page at http://www.VersaLogic.com/private/vcmdas3support.asp. If you have further questions, contact VersaLogic technical support at (503) 747-2261. VersaLogic technical support engineers are also available via e-mail at Support@VersaLogic.com.
  • Page 10: Physical Description

    Physical Description Dimensions The VCM-DAS-3 complies with all PC/104 standards. Dimensions are given below to help with pre-production planning and layout. 3.575 3.375 0.00 -0.20 = Pin 1 Figure 1. Dimensions and Mounting Holes (Not to scale. All dimensions in inches.)
  • Page 11: Side Profile

    External Connectors ROFILE 0.44 0.06 0.44 Figure 2. Side Profile (Not to scale. All dimensions in inches.) External Connectors ONNECTOR OCATIONS 49 50 = Pin 1 Figure 3. Connector Locations (Top) (Not to scale.) VCM-DAS-3 Reference Manual...
  • Page 12: Connector Functions And Interface Cables

    ONNECTOR UNCTIONS AND NTERFACE ABLES Table 1 provides information about the function, mating connectors, and transition cables for VCM-DAS-3 connectors. Page numbers indicate where a detailed pinout is available. Table 1: Connector Functions and Interface Cables Connector Function Mating Connector...
  • Page 13: J1 I/O Connector

    DIO A6 Digital I/O A6 DIO A5 Digital I/O A5 DIO A4 Digital I/O A4 DIO A3 Digital I/O A3 DIO A2 Digital I/O A2 DIO A1 Digital I/O A1 DIO A0 Digital I/O A0 Ground Ground VCM-DAS-3 Reference Manual...
  • Page 14: J2 I/O Connector

    4 (IO30) DIO C1 Digital I/O C1 3 (IO31) DIO C0 Digital I/O C0* 2 (IO32) Ground Ground 1 (GND4) Pin 39 can also used as an external trigger for updating DAC channels. See External Trigger Update. VCM-DAS-3 Reference Manual...
  • Page 15: J3 I/O Connector

    DIO C0 Digital I/O C0* VOUT 15 Analog Output 15 V5_0 Protected +5.0 Volts DIO A7 Digital I/O A7 Ground Ground Pin 48 can also used as an external trigger for updating DAC channels. See External Trigger Update. VCM-DAS-3 Reference Manual...
  • Page 16: Installation

    ARDWARE SSEMBLY The VCM-DAS-3 uses pass-through PC/104 (ISA) connectors so that expansion modules can be added to the top or bottom of the stack. PC/104 modules must not be positioned between the CPU board and any PC/104-Plus (PCI) modules on the stack.
  • Page 17: Configuration

    Configuration Jumper Blocks UMPERS HIPPED ONFIGURATION Figure 6. Jumper Block Locations VCM-DAS-3 Reference Manual...
  • Page 18: Jumper Summary

    Bit Mode Selector 16-bit ISA Transactions 8-bit ISA Transactions 8-bit mode forces the VCM-DAS-3 to respond with 8-bit transactions. This mode is required when using the board on an 8-bit bus. The 16-bit mode allows both 8 and 16-bit transactions.
  • Page 19: Base Address Configuration

    These jumpers set the initial power up span ranges for A/D channels 8-16. Base Address Configuration As shipped, the VCM-DAS-3 is configured for a base address of 0x300. The card occupies up to 16 consecutive I/O addresses in enhanced mode (only eight I/O addresses in compatible mode).
  • Page 20: Bit Mode Configuration

    Figure 7. Base Address Jumpers Bit Mode Configuration The VCM-DAS-3 can operate using 8-bit or16-bit ISA transactions. For compatibility with 8-bit ISA buses, you must set the VCM-DAS-3 to use 8-bit ISA transactions. Jumper V1[15-16] selects the bit mode. When a jumper is present, the board will operate on either 16-bit or 8-bit ISA bus.
  • Page 21: Enhanced Mode Configuration

    Enhanced Mode Configuration Jumper V1[13-14] enables you to select between compatible or enhanced modes. A jumper installed on V1[13-14] sets the VCM-DAS-3 to enhanced mode. When no jumper is installed, the board operates in compatible mode. The default mode is enhanced.
  • Page 22: Registers

    Registers I/O Port Mapping In enhanced mode, the VCM-DAS-3 operates occupies 16 ports in the I/O map. Eleven ports are mapped to functional registers, and the remaining five ports are decoded by the board and cannot be used by other PC/104 modules.
  • Page 23: I/O Port Register Functions

    DIOCTRL Digital I/O control register DIOC Digital I/O port C data DIOB Digital I/O port B data DIOA Digital I/O port A data EXTRIG External trigger enable DACALL1 Update all DACs simultaneously DACALL0 Update all DACs simultaneously VCM-DAS-3 Reference Manual...
  • Page 24: Enhanced Mode Registers

    Enhanced Mode Registers Enhanced Mode Registers Setting the VCM-DAS-3 to enhanced mode enables three additional functional registers. To enable enhanced mode, install a jumper on pins V1[13-14]. NHANCED ONTROL EGISTER ENCTRL (Write) 030Ah CTRL3 CTRL2 CTRL1 CTRL0 SEL3 SEL2 SEL1...
  • Page 25: Enhanced Mode Data Registers

    The data format of these registers depends on the operation executed in the ENCTRL register. See the sections listed below for information on data formats for specific operations. CTRL Code Operation (ENCTRL) Page Read DAC Read Span Set Gain Read Gain VCM-DAS-3 Reference Manual...
  • Page 26: Digital I/O Control Register

    DIO Port B Direction – These bits control the direction of DIO port B (B7-B0). 0 = Output 1 = Input DIRCLO DIO Port C LSB Direction – These bits control the direction of the lower half of DIO port C (C3-C0). 0 = Output 1 = Input VCM-DAS-3 Reference Manual...
  • Page 27: Digital I/O Data Registers

    Normally, the data read would be the same as the data written to the output registers; however, if an output line is stuck high or shorted to ground, the fault will be reflected in the feedback data. VCM-DAS-3 Reference Manual...
  • Page 28: Digital Output Registers

    1, the signal line is driven high; when a bit is reset to 0, the signal line is driven low. To operate a port in output mode, you must first set the direction of the port to output by clearing the appropriate bit in the DIOCTRL register. VCM-DAS-3 Reference Manual...
  • Page 29: External Trigger Enable Register

    C0 is in input mode, or in software, when C0 is in output mode. If using an external trigger, make sure that the lower half of Port C is in input mode. 1 = Enable 0 = Disable VCM-DAS-3 Reference Manual...
  • Page 30: Analog Output Data Registers

    Table 15: DACSEL Bit Assignments Mnemonic Description – Unused. These bits have no function. Channel Selection – These bits select the DAC channel upon which digital output functions will be performed. SEL3 SEL2 SEL1 SEL0 Selected Channel VCM-DAS-3 Reference Manual...
  • Page 31: Dac Write Registers

    – DA11 DA10 DACALL0 (Read) 0300h Reading from these locations updates all DACs to the values written to them. Only DACs with new data written to them will change. The remaining channels will retain their current values. VCM-DAS-3 Reference Manual...
  • Page 32: Analog Output

    12-bit binary numbers. (See Analog Output Data Representation.) The table below shows the analog output ranges and resolutions available on the VCM-DAS-3. Negative full scale refers to the output voltage for a code of 0, and positive full scale refers to the output voltage for a code of 4095.
  • Page 33: Analog Output Data Representation

    +4.9987 +9.9975 FFFh 4095 Maximum positive voltage +1.2500 +2.5000 +5.0000 800h 2048 Positive half scale +0.6250 +1.2500 +2.5000 400h 1024 Positive quarter scale +0.00061 +0.00122 +0.00244 001h Positive 1 LSB 0.0000 0.0000 0.0000 000h Zero (ground output) VCM-DAS-3 Reference Manual...
  • Page 34: Offset Binary Coding

    0.0000 800h 2048 Zero (ground voltage) 7FFh 2047 Negative 1 LSB -0.00122 -0.00244 -0.00488 600h 1536 Negative quarter scale -0.6250 -1.2500 -2.5000 400h 1024 Negative half scale -1.2500 -2.5000 -5.0000 000h Maximum negative voltage -2.5000 -5.0000 -10.0000 VCM-DAS-3 Reference Manual...
  • Page 35 1792 Positive quarter scale +0.00244 401h 1025 Positive 1 LSB 0.0000 400h 1024 Zero (ground voltage) 3FFh 1023 Negative 1 LSB -0.00244 300h Negative quarter scale -0.6250 200h Negative half scale -1.2500 000h Maximum negative voltage -2.5000 VCM-DAS-3 Reference Manual...
  • Page 36: Analog Output Programming

    VCM-DAS-3 analog outputs have a resolution of 12 bits. Data is written to the board in 8-bit bytes, so two bytes must be used to write a single analog output value. These bytes are referred to as the least significant byte (LSB) and the most significant byte (MSB).
  • Page 37: Analog Output Code Example

    DIM fullscale AS SINGLE SELECT CASE range CASE 0 '+5V bipolar = 0 fullscale = 5 CASE 1 '+10V bipolar = 0 fullscale = 10 CASE 2 '+/-5V bipolar = 1 fullscale = 5 CASE 3 '+/-10V VCM-DAS-3 Reference Manual...
  • Page 38 WHILE NOT done y = y + 1 IF y < 2000 THEN 'timeout done = INP(BASE + &HA) AND &H01 '(ENHANCED MODE REGISTER) ELSE LIB_das3aout = 1 EXIT FUNCTION END IF WEND LIB_das3aout = 0 END FUNCTION VCM-DAS-3 Reference Manual...
  • Page 39: Calibration

    The gain value you set is non-volatile. EADING THE To perform the Read Gain operation, write F0h to the ENCTRL register at I/O port 0x30A, and then read the value of the ENDATLO register at I/O port 0x308. VCM-DAS-3 Reference Manual...
  • Page 40: Enhanced Mode Operations

    Enhanced Mode Operations Enhanced Mode Operations The VCM-DAS-3 must be in enhanced mode to perform enhanced mode operations. DAC D EADING Reading a DAC using the Read DAC operation does not cause the DAC to be updated, as reading the DACALL0 register does. Performing a Read DAC operation loads the DAC voltage code in the ENDATHI and ENDATLO registers.
  • Page 41: Setting A Channel To Sleep Mode

    2. Read the SLEEPSTAT bit (bit 4) of the ENDATLO register at I/O port 0x308, as shown below. A value of 0 = awake. A value of 1 = sleep mode. ENDATLO LSB (Read) 0308h – – – SLEEPSTAT – – – – VCM-DAS-3 Reference Manual...
  • Page 42: Digital I/O

    DIOCTRL register. The logic level on any digital I/O channel can be set by writing a 1 or 0 to the appropriate bit. The digital I/O interface of the VCM-DAS-3 are 82C55 Mode 0 compatible only.
  • Page 43: References

    DAC Controller LTC2704 Datasheet Linear Technology LTC2704 PC/104 Specification PC/104 Consortium PC/104 Resource Guide PC/104-Plus Specification VersaLogic Corporation PC/104 Resource Guide General PC Documentation Microsoft Press The Programmer’s PC Sourcebook General PC Documentation Powell’s Books The Undocumented PC VCM-DAS-3 Reference Manual...

Table of Contents