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 #14 background imageLoading...
Page #14 background image
SECTION 2 Expressions
13
SECTION 2
Expressions
This chapter describes the use of expressions within scripts.
Expressions consist of operators and operands:
Operators are relational, arithmetic, logical and include many functions.
Operands are constants or point variables.
Expressions can be used in a script as part of a statement (refer to chapter 3
Scripts, chapter 4 CX-Supervisor Script Language, and Chapter 6 Functions
and Methods). However expressions can be applied to the following actions
directly using the associated Expression: or Digital Expression: field:
Blink.
Close page.
Colour Change (Analogue).
Colour Change (Digital).
Display Status Text.
Display Text Point.
Display Value.
Edit point value (Analogue).
Edit point value (Digital).
Edit point value (Text).
Enable/Disable.
Horizontal move.
Horizontal percentage fill.
Resize height.
Resize width.
Rotate.
Show page.
Vertical move.
Vertical percentage fill.
Visible.
The following example of a simple expression contains a point ('redcars')
attached to a particular object with an appropriate object action, Resize
(Height). At runtime, once the value of the point has been met within the
attributes declared within the Active Expression Range/Required Height:
fields, the current object is resized accordingly. This example is an Integer or
Real example, whereby the value of the point either falls inside or outside the
specified range. In this example, the point 'redcars' must fall between 0 and
40 for the expression to be met.

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