Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 74

Script language
Table of Contents

Advertisement

OMRON
All points belonging to the '<Default>' group is enabled thus allowing values to be read\written.
EnablePoint
Syntax
returnstate = EnablePoint(pointname)
Remarks
Argument
returnstate
pointname
Typical Example
EnablePoint(point1)
The point 'point1' is enabled thus allowing values to be read/written.
Force
Syntax
returnstate = Force(pointname)
Remarks
Argument
returnstate
pointname
Typical Example
Force(point1)
The point 'point1' is locked in its current state. i.e. if it is currently set to 1 it cannot be changed until
the forced state is removed via the CancelForce command.
ForceReset
Syntax
returnstate = ForceReset(pointname)
Revision 2.0
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
point
Name of point to be enabled.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
point
Name of point to have force state applied. If the point is an
array point then all elements within the array have the Force
command applied.
CHAPTER 6 – Functions and Methods
Description
Description
Page 61

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents