Sequencing
The next four example programs show you how to send digital values to the module
the Channel
when you have more than one channel. These examples will automatically update
Updates
all eight channels over eight scans.
The first two sequencing examples, examples 1 and 2, are fairly simple and will
work in almost all situations. We recommend these for new users. They use control
relays C1 through C10 as index numbers corresponding to the channel updated on
any particular scan. At the end of each scan, only one control relay C1 through C10
is on. On each subsequent scan, the next control relay energizes. The channel
sequencing automatically begins with channel 1 on the first scan, or after any
disruption in the logic. You must use example 2 with D4–430 CPUs. Either example
will work with D4–440 or D4–450 CPUs.
The next two examples, 3 and 4, are slightly more complex. However, they do not
depend on the use of control relays to provide channel sequencing. Instead, they
use function boxes to increment a channel pointer value in V-memory. Then, other
instructions perform bit manipulations to position the channel select bits properly in
the output word to the module. You must use example 4 with D4–430 CPUs. Either
example will work with D4–440 or D4–450 CPUs.
In the fifth example, we show you how you can update all eight channels in the
same scan with D4–440 and D4–450 CPUs. However, this can increase the scan
time and you may not always need to update all eight channels on every scan.
In the last example, we show you how you can update a single channel during the
scan with D4–440 and D4–450 CPUs using the Immediate instructions.
F4–08DA–2 8-Ch. Analog Voltage Output
19–13
Need help?
Do you have a question about the DL405 and is the answer not in the manual?
Questions and answers