EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #480 background imageLoading...
Page #480 background image
Programming support
3.3 Activating a dialog from the NC program
Expanding the user interface
3-16 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
3.3.9 Example 7: Asynchronous acknowledgment mode with softkeys
Description
Softkeys can be preprogrammed in the COM file for display in asynchronous mode, linked
with the acknowledgment variable and evaluated in the parts program.
Selecting
N10 QUIT_1 = "START"
N20
MMC("CYCLES,PICTURE_ON,T_SK.COM,PICTURE3,GUD4.DEF,"QUIT_1,K1","A")
N30 LABEL0:
N40 STOPRE
N50 IF MATCH (QUIT_1,"SK1") >= 0 GOTOF LABEL1
N60 IF MATCH (QUIT_1,"SK2") >= 0 GOTOF LABEL2
N70 GOTOB LABEL0
N80 LABEL2:
N90 MMC("CYCLES,PICTURE_ON,T_SK.COM,PICTURE1,GUD4.DEF,"N1","N")
N100 G4F10
N110 LABEL1:
N120 MMC("CYCLES,PICTURE_OFF","N")
N130 M30
Parameters:
Dialog file (*.COM)
//C3(Screen3)
(S///USER VAR QUIT_1/W/QUIT_1//)
Text variable
[TEXT VARIABLES]
K1 = ..Example8: MMC command with asynchronous
acknowledgment mode
N1 = ..Example8: Picture2
Softkey
[SCREEN3]
SK1 = END
SK2 = Screen2
Program structure
The acknowledgment variable is defined as a string.
Length of the string: >= 20
;(Values < 20 are evaluated internally only, SK0 ... SK15 are
entered at position 17...20 when a softkey is actuated).
The string is assigned a value in the parts program and any old softkey information is
deleted.
Before the parts program can branch as a function of the acknowledgment variable, the
block search must be halted by the STOPRE command.

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals