CHAPTER 6 – Functions and Methods
OMRON
Page 110
Revision 2.0
Remarks
Argument
Type
Description
returnstate
bool
Optional. 1 if the function is successful otherwise 0
datasetname
text
Name of Data Set to start logging as text point or constant.
databaselink
text
Name of Database link to start logging as text point or constant.
Typical Example
StartLogging("Process 1")
This command will start logging of all items in the named data set. If the file is closed it will be
automatically opened.
StopLogging
Syntax
returnstate = StopLogging("datasetname")
or
returnstate = StopLogging("databaselink")
Remarks
Argument
Type
Description
returnstate
bool
Optional. 1 if the function is successful otherwise 0
datasetname
Text
Name of Data Set to stop logging as text point or constant.
databaselink
text
Name of Database link to stop logging as text point or constant.
Typical Example
StopLogging("Process 1")
This command will stop logging of all items in the named data set.
Database Commands
DBAddNew
Description
Adds a new record to a Recordset. This function will fail if the Recordset is opened with a lock of
'Read Only'.
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...