Siemens SINUMERIK Commissioning Manual page 137

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

Advertisement

The interface in the user DB has the following format:
Start-DBB byte
or
Start-DBB +18 byte
Start-DBB +1 word
or
Start-DBB +19 word
Start-DBB + 3 string
or
Start DBB+20 double Word
The first parameter contains an offset for a text number with a base of 700,000 (user PLC
texts). If this parameter = 0, the corresponding line is deleted. The second parameter
contains a maximum 12-character string. Unless empty, this text is output instead of the user
PLC text.
The parameters must be written from "back to front" in the PLC, i.e., all parameters must be
initialized before the first byte is set. The data for the next line are located exactly 18 bytes
after the start byte. The lines are output from left to right; a maximum of three output fields
per line are provided (i.e., a total of 6 fields are possible).
A hotlink to the first byte for each line is set up in the HMI. If a change occurs in that byte, the
HMI reacts. If the HMI has displayed the data, it writes a –1 to the first variable. The HMI is
informed about this change by means of the hot link, whereupon it writes a 0 to this variable.
The HMI itself does not have to react to this change. The PLC can only write data to the
interface again if the variable is set to 0. This mechanism ensures that the HMI knows about
all parameter changes.
Configuring OEM icons
OEM icons indicating the machine state can be output in the field provided for the program
control display (e.g. SBL, M01, etc.). If OEM icons are defined, the elements for the program
control display are hidden.
The icon names are identified in the HEADER.INI configuration file, same as the user icons.
[OemIcons]
OI_0= <name.bmp>, <Position>
...
OI_31= <name.bmp>, <Position>
Here, <name> is the file name of the bit map and <Position> is the output position (from 1 to
16) in the display line. Multiple bit maps can be output at the same position. If more than one
bit map is active simultaneously at the same position, the bit map with the highest screen
number is displayed.
The output is controlled by means of a PLC double word. This double word is declared in the
next section in the HEADER.INI file:
[OemIcons]
Oem_ICON_BASE = DBx.DBBy
HMI Advanced (IM4)
Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
Bit0=1: there is something to do
All bits=1: job is acknowledged by HMI
All bits=0: PLC can write to interface again.
Offset for text from alpu_xx.com to be displayed;
700 000 is the base address and is always summed internally.
All bits=0: Delete line
String containing a maximum of 12 characters
Programming PLC Functions
4.7 User status display (OEM)
131

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents