Siemens SINUMERIK 840D sl Commissioning Manual page 96

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

Advertisement

Expanding the Operator Interface (BE1)
3 Syntax
END_PRESS
Note
To store the NC code from the OUTPUT method directly in the NC, the path must
be defined as follows:
"/_N_MPF_DIR/_N_MESSEN_MPF"
Note
With the following functions, both with HMI Embedded and with HMI Advanced,
DOS paths (e.g., \MPF.DIR\TEST.MPF) are used.
Activate Program (AP)
The AP (Activate Program) function transfers a file from the passive HMI file
system to the active NC file system. The file is loaded into the NC and enabled and
then deleted in the HMI file system.
With HMI Embedded, this function has the same effect as Set enable.
AP("File")
where:
File
//M(TestGC/"Code generation:")
DEF VAR1 = (R//1)
DEF VAR2 = (R//2)
DEF D_NAME
LOAD
VAR1 = 123
VAR2 = -6
END_LOAD
OUTPUT(CODE1)
"Cycle123(" VAR1 "," VAR2 ")"
"M30"
END_OUTPUT
PRESS(VS1)
D_NAME = "C:\TMP\MESSEN.MPF"
GC("CODE1",D_NAME) ;Write code from OUTPUT method in
END_PRESS
PRESS(HS8)
D_NAME = "\MPF.DIR\MESSEN.MPF"
AP(D_NAME)
END_PRESS
BE1/3-90
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
Write from OUTPUT method in file
C:\TMP\MESSEN.MPF
Complete path name of HMI file to be transferred
;Write file C:\TMP\MESSEN.MPF
;Load file into NC
© Siemens AG, 2005. All rights reserved
08/2005

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents