Automation Direct DL405 User Manual page 330

Analog
Hide thumbs Also See for DL405:
Table of Contents

Advertisement

16–16
F4–16DA–1 16-Ch. Analog Current Output
Example 1
Continued
Ch3 and Ch11 Done
C3
Ch2 and Ch10 Done
C2
Ch1 and Ch9 Done
C1
Restart
C0
C1
C2
thru
C10
Output the Data
SP1
(Replace this portion of the
program when using the
DL430 Example 2)
When channels 3 and 11 have been updated, this
LD
rung loads the data for channel 12 into the
V3013
accumulator. The second LD instruction places the
data for channel 4 in the accumulator and pushes
LD
channel 12's data onto the stack.
V3003
C4
Turning on C4 triggers the channel update (see the
OUT
channel select rungs).
When channels 2 and 10 have been updated, this
LD
rung loads the data for channel 11 into the
V3012
accumulator. The second LD instruction places the
data for channel 3 in the accumulator and pushes
LD
channel 11's data onto the stack.
V3002
C3
Turning on C3 triggers the channel update (see the
OUT
channel select rungs).
When channels 1 and 9 have been updated, this
LD
rung loads the data for channel 10 into the
V3011
accumulator. The second LD instruction places the
data for channel 2 in the accumulator and pushes
LD
channel 10's data onto the stack.
V3001
C2
Turning on C2 triggers the channel update (see the
OUT
channel select rungs).
This rung loads the data for channel 9 into the
accumulator. The second LD instruction places the
LD
data for channel 1 in the accumulator and pushes
V3010
channel 9's data onto the stack. C0 restarts the
sequence after channels 8 and 16 are done (see
the top rung). The first scan or any interruption in
LD
control relay sequencing is detected when control
V3000
relays C1 through C10 are off (all eight contacts are
not shown here due to space constraints). In this
case, we also start the sequence with channels 1
C1
and 9.
Turning on C1 triggers the channel update (see the
OUT
channel select rungs).
This rung converts the accumulator data for
BIN
channels 1 through 8 (one per scan) to binary (you
must omit this step if you've already converted the
data elsewhere). It also loads the data to the
appropriate bits of the data word for the first bank of
OUTF
Y20
eight channels. Our example starts with Y20, but
K12
the actual value depends on the location of the
module in your application.
We move the data for channels 9 through 16 (one
POP
per scan) from the stack to the accumulator.
This rung converts the accumulator data for
BIN
channels 9 through 16 to binary (you must omit this
step if you've already converted the data
elsewhere). It also loads the data to the appropriate
OUTF
Y40
bits of the data word for the second bank of eight
K12
channels. In our example, it is Y40, but the actual
value depends on the location of the module in your
application.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DL405 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents