Rockwell Automation 1760-xxxx Pico GFX-70 Controllers User Manual User Manual
Page 237
Publication 1760-UM002B-EN-P - March 2005
Wiring with Pico GFX-70 4-127
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>.
IMPORTANT
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 do not
normally generate these values.
IMPORTANT
Bit 32 is the sign bit. Bit 32 = 1
→ Sign = Minus.
IMPORTANT
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.