Siemens SINUMERIK Commissioning Manual page 126

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Programming PLC Functions
4.4 Configuring the display of messages in the header
Table 4- 1
User PLC-DB interface
Program path
Start DBBx
line
Data type
Byte
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
Program
Start-DBBx
name line
+20
Data type
Byte
Significance
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
StartDBBx+5 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
Start DBWx+1
Start-DBBx +3
Start-DBBx +4
Start-DBB +5
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.
120
Start-DBWx
Start-DBBx
+1
+ 3
Word
Byte
Offset for text to
Number from 0
be displayed
...255
from
(corresponds to
alpu_xx.com,
the 1st parameter
700000 is the
%1)
basis address
and is always
added internally
=0: Delete line
Start-DBWx
Start-DBBx
+21
+23
Word
Byte
As above
As above
HMI detects a job and acknowledges it (all bytes=0).
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 contains a number that is displayed without being converted.
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 DBBx +5−17 contains a character string comprising a maximum of 12
characters.
Start-DBBx
+ 4
Byte
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)
Start-DBBx
+24
Byte
As above
Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
Start-DBBx
+5-17
String
String containing
a maximum of 12
characters
(corresponds to
the 3rd parameter
%3)
Start-DBBx
+25-37
String
As above
HMI Advanced (IM4)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents