Addressing I/O and Controller Memory

4-11

 

 

Integer Data

File #

Table Files

 

Integer

 

 

File 7

 

File 999

Understanding Data Storage (Data-Table Files)

The controller divides data storage into:

Types that let you specify different formats and ranges to accommodate different types of data. For more information on the different types of data files, see on page 13.

Integer

Words

(Sample Data)

Files

 

 

 

 

1020

File 7

 

64

 

 

 

7779

 

 

 

2

 

 

Integer

Natural binary bit pattern for 276

File

(decimal format)

276

 

 

0

0

0

0

0

0

0

1

0

0

0

1

0

1

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

You can create multiple files of a given type. Files let you group and

organize logically related data. When you need to access data, you

specify the file in which the data is stored.

Some types of files are made up of 16-bit words. Floating-point words

are 32 bits. When you need to access this data, you specify it with a

formatted address.

Each word contains multiple bits. This is the smallest division of data.

A bit contains a value of zero or one. When you need to access this

data, you specify it with a formatted address.

Timer File #

Timer #

File #

structure members 2760 preset .PRE

432accumulated .ACC

.EN .TT .DN

Some types of files are divided into structures used to control

instruction elements. These structures are subdivided into members at

the bit or word level. When you need to access this data, you specify it

with a formatted address.

You can also organize data within files into data blocks to group and organize logically related data. When you need to access this data, you specify only the

Starting addr

recipe "A" data

(Length)

 

 

 

 

 

Starting addr

recipe "B" data

(Length)

 

 

 

Starting addr

production counts

(Length)

 

up to 1000

words

starting address within the file (and length) instead of each individual address.

When you organize data, group data by similar kind, such as:

results of calculations

batch recipes

Because of the structure of block-transfer instructions, you must group data such as:

inputs from analog modules

outputs to analog modules

Publication 1785-UM012D-EN-P - July 2005

Page 55
Image 55
Bradley Smoker PLC-5 user manual Understanding Data Storage Data-Table Files, Specify the file in which the data is stored