EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #61 background imageLoading...
Page #61 background image
Communications Commands SECTION 6 Functions and Methods
60
In this example, the PLC Data Monitor component monitoring the PLC
'MyPLC' is closed.
Component = "Performance Monitor"
PLC = "PLC06"
OK = CloseComponent(Component, PLC)
In this example, the Performance Monitor component monitoring the PLC
'PLC06' is closed. 'OK' is used to determine if the action was successful.
6-4-2 EnableOLE
Syntax
returnstate = EnableOLE(pointname)
Remarks
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.
6-4-3 EnablePLC
Syntax
returnstate = EnablePLC(pointname)
Remarks
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.
6-4-4 OpenComponent
Syntax
Returnstate = OpenComponent(ComponentName, PLCName)
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.
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.

Table of Contents

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals