Programming PLC Functions
4.4 Configuring the display of messages in the header
HMI Advanced (IM4)
120
Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
Table 4- 1
User PLC-DB interface
Program path
line
Start DBBx
Start-DBWx
+1
Start-DBBx
+ 3
Start-DBBx
+ 4
Start-DBBx
+5-17
Data type
Byte
Word
Byte
Byte
String
Significance
Bit0=1: there is
something to do
All bytes=1: job is
acknowledged by
HMI
All bytes=0: PLC can
write to interface
again
Offset for text to
be displayed
from
alpu_xx.com,
700000 is the
basis address
and is always
added internally
=0: Delete line
Number from 0
...255
(corresponds to
the 1st parameter
%1)
Index from –127 ...128
negative number (-
1=0xFF, -2=0xFE) is
the machine axis index,
the positive number is
the channel axis index.
The index is then
converted to an axis
name before being
displayed.
(corresponds to the
2nd parameter %2)
String containing
a maximum of 12
characters
(corresponds to
the 3rd parameter
%3)
Program
name line
Start-DBBx
+20
Start-DBWx
+21
Start-DBBx
+23
Start-DBBx
+24
Start-DBBx
+25-37
Data type
Byte
Word
Byte
Byte
String
Significance
As above
As above
As above
As above
As above
Note
The Start-DBBx may only be supplied for a new job with bit 0 = 1 if all of the bytes after the
previous job were again zero and the parameters for the new job Start-DBBx+1 to
St5 are correctly set.
Special characters that have a special meaning within the syntax for this function (", %, $, #)
must not appear within the user's character string (Start DBB+5…).
Start DBBx
HMI detects a job and acknowledges it (all bytes=0).
Start DBWx+1
Start DBWx+1 contains the offset for a text number with a base of 700,000
(user PLC texts). If this parameter = 0, the corresponding line is deleted.
Start-DBBx +3
Start DBBx+3 contains a number that is displayed without being converted.
Start-DBBx +4
Start DBBx+4 contains an axis index.
Negative value = machine axis index (AXCONF_MACHAX_NAME_TAB[
Index-1], MD 10000),
Positive value = channel axis index (AXCONF_CHANAX_NAME_TAB[ Index-
1], MD 20080),
These indices always refer to the channel currently displayed in the HMI. The
index is converted to an axis name before being displayed.
Start-DBB +5
Start DBBx +5−17 contains a character string comprising a maximum of 12
characters.
Structure of PLC program
The PLC program must be laid out in such a way that all parameters are initialized before the
first byte is set.
The data for the program name line (second line) are located 20 bytes after the start byte.
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...