Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 178

Script language
Table of Contents

Advertisement

OMRON
Remarks
Argument
returnstate
graphid
pagename
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:
This command is provided for compatibility with SCS v2.0 applications. For newer
applications the data logging facilities should be used in preference.
GetPointValue
Syntax
returnpoint = GetPointValue(pointname,offset)
Remarks
Argument
pointname
offset
returnpoint
Typical Example
pointname = 10;
returnpoint = GetPointValue(pointname,0)
The point 'returnpoint' contains the value 10. The offset is added to any offset specified for
pointname. For example:
returnpoint = GetPointValue(a[10],10)
Causes the 21st element (offsets begin at zero) of array 'a' to be retrieved.
Note:
It is often simpler to access an array element directly, e.g. returnpoint = a[20].
Revision 2.0
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
string
The identifier of the trend graph to have a snapshot
string
Optional parameter indicating the name of the page that the
graph is on.
Type
point
This is the name of the point whose contents are to be returned.
integer
This specifies the offset into an array point. 0 if the point is not
an array point.
point
Point that contains the return value. The type of data returned is
dependant on the pointname specified.
APPENDIX D – Obsolete Features
Description
Description
Page 165

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents