Automation Direct DL405 User Manual page 305

Analog
Hide thumbs Also See for DL405:
Table of Contents

Advertisement

Example 1
Continued
Ch3 Done
C3
Ch2 Done
C2
Ch1 Done
C1
Restart
C0
C1
Output the Data
SP1
(Replace this portion of the
program when using the
DL430 Example 2)
F4–08DA–1 8-Ch. Analog Current Output
LD
V3003
LD
V3002
LD
V3001
LD
V3000
C2
thru
C10
BIN
OUTF
K12
When channel 3 has been updated, this rung loads
the data for channel 4 into the accumulator.
C4
Turning on C4 triggers the channel update (see the
OUT
channel select rungs).
When channel 2 has been updated, this rung loads
the data for channel 3 into the accumulator.
C3
Turning on C3 triggers the channel update (see the
OUT
channel select rungs).
When channel 1 has been updated, this rung loads
the data for channel 2 into the accumulator.
C2
Turning on C2 triggers the channel update (see the
OUT
channel select rungs).
This rung loads the data for channel 1 into the
accumulator. C0 restarts the sequence after
channel 8 is done (see the top rung). The first scan
or any interruption in control relay sequencing is
detected when control relays C1 through C10 are
off (all eight contacts not shown here due to space
constraints). In this case, we also start the
sequence with channel 1.
C1
Turning on C1 triggers the channel update (see the
OUT
channel select rungs).
This rung converts the accumulator data for all
channels (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. Our example starts with Y20,
Y20
but the actual value depends on the location of the
module in your application.
15–15

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

Table of Contents