EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 828D

Siemens SINUMERIK 828D Commissioning Manual

Siemens SINUMERIK 828D
1167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1044 background imageLoading...
Page #1044 background image
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: CP
("Source file", "Target file")
Description: Copies a file
Parameter:
Source file Complete path to the source file
Target file Complete path data of the target file
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") ; WPD must exist
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") ; XYZ must exist
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.
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
114 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 828D
CategoryControl Systems
LanguageEnglish

Related product manuals