![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212069.webp)
CHAPTER 6 – Functions and Methods
OMRON
Page 56
Revision 2.0
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
Pointname
bool point A Boolean point that holds the required enable/disable state.
Typical Examples
EnableOLE(result)
OLE functions are enabled based on the value of point ‘result’. If result is ‘TRUE’, then OLE is
enabled. If result is ‘FALSE’, then OLE is disabled.
EnableOLE(TRUE)
OLE functions can also be enabled directly without using a point to hold the desired status.
EnablePLC
Syntax
returnstate = EnablePLC(pointname)
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
pointname
bool point A Boolean point that holds the required enable/disable state.
Typical Examples
EnablePLC(result)
PLC functions are enabled based on the value of point ‘result’. If result is ‘TRUE’, then PLC
functions are enabled. If result is ‘FALSE’, then they are disabled.
EnablePLC(TRUE)
PLC functions can also be enabled directly without using a point to hold the desired status.
OpenComponent
Syntax
Returnstate = OpenComponent(ComponentName, PLCName)
Содержание 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...