CHAPTER 6 – Functions and Methods
GetPerformanceInfo
Description
Read the value of a performance and diagnostics Property as shown by the Performance Monitor and
Diagnostics dialog.
Syntax
returnvalue = GetPerformanceInfo(PLC, Point, "Property Name")
Remarks
Argument
returnstate
PLC
Point
Property Name
Typical Example
GetPerformanceInfo("", "", "Performance Index")
In this example, the Summary Performance Index will be read..
GetPerformanceInfo("", "", "Processing Time (ms)")
In this example, the CPU Time processing time will be read.
GetPerformanceInfo("MyPLC", "", "Actual CPS")
In this example, the actual characters per second for 'MyPLC' will be returned.
GetPerformanceInfo("", "MyPoint", "Read Callbacks")
In this example, the read callbacks for 'MyPoint' point will be returned.
ShutDown
Description
Closes the CX-Supervisor application.
Syntax
returnstate = ShutDown()
Page 54
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
string
If specified, is the name of the PLC to get the property of. If the
property is not a PLC property then specify empty string "".
string
If specified, is the name of the Point to get the property of. If
the property is not a Point property then specify empty string "".
string
Name of Property to read. Must be identical to the displayed
property name. If both PLC and Point are empty strings then the
'Summary' property is returned
Description
Revision 2.0
OMRON
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers