F
3-
-0
4D
A
S
4
C
h.
Is
ol
at
ed
A
na
lo
g
O
ut
.
8--16
F3--04DAS 4-Channel Isolated Analog Output
The following program example shows how to send the digital value to a single
channel.
374
DSTR
R450
F50
Send Channel 1
This rung loads the data into the accumulator on
every scan.
BIN
F85
Since the data is in BCD format, you have to
convert it to binary before you send the data to the
module.
DOUT5
R001
F65
Send the accumulator data to the Register that
corresponds to the module, which is R001.
Indicate the channel to update. In this case,
channel 1 is being updated.
This example assumes you have already loaded the Engineering unit value in R450 and R451.
OUT
114
To update other channels with the same output
data, simple add the channel selection outputs for
the additional channels.
OUT
115
If you install the F3--04DA--1 in the slot corresponding to registers 6 and 16, you have
to make a slight program adjustment. This is because the DOUT5 instruction is not
supported for this slot.
374
DSTR
R450
F50
Send Channel 1
This rung loads the data into the accumulator on
every scan.
BIN
F85
Since the data is in BCD format, you have to
convert it to binary before you send the data to the
module.
DOUT1
R006
F61
Send the 8 least significant data bits to the first
Register that corresponds to the module which is
R006.
Indicate the channel to update. In this case,
channel 1 is being updated.
This example assumes you have already loaded the Engineering unit value in R450 and R451.
OUT
164
SHFR
K0008
F80
DOUT3
R016
F63
Shift the 4 most significant data bits to the right 8
places. (The data is still in the accumulator).
Send the 4 most significant data bits to the second
Register that corresponds to the module which is
R016.
Sending Data to a
Single Channel