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 #94 background imageLoading...
Page #94 background image
Event/Error Commands SECTION 6 Functions and Methods
93
Typical Example
DisplayErrorLog()
A list of all currently logged errors is displayed in a dialog.
6-13-4 EnableErrorLogging
Syntax
returnstate = EnableErrorLogging(pointname)
Remarks
Typical Example
EnableErrorLogging(flag)
Error Logging is enabled based on the Boolean point 'flag'. If 'flag' is 'TRUE',
then error logging is enabled. If 'flag' is false, then error logging is disabled.
6-13-5 LogError
Syntax
returnstate = LogError("message", priority)
Remarks
Typical Example
LogError("This is an error", 1)
The message 'This is an error' appears as a medium priority error in the error
log.
6-13-6 LogEvent
Syntax
returnstate = LogEvent("message")
Remarks
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.
pointname bool A Boolean point.
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.
priority integer Priority assigned to the error.
0 - low
1 - medium
2 - high

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