CHAPTER 6 – Functions and Methods
OMRON
Page 54
Revision 2.0
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 Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
PLC
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 "".
Point
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 "".
Property Name
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
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()
Содержание 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...