D
3-
-0
2D
A
2-
C
ha
nn
el
A
na
lo
g
O
ut
pu
t
6--12
D3--02DA 2-Channel Analog Output
In this case, the example logic is setup to send different data to each channel. Of
course, you would have to have separate routines to calculate the output data and
you would have to store the different values in separate registers.
DSTR
R450
F50
Send Channel 1
This rung loads the data for channel 1 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
R001
F61
Send the accumulator data to the Register that
corresponds to channel 1, which is R001.
DSTR
R452
F50
Send Channel 2
This rung loads the data for channel 2 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
R011
F61
Send the accumulator data to the Register that
corresponds to channel 2, which is R011.
This example assumes you have already loaded the Engineering unit value for Channel 1 in R450 and R451
and the data for Channel 2 in R452 and R453.
374
374
Sending Specific
Data to Each
Channel