![background image](http://html1.mh-extra.com/html/eaton/elc-pb/elc-pb_programming-manual_4017452662.webp)
3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F o r m o r e i n f o r m a t i o n v i s i t : w w w. e a t o n . c o m
3 - 4 9 3
X0
SCAL
K500
K168
K-4
D0
D
1
0
=500
Slope=168
Offset=-4
Destination value
Source value
Program Example 2:
1.
S
1
is 500,
S
2
is –168 and
S
3
is 534. When X10=On, the SCAL instruction executes and the
scaled value is stored in D10.
2. Equation
:
D10 = (500
×
-168 )
÷
1000+ 534=450
X10
SCAL
K500
K-168
K534
D10
Offset=534
D
S =500
1
0
Slope=-168
Destination value
Source value
Points to notes:
1.
If you do not wish to calculate the slope and offset, use the SCLP instruction.
2.
When using the slope equation, the user must be aware that the Max. source value must be
larger than the Min. source value. The Max. destination value does not need to be larger than
the Min. destination value.
3. If
D
> 32,767,
D
=32,767. If
D
< -32,768,
D
=-32,768.
4.
SCAL is for V1.4 of ELC-PB series model and for V1.4 of ELC-PC/PA/PH series controllers.
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...