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 #152 background imageLoading...
Page #152 background image
Graph Commands Appendix D Obsolete Features
151
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.
D.4.8 GetSpoolCount
Syntax
returnstate = GetSpoolCount()
Remarks
Typical Example
NumberMessages = GetSpoolCount()
The count of the number of messages (typically printed alarms) that are
queued up waiting to be sent to the CX-Supervisor Alarm/Message printer is
returned.
D.4.9 SetPrinterConfig
Syntax
returnstate StePrintConfig(Driver, Device, Port)
Remarks
Typical Examples
Argument Type Description
pointname point This is the name of the point whose contents
are to be returned.
offset integer This specifies the offset into an array point. 0 if
the point is not an array point.
returnpoint point Point that contains the return value. The type
of data returned is dependant on the pointname
specified.
Note: It is often simpler to access an array element directly, e.g. returnpoint = a[20].
Argument Type Description
returnstate int Number of messages queued up waiting to be
printed on Alarm/Message printer.
Argument Type Description
returnstate Bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Driver String Name of printer device (e.g. "Epson9" for 9 pin
Epson printers.
Device String Name of specific device (e.g. "Epson FX-870").
This is optional.
Port String Name of port or file(e.g. "LPT1.").
Line Terminator String Optional. Sets terminator (e.g. cr) to be added
to end of each printed line.

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