Functionality
5.5 File system
1. CopyFileFromServer:
– Allows copying file from SINUMERIK OPC UA server to client location.
– The user shall provide the name of the file with full path to be copied.
– On completion of the file transfer, an appropriate message will be displayed.
2. CopyFileToServer:
– Allows copying a client file to a specified SINUMERIK NC memory location.
– The user shall select the file to be transferred and specify the location on server.
Out of security reasons only the following folders are accessible:
● Part Programs
● Sub Programs
● Work Pieces.
Therefore only the following main paths will be accepted by the above mentioned methods:
● Sinumerik/FileSystem/Part Program/
● Sinumerik/FileSystem/Sub Program/
● Sinumerik/FileSystem/Work Pieces/
Therefore only the following main paths will be used as input parameters by the above
mentioned methods:
● Sinumerik/FileSystem/Part Program/partprg.mpf
● Sinumerik/FileSystem/Part Program/prg.spf
● Sinumerik/FileSystem/Part Program/workprg.wpf
60
Type
Data type
Input parameter
string
Output parameter
ByteString
Type
Data type
Input parameter
string
Input parameter
ByteString
Input parameter
Boolean Overwrite
Argument
SourceFile
Data
Argument
TargetFilename
Data
Overwrite
SINUMERIK Integrate for Engineering Access MyMachine / OPC UA
Configuration Manual, 04/2018, 6FC5397-1DP41-0BA0
Description
Name of the file need
to be copied with abso‐
lute path.
Raw file data
Description
Target file name with
absolute path
Raw file Data
True: Overwrite the file
if already exists. False:
File will not be overwrit‐
ten.