Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual
Page 235

EAF
Process Control Instructions
Chapter 16
16-24
Subscripts
1
=
Units you are converting from
2
=
Units you are converting to
Since the converted range is always 0 to 4095, the equation simplifies to:
M
2
+ 4095
(M
1
* Smin
1
)
(Smax
1
* Smin
1
)
To simplify the actual programming, break the equation down into:
M
2
+ K (M
1
* Smin
1
), where K
+
4095
Smax
1
* Smin
1
)
K
+ 4095
550–25
, K
+ 7.8. So K + 7.8 is
For this example:
the constant for de-scaling this termperature range.
-
Store 2
525
EXECUTE AUX
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
03
Store 1
Store 5
004
Store 6
095
G
000
G
FUNCTION
Store 5
G
Rung 1
550 025
G
M
G
Smin
1
1
Rung 2A
Store 7
000
G
Store 8
000
Store 2
525
G
000
G
Store 1
G
Rung 2B
Store 3
000
G
Store 4
000
Store 10
007
G
800
G
Store 9
G
Rung 2C
Store 11
000
G
Store 12
FFF
Store 13
G
Rung 3A
Rung 3B
004
Store 6
095
G
Store 5
G
EXECUTE AUX
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
13
Store 5
Store 13
FUNCTION