Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 95

Script language
Table of Contents

Advertisement

CHAPTER 6 – Functions and Methods
Remarks
Argument
Returnstate
sourcename
destname
Typical Example
CopyFile("c:\autoexec.bat", "c:\autoexec.old")
The file "c:\autoexec.bat" is copied to the file "c:\autoexec.old".
CopyFile("c:\logging\*.dlv", "a:\backup")
The data log files (ending in dlv) in "C:\logging" are copied to the "\backup" directory on drive A:
DeleteFile
Syntax
returnstate = DeleteFile("filename")
Remarks
Argument
Returnstate
Filename
Typical Example
DeleteFile("c:\pagename.pag")
The file "c:\pagename.pag" is deleted.
EditFile
Syntax
returnstate = EditFile("filename")
Page 82
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise
string
Pathname of file to be copied. May include a "*" wildcard
character.
string
Pathname of destination of copy. If path name does not exist it
is created.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
string
Pathname of file to be deleted.
Description
Description
Revision 2.0
OMRON

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents