Communications Commands - Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual

Script language
Table of Contents

Advertisement

OMRON
Remarks
Argument
returnstate
Typical Example
ShutDown()
CX-Supervisor runtime operation is terminated.

Communications Commands

CloseComponent
Syntax
Returnstate = CloseComponent(ComponentName, PLCName)
Remarks
Argument
returnstate
ComponentName
PLCName
Typical Examples
CloseComponent("PLC Data Monitor", "MyPLC")
In this example, the PLC Data Monitor component monitoring the PLC 'MyPLC' is closed.
Component = "Performance Monitor"
PLC = "PLC06"
OK = CloseComponent(Component, PLC)
In this example, the Performance Monitor component monitoring the PLC 'PLC06' is closed. 'OK'
is used to determine if the action was successful.
EnableOLE
Syntax
returnstate = EnableOLE(pointname)
Revision 2.0
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
text
A Text point or text constant containing the name of the
component to close.
text
Text point or text constant containing the name of the PLC that
the component to close is attached to.
CHAPTER 6 – Functions and Methods
Description
Description
Page 55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents