![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212123.webp)
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'.
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...