![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212047.webp)
CHAPTER 6 – Functions and Methods
OMRON
Page 34
Revision 2.0
CHAPTER 6
Functions and Methods
This chapter describes the Functions and Methods available to the scripting language. In most cases,
this can be CX-Supervisor script, VBScript or JScript.
The following table describes the Functions and Methods at a glance.
Function Name
Function Type
Type
Remarks
AcknowledgeAlarm
alarm command
Scr
Acknowledges an alarm.
AcknowledgeAllAlarms
alarm command
Scr
Acknowledges all alarms.
AcknowledgeLatestAlarm
alarm command
Scr
Acknowledge the latest alarm.
Acos
unary function
All
Applies unary expression.
Asin
unary function
All
Applies unary expression.
Atan
unary function
All
Applies unary expression.
CancelForce point
command
Scr
Removes the forcing of values on a
point.
Chr text
command
All
Displays a character based on the
ASCII character set.
ClearAlarmHistory
alarm command
All
Clears the alarm history.
ClearErrorLog
event/error commands
All
Clears the error log.
ClearLogFile
Data Logging command
Scr
Clears a data log file
ClearSpoolQueue printer
command All
Discards any queued messages or
alarms.
close
object command
Scr
Closes a specified page.
CloseAlarmHistory
alarm command
All
Closes the current alarm history.
CloseAlarmStatus
alarm command
Scr
Closes the current alarm status.
CloseComponent comms
command All
Closes a component for a PLC (e.g.
CX-Server components).
CloseErrorLog
error command
Scr
Closes the currently open Error Log.
CloseFile
file command
Scr
Closes the open file.
CloseLogFile
Data Logging command
Scr
Closes a data log file
CloseLogView
Data Logging command
Scr
Closes the log viewer
ClosePLC
PLC command
Scr
Close communications with a PLC.
colour
object command
OP
Specifies a colour to an object.
CopyArray
point command
All
Copies the content of an array.
CopyFile
file command
Scr
Copies a specified file.
cos
unary function
All
Applies unary expression.
DeleteFile
file command
Scr
Deletes the specified file.
disable
object command
OP
Disables an object.
DisableGroup point
command
All
Prevents a group of points to be read or
written.
DisablePoint
point command
Scr
Disables communications to a point.
display
object command
Scr
Displays a specified page.
Содержание 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...