Recipe Commands; Displayrecipes; Downloadrecipe; Uploadrecipe - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Recipe Commands

Note:
6-10
Recipe Commands

6-10-1 DisplayRecipes

6-10-2 DownloadRecipe

6-10-3 UploadRecipe

Typical Example
WriteMessage("C:\CX-SUPERVISOR\TESTFILE.TXT",
"Hello World", TRUE)
The
text
'Hello
World'
SUPERVISOR\TESTFILE.TXT' file and a carriage return and line feed is
appended which moves and subsequent text to the start of the next line.
When the text is written into the file it overwrites any existing text that may exist
at this location.
Syntax
returnstate = DisplayRecipes()
Remarks
Argument
Type
returnstate
bool
Typical Example
DisplayRecipes()
The current recipes is displayed.
References
Refer to the CX-Supervisor User Manual for details of recipes.
Syntax
returnstate = DownloadRecipe("recipename")
Remarks
Argument
Type
returnstate
bool
recipename
string
Typical Example
DownloadRecipe("recipe1")
The recipe 'recipe1' is downloaded.
References
Refer to the CX-Supervisor User Manual for details of recipes.
Syntax
returnstate = UploadRecipe("recipename", processed)
Remarks
Argument
Type
returnstate
bool
SECTION 6 Functions and Methods
is
written
at
the
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
The name of the recipe to be downloaded.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
0,
start
of
the
'C:\CX-
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents