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