Example Program 8: Asynchronous Acknowledgment Mode; With Softkeys - Siemens SINUMERIK 840D sl Commissioning Manual

Commissioning cnc part 2 (hmi)
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

08/2005

9.8 Example program 8: Asynchronous acknowledgment mode

with softkeys

Softkeys can be preprogrammed in the COM file for display in asynchronous mode,
linked with the acknowledgment variable and evaluated in the parts program.
Parts program
N10
QUIT_1 = "START"
N20
MMC("CYCLES, PICTURE_ON,T_SK.COM,SCREEN3,GUD4.DEF,,
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,SCREEN1,GUD4.DEF,,,
N100 G4F10
N110 LABEL1:
N120 MMC("CYCLES, PICTURE_OFF","N")
N130 M30
Dialog screen file
(*.COM)
//C3(Screen3)
(S/// USER VAR QUIT_1/W/QUIT_1//)
[TEXT VARIABLES]
K1 = ..Example8: MMC command with asynchronous acknowledgment mode
N1 = ..Example8: Screen2
Text variable
[SCREEN3]
SK1 = END
SK2 = Screen2
Example 8: MMC command with asynchronous acknowledgement mode
ANW.VAR TEST_1
Softkey 0
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
QUIT_1,K1","A")
N1","N")
END
Screen2
Softkey 4
Softkey 1
Softkey 2
Softkey 3
Starting Up HMI Embedded (IM2)
9 Configure Windows in the NC Program
START
OK
Softkey 5
Softkey 6
Softkey 7
8
Softkey
Softkey 9
Softkey 10
Softkey 11
Softkey 12
Softkey 13
Softkey 14
Softkey 15
IM2/9-133

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents