Sequencing
Since the DL430 does not support the OUTF instruction, the previous program
Example 2,
must be modified to make sure the channel select bits or the output enable bits are
DL430
not accidentally changed by the data in the accumulator. Replace the "Output the
4
4
4
Data" rung in the middle of Example 1 with the new rung below. Be sure to retain the
original order of the rungs shown in Example 1 for the program to work. This
430
440
450
example will also work with DL440 and DL450 CPUs.
Output the Data
SP1
F4–08DA–1 8-Ch. Analog Current Output
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).
The ANDD instruction masks off the channel select
ANDD
bits to prevent an accidental channel selection.
KFFF
The OUT instruction sends the data to the module.
OUT
Our example starts with V40501 for the first bank of
V40501
8 channels, but the actual value depends on the
location of the module in your application.
15–17
Need help?
Do you have a question about the DL405 and is the answer not in the manual?
Questions and answers