Function blocks
For more information visit:
www.EatonElectrical.com
MN05013005E
245
Example 3:
Input value>I1: 19
dec
Binary value: 00010011
Decimal value QV>: 13
Example 4:
Input value>I1: 161061273
dec
Binary value: 1001100110011001100110011001
Decimal value QV>: 9999999
Example 5:
Input value>I1: –61673
dec
Binary value: 10000000000000001111000011101001
Decimal value QV>: –9099
Example 6:
Input value>I1: 2147483647
dec
Binary value: 01111111111111111111111111111111
Decimal value QV>: 9999999
BIN mode
The decimal value is assigned to input
>I1
. The decimal
value is represented as a BCD coded value. The BCD coded
value is interpreted as a hexadecimal value and output as a
decimal value at output QV>.
J
The highest binary value represented in BCD is 1001 = 9.
All other higher binary values from 1010 to 1111 are output
as 9. This behavior is correct as BCD encoders normally
don't generate these values.
J
Bit 32 is the sign bit. Bit 32 = 1
J
Sign = Minus.
J
Values greater than 161061273 are output as 9999999.
Values less than –161061273 are output as
–9999999. The working range of the function block has
been exceeded.