Communications Commands SECTION 6 Functions and Methods
59
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.
6-3-10 ShutDown
Description
Closes the CX-Supervisor application.
Syntax
returnstate = ShutDown()
Remarks
Typical Example
ShutDown()
CX-Supervisor runtime operation is terminated.
6-4 Communications Commands
6-4-1 CloseComponent
Syntax
Returnstate = CloseComponent(ComponentName, PLCName)
Remarks
Typical Examples
CloseComponent("PLC Data Monitor", "MyPLC")
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.
Argument Type Description
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
ComponentName text A Text point or text constant containing the
name of the component to close.
PLCName text Text point or text constant containing the name
of the PLC that the component to close is
attached to.