Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 17

Script language
Table of Contents

Advertisement

CHAPTER 2 - Expressions
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.
The following example of a more complex expression contains a test on point 'position'. If 'position'
is more than 300 in value, and 'position' is less than 450 in value, i.e. the value of 'position' is
between 300 and 450, then the expression has been met, and an action is initiated (in this instance the
current object is made visible if the expression is met). This example is a Boolean example, whereby
either the expression is met ('TRUE') or not met ('FALSE'). A Boolean value is always returned
from a Digital Expression: field, as opposed to an Expression: field, which returns an Integer or Real
value.
Operators used within this example are fully described in chapter 4, Logic and Arithmetic.
The following example of an expression contains a value point 'prompt' which is included at the
value position denoted by a '#' symbol.
Page 4
OMRON
Revision 2.0

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents