![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212075.webp)
CHAPTER 6 – Functions and Methods
OMRON
Page 62
Revision 2.0
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
pointname
point
Name of point. If the point is an array point then all elements
within the array have the ForceReset command applied.
Typical Example
ForceReset(point1)
The Boolean point ‘point1’ has its value set to ‘FALSE’.
References
Refer to PLC operation manuals for a detailed description of ForceSet, and ForceReset.
ForceSet
Syntax
returnstate = ForceSet(pointname)
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
pointname
point
Name of point. If the point is an array point then all elements
within the array have the ForceSet command applied.
Typical Example
ForceSet(point1)
The Boolean point ‘point1’ has its value set to ‘TRUE’.
References
Refer to PLC operation manuals for a detailed description of Force Set, and Force Reset.
GetBit
Syntax
returnpoint = GetBit(pointname,bit)
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...