Programming
2.7 Functions
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-71
2.7.1
Activate Program (AP)
Description
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 sl, this function has the same effect as Set enable.
Programming
Syntax:
AP("
File")
Description:
Transfers a file from the passive HMI file system to the active NC file
system
Parameters:
File
Complete path name of HMI file to be transferred
Example
//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 = "\MPF.DIR\MESSEN.MPF"
GC("CODE1",D_NAME)
; Write code from the OUTPUT method to file
\MPF.DIR\MESSEN.MPF
END_PRESS
PRESS(HS8)
D_NAME = "\MPF.DIR\MESSEN.MPF"
AP(D_NAME)
; Load file into NC
END_PRESS
Содержание SINUMERIK
Страница 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 24: ...Introduction 1 5 Limits of data management HMI Advanced IM4 18 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 96: ......
Страница 338: ...List of Abbreviations B 1 Abbreviations HMI Advanced IM4 332 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 464: ...Programming 2 8 Operators Expanding the user interface 2 114 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...
Страница 638: ...References for text generation Generating target language texts TX2 40 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 672: ...Commissioning a system 1 4 BIOS settings PCU Basesoftware IM8 32 Commissioning Manual 03 2009 6FC5397 1DP10 4BA0 ...