15–12
F4–08DA–1 8-Ch. Analog Current Output
Sending Data to
One Channel
5
4
4
430
440
450
4
4
4
430
440
450
The following programs show you how to update a single channel. Notice the
DL430 CPU requires a slightly different program than the DL440/DL450 CPUs.
Since the DL430 does not support the OUTF instruction, the program must be
modified to make sure the channel select bits are not accidentally changed by the
data in the accumulator. These examples assume you already have the data
loaded in V3001.
DL440/450 Example
SP1
Select Channel
Enable Outputs
DL430 Example
SP1
Select Channel
Enable Outputs
The LD instruction loads the data for channel 1 into
LD
the accumulator. Since SP1 is used, this rung
V3001
automatically executes on every scan. You could
also use an X, C, etc. permissive contact.
The BIN instruction converts the accumulator data
BIN
to binary (you must omit this step if you've already
converted the data elsewhere).
The OUTF sends the 12 bits to the data word. Our
OUTF
Y20
example starts with Y20, but the actual value depends
K12
on the location of the module in your application.
Y36
Turn Y36, Y35, and Y34 off to update Channel 1.
RST
Y36
Y35
Off
Off
Y35
Off
Off
RST
Off
On
Off
On
On
Off
Y34
On
Off
RST
On
On
On
On
Y37
SET
Turn on Y37 to enable all eight output channels.
The LD instruction loads the data for channel 1 into
LD
the accumulator. Since SP1 is used, this rung
V3001
automatically executes every scan. You could also
use an X, C, etc. permissive contact.
The BIN instruction converts the accumulator data
BIN
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. Our
example starts with V40501, but the actual value
OUT
depends on the location of the module in your
V40501
application.
Y36
Turn Y36, Y35, and Y34 off to update Channel 1.
RST
Y36
Y35
Off
Off
Y35
Off
Off
Off
On
RST
Off
On
On
Off
Y34
On
Off
On
On
SET
On
On
Y37
Turn on Y37 to enable all eight output channels.
SET
Y34
Channel
Off
Ch. 1
On
Ch. 2
Off
Ch. 3
On
Ch. 4
Off
Ch. 5
On
Ch. 6
Off
Ch. 7
On
Ch. 8
Y34
Channel
Off
Ch. 1
On
Ch. 2
Off
Ch. 3
On
Ch. 4
Off
Ch. 5
On
Ch. 6
Off
Ch. 7
On
Ch. 8
Need help?
Do you have a question about the DL405 and is the answer not in the manual?
Questions and answers