WindO/I-NV4 User’s Manual 10-201
10 Numerical Display
10
Data Displays
Operators
Specify the type of arithmetic operation to be performed on the data. The operator priority is the same as for scripts.
For details, refer to Chapter 20 “6.5 About the Priority of the Operator” on page 20-62.
Examples of Arithmetic Formula Input
■ Place on the Top Layer
Select this check box to display the parts on the top layer. The parts will have precedence when other drawings and
parts are overlapping with it. For details, refer to Chapter 6 “4 Drawings and Parts Overlapping” on page 6-5.
Item Description
Arithmetic
operators
Sets the arithmetic operators.
+ Addition
Adds and .
- Subtraction
Subtracts from .
* Multiplication
Multiplies and .
/ Division
Divides by .
% Modulo
Calculates remainder after dividing by .
Bit operator
Sets the bit operator.
& Logical AND
Calculates the logical product (AND) of each bit of and .
| Logical OR
Calculates the logical sum (OR) of each bit of and .
^
Logical XOR
(exclusive OR)
Calculates the exclusive logical sum (XOR) of each bit of and
.
<< Left shift
Shifts each bit of to left by bit(s).
>> Right shift
Shifts each bit of to right by bit(s).
Input Examples Description
@ + 1
To perform the arithmetic operation and input the result, add 1 to the value entered
using the Keypad and write the result to the device address.
To perform the arithmetic operation and display the result, add 1 to the value of device
address and display the result.
[LDR 0] + @ + 100
To perform the arithmetic operation and input the result, add the value of LDR0 to the
value entered using the Keypad and add 100, and write the result to the device address.
To perform the arithmetic operation and display the result, add the value of LDR0 to the
value of device address and add 100, then display the result.
@ & 3
To perform the arithmetic operation and input the result, write the logical product of the
value entered using the Keypad and 3 to the device address.
To perform the arithmetic operation and display the result, add 3 to the value of device
address and display the result.