Example Of Input In Dx 0 - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

7.2.1

Example of Input in DX 0

Start ID
Field ID/length
Parameters (occupies 1 DW)
Field ID/length
Parameters (occupies 2 DW)
End ID
CPU 948 Programming Guide
C79000-G8576-C848-04
DW 0:
DW 1:
DW 2:
DW 3:
DW 4:
DW 5:
DW 6:
DW 7:
DW10:
When assigning parameters for DX 0, note the following points:
• • Unnecessary fields do not need to be specified.
• • Maintain the order of the fields (e.g. specify the field with ID '02'
before the field with ID '05').
• • A specific field must only occur once in DX 0.
• • The number of parameters must correspond to the field length
specified at the beginning of the field.
• • Maintain the order of parameters. Unnecessary parameters towards
the beginning of the field must be assigned the default to ensure
that the parameter order is maintained.
• • Close DX 0 after entering the last field with the end identifier
"KH=EEEE".
Structure of DX 0
KH = 4D41
KH = 534B
KH = 5830
KH = 0101
Field 1
KH = 1001
KH = 0402
Field 2
KH = 1000
KH = 0040
KH = EEEE
7 - 7

Advertisement

Table of Contents
loading

Table of Contents