Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 72

Advertising
background image

Function Block Library

4–10

1336 FORCE — 5.9 August 1995

EXAMPLES

Example 1

EXAMPLE 2

Input

14

65584

Out Bit 0

False

False

Out Bit 1

True

False

Out Bit 2

True

False

Out Bit 3

True

False

Out Bit 4

False

True

Out Bit 5

False

True

Out Bit 6

False

False

Out Bit 7

False

False

Out Bit 8

False

False

Out Bit 9

False

False

Out Bit 10

False

False

Out Bit 11

False

False

Out Bit 12

False

False

Out Bit 13

False

False

Out Bit 14

False

False

Out Bit 15

False

True

Example 1 — Input = 14

dec

= 000E

hex

= 0000 0000 0000 1110

binary

Out Bit 0 (NODE 1)

False

Out Bit 1 (NODE 2)

True

Out Bit 2 (NODE 3)

True

Out Bit 3 (NODE 4)

True

D

D

D

D

D

D

D

D

D

D

Out Bit 14 (NODE 15)

False

Out Bit 15 (NODE 16)

False

0

0

0

0

0

0

0

0

0

0

0

0

1

1

1

0

8

15

14

12

11

10

9

7

6

5

4

3

2

1

0

13

Bit #

hex

0

0

0

E

Binary

Input decimal value (NODE 0) = 14

DEC2BIN

(continued)

Advertising