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

Script language
Table of Contents

Advertisement

OMRON
Remarks
Argument
returnstate
ComponentName
PLCName
Typical Examples
OpenComponent("PLC Data Monitor", "MyPLC")
In this example, the PLC Data Monitor component monitoring the PLC 'MyPLC' is opened.
Component = "Performance Monitor"
PLC = "PLC06"
OK = OpenComponent(Component, PLC)
In this example, the Performance Monitor component monitoring the PLC 'PLC06' is opened. 'OK'
is used to determine if the action was successful.

Point Commands

CancelForce
Syntax
returnstate = CancelForce(pointname)
Remarks
Argument
returnstate
pointname
Typical Example
CancelForce(point1)
The forcing of values on the point 'point1' is cancelled.
References
Refer to PLC operation manuals for a detailed description of Force Set, and Force Reset.
Revision 2.0
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 open.
text
Text point or text constant containing the name of the PLC that
the component to open is attached to.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
point
Name of point. If the point is an array point then all elements
within the array have the CancelForce command applied.
CHAPTER 6 – Functions and Methods
Description
Description
Page 57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents