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 #196 background imageLoading...
Page #196 background image
DL205 Analog Manual, 7th Edition Rev. D
9-20
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
Writing Data (Multiplexing)
The DL230 CPU does not have the special V-memory locations that allows for automatic
enabling the data transfer. Since all channels are multiplexed into a single data word, the
control program must be written in such a way to determine which channel to write the data
to. Since the module appears as Y output points to the CPU, it is very easy to use the channel
selection outputs to determine which channel to update.
The following example is for a module installed as shown in previous examples. The addresses
used would be different if the module were located in a different slot. These rungs can be
placed anywhere in the user program or, if using stage programming, placed in an active stage.
This example is a two-channel multiplexer that updates each channel on alternate scans. Relay
SP7 is a special relay that is on for one scan, then off for one scan. A permissive contact on the
last rung handles an embedded sign bit.
NOTE: Use binary data to write to the module outputs. Do not use a BIN instruction if the data is already in binary format.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
b
C
D
OUT
Y35
Loads the datafor c hanne l1intothe accumulator.
Loaddataintothe accumulator.
SP7
SP1
Send data to V-memory assigned to themodule.
ANDD
K7FFF
Remove sign bit forBCD to binaryconversion. SP1 is
always on.
OUT
V40501
LD
V2000
SP7
LD
V2001
Loads the datafor c hanne l2intothe accumulator.
TheOUT instruction sendsthe data to the
module. Ourexample starts with V40501 but the
actual value dependsonthe locationofthe
module in your application.
SP7
OUT
Y34
SP7
Select thechannelto update.
Selectschanne l1for updatewhen Y34isOFF
(Y35--ON deselects channel 2).Note, Y34and Y35
areuseddue to thepreviousexamples. If the
module wasinstalled in adifferent I/O
arrangement, the addresseswouldbedifferent.
Selectschanne l2for updatewhen Y35isOFF
(Y34--ON deselects channel 1).Note, Y34and Y35
areuseddue to thepreviousexamples. If the
modulewas installedinadifferent I/O arrangement,
theaddresseswould be different.
OUT
Y37
SP7
SP7
V2000
V2001
K8000
K8000
If theoutput format is -- 2047 to +2047, includethis
rung to embed thesign bit.For theoutputformat0to
4095, omit this rung.
BIN
Convertthe datatobinary(youmustomitthis step if you
haveconverted thedataelsewhere).
≥
≥

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