CHAPTER 6 – Functions and Methods
Remarks
Argument
returnstate
Pointname
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
returnstate
pointname
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)
Page 56
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
bool point
A Boolean point that holds the required enable/disable state.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
bool point
A Boolean point that holds the required enable/disable state.
Description
Description
Revision 2.0
OMRON
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?