Automationdirect.com DirectLOGIC DL205 Series User Manual page 456

Table of Contents

Advertisement

Analog Scale 12-Bit Binary to Binary (ANSCLB) (IB-403)
Analog Scale 12-Bit Binary to Binary scales a 12-bit binary analog value (0 to 4095 decimal)
into binary (decimal) engineering units. You specify the engineering unit high value (when
230
raw is 4095), and the engineering low
value (when raw is 0), and the output V-
240
memory address where you want to place
250-1
the scaled engineering unit value. The
260
engineering units are generated as binary
and can be the full range of 0 to 65535
DS5
Used
(see ANSCL - Analog Scale 12-Bit BCD
N/A
HPP
to BCD if your raw units are in BCD
format).
Note that this IBox only works with
unipolar unsigned raw values. It does
NOT work with bipolar, sign plus
magnitude, or signed 2's complement raw values.
ANSCLB Parameters
• Raw (12-bit binary): specifies the V-memory location of the unipolar unsigned raw decimal
unscaled value (12-bit binary = 0 to 4095 decimal)
• High Engineering: specifies the high engineering value when the raw input is 4095 decimal
• Low Engineering: specifies the low engineering value when the raw input is 0 decimal
• Engineering (binary): specifies the V-memory location where the scaled engineering decimal value
will be placed
Raw (12-bit binary) . . . . . . . . . . . . . . . . . . . . V,P
High Engineering . . . . . . . . . . . . . . . . . . . . . . . . K
Low Engineering . . . . . . . . . . . . . . . . . . . . . . . . K
Engineering (binary) . . . . . . . . . . . . . . . . . . . . V,P
ANSCLB Example
In the following example, the ANSCLB instruction is used to scale a raw value (0 to 4095
binary) that is in V2000. The engineering scaling range is set 0 to 1000 (low engineering
value - high engineering value). The scaled value will be placed in V2100 in binary format.
SP1
Chapter 5: Intelligent Box (IBox) Instructions
Parameter
DL205 User Manual, 4th Edition, Rev. B
DL205 Range
See DL205 V-memory map - Data Words
K0-65535
K0-65535
See DL205 V-memory map - Data Words
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
5–239

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF