5 WindO/I-NV4 Common Operations and Settings
2-74
WindO/I-NV4 User’s Manual
●
Data and operations that can be configured
Data
You can specify these types and values of data for conditional expressions.
Operators
Specify the type of arithmetic operation to execute on the data. (In the table below,
indicates the operator’s left-
hand number,
indicates the right-hand number.)
*1 1 if satisfied, 0 if not satisfied.
Item
Description
Value
Set a constant number as data.
The range that can be set differs according to the selected data type.
For details, refer to “Data types” on page 2-1.
Device Address Set a device address for a bit device or a word device that stores the value to be handled as data.
Operator
Details
Supported
device
Bit
device
Word
device
Arithmetic
operators
+
Addition
Adds
and
.
NO
YES
-
Subtraction
Subtracts
from
.
NO
YES
*
Multiplication
Multiplies
and
.
NO
YES
/
Division
Divides
by
.
NO
YES
%
Modulo
Calculates the remainder after dividing
by
.
NO
YES
Relational
operators
== Equal to
Compares if
is equal to
.
YES
YES
!= Not equal to
Compares if
is not equal to
.
YES
YES
>= Greater than
or equal to
Compares if
is equal or greater than
.
NO
YES
<= Less than or
equal to
Compares if
is equal or less than
.
NO
YES
>
Greater than
Compares if
is greater than
.
NO
YES
<
Less than
Compares if
is less than
.
NO
YES
Bitwise
operators
&
Bitwise AND
Calculates the logical product (AND) of each bit in
and
.
YES
YES
|
Bitwise OR
Calculates the logical sum (OR) of each bit in
and
.
YES
YES
^
Bitwise XOR
(exclusive OR)
Calculates the exclusive logical sum (XOR) of each bit of
and
.
YES
YES
~
Bitwise NOT
Flips the logic of each bits of
.
For word device and fixed values, 0 will be 65535 and 65535 will be 0.
For bit device, 0 will be 1, and 1 will be 0.
YES
YES
<< Left shift
Shifts each bit of
to left for
bit(s).
YES
YES
>> Right shift
Shifts each bit of
to right for
bit(s).
YES
YES
Logical
operators
&& Logical AND
Calculates the logical product (AND) of a conditional expression
and a conditional expression.
YES
YES
||
Logical OR
Calculates the logical sum (OR) of a conditional expression and a
conditional expression.
YES
YES
• You cannot select logical operators in the Trigger Condition Settings dialog box.
• You cannot mix bit devices and word devices in a conditional expression when using other than logical
operators.
As a basic rule, conditional expressions are calculated in order from the left, but when multiple arithmetic
operations are combined, they are calculated according to the operator priority.
For [D 10] == [D 11] + [D 12] * 2 + [D 13], the expression is calculated in the following order.
For the operator priority, refer to Chapter 20 “6.5 About the Priority of the Operator” on page 20-62.
D10
D11
==
+
*
D12
2
D13
+
1
3
4
2
Summary of Contents for WindO/I-NV4
Page 1: ...B 1701 16 User s Manual...
Page 108: ...5 WindO I NV4 Common Operations and Settings 2 76 WindO I NV4 User s Manual...
Page 256: ...7 BACnet Communication 3 148 WindO I NV4 User s Manual...
Page 372: ...6 Screen Restrictions 5 32 WindO I NV4 User s Manual...
Page 390: ...5 Part Library Function 6 18 WindO I NV4 User s Manual...
Page 420: ...3 Text 7 30 WindO I NV4 User s Manual...
Page 628: ...2 Multi State Lamp 9 34 WindO I NV4 User s Manual...
Page 924: ...4 Meter 11 76 WindO I NV4 User s Manual...
Page 990: ...7 Timer 12 66 WindO I NV4 User s Manual...
Page 1030: ...4 Using Data and Detected Alarms 13 40 WindO I NV4 User s Manual...
Page 1098: ...4 Using the Data 15 22 WindO I NV4 User s Manual...
Page 1248: ...5 Restrictions 22 18 WindO I NV4 User s Manual...
Page 1370: ...2 Monitoring on the MICRO I 25 28 WindO I NV4 User s Manual...
Page 1388: ...4 Restrictions 26 18 WindO I NV4 User s Manual...
Page 1546: ...5 Module Configuration Dialog Box 30 36 WindO I NV4 User s Manual...
Page 1614: ...3 Settings 34 14 WindO I NV4 User s Manual...
Page 1726: ...5 Text Alignment A 10 WindO I NV4 User s Manual...