Wiring with the display system
236
1SVC 440 795 M1100
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>.
Example 1:
Input value >I1: +7
dec
BCD binary value: 0111
Hexadecimal value: 0111
Decimal value QV>: + 7
Example 2:
Input value >I1: +11
dec
BCD binary value: 00010001
Hexadecimal value: 00011001
Decimal value QV>: +17 (1 + 16)
Hexadecimal value:
Bit 0 has the value 1.
Bit 4 has the value 16
Total: Bit 0 plus bit 4 = 17
Example 3:
Input value >I1: 19
dec
BCD binary value: 00011001
Hexadecimal value: 00011001
Decimal value QV>: 25 (1 + 8 + 16)
h
Bit 32 is the sign bit. Bit 32 = 1 r Sign = Minus.
h
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.