beautypg.com

Data file 3 – bit – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 64

background image

Chapter 4
Data File Organization and Addressing

4–8

Data File 3 – Bit

File 3 is the bit file, used primarily for bit (relay logic) instructions, shift
registers, and sequencers. The maximum size of the file is 256 1-word
elements, a total of 4096 bits. You can address bits by specifying the element
number (0 to 255) and the bit number (0 to 15) within the element. You can
also address bits by numbering them in sequence, 0 to 4095.

You can also address elements of this file.

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

B3:0

B3:1

B3:2

B3:3

B3:252

B3:253

B3:254

B3:255

Bit 14, Element 3
Address B3:3/14.

Can also be
expressed as bit 62.
Address B3/62.

Bit 0, Element 252
Address B3:252/0.

Can also be
expressed as bit
4032. Address
B3/4032.

Element

Format

Explanation

Examples

B

Bit type file

Bf:e/b

f

File number. Number 3 is the default file. A file
number between 10 – 255 can be used if additional
storage is required.

B3:3/14

Bit 14, element 3

:

Element delimiter

e

Element
number

Ranges from 0 to 255. These are
1-word elements. 16 bits per
element.

B3:252/0

Bit 0, element 252

/

Bit delimiter

b

Bit number

Bit location within the element.
Ranges from 0 to 15.

B3:9

Bits 0–15, element 9

Bf/b

B

f
/

Same as above.
Same as above.
Same as above.

B3/62

Bit 62

b

Bit number

Numerical position of the bit within
the file. Ranges from 0 to 4095.

B3/4032

Bit 4032

Your programming device may display addresses slightly different than what
you entered on the HHT.

The HHT and APS always display the Bf/b format in XIO, XIC, and OTE
instructions.