C U S T O M A P P L I C AT I O N E D I T O R M A N U A L
—
Function block reference
—
Scale
This function block allows to scale a word (16 Bit) value or a double word (32 Bit) value provided as two words.
Calculation rule: Out = (In * X Scale) / Y Scale
If the calculated result is > 65535 the output will be limited to 65535. If the results is < 0 the output is limited to 0. If a word
should be scaled it has to be connected to "In Low Word". The "In High Word" input can be left open in this case (internally set
to 0).
For an example see section "DX1xx Output".
Function Block
Inputs (from top to down)
Output
Parameters
Signal Name
In High Word (W): Upper 16 Bits of the double word value
In Low Word (W): Lower 16 Bits of the double word value
X Scale: Nominator
Y Scale: Denominator
Out (W): Results of the scaling operation
-
41
Data Type
World
Word
Word
Word
Word