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 #95 background imageLoading...
Page #95 background image
Printer Commands SECTION 6 Functions and Methods
94
Typical Example
LogEvent("this is an event")
The message 'this is an event' appears as an event in the error log.
6-14 Printer Commands
6-14-1 ClearSpoolQueue
Syntax
returnstate = ClearSpoolQueue()
Remarks
Typical Example
ClearSpoolQueue()
Any messages (typically printed alarms) that are queued up waiting to be sent
to the CX-Supervisor Alarm/Message printer is discarded.
6-14-2 EnablePrinting
Syntax
returnstate = EnablePrinting(flag)
Remarks
Typical Example
EnablePrinting(FALSE) - Disables printing
EnablePrinting(TRUE) - Enables printing
While alarm printing is disabled, any new messages are stored but not printed.
When alarm printing is re-enabled, any pending messages are printed (if in
line mode) or added to the current page (if in page mode).
6-14-3 PrintActivePage
Syntax
returnstate = PrintActivePage(flag)
Remarks
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
message string Contains the text string that is displayed in the
Error Log.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
flag bool 0 to disable, 1 to enable.

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