2.4
Data Blocks
Data blocks (DB) or extended data blocks (DX) are used to store the
fixed or variable data with which the user program works. No STEP 5
operations are processed in data blocks.
The data of a data block includes the following:
••
various bit patterns (e.g. for status of a controlled process)
••
numbers (hexadecimal, binary, decimal) for timer values or arith-
metic results
••
alphanumeric characters, e.g. for message texts.
Structure of a data block
A data block (DB/DX) consists of the following parts:
••
block preheader (DV, DXV),
••
block header
••
block body.
Block preheader
The block preheader is created automatically on the hard or floppy
disk of the PG and not transferred to the CPU. It contains the data
formats of the data words entered in the block body. You have no
influence over the creation of the block preheader.
Note
When you transfer a data block from the PLC to diskette or hard
disk, the corresponding block preheader can be deleted. For this
reason, you must never modify a data block with different data
formats in the PLC and then transfer it back to diskette, otherwise
all the data words in the DB are automatically assigned the data
format you selected in the presets screen form.
Data Blocks
CPU 948 Programming Guide
C79000-G8576-C848-04
2 - 35
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...