DL205 Analog Manual, 7th Edition Rev. D
16-19
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 3:
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 leading
zero in this LD instruction is shown for clarity. It can be entered by the
programmer, but it will be dropped by the programming software.)
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 incomingdata.
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. 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.
0402
LD
K0
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 0 configures each of the eight input channels for 12
bits.
OUT
V36403
Special V--memory location assigned to slot 3 that contains the
resolution settings for each of the inputchannels.
LD
K5555
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 5555(hex) configures each of the eight
input channels to track and hold the minimum value.
OUT
V36423
Special V--memory location assigned to slot 3 that contains the track
and hold settings for each of the inputchannels..
Input Resolution = 12 bit,
Input/Output Range = 0–10V in, 0–10V out,
Input Track and Hold = all inputs maximum value.
Number of Channels = 4 in, 2 out,
Data Format = BCD in, BCD out,
Содержание DL205
Страница 1: ...DL205 Analog I O Manual Manual Number D2 ANLG M ...
Страница 2: ...Notes ...
Страница 6: ...Notes ...