Coil, Function of the ls function block – Rockwell Automation 1760-xxxx Pico GFX-70 Controllers User Manual User Manual
Page 227

Publication 1760-UM002B-EN-P - March 2005
Wiring with Pico GFX-70 4-117
Value Range for Inputs and Outputs
Displaying the Parameter Set in the PARAMETERS Menu
• + Access enabled
• - Access disabled
Coil
VC01EN to VC32EN, function block enable
Memory Requirement of the LS Function Block
The LS function block requires 64 bytes of memory plus 4 bytes per constant
on the function block input.
Function of the LS Function Block
The function block operates according to the following equation:
Y(x)= Actual output value of target range
X
= Actual input value of source range
X
1
= Lower value of source range
X
2
= Upper value of source range
Y
1
= Lower value of target range
Y
2
= Upper value of target range
Value range
>I1
Input value of the function block
-2147483648 to +2147483647
>X1
Lower value of source range
>X2
Lower value of target range
>Y1
Upper value of source range
>Y2
Upper value of target range
QV>
Output value
IMPORTANT
The scaling function block must be enabled so that it can
work. Coil LS..EN is active. If coil LS..EN is not active, the
entire function block is deactivated and reset. The output
value is set to zero.
Y(x) = X x Y
2
- Y
1
+ X
2
x Y
1
- X
1
x Y
2
X
2
- X
1
X
2
- X
1