Automation Direct DL405 User Manual page 329

Analog
Hide thumbs Also See for DL405:
Table of Contents

Advertisement

Sequencing
The following program example shows how to send digital values to the module
Example 1,
when you have more than one channel. This example assumes you have already
DL440/450
loaded the data according to the following table. It is important to use the rungs in
5
4
4
the order shown for the program to work.
430
440
450
Channel Number
V-Memory Storage
Channel Number
V-Memory Storage
Ch6 and Ch14 Done
Ch5 and Ch13 Done
Ch4 and Ch12 Done
V-Memory Locations for Output Data in Examples 1 and 2
1
3000
9
3010
Ch8 and Ch16 Done
C10
Ch7 and Ch15 Done
C7
C6
C5
C4
F4–16DA–1 16-Ch. Analog Current Output
2
3
4
3001
3002
3003
10
11
12
3011
3012
3013
C0
When channels 8 and 16 are updated, C0 restarts
OUT
the update sequence.
When channels 7 and 15 have been updated, this
LD
rung loads the data for channel 16 into the
V3017
accumulator. The second LD instruction places the
data for channel 8 in the accumulator and pushes
LD
channel 16's data onto the stack.
V3007
C10
Turning on C10 triggers the channel update (see
OUT
the channel select rungs).
When channels 6 and 14 have been updated, this
LD
rung loads the data for channel 15 into the
V3016
accumulator. The second LD instruction places the
data for channel 7 in the accumulator and pushes
LD
channel 15's data onto the stack.
V3006
C7
Turning on C7 triggers the channel update (see the
OUT
channel select rungs).
When channels 5 and 13 have been updated, this
LD
rung loads the data for channel 14 into the
V3015
accumulator. The second LD instruction places the
data for channel 6 in the accumulator and pushes
LD
channel 14's data onto the stack.
V3005
C6
Turning on C6 triggers the channel update (see the
OUT
channel select rungs).
When channels 4 and 12 have been updated, this
LD
rung loads the data for channel 13 into the
V3014
accumulator. The second LD instruction places the
data for channel 5 in the accumulator and pushes
LD
channel 13's data onto the stack.
V3004
C5
Turning on C5 triggers the channel update (see the
OUT
channel select rungs).
16–15
5
6
7
3004
3005
3006
3007
13
14
15
3014
3015
3016
3017
8
16

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?

Table of Contents