Siemens SINUMERIK 840D sl Commissioning Manual page 710

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Programming commands
6.3 Functions
Example
IF CVAR == TRUE
VS8.SE = 1
ELSE
VS8.SE = 2
ENDIF
IF CVAR("VAR1", "VAR2") == TRUE
DLGL ("VAR1 and VAR2 are OK")
ELSE
DLGL ("VAR1 and VAR2 are not OK")
ENDIF
6.3.4
Copy Program file function (CP)
Description
The CP (Copy Program) function copies files within the HMI file system or within the NC file
system.
Programming
Syntax:
Description:
Parameters:
The return value can be used to query whether the function was successful:
CP("\MPF.DIR\CFI.MPF","\WKS.DIR\123.WPD\CFI.MPF",VAR1)
92
; Check all variables
; If all variables are error-free, softkey VS8
is visible
; If a variable has an invalid value, softkey
VS8 is disabled
; Check variables VAR1 and VAR2
; If the values of VAR1 and VAR2 are error-
free, "VAR1 and VAR2 are OK" appears in the
dialog line
; If the values of VAR1 and VAR2 are invalid,
"VAR1 and VAR2 are not OK" appears in the
dialog line
("Source file", "Target file")
CP
Copies a file
Source file
Complete path to the source file
Target file
Complete path data of the target file
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents