DL205 Analog Manual, 7th Edition Rev. D
8-13
Chapter 8: F2-02DA-1, F2-02DA-1L, 2-Channel Analog Current Output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Writing Data (Multiplexing)
The DL230 CPU does not have the special V-memory locations that allows for automatic
enabling the data transfer. Since all channels are multiplexed into a single data word, the
control program must be written in such a way to determine which channel to write the data
to. Since the module appears as Y output points to the CPU, it is very easy to use the channel
selection outputs to determine which channel to update.
The following example is for a module installed as shown in the previous examples. The
addresses used would be different if the module were located in a different slot. These rungs
can be placed anywhere in the user program or, if using stage programming, placed in an active
stage. This example is a two-channel multiplexer that updates each channel on alternate scans.
Relay SP7 is a special relay that is on for one scan, then off for one scan.
NOTE:
Use binary data to write to the module outputs. Do not use a BIN instruction if the data is already in binary format.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
b
C
D
OUT
Y35
Loads the data for channel 1 into the accumulator.
Load data into the accumulator.
SP7
SP1
Send data to V-memory assigned to the module.
BIN
Convert the data to binary (omit this this step if
data is already in binary).
SP1 is always on.
OUT
V40501
LD
V2000
SP7
LD
V2001
Loads the data for channel 2 into the accumulator.
The OUT instruction writes the data to the
module. Our example starts with V40501, but the
actual value depends on the location of the
module in your application.
SP7
OUT
Y34
SP7
Select the channel to update.
Selects channel 1 for update when Y34 is OFF
(Y35--ON deselects channel 2). Note, Y34 and Y35
are used as in the previous examples. If the module
was installed in a different slot the addresses
would be different.
Selects channel 2 for update when Y35 is OFF
(Y34--ON deselects channel 1). Note, Y34 and Y35
are used as in the previous examples. If the module
was installed in a different slot the addresses
would be different.
Summary of Contents for DL205
Page 1: ...DL205 Analog I O Manual Manual Number D2 ANLG M ...
Page 2: ...Notes ...
Page 6: ...Notes ...