DL205 Analog Manual, 7th Edition Rev. D
15-18
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
Module Configuration Example 2:
Number of Channels = 4 in, 4 out,
Data Format = binary in, BCD out,
Input Resolution = 14 bit,
Input Track and Hold = all inputs maximum 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.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
b
C
D
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 nibble
(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. 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 outputdata.
8404
LD
K5555
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 5555(hex) configures each of the eight input channels
for 14 bits.
OUT
V36403
Special V--memory location assigned to slot 3 that contains the
resolution settings for each of the input channels.
LD
KAAAA
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 AAAA(hex) configures each of the eight
input channels to track and hold the maximum value.
OUT
V36423
Special V--memory location assigned to slot 3 that contains the track
and hold settings for each of the input channels.
Summary of Contents for DL205
Page 1: ...DL205 Analog I O Manual Manual Number D2 ANLG M ...
Page 2: ...Notes ...
Page 6: ...Notes ...