Point Commands; Cancelforce; Copyarray - Omron CX-Supervisor Reference Manual

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

Advertisement

Point Commands

6-5
Point Commands
6-5-1

CancelForce

6-5-2

CopyArray

Argument
Type
returnstate
bool
ComponentName
text
PLCName
text
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.
Syntax
returnstate = CancelForce(pointname)
Remarks
Argument
Type
returnstate
bool
pointname
point
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.
Syntax
CopyArray (SourceArray, DestArray)
Remarks
Argument
Type
SourceArray
DestArray
Typical Example
SECTION 6 Functions and Methods
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 open.
Text point or text constant containing the name
of the PLC that the component to open is
attached to.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Name of point. If the point is an array point
then all elements within the array have the
CancelForce command applied.
Description
Name of point array to copy from.
Name of point array to copy to.
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents