EasyManuals Logo

AutomationDirect DL205 Manual

Default Icon
359 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #198 background imageLoading...
Page #198 background image
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
TheLD instruction loadsthe data intothe
accumulator.Since SP1 is used, this rung
automatically executes on every scan. Youcould
alsouse an X, C, etc. permissive contact.
TheBIN instruction converts theaccumulator data
to binary (y ou must omit this step if youhave
already convertedthe data elsewhere).
ANDD
K0FFF
TheANDD instructionmasks offthe channelselect
bitstoprevent an accidental channelselection.
TheOUT instruction sends the datatothe module.Ou
r
examplestartswithV40501,but theactualvalue
dependsonthe location of themodule in your
application.
RST
Y34
OUT
Y37
X1
ThepermissiveX1activates Y37, whichisthe sign bit.
Thesignbit indicatesthat thevalue is negative.You
coulduse another permissive,suchasaCR, etc. Omit
this rung if youare usingthe0to+4095 outputformat.
OUT
Y35
Y35--ON deselects channel 2(do not update).
Y34--OFF selects channel 1for updating.
BIN
SP1
LD
V2000
OUT
V40501
TheLD instruction loadsthe data intothe
accumulator.Since SP1 is used, this rung
automatically executes on every scan. Youcould
alsouse an X, C, etc. permissive contact.
TheBIN instruction converts theaccumulator data
to binary (you must omit this step if youhave
already convertedthe data elsewhere.
ANDD
K0FFF
TheANDD instructionmasks offthe channelselect
bitstoprevent an accidental channelselection.
TheOUT instruction sends the datatothe module.Ou
r
examplestartswit hV40501,but theactualvalue
dependsonthe location of themodule in your
application.
RST
Y34
OUT
Y37
X1
ThepermissiveX1activ ates Y37, whichisthe sign bit.
Thesignbit indicatesthat thevalue is negative.You
coulduse another permissive,suchasaCR, etc. Omit
this rung if youare usingthe0to+4095 outputformat.
RST
Y35
Y34--OFF selects channel 1for updating.
Y35--OFF selects channel 2for updating.

Table of Contents

Other manuals for AutomationDirect DL205

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AutomationDirect DL205 and is the answer not in the manual?

AutomationDirect DL205 Specifications

General IconGeneral
BrandAutomationDirect
ModelDL205
CategoryController
LanguageEnglish

Related product manuals