Shutdown; Communications Commands; Closecomponent - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Communications Commands

6-3-10 ShutDown

6-4
Communications Commands
6-4-1

CloseComponent

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents