Viewreport; Text Commands; Bcd; Bin - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Text Commands

6-11-3 ViewReport

6-12
Text Commands

6-12-1 BCD

6-12-2 Bin

Argument
Type
ReportTemplateFil
string
e
ReportOutputFile
string
Typical Example
PrintReport("report3.txt")
The report template is processed, dynamically replacing the point names with
current values, and printed to the default Windows printer.
Syntax
returnstate = ViewReport(ReportTemplateFile)
Remarks
Argument
Type
returnstate
bool
ReportTemplateFil
string
e
Typical Example
ViewReport("report3.txt")
Syntax
result = BCD (value)
Remarks
Argument
Type
Value
result
Typical Example
BCDStr = BCD(39)
In this example, 'BCDstr' contains '00111001'.
Syntax
result = Bin (value)
Remarks
Argument
Type
Value
result
SECTION 6 Functions and Methods
Description
Pathname of the report template file.
Pathname of the report output file.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Pathname of the report template file.
Description
Number to convert to Binary Coded Decimal
(BCD).
String containing BCD representation of value.
Description
Number to be converted to a binary number.
String containing binary representation of
value.
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents