Siemens SINUMERIK Commissioning Manual page 474

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

Advertisement

Programming support
3.3 Activating a dialog from the NC program
3.3.4
Example 2: Hold time and optional text variables
Selecting
N10
MMC("CYCLES,PICTURE_ON,T_SK.COM,PICTURE6,GUD4.DEF,,10,T1,G1","N")
N15 G4 F15
N30 MMC("CYCLES,PICTURE_OFF","N")
M30
Parameters:
Dialog file (*.COM)
Text variable
The 7th parameter is interpreted as the display time for the mode without acknowledgment
(10 seconds). The contents of the table are then deleted. The dialog remains on the screen
until PICTURE_OFF is selected. The 8th parameter (T1) is the text variable for the header. If
there is no entry, the operating area name, "cycles", is displayed. The parameters 9 to 23
are optional text variables ("G1=optional text variable"). In this COM file, the optional text
variables must be preassigned in the [Text variables] section.
Figure 3-3
Sequence of operations
The comment text from the COM file (USER VAR TEST_1) is expanded in this example at
the position of the first wild card (%1) to include the contents of the text variable
3-10
//C6(screen6)
(R///USER VAR TEST_1,%1/W/TEST_1///)
[TEXT VARIABLES]
T1 = Example 2: Dwell time and optional text
variables ...
G1 = Optional text variable
Example 2 Dwell time
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Expanding the user interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents