DL205 Analog Manual, 7th Edition Rev. D
15-17
Chapter 15: F2-8AD4DA-1 8-Ch. In / 4-Ch. Out Analog Current Combination
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
B
C
D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
b
C
D
Module Configuration Example 1:
Number of Channels = 8 in, 4 out,
Data Format = binary in, BCD out,
Input Resolution = 16 bit,
Input Track and Hold = none, real time value.
NOTE: Binary data format is recommended for 14 or 16 bit resolution input data, especially if the input data is to
be used in any math instructions (DL205 User Manual, ch.5). There is only one V-memory word (16 bits) available for the
actual data. Although the 12 bit resolution maximum value of 4095 can be stored in one word using either binary or BCD
formats, the 14 and 16 bit resolution maximum values of 16383 and 65535 both exceed the BCD format’s maximum single
word capacity of 9999. Double word math would be required for 14 or 16 bit data in BCD format. Binary data format is
also useful for displaying data on some operator interfaces.
thedataformat. (See note below regarding dataformat.)
Theupper byte applies to the inputs. The most significant ribble
(MSN)selects the dataformat(0=BCD, 8=Binary), and theLSN
selects the number of channels(1, 2, 3, 4, 5, 6, 7, or 8) to scan.
Thelower byte
appliestothe outputs.The most significant nibble
(MSN)selects the dataformat(0=BCD, 8=Binary), and theLSN
selects the number of channels(1, 2, 3, or 4) to scan.
This constant designatesthe firstV-memorylocationthatwill be
used to storethe input data. Forexample,the O2000 entered here
would mean:Ch1 -- V2000, V2001; Ch2--V2002,V2003; Ch3--
V2004,V2005;Ch4 -- V2006, V2007;Ch5 -- V2010,V2011; Ch6--
V2012,V2013;Ch7 -- V2014, V2015;Ch8 -- V2016,V2017. Foreach
channel,the 1stword holds thedata, andthe 2nd word is needed
onlywhendisplaying14or16 bit datainBCD format.The 2nd word
contains themostsignificant digitinthose cases.
Theconstant O2000isstored here. V7673isassigned to slot 3 and
acts as a pointer,whichmeansthe CPUwilluse thevalue in this
locationtodetermine exactlywheretostore theincoming data.
OUT
V7663
Special V-memory location assignedtoslot3that contains the
numberofinput and output channels.
LDA
O2020
OUT
V7703
This constant designatesthe firstV-memorylocationthatwill be
used forthe analog output data. Forexample, theO2020 entered
here wouldmean: Ch1--V2020,V2021;Ch2 -- V2022,V2023;Ch3 --
V2024,V2025;Ch4 -- V2026, V2027. For eachchannel,the 1stword
holds the data, and the 2nd word is needed onlywhen displaying14
or 16 bit datainBCD format.The 2ndwordcontains themost
significant digitinthosecases.
Theconstant O2020isstored here. V7703isassigned to slot 3 and
acts as a pointer,whichmeansthe CPUwilluse thevalue in this
location to determine exactlywhereto obtain the output data.
8804
LD
KAAAA
Loads aconstantthatspecifies theresolutions for eachofthe input
channels. This constant is determinedbythe values of two bitsper
channel,asshown previously in “InputResolutions Selection Bits”.
Theconstant AAAA(hex)configures each of theeight i
nput channels
for16bits.
OUT
V36403
SpecialV-- memory location assigned to slot 3that containsthe
resolution settings foreachofthe inputchannels.
LD
K0
Loadsaconstant that specifiesthe trackand holdsettings foreach
of theinput channels. This constant is determinedbythe values of
twobits per channel,aspreviouslyshownin“Track and Hold
Selection Bits”. Theconstant 0configures eachofthe eightinput
channelsfor no track and hold.
OUT
V36423
SpecialV-- memory location assigned to slot 3that containsthe track
and holdsettings foreachofthe inputchannels..