DL205 Analog Manual, 7th Edition Rev. D
16-17
Chapter 16: F2-8AD4DA-2, 8-Ch. In / 4-Ch. Out Analog Voltage Combination
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
C
D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.
SP0
LD
K
LDA
O2000
OUT
V7673
Loads a constant that specifies the number of channels to scan and
the data format. (See note below regarding data format.)
The upper byte applies to the inputs. The most significant ribble
(MSN) selects the data format (0=BCD, 8=Binary), and the LSN
selects the number of channels (1, 2, 3, 4, 5, 6, 7, or 8) to scan.
The lower byte
applies to the outputs
. The most significant nibble
(MSN) selects the data format (0=BCD, 8=Binary), and the LSN
selects the number of channels (1, 2, 3, or 4) to scan.
This constant designates the first V-memory location that will be
used to store the input data. For example, 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. For each
channel, the 1st word holds the data, and the 2nd word is needed
only when displaying 14 or 16 bit data in BCD format. The 2nd word
contains the most significant digit in those cases.
The constant O2000 is stored here. V7673 is assigned to slot 3 and
acts as a pointer, which means the CPU will use the value in this
location to determine exactly where to store the incoming data.
OUT
V7663
Special V-memory location assigned to slot 3 that contains the
number of input and output channels.
LDA
O2020
OUT
V7703
This constant designates the first V-memory location that will be
used for the analog output data. For example, the O2020 entered
here would mean: Ch1 -- V2020, V2021; Ch2 -- V2022, V2023; Ch3 --
V2024, V2025; Ch4 -- V2026, V2027. For each channel, the 1st word
holds the data, and the 2nd word is needed only when displaying 14
or 16 bit data in BCD format. The 2nd word contains the most
significant digit in those cases.
The constant O2020 is stored here. V7703 is assigned to slot 3 and
acts as a pointer, which means the CPU will use the value in this
location to determine exactly where to obtain the output data.
8804
LD
KAAAA
Loads a constant that specifies the resolutions for each of the input
channels. This constant is determined by the values of two bits per
channel, as shown previously in “Input Resolutions Selection Bits”.
The constant AAAA(hex) configures each of the eight i
nput channels
for 16 bits.
OUT
V36403
Special V--memory location assigned to slot 3 that contains the
resolution settings for each of the inputchannels.
LD
K0
Loads a constant that specifies the track and hold settings for each
of the input
channels. This constant is determined by the values of
two bits per channel, as previously shown in “Track and Hold
Selection Bits”. The constant 0 configures each of the eight input
channels for no track and hold.
OUT
V36423
Special V--memory location assigned to slot 3 that contains the track
and hold settings for each of the inputchannels..
Содержание DL205
Страница 1: ...DL205 Analog I O Manual Manual Number D2 ANLG M ...
Страница 2: ...Notes ...
Страница 6: ...Notes ...