Omron NA Series Practices Manual page 31

Programmable terminal
Hide thumbs Also See for NA Series:
Table of Contents

Advertisement

Additional Information
In [Expression], you can specify a conditional expression using variables as described
below:
How to specify [Expression]
When you assign a Boolean variable for an object such as Lamp, specify [Expression]
under [Behavior] in [Properties] as below.
Example 1: To execute the function when a Boolean variable (blnSample) is True;
blnSample=True
* If the value is True, you can omit the [=True] part.
Example 2: To execute the function when an Integer variable (intSample) is less than
20;
intSample<20
Example 3: To execute a function when a Boolean variable (blnSample) is True and
also when an Integer variable (intSample) is less than 20;
(blnSample=True) AND (intSample<20)
Example 4: To set the value obtained by adding 100 to an Integer variable
(intSample);
intSample+100
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Na5-15w seriesNa5-12w seriesNa5-9w seriesNa5-7w series

Table of Contents