![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212049.webp)
CHAPTER 6 – Functions and Methods
OMRON
Page 36
Revision 2.0
Function Name
Function Type
Type
Remarks
log unary
function
All
Calculates the natural logarithm on a
number.
log10 unary
function
All
Calculates the base-10 logarithm on a
number.
LogError error
command
Scr
Logs an error message with the error
logger.
LogEvent error
command
Scr
Logs an event message with the error
logger.
Login
security command
Scr
Logs a user into a run-time application.
Logout security
command
Scr
Logs a user out of a run-time
application.
Message
text command
Scr
Outputs a string in a message box.
Mid
text command
Scr
Extracts a substring from a string.
move
object command
OP
Moves an object.
MoveFile
file command
Scr
Moves the specified file.
OpenComponent comms
command All
Opens a component for a PLC (e.g. CX-
Server components).
OpenFile
file command
Scr
Opens the specified file.
OpenLogFile
Data Logging command
Scr
Opens a data log file
OpenLogView
Data Logging command
Scr
Opens the Data Log Viewer
OpenPLC
PLC command
Scr
Opens communications with a PLC.
OutputPoint
point command
Scr
Displays the current value of a point.
PlayOLE
gen. command
Scr
Plays an OLE object.
PlaySound
gen. command
Scr
Plays a sound file.
PLCCommsFailed PLC
command
All
Specifies if the PLC communications
have failed.
PLCMonitor
PLC command
Scr
Monitors a PLC.
PointExists
point command
All
Specifies the existence of a point.
PrintActivePage
gen. command
Scr
Prints the currently active page.
PrintFile
file command
Scr
Prints the specified file.
PrintMessage text
command All
Prints messages to the configured
‘Alarm/message printer’.
PrintPage
gen. command
Scr
Prints the specified page.
PrintReport
report command
All
Prints a report
PrintScreen
gen. command
Scr
Prints the current display screen.
PrintSpoolQueue
printer command
All
Prints all queued alarms or messages.
Rand
gen. command
Scr
Calculates a random number.
Read file
command
Scr
Reads data from an open file into a
point.
ReadMessage
file command
All
Reads text from an external file.
Right text
command
Scr
Extracts characters from the right of a
string.
rotate
object command
OP
Rotates an object.
Содержание 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...