IDEC MICRO/I HG4G-CJT22 F-B Series User Manual page 789

Micro/i operator interfaces for windo/i-nv4
Table of Contents

Advertisement

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.3 About the Priority of the Operator" on page 20-59.
Item
Sets the arithmetic operators.
+
-
Arithmetic
operators
*
/
%
Sets the bit operator.
&
|
Bit operator
^
<<
>>
Examples of Arithmetic Formula Input
Input Examples
@ + 1
[LDR 0] + @ + 100
@ & 3
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.
Addition
Adds
and
Subtraction
Subtracts
Multiplication
Multiplies
Division
Divides
Modulo
Calculates remainder after dividing
Logical AND
Calculates the logical product (AND) of each bit of
Logical OR
Calculates the logical sum (OR) of each bit of
Logical XOR
Calculates the exclusive logical sum (XOR) of each bit of
(exclusive OR)
.
Left shift
Shifts each bit of
Right shift
Shifts each bit of
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.
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.
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.
WindO/I-NV4 User's Manual
Description
.
from
.
and
.
by
.
by
to left by
bit(s).
to right by
bit(s).
Description
9 Numerical Display
.
and
.
and
.
and
10
10-183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents