19 DIGITAL I/O......................................
19 ENVIRONMENTAL.................................
INTRODUCTION
FACTORY DEFAULT BOARD SETUP: The CIO-DDA06 is setup at the factory
with:
300H (768 Decimal) Same as data sheetBASE ADDRESS
Off position, RightWAIT STATE
In the XFER position. Single channel updateSIMULTANEOUS UPDATE
+/-5VANALOG OUTPUT
Standard modePOWER UP STATE
1
SOFTWARE INSTALLATION
SOFTWARE INSTALLATION
If will be using the Universal Library with your board, insert the Universal Library
diskette or CD in an appropriate drive an run the program SETUP.EXE. Follow the
installation instructions provided. This program will install InstaCAL (our setup and
test utility) and the library. (If you are using Windows 95, you will have the option of
installing either the 16-bit or 32-bit library. Unless you have a specific reason to use
the 16-bit library (e.g. compatibility with an exisiting program) install the 32-bit version.
If you are not using the Universal Library, insert the disk or CD labeled
an appropriate drive. Please run SETUP.EXE and accept the defaults if possible. It
will make it much easier for us to help in the unlikely event that something doesn't
work as expected later on.
Once all the software is installed, you will want to launch InstaCAL.
From Window 3.x, use t he file manager to find InstaCAL.e xe. It should be on your
main hard drive in a directory called C:\CB. (if C:\ is your main hard drive). To
launch InstaCAL, simply double click on the file InstaCAL.exe.
From Win95, use "Start: Run" , type instacal at the prompt and click OK. Choose the
INSTALL menu and select your board by part number from the list. Supply the information required for base address and any other switch set or programmable features.
Heed and act upon a ny warning messages displayed. ( Though InstaCAL should provide you all the information you need to install your hardware, if you have questions
regarding the hardware installation procedure, please refer to the next chapter.)
You may then run TEST and test the installation of the board. Follo w the instructions
for signal connection displayed on the screen. You may also run CALIBRATE and
check the calibration of the board, altho ugh that is not necessary since the board was
calibrated at the factory.
Owners of the Universal Library should read the manual and examine the example
programs prior to attempting any programming tasks.
Insta
Cal into
2
HARDWARE INSTALLATION
The CIO-DDA06 is a combination of 6 channels of analog output and a simple digital
input and output board. The analog outputs are dual-DAC AD7273s with each output
buffered by an OP07. The heart of the digital I/O is one 82C55. The CIO-DDA06 is
100% compatible with MetraByte's DDA-06.
The analog outputs are controlled by writing a digital control word as two bytes to the
DAC's control register. The control register is double buffered so the DAC's output is
not updated until both bytes (first low byte, then high byte) have been written to the
DAC control.
The analog outputs may also be set for simultaneous update in groups of two, four, or
all six. Analog outputs are grouped as 0&1, 2&3 and 4&5. By selecting UPDATE on
the jumper below the DAC, each pair may be set for simultaneous update.
When a DAC pair is set for simultaneous update, writing new digital values to the
DAC's control register does not cause an update of the DAC's voltage output. Update
of the output occurs only after a READ from the board's address (any address base + 0
through base + C).
In this way, the CIO-DDA06 may be set to hold new values until all channels are
loaded, then update any two, four, or all six channels simultaneously. This is a very
handy feature for multi-axis motor control.
The CIO-DDA06 digital I/O lines are a direct interface to an 82C55. The 82C55 is a
CMOS chip with TTL level inputs and outputs. The 8255 can sink about 8mA output
low. This is more than enough to switch other T TL or similar inputs, but is inadequate for relays, LEDs or solid state relays.
The CIO-DDA06 digital I/O is controlled by programming the 8255's mode register.
There are three possible modes. The simplest and most commonly used mode is mode
0, simple input and output.
The CIO-DDA06 has one bank of gain switches, one base address switch, three simultaneous update jumpers and one wait state jumper block which must be set before
installing the board in your computer. The calibration and test program included with
the CIO-DDA06 will show how these switches are to be set and should be run before
you open your computer.
3
BASE ADDRESS
The InstaCal program will request that you 'SELECT BASE ADDRESS', which
allows you to choose a desired base address and adjusts the base address if necessary
to place it on an 16 bit boundary.
After a base address is chosen, a
diagram of the switch setting is
drawn on the PC screen. Set the
switches on your base address
switch as shown on the diagram.
Unless there is already a board in
your system which uses address
300 HEX (768 Decimal) then you
can leave the switches as they are
set at the factory.
In the example shown here, the CIO-DDA06 is set for base address 300H (768 Decimal).
WAIT STATE JUMPER
The CIO-DDA06 boards have a wait
state jumper which can enable an onboard wait state generator. A wait
state is an extra delay injected into the
processor's clock via the bus. This
delay slows down the processor when
the processor addresses the CIODDA06 board so that signals from
slow devices (chips) will be valid.
The wait state generator on the CIODDA06 is only active when the CIODDA06 is being accessed. Your PC
will not be slowed down in general by
using the wait state.
4
SIMULTANEOUS UPDATE JUMPER
The analog outputs may be jumpered so that new output data is held until several
DACs have been loaded with new digital data, then, as a group, have that new data
update the voltage outputs. The simultaneous update occurs whenever any of the
CIO-DDA06 addressed BASE+0 through BASE+Care read.
The analog output chips on the CIO-DDA06 are dual DACs. Two analog outputs are
on each chip. A single jumper sets both DACs on a single chip to be simultaneous
UPDATE or individual TRANSFER update.
The diagram below shows the jumper block in each configuration. If you look on the
CIO-DDA06 board, you will see the numbers 45, 23, and 01 ( left to right) next to the
simultaneous update jumpers. Those numbers indicate which channels that jumper
selects.
If you are familiar witht the DDA-06, you have probably noticed that only
pairs, and not individual channels, may be selected for simultaneous update.
POWER UP STATE JUMPER
The analog outputs may be jumpered so that their power up state is 0V. A single
jumper sets this option for all six channels. In the zero volts mode,“ZERO”, they are
held at 0V until one of the DAC “Most Significant Nibble” registers is written to and
then any of the DAC registers are read. In the standard mode,“STD”, they power up
in an undetermined state.
5
Loading...
+ 16 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.