OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 57
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
ComponentName
text
A Text point or text constant containing the name of the
component to open.
PLCName
text
Text point or text constant containing the name of the PLC that
the component to open is attached to.
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 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 CancelForce command applied.
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.
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...