Copy Program File Function (Cp); Delete Program File Function (Dp) - Siemens SINUMERIK 828D Commissioning Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Programming commands
6.3 Functions
6.3.6

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:
Parameter:
The return value (VAR1 defined as help variable) queries whether the function was successful:
CP("//NC/MPF.DIR/HOHO.MPF","//NC/MPF.DIR/ASLAN.MPF",VAR1)
Example
Application with return value:
CP("//NC/MPF.DIR/HOHO.MPF","//NC/MPF.DIR/ASLAN.MPF",VAR1)
CP("CF_CARD:/wks.dir/MESS_BILD.WPD/MESS_BILD.MPF","//NC/WKS.DIR/AAA.WPD/HOHO2.MPF",VAR1)
CP("//NC/MPF.DIR/HOHO.MPF","//NC/MPF.DIR/ASLAN.MPF")
Application without return value:
CP("//NC/MPF.DIR/HOHO.MPF","//NC/MPF.DIR/ASLAN.MPF")
CP("CF_CARD:/mpf.dir/MYPROG.MPF","//NC/MPF.DIR/HOHO.MPF")
CP("//NC/MPF.DIR/HOHO.MPF","CF_CARD:/XYZ/MYPROG.MPF")
See also
Support of FILE_ERR: FILE_ERR variable (Page 84)
6.3.7

Delete Program file function (DP)

Description
The DP (Delete Program) function deletes a file from the passive HMI or active NC file system.
114
("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
; WPD must exist
; XYZ must exist
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents