
Function Block Library 4–6
1336 FORCE — 5.9 August 1995
EXAMPLES
EXAMPLE 1 Example 2 EXAMPLE 3
In Bit 0 False False False
In Bit 1 True True True
In Bit 2 False False False
In Bit 3 False False True
In Bit 4 False False False
In Bit 5 False False True
In Bit 6 False False True
In Bit 7 False False True
In Bit 8 False False True
In Bit 9 False True True
In Bit 10 False False True
In Bit 11 False False True
In Bit 12 False False True
In Bit 13 False False True
In Bit 14 False False True
In Bit 15 False False True
Output 2 514 –22
Example 2 — Output = 514
dec
= 0202
hex
= 0000 0010 0000 0010
binary
0 000001000000010
81514 1211109 7654321013
In Bit 0 (NODE 0) False
In Bit 1 (NODE 1) True
In Bit 2 (NODE 2) False
In Bit 3 (NODE 3) False
In Bit 14 (NODE 14) False
In Bit 15 (NODE 15) False
Bit #
hex 0 202
Binary
Output decimal value (NODE 16) = 514
BIN2DEC
(continued)
Kommentare zu diesen Handbüchern