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 #246 background imageLoading...
Page #246 background image
DL205 Analog Manual, 7th Edition Rev. D
12-12
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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
b
C
D
Engineering Units Conversion
This example program shows how to write the program to perform the engineering unit
conversion to output data formats 0–65535 when using a DL250 CPU. This example assumes
that a BCD value has been stored in V2300 for channel 1.
TheLDinstruction loads the engineering unitsusedwithchannel 1 into
theaccumulator.This exampleassumesthe numbers areBCD.Since
SP1 is used, this rung automatically executes on every scan.
An X, C, etc.
could alsobe used as a permissive contact.
LD
V2300
SP1
BIN
BTOR
ConvertBCD numberto binary number.
Convertbinary numbertoreal number.
MULR
R65535
Multiply theaccumumlator by 65535 to startthe conversion.
Divide theaccumulator by 1000(1000 = 100.0%).
DIVR
R1000
RTOB
BCD
Convertthe result to binary.
Convertthe result to BCD.
OUTD
V2000
Storethe BCD double word result in V2000/V2001.

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