Download CX-Supervisor Script Language

Transcript
OMRON
APPENDIX E – Obsolete Features
Remarks
Argument
Type
Description
returnstate
graphid
pagename
bool
string
string
Returnstate is ‘1’ if the function is successful, or ‘0’ otherwise.
The identifier of the trend to be saved.
Optional parameter indicating the name of the page that the
graph is on.
Typical Examples
SaveGraph(“Graph_1”, “TestPage1”)
The trend graph on the page ‘TestPage’ with the identifier ‘Graph_1’ has its data saved to disc.
SaveGraph(“Graph_2”)
The trend graph on the current page with the identifier ‘Graph_2’ has its data saved to disc.
Snapshot
Syntax
returnstate = Snapshot(“graphid”, “pagename”)
Remarks
Argument
Type
Description
returnstate
graphid
pagename
bool
string
string
Returnstate is ‘1’ if the function is successful, or ‘0’ otherwise.
The identifier of the trend graph to have a snapshot
Optional parameter indicating the name of the page that the
graph is on.
Typical Examples
Snapshot(“Graph_1”, “TestPage1”)
The current data in trend graph ‘Graph1’ on ‘TestPage1’, is stored and is able to be viewed via the
EditGraph command.
Snapshot(“Graph_2”)
The current data in trend graph ‘Graph1’ on the current page, is stored and is able to be viewed via
the EditGraph command.
Note:
Revision 1.2
This command is provided for compatibility with SCS v2.0 applications. For newer
applications the data logging facilities should be used in preference.
Page 159