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

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

Advertisement

Data
Item
The device address on which the arithmetic operation is performed is specified in the arithmetic
@
formula. Only one device address can be set for an arithmetic operation.
The device address is as specified for Destination Device Address under the General tab.
Sets the constant values for the arithmetic formula.
Value
The values that can be set depend on the data type selected using Data Format under the General
tab. For details, refer to Chapter 2 "1.1 Available Data" on page 2-1.
Specifies the bit device or the word device for the arithmetic formula.
Device Address
Always enter the device address enclosed in square brackets, "[" and "]".
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
No Touch Sound
This function is to disable touch sounds only for specified parts when the MICRO/I makes touch sounds.
Select this check box to display disable touch sounds for this part.
To enable touch sounds on the MICRO/I, select the Enable Touch Sound check box under the System
tab of the Project Settings dialog box.
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
Description
.
from
.
and
.
by
.
by
to left by
bit(s).
to right by
bit(s).
Description
1 Numerical Input
.
10
and
.
and
.
and
10-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents