Example Program 3: Mmc Command With Synchronous; Acknowledgment Mode - 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
Sequence
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) by the contents of the text
variable "G1optional text variable". By calling the text variables contained in the
MMC command (9th to 23rd parameters), messages or names can be "composed"
in this way.

9.5 Example program 3: MMC command with synchronous

acknowledgment mode

Parts program
N15
MMC("CYCLES,PICTURE_ON,T_SK.COM,SCREEN1,GUD4.DEF,,,F1","S")
N18 STOPRE
N20 TEST_1 = 5
N25 MMC("CYCLES, PICTURE_OFF","N")
N30 M30
Dialog screen file (*.COM)
//C1(SCREEN1)
(R///USER VAR TEST_1/W/TEST_1///)
Text variable
F1 = ...Example3: MMC command with synchronous acknowledgment mode...
Example 3: MMC command with synchronous acknowledgement mode
ANW.VAR TEST_1
Sequence
The user variable Test_1 is displayed until the "OK" softkey is pressed.
The user variable has also been overwritten with the value 5 here.
Without STOPRE, this assignment would be carried out before the keyboard input
(after it with STOPRE).
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
Starting Up HMI Embedded (IM2)
9 Configure Windows in the NC Program
1.000000
OK
IM2/9-129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents