EasyManua.ls Logo

AutomationDirect DL205 - Write Data to One Channel; Write the same Data to both Channels

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
Loading...
DL205 Analog Manual, 7th Edition Rev. D
12-16
Chapter 12: F2-02DAS-1, 4-20mA Isolated 2-Channel Analog Current Output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Write Data to One Channel
If only one channel is being used, or if the updates are to be controlled separately, the following
program can be used.
Write the same Data to Both Channels
If both channel select outputs are off, then both channels will be updated with the same data.
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. X, C, etc.
can also be used as permissive contacts.
TheBIN instruction converts theaccumulator data
to binary (you must omit this step if youhave
already convertedthe data elsewhere).
TheOUT instruction sends the datatothe module.Our
examplestartswithV40501,but theactualvalue
dependsonthe location of themodule in your
application.
RST
Y40
OUT
Y41
Y40--OFF selects channel 1for updating.
Y41--ON deselects channel 2(do not update).
Note:Use LD if usingbinary, and useLDD if usingBCD.
BIN
SP1
LD
V2000
OUT
V40501
TheLD instruction loadsthe data intothe
accumulator.Since SP1 is used, this rung
automatically executes on every scan. The
X, C, etc. can also be used as permissive contacts.
TheBIN instruction converts theaccumulator data
to binary (you must omit this step if youhave
already convertedthe data elsewhere).
TheOUT instruction sends the datatothe module.Our
examplestartswithV40501,but theactualvalue
dependsonthe location of themoduleinyour
application.
RST
Y40
Y40--OFF selects channel 1for updating.
Y41--OFF selects channel 2for updating.
RST
Y41
Note:Use LD if usingbinary, and useLDD if usingBCD.

Table of Contents

Other manuals for AutomationDirect DL205

Related product manuals