Real Time Devices AD1200 User manual

ADL}OO/ADAI2OO
UsertsManual
Real
Time Devices,
Inc.
"Accessing
theAnalog
World',,
I
IS
SO
O9
90
00
01
1
a
an
nd
d
A
AS
S9
91
10
00
0
C
Ce
er
rt
ti
if
fi
ie
ed
d

ADLaOO/ADA12OO
Userts
Manual
ffi
REAL
TIME
DEVICES,
INC.
820North
UniversityDrive
Post
OfficeBox
906
State
College,Pennsylvania
16804
USA
Phone:(8141234A087
FAX:
(81a)
234-5218

Published
by
Real
TimeDevices,Inc.
820N.UniversityDr.
P.O.
Box906
StateCollege,
PA 16804
USA
Copyright
@
1992
byRealTime
Devices,Inc.
All rights
reserved
Printed
inU.S.A.
Rev.A9234

Table
ofContents
INTRODUCTION
Digital-to-Analog
Conversion
(ADA1200
Only)........... ..........................t-3
WhatComes
WithYour
Applications
Software
and
Toolkit ............i4
CHAPTER1 - BOARD
SBTTINGS
Factory-Configured
SwitchandJumper
Settings ...............1-3
P3
- Analog
Input
VoltageRange
(Facrory
Setring:t0 Volrs)...... .......................
14
P4
- Analog
Input
VoltagePolarity
(Facory
Seuing:
+/-)
.............. .....................14
P5
- DMARequest
Channel
(Factory
Setting:
Disabled)..... ...........14
P6
- DMA Acknowledge
Channel
(Factory
Sening:Disabled) ......14
P7
-8254 Timer/Counrer
ClockSources
@acory
Serings:
CLKI-XTAL,CLK2-OT1,
pCK)...................1-5
P8
- Intemrpt
Source
andChannel
(Factory
Setting:
Jumpers
onOT2& G;Inremrpt
Chs
Disabled)
.........l-6
P9
- DACI OutputVoltageRange
(Facory
Seuing:
+5
to-5
volts)
.......... .........1_7
P10
- DAC2OutputVolrage
Range
(Factory
Sening:+5
o -5
volts)............ ......1_g
PlI - A/DData
WordBitStateSet
(Facory
Setting:+/-) ............. .....................
l_g
Plz - A/D Converter
Status,/External
Gate
2Monitor
@actory
Setting:EOC
(A/DConverter
Status))
.......l-9
Sl - Base
Address
(Facory
Setting:
300hex
(268
decimal)
................. ..............1_9
Pull-up/Pull-down
Resistors
on
Digital
I/O
Lines..... .......1_10
CHAPTER2 _ BOARD
INSTALLATION
Connecting
the
Analog
InputPins ............24
Connecting
the
Trigger
Inand
Trigger
Out
pins,
Cascading
8oards......... ..............24
Connecting
theAnalog
Outpurs
(ADAI200
Only)........... ..................2-s
Connecting
the
Timer/Counters
andDigital
VO
............... ..................2_5
Running
the1200DIAG
Diagnostics
Prrogram ...................2_s
CHAPTER 3 - HARDWARE DESCRIPTION ........... .............3-1
D/A Converte
Di$talI/O,Programmable
PeripheralInterface .................3_5
i-l
2-l

CHAPTER4 - BOARD OPERATION AND PROGRAMMING
BA +0: Read
Sntus/Srart
Convert
(Readl'\Mrire) .........44
BA + l: ReadA/D Data/UpdateDACOutputs
(Read/Write) ...........44
BA+2: Reset
(Write
Only).......... ...........44
BA+4: PPIPortA - Digital
VO
(ReadAMrire)
................ ...............4-5
BA + 5: PPI
Port
B- Channel8oard
Functions
Select
(Readflilrite) ..................4-5
BA+6:PPIPort
C- Digital
VO
(Readflilrire)
................ ................4-5
BA+7: 8255
PPI
ConrolWord
(Write
Only)........... .......................4-5
BA+8: SZl4TimerlCounrer0
(ReadAMrite) ...............4-7
BA+ 9: 8254Timer/CountorI (Read/lMri9 ...............4-7
BA+ l0: 8254Timer/Counr€r2(ReadAMrite) .............4-7
BA+ 11:
S254ConrolWord(WriteOnly)........... .......4-7
BA+ 12:D/AConverter1LSB:ADA1200
(Wrire
Only).......... ......4-g
BA+ 13:D/AConverter1MSB:ADAI200
(Wrire
Only)........... .........................4-g
BA+ 14:D/AConverter
2LSB:ADAI200
(Wrire
Only)
.......... ......4-g
BA+ 15:D/AConverter
2MSB:ADA12200
(Write
Only)........... .......................4-g
Clearing
andSettingBitsin
Initializing
Enabling
and
Disabling
the
Extemal
Trigger
..... ....................4-12
Enabling
and
Disabling
Intemrprs ......4-12
ConversionModes/Triggering
............ .....................4-12
Starting
anA/DConversion ..........,.....4-13
Monitoring
Conversion
Status
@MA Done
orEnd-of-Convert) ......................4-13
Reading
the
ConvertedData
............ ...4-13
Programming
thePacer
Clock
.................. ...............4-14
8259Programmable
Intemrpt
Controller .................4-16
Intemrpt
MaskRegister
(IMR).......... ......................4-16
End-of-Interrupt
(EOI)
Command ......4-16
What
Exactly
llappensWhen
an
Intemrpt
Occurs? .....................4-16
Using
IntemrptsinYour
Programs.......... ................4-16
Writing
an
Interrupt
Service
Routine(ISR) .............4-17
Saving
thestartup
Intemrpt
MaskRegister(IMR)and
Intemrpt
vector ..........4-tg
Restoring
the
Startup
IMR andInterrupt
Vector .....4-lg
Common
InterruptMistakes ...............4-19
Choosing
aDMA Channel ..................4-19
Allocating
a
DMABuffer ...................4-19
Calculating
the
Page
andOffset
of aBuffer ............4-20
Setting
theDMA PageRegister................... ............4-2t
The
DMA
DMA Single
Mask
Register ................4-Zz
Programming
the
DMA Controller .....4-23
Programming
the1200forDMA..... .,4-23

MonitoringforDMA Done............ .....4-23
Common
DMAProblems
............... ....4-24
D/AConversions
(ADA1200
Only) ........4-2,4
ExamplePrograms
and
FlowDiagrams ......4-27
SingleConvert
FlowDiagram
(Figure
44) ............. .....................4-29
DMAFlowDiagram
(Figure
4-5).............. ..............4-30
InterruptsFlowDiagram
(Figure
4-6)
............. ........4-3I
D/AConversion
FlowDiagram
(Figure
4-7). ..........4-32
CHAPTER5 _ CALIBRATION ......
APPENDIXA - 12OO
SPECIFICATIONS A-l
APPENDIXB- P2
CONNECTORPINASSIGNMENTS
.... .........8-1
APPENDIX
C- COMPONENT
DATA SHEETS
APPENDIXD_ CONFIGURINGTHE 12OOFORSIGNAL MATH D-1
APPENDIXE_ CONFIGURING
THE 12OO
FORATLANTIS......... .......E.T.
APPENDIXF- WARRANTY F-1
ul

iv

LIST OFILLUSTRATIONS
l-l
t-2
t-3
T4
1-5
r-6
r-7
t-8
r-9
l-10
l-lI
t-12
l-13
l-t4
l-15
1-16
t-17
l-18
2-r
2-2
2-3
3-1
3-2
4-I
4-2
4-3
4-4
4-5
4-6
+-t
5-1
BoardLayout
ShowingFactory-Configured
Settings................... ..................
1-3
AnalogInput
VoltageRange
Jumper,P3............... ...................14
AnalogInput
VoltagePolarity
Jumper,P4
................ ................14
DMARequest
ChannelJumper,P5 .....................14
DMA Acknowledge
ChannelJumper,P6................ ..................1-5
&254Timer/Counter
ClockSource
Jumpers,P7................ ........1-5
8254Timer/Counter
CircuitBlockDiagram
..................... ........1-6
Intemrpt
ChannelJumper,
P8
............... ................1-6
PullingDown
the
IntemrptRequest
Line
............ ......................1-z
DACI Output
Voltage
Range
Jumper,
P9
................ ................1-8
DAC2OutputVoltageRange
Jumper,P10
.............. ................1-8
A/DData
WordBitStateSetJumper,Pll ...........l-9
A/DConverter
StatuslExternal
Gate
2Monitor
Jumper,P12.............. ...........1-9
BaseAddress
Switch,Sl ................ ......................1-9
Pull-up/Pull-down
Resistor
Circuitry.... ..............l-l I
AddingPull-ups
and
Pull-downs
to
Digital
VO
Lines .............1-12
GainCircuiny
and
Formulas
for
Calculating
Gain
and
f............ ..................1-13
Diagram
forRemoval
ofSolderShort
........... .....1-14
n UO
ConnectorPinAssignmens
............. .........2-3
AnalogInput
Connections
............ ........................24
Cascading
Two
Boardsfor
Simultaneous
Sampling .................2-6
ADI200/ADA1200
Block
Diagram .....................3-3
S2l4TimerlCounter
Circuit
Block
Diagram ........34
A/DConversionTiming
Diagram,All Modes.... .....................4-12
Pacer
Clock
Block
Diagram ...........4-15
8254Timer/Counter
CircuitBlockDiagram ......4-25
SingleConversionFlowDiagram .......................4-Zg
DMA Flow Diagram
InterruptsFlow
Diagram
................. ....................4-31
D/AConversionFlow
Diagram
(ADA1200
Only)........... .......4-32


INTRODUCTION


TheADl200 and
ADA1200
Advanced
Indusrial
Contol boardsturn
your
IBM PC/XT/AT
orcompatibleinto
ahigh-speed,high-performance
data
acquisition
andcontrol
system.
Installed
withinasingle
expansion
slotin the
computer,each
1200
series
boardfeatures:
. 16
single-endedanaloginput
channels,
. l2-bit,5 microsecond
analog+o-digital
converter
with 125kl{z throughput,
. 15,tl0, or0to
+10volt
input
range,
. Resistor
configurable
gain,
. Three
conversion
modes,
. DMA transfer,
. Trigger
inandtriggeroutforexternal
triggeringorcascading
boards,
. 16TTL/CMOS
8255-based
digital
I/Olineswhich
can
beconfiguredwithpull-up
orpull-down
resisrors,
' Threel6-bit timer/counters
(two
cascaded
forpacer
clock),
. Two 12-bit
digital-to-analog
output
channels
withdedicated
grounds(ADA1200
only),
. +5,+10,
0to
+5,
or0to
+10
volt
analogoutputrange
(ADA1200
only),
. TurtroPascal,
Turbo
C,andBASICsourcecode;diagnostics
program.
Thefollowing
paragraphs
briefly
describe
the
major
functions
ofthe
board.
A more
detailed
discussion
ofboard
functions
isincludedinChapter
3,Hardware
Operation,and
Chapter4
,
BoardOperation
and
Programming.Tlte
board
setup
isdescribedin Chapter
l, Board
Settings.
Analog-to-Di
gital
Conversion
The
analog-to-digital
(AlD) circuitry
receives
upto 16
single-ended
analog
inputs
and
converts
these
inpus
intol2-bit digitaldatawordswhich
cantien be
read
and/ortransferred
topc memory.
The
analog
inputvoltage
range
is
jumper-selectable
forbipolar
ranges
of -5to+5volts
or-10
to+10
volts,
ora
unipolarrange
of 0 to+l0 volts.
The
board
isfactory
setfor -5to+5volts.
Overvoltage
protection
to+35
volts
is
provided
atthe
inputs.
Thehigh-perforrnance
A,/D
converter
supports
resistor
configurable
gain
circuiry sothat
you
can
customizethe
input
gain.
A,/D
conversionsare
performed
in5microseconds,
andthemaximum
throughputrate
is 125kllz. Conversions
arecontrolled
throughsoftware,
byan
on-board
pacer
clock,
orbyanexternal
triggerbrought
ontothe
board
through
the
I/Oconnector.
The
converteddata
canbeEansferred
through
ttre
PC
databustoPCmemoryin one
of twoways:by using
the
microprocessor
orbyusing
directmemory
access
@MA).Themode
oftransferissoftware-selectable
andtheDMA
channel
ischosenby
jumper
settings
on
theboard.The
PC
databusisusedtoread
and/or
transfer
data
o pC
memory.
In the
DMA transfer
mode,
you
can
make
continuous
transfers
directlyo PCmemory
wittrout
going
throughthe
processor.
Digital-to-Analog
Conversion
(ADA1200
Onty)
The
digiral-to-analog
(D/A)circuitry
ontheADA1200
features
twoindependent
l2-bit analog
output
channels
withindividually
jumper-selectable
oulput
ranges
of -5to+5volts,
-10
to+10volts,
0to+5volts,
or0 to+10volts.
Dataisprogrammed
intothe
D/A converter
andaconversion
isautomatically
triggeredforachannel
through
a
single
write
operation.Access
ttrrough
DMAisnot
available.
8254Timer/Counter
An 8254
programmable
interval
timer
contains
threel6-bit,8-MHz
timer/counters
tosupport
awiderange
of
timingand
counting
functions.
Twoof thetimerrcounters
arecascaded
and
canbeusedinternally
forthe
pacer
clock.The
thirdisavailable
forcounting
applications,
orit can
becascaded
totheother
twotimer/counters.
i-3

Digital
VO
The1200has16TTL/CMOS-compatible
digitalI/Olineswhich
canbedirectlyinterfaced
withexternal
devices
orsignals
tosenseswitchclosures,triggerdigital
events,oractivate
solid-state
relays.
Theselines
are
provided
by
theon-board
8255
programmableperipheral
interface
chip.Padsforinstalling
andactivating
pull-up
orpull-down
resistors
are
included
ontheboard.
Installation
procedures
are
given
near
the
end
ofChapterl,Board Settings.
WhatComesWith YourBoard
Youreceive
thefollowingitemsin your1200
package:
. ADl200 orADAI200 interface
board
. Software
anddiagnosticsdiskette
withTurboPascal,Turbo
C,andBASICsource
code
. User's
manual
If anyitemismissing
ordamaged,
please
callRealTimeDevices'
Customer
ServiceDepartment
at
(814)
234-8087.If you
require
serviceoutside
theU.S.,contact
your
localdisnibutor.
Board
Accessories
Inaddition
totheitemsincludedinyour1200
package,
RealTimeDevices
offersafull lineof software
and
hardware
accessories.
Callyour
local
distributor
orour
main
officeformoreinformation
aboutthese
accessoriesand
forhelp
inchoosingthe
best
itemstosupport
your
board'sapplication.
Application
Software
andDrivers
Our
customapplicationsoftware
packages
provide
excellentdataacquisition
andanalysis
support.
Use
SIGNAL*MATH forintegrated
daraacquisition
andsophisticated
digitalsignal
processing
andanalysis,
or
ATLANTISforreal-timemonitoringand
data
acquisition.rtdlinx and
rtdlinx/ablinx drivers
provide
full-featured
highlevel
interfaces
betweenthe1200
and
customorthird
party
software,
including
LABTECHNOTEBOOK,
NOTEBOOK/XE,
and
LTICONTROL.rtdlinx source
code
isavailable
foraone-timefee.
OurPascal
andC
Programmer's
Toolkit
provides
routineswithdocumentedsource
code
forcuslom
progrcmming.
Hardware
Accessories
Hardware
accessories
forthe
1200include
the
MX32analoginput
expansion
board
which
can
expandasingle
input
channel
onyour1200
to 16
differential
or32single-ended
input
channels,
MR series
mechanical
relay
output
boards,
OP
series
optoisolateddigiual
input
boards,
the
T516
temperaturesensor
board,
the
TB50terminal
boardand
XB50prototype/terminal
board
foreasysignal
accessand
prototype
development,
ttre
EX-XT andEX-AT extender
boards
forsimplified
testinganddebugging
ofprototype
circuitry,and
XP50
twisted
pair
wireflatribbon
cable
assemblyforextemal
interfacing.
UsingThisManual
This
manualisintended
tohelp
you
installyour
new
boardand
get
it running
quickly,
whilealso
providing
enough
detailabouttheboardand
itsfunctions
so
that
you
can
enjoy
maximum
useof itsfeatures
even
in the
most
complex
applications.
Weassumethat
you
alreadyhave
anunderstanding
of data
acquisition
principles
andthat
you
cancustomize
theexamplesoftwareorwriteyour
own
applications
programs.
WhenYouNeed
Help
This
manualandtheexample
programs
in thesoftware
package
included
withyour
board
provide
enough
information
toproperly
useall of theboard'sfeatures.
If you
have
any
problems
installing
orusingttrisboard,
contact,
ourTechnical
Support
Department,
(814)
234-8087,
during
regular
businesshours,
eastern
sandard
timeor
eastern
daylighttime,orsendaFAX requesting
assistanceto(814)
234-52L8.
When
sendingaFAX request,
please
include
your
company's
nameandaddress,
your
name,
your
telephone
number,
and
abriefdescription
of the
problem.

CHAPTER1
BOARDSETTINGS
TheAD1200
and
ADA1200
boardshave
jumper
and
switch
settings
youcanchange
if necessary
foryourapplication.
The
1200isfactory-configured
withthemost
often
usedsettings.
The
factory
settingsare
listed
and
shown
onadiagramin the
beginning
ofthis
chapter.Shouldyouneed
tochangethese
settings,
use
these
easy-to-follow
instructions
before
youinstall
theboard
in your
computer.
Note
thatbyinstalling
resistor
packs
atthreelocations
around
the
8255
PPI
and
soldering
jumpers
inthe
desired
locations
in the
associated
pads,
you
can
configure
the16
available
digital
VO
lines
tobe
pulled
up
orpulled
down.This
procedure
isexplained
near
the
endofthis
chapter.
Alsonote
that
byinstalling
components
atRL,
R2,
TR4,
and
C36,
you
canaddyour
own
resistor
configurable
gain.
The
gain
circuiuyisdescribed
atthe
end
of thischapter.

Fa
bo:
exl
avl

P3
- Analog
Input Voltage
Range
(Factory
Setting: 10Votts)
Thisheader
connector,
showninFigure1-2,
sets
theanaloginputvoltage
range
for 10
or20volts.Notethatif
the
jumperisinstalled
on20V,then
P4canonlybeset
for bipolar(+/-).Theinpurranges
allowed
by the1200
are
15,110,
and0to
+10
volts.
Fig.1-2
- Analog Range
Jumper,P3
P4
- Analog
Input VoltagePolarity(Factory
Setting:+/-)
Thisheader
connector,
showninFigure
1-3,
setsthe
analog
inputvoltage
polarity
forunipolar
(+)orbipolar
(+/-).
Note
that
if the
jumper
onP3isinstalled
on20V,
thenP4
canonlybeset
forbipolar
(+/). The
inpur
ranges
allowed
bythe1200
are
15,
+10,
and0to
+10
volts.
Fig.1-3
-Analog InputVoltage
Polarity
Jumper,
p4
P5
- DMA Request
Channel
(Factory
Setting:Disabled)
Thisheader
connector,
showninFigure
14, lets
you
select
channel1or 3forDMA transfers.
Thisline,
the
DMA request
line (DRQ),must
beset
tothesame
channel
as
theDACK line onP6.
ThefactorysettingisDMA
disabled
(umper inasoredposition).
Notethatif anyother
deviceinyoursystemis already
using
yourselected
DMA channel,
channel
contentionwill result,
causing
erratic
operation.
DRQl
DR03
P5
Fig.1-4
- DMA
Request
ChannelJumper,
p5
P6
- DMA Acknowledge
Channel
(Factory
Setting: Disabled)
This
header
connector,
shown
inFigure
l-5, lets
youselect
channelI or 3forDMA transfers.
This
line,
the
DMA acknowledge
line(DACK),
must
be
settothe
same
channel
astheDRQ
lineon
p5.The
factory
setting
is
DMA disabled
(umperinastored
position).
Note
thatif any
other
devicein your
systemisalready
using
your
selected
DMA channel,
channel
contentionwill result,
causing
erratic
operation.
P3
l-l
taol
t-l
cro
N
Input
Voltage
T4

DACKl
DACK3
Fig.
1-5
- DMA
Acknowledge
ChannelJumper,P6
YI -8254 Timer/Counter
ClockSources
(Factory
Settings:
CLKI-XTAL, CLK2-OTI, PCK)
This
header
connector,
shown
inFigurel-6, lets
you
select
theclock
sources
forthe
8254timerlcounters,
TC0,
TCl, andTC2.TCO
andTCI arecascaded
toform
the
pacer
clock.
Youmustinstall
twoorthree
jumpers
inorderto
properly
usethetimer/counter
features,including
the
pacer
clock.Figurel-7 shows
ablock
diagram
of the
timer/
countercircuitry
tohelp
you
in making
theseconnections.
The
clocksourceforTCO
and
TCI isselected
byplacing
a
jumper
onXTAL orECI onCLK1(the
twopairs
of
pins
atthetop
of the
header).
XTAL istheon-board
8-MIIZ
clockand
ECI isanexternal
clocksource
you
connect
through
theexternalI/Oconnector
e245).
Below
theCLKI pins
arethree
pairs
of pins
labeled
CLK2.These
pins
are
usedtoselect
the
clock
sourcefor
TC2.
OTI connects
theoutputofTCI totheclockinput
ofTC2.Installing
a
jumper
here
cascades
allthree
timer/
counters,
afeaturenecessary
when
using
SIGNAL*MATHorATLANTISapplication
software
(see
Appendixes
D
andE).XTAL istheon-board
8MHzclock,andEC2isconnected
tothesame
externalclock
source
asECI
(n4r.
The
last
two
pins
onthisheader,PCK
and
ET,letyou
usethe
pacer
clock
(PCK)
oran
external
trigger
(ET)to
triggerAID conversions.
Ajumper
must
be
placed
on
PCK
inorder
tousethe
pacer
clock
(output
from
TCI). Or,
you
can
place
the
jumper
acrossETand
connect
anyexternal
triggertoY2-39
totrigger
the
A/D converter.
NOTES:Youmust
disconnect
the
pacer
clockbyremoving
the
PCK
jumper
andinstall
the
jumper
ofET
wheneveryou
usetheexternal
triggerline.
Youmust
have
one
jumper
installed
onone
of thenpo
CLKI selections
andone
jumper
installed
onone
of thethree
CLK2selections.
tr
P6
Y
o
(\|
Y
o
P7
IH
XTAL
EC1
oTl
XTAL
EC2
PCK
ET
Fig.
1-6
-8254 Timer/Counter
Clock
Source
Jumpers,
p7
l-5

Fig.
1-8a:
FactorySetting
t-;;;------'l
8254
or2
ET
EOC
DMA
IRQT
IRQ6
IRQ5
IRQ4
IRQ3
IRQ2
G
Fig.
1-8b:
Interrupt
Source
OT2
Connected
to lRe3
1200
I/OCONNECTOR
or2
ET
EOC
DMA
IRQT
IRQ6
IRQ5
lR04
IRQ3
IRQ2
G
TO A/D
TRIGG
ER
XTAL
EC1 F8 MHz EXTCLK
EXT GATE
1
I
ptt{ggl1pl66gp 1x
PIN T/COUT I
o-_8 MHz
EXT GATE
2
T/C
OUT
2
Fig.
1-7
-8254 Timer/Counter
CircuitBlock
Diagram
P8
- InterruptSource
and
Channet
(Factory
Setting:
Jumpers
onOT2& G;Interrupt Channels
Disabled)
This
header
connector,
showninFigure
1-8,lets
you
connect
anyone
offourintemrpt
sources
toany
of six
interrupt
channels,
IRQ2
(highest
prioritychannel)
through
IRQT
(lowest
prioritychannel).
Toactivate
achannel,
you
mustinstall
a
jumper
vertically
across
thedesired
IRQchannel.Figure
1-8a
shows
the
facory setting;
Figure
1-8bshows
intenupt
source
OT2
connected
troIRQ3.
I
ozl
oTl
XTAL
EC2
P8 P8
Fig.
1-8
- Interrupt
ChannelJumper,
pg
Onthe
rightside
of theheader,
you
can
select
any
one
of foursignal
sources
togenerate
anintemrpt.
An
intemtpt
source
ischosen
byplacing
a
jumper
across
the
desired
pair
of.pins.
Theintemrpt
sources
available
are
the
A/D end-of-convert
(EOC),
DMA done
(DMA),extemal
rigger@T),
and
rheoutpur
of timer/counter
2 (OT2).
TIMER/
COUNTER CLK
2GATE
Ar ri
l-6

When
jumpered,
thebottom
pairof pinsonP8,labeled
G,connects
a I kilohm pull-downresistor
to theoutput
of ahigh-impedance
tri-state
driverwhichcarries
theintemrpt
request
signal.Thispull-downresistor
drives
tle
intemrptrequest
linelowwhenever
intemrpts
arenot
active.
Whenever
an
intemrpt
request
ismade,
thetri-state
bufferisenabled,
forcing
theoutputhigh
and
generating
anintemrpL
Youcanmonitor
theinteruptstrtus
through
bit2in thestatusword
(I/Oaddresslocation
BA + 0).Afterthe
intemrpt
has
been
serviced,
thereset
command
returns
the
IRQlinelow,disabling
the
tri-state
buffer,
and
pulling
theouputlowagain.Figure
l-9 shows
this
circuit.Because
the
intemrpt
request
lineisdrivenlowonly
bythe
pull-down
resistor,you
canhave
twoormore
boards
whichsharethesame
IRQchannel.Youcantell whichboardissued
theintemlptrequest
by monitoring
each
board's
IRQstatusbit.
NOTE: When
you
usemultiple
boardsthat
share
thesameinterrupt,
onlyoneboard
should
have
theG
jumper
installed.
The
rest
shouldbedisconnected.
Whenever
you
operate
asingleboard,
the
G
jumper
shouldbeinstalled-
INT
SOURGE IROSTATUS
INTERRUPT
g"
Fig.
1-9
- Pulling
Down
the
Interrupt
Request
Line
P9
- DAC 1Output Voltage
Range
(Factory
Setting:
+5to-5volts)
This
header
connector,
showninFigure
l-10,sets
theoutputvoltage
rangeforDAC 1
at0to+5,
+5,0to+10,
or+10
volts.
Two
jumpers
must
beinstalled,
one
toselect
therange
andone
toselect
themultiplier.
The
two
rightmost
jumpers
selecttherange,
bipolar
(15)
orunipolar
(5).
The
twoleftmost
jumpers
select
themultiplier,
X2
orXl. When
a
jumper
ison
theX2multiplierpins,
the
range
values
become
+10
and10.The
table
belowshows
the
fourpossible
combinationsofjumper
settings,
and
the
diagram
shows
thefactory
setting.
Thisheader
doesnot
have
tobe
setthe
same
as
Pl0.
VoltageRange
Jumpers(Left
to Blght)
x2 x1 r5 5
-5
to+5volts OFF ON ON OFF
0to
+5volts OFF ON OFF ON
-1
0to
+10volts ON OFF ON OFF
0to
+10volts ON OFF OFF ON
t-7

DACl
Fig.
1-10
- DAC1OutputVoltage
Range
Jumper,P9
P10
- DAC2 OutputVoltage
Range
(Factory
Setting:
+5to -5volts)
Thisheader
connector,shown
inFigure
l-l l, setsthe
output
voltage
rangeforDAC2at0to+5,
+5,0to+10,
or+10
volts.
Two
jumpers
must
beinstalled,
one
toselect
the
range
andonetoselect
the
multiplier.
The
two
rightmost
jumpers
select
therange,
brpolar
(15)
orunipolar
(5).
The
twoleftmost
jumpers
selectthemultiplier,
X2
orXl. When
a
jumper
isontheX2multiplier
pins,
the
range
values
become
+10
and
10.
Thetable
below
shows
the
four
possible
combinationsofjumper
settings,
and
thediagram
shows
the
factory
setting.This
header
doesnothave
tobeset
thesameasP9.
VoltageRange
and Polarity
Jumpers
(Left
to Right)
x2 x1 r5 5
-5to +5 volts OFF ON ON OFF
0to+5volts OFF ON OFF ON
-1
0
to
+10
volls ON OFF ON OFF
0to+10volts ON OFF OFF ON
P10 DAC2
x2x1r5 5
Fig.1-11
- DAC
2OutputVottage
Range
Jumper,
pl0
Pll - A/D Data
Word Bit State
Set
(Factory
Setting: +/-)
Thisheader
connector,
shown
inFigure
l-12, sets
thestate
of the
unusedfour
bitsin the8-bit
MSBof ttrel6-bit
AID data
word.This headerensures
thatttresefourtopmost
bitsaresetat0 for unipolar
conversionsand
atthesame
state
asthemost,
significant
bitof the
12-bit
A/D converted
dataforbipolar
conversions.
Chapter
4,BA + 1,
explains
this
inmore
detail.NOTE: Pll andP4
mustbeset
thesamefor properboardoperation.
Set P4to the samepolarityl Pl1
Fig.1-12
-AlD Data
Word
Bit
State
SetJumper,
p11
P9
+l-
:II:
x2x1+5 5
:II:
l-8
This manual suits for next models
1
Table of contents