DL205 Analog Manual, 7th Edition Rev. D
9-22
Chapter 9: F2-02DA-2, F2-02DA-2L, 2-Channel Analog Voltage Output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Write Data to One Channel
The following example can be used if only one channel is to be written to, or if the outputs
are to be controlled individually. Don’t forget to either embed the sign information or use the
sign output bit for bipolar ranges.
Write Data to Both Channels
In the example below, if both selection channels are off, they will be updated with the same
data. Remember to either embed the sign information or use the sign output bit.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
b
C
D
BIN
SP1
LD
V2000
OUT
V40501
The LD instruction loads the data into the
accumulator. Since SP1 is used, this rung
automatically executes on every scan. You could
also use an X, C, etc. permissive contact.
The BIN instruction converts the accumulator data
to binary (you must omit this step if you have
already converted the data elsewhere).
ANDD
K0FFF
The ANDD instruction masks off the channel select
bits to prevent an accidental channel selection.
The OUT instruction sends the data to the module. Our
example starts with V40501, but the actual value
depends on the location of the module in your
application.
RST
Y34
OUT
Y37
X1
The permissive X1 activates Y37, which is the sign bit.
The sign bit indicates that the value is negative. You
could use another permissive, such as a CR, etc. Omit
this rung if you are using the 0 to +4095 output format.
OUT
Y35
Y35--ON deselects channel 2 (do not update).
Y34--OFF selects channel 1 for updating.
BIN
SP1
LD
V2000
OUT
V40501
The LD instruction loads the data into the
accumulator. Since SP1 is used, this rung
automatically executes on every scan. You could
also use an X, C, etc. permissive contact.
The BIN instruction converts the accumulator data
to binary (you must omit this step if you have
already converted the data elsewhere.
ANDD
K0FFF
The ANDD instruction masks off the channel select
bits to prevent an accidental channel selection.
The OUT instruction sends the data to the module. Our
example starts with V40501, but the actual value
depends on the location of the module in your
application.
RST
Y34
OUT
Y37
X1
The permissive X1 activates Y37, which is the sign bit.
The sign bit indicates that the value is negative. You
could use another permissive, such as a CR, etc. Omit
this rung if you are using the 0 to +4095 output format.
RST
Y35
Y34--OFF selects channel 1 for updating.
Y35--OFF selects channel 2 for updating.
Summary of Contents for DL205
Page 1: ...DL205 Analog I O Manual Manual Number D2 ANLG M ...
Page 2: ...Notes ...
Page 6: ...Notes ...