Creating Data Blocks - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

2.4.1

Creating Data Blocks

CPU 948 Programming Guide
C79000-G8576-C848-04
To create a data block, perform the following steps:
Step
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)!
Table 2-7
Data formats permitted in a data block
Type
Data format
KM
Bit pattern
KH
Hexadecimal
KY
2 Bytes
KF
Fixed point number
KG
Floating point number
KS
Character
KT
Timer value
KC
Counter value
Data Blocks
Action
Examples
00100110 00111111
263F
038,063
+09791
+1356123+12
?!ABCD123-+.,%
055.2
234
2 - 37

Advertisement

Table of Contents
loading

Table of Contents