2.4.1
Creating Data Blocks
To create a data block, perform the following steps:
Step
Action
1
Enter the block type (DB/DX) and data block number (2
or 3 to 255).
2
Enter individual data words in the data format you
require.
(Do not complete your input of the data words with a
BE statement!)
Note
Data blocks DB 0, DB 1, DX 0, DX 1 and DX 2 are reserved for
specific functions and you cannot use them freely for other
functions (see Section 2.4.3)!
Type
Data format
Examples
KM
Bit pattern
00100110 00111111
KH
Hexadecimal
263F
KY
2 Bytes
038,063
KF
Fixed point number
+09791
KG
Floating point number
+12
KS
Character
?!A.,%
KT
Timer value
055.2
KC
Counter value
234
Table 2-7
Data formats permitted in a data block
Data Blocks
CPU 948 Programming Guide
C79000-G8576-C848-04
2 - 37
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...