Setting and operation examples, Windo/i -nv2 f eatures & b asic oper ations – IDEC High Performance Series User Manual

Page 101

Advertising
background image

WindO/I-NV2 User’s Manual

2-71

5 WindO/I-NV2 Common Operations and Settings

2

WindO/I

-NV2 F

eatures & B

asic Oper

ations

Setting and operation examples

Settings

Action

Direct entry

Trigger Condition Settings

dialog box

[M 0] == [M 1]

The condition is satisfied if the values of
M0 and M1 are equal.

[M 0] == [M 1] & [M 2]

The condition is satisfied if the result of
the AND operation on M1 and M2 is
equal to M0.

[M 0] == ~[M 1]

The condition is satisfied if the result of
flipping the bits in M1 is equal to M0.

1234 == [D 0]

The condition is satisfied if the value of
D0 equals 1234.

100 <= [D 0] + [D 1] + [D 2] + [D 3]

The condition is satisfied if the result of
adding the values of D0 through D3 is
100 or greater.

0 != [D 0] % 10

The condition is satisfied if the value of
the remainder after D0 is divided by 10
does not equal 0 (the value of D10
cannot be entirely divided by 10).

[D 0] == ~[D 1] & ~[D 2] & [D 3] &[D 4]

The condition is satisfied if the logical
AND operation on the flipped bits of D1,
the flipped bits of D2, the value of D3,
and the value of D4 is equal to D0.

[D 10] + [D 11] == [D 12] + [D 13]

The condition is satisfied if the result of
adding the values of D12 and D13 is
equal to the result of adding the values
D10 and D11.

[D 10] == [D 11] + [D 12] * 2 + [D 13]

The condition is satisfied if the result of
adding the values of D11, D12
multiplied by two, and D13 is equal to
the value of D10.

100 <= [D 0] + [D 1] + [D 2] + [D 3] +
[D 4] + [D 5] + [D 6] + [D 7]

(This expression cannot be
configured in the Trigger
Condition Settings dialog box
because it has over 6 items of
data.)

The condition is satisfied if the result of
adding the values of D0 through D7 is
100 or greater.

1 == ([M 0] && [M 1]) || ([M 2] && [M 3])

(This expression cannot be
configured on the Trigger
Condition Settings dialog box
because it uses logical operators
and it contains parentheses
“(” and “)”.)

The condition is satisfied if the logical OR
operation on the result of the logical AND
operation on M0 and M1 and the result
of the logical AND operation on M2 and
M3 is equal to 1.

[LDR 10] + [LDR 11] == [LDR 12] *
([LDR 13] + [LDR 14])

(This expression cannot be
configured on the Trigger
Condition Settings dialog box
because it mixes bitwise
operators and logical operators
or it contains parentheses
“(” and “)”.)

The condition is satisfied if the result of
multiplying the value of LDR12 by the
result of adding the values of LDR13
and LDR14 is equal to the result of
adding the values of LDR10 and LDR11.

Data

M0

Op.

==

Data

M1

Data

M0

Op.

==

Data

M1

Op.

&

Data

M2

Data

M0

Op.

&

Data

M1

Not

Data

1234

Op.

==

Data

D0

Data

100

Op.

<=

Data

D0

Op.

+

Data

D1

Op.

+

Data

D2

Op.

+

Data

D3

Data

0

Op.

!=

Data

D0

Op.

%

Data

10

Data

D0

Op.

==

Data

D1

Not

Op.

&

Data

D2

Not

Op.

&

Data

D3

Op.

&

Data

D4

Data

D10

Op.

+

Data

D11

Op.

==

Data

D12

Op.

+

Data

D13

Data

D10

Op.

==

Data

D11

Op.

+

Data

D12

Op.

*

Data

2

Op.

+

Data

D13

Advertising
This manual is related to the following products: