Comparison Operation Instructions - Mitsubishi Electric M800VW Series Programming Manual

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.1 Instruction List

6.1.3 Comparison Operation Instructions

Process
Instruction
Category
unit
sign
LD=
16 bits
AND=
OR=
LDD=
32 bits
ANDD=
ORD=
LDE=
Single
ANDE=
precision
=
ORE=
LDED=
Double
ANDED=
precision
ORED=
LD$=
AND$=
Character
string
OR$=
LD<>
16 bits
AND<>
OR<>
LDD<>
32 bits
ANDD<>
ORD<>
LDE<>
Single
ANDE<>
precision
ORE<>
LDED<>
Double
ANDED<>
precision
ORED<>
LD$<>
AND$<>
Character
string
OR$<>
Symbol
Process details
Continuity state when (S1) = (S2)
=
S1 S2
Non-continuity state when (S1) ≠
(S2)
=
S1 S2
S1 S2
=
Continuity state when (S1+1,S1) =
D= S1 S2
(S2+1,S2)
Non-continuity state when (S1+1,S1)
D= S1 S2
≠ (S2+1,S2)
D= S1 S2
Continuity state when (S1+1,S1) =
E=
S1 S2
(S2+1,S2)
Non-continuity state when (S1+1,S1)
E=
S1 S2
≠ (S2+1,S2)
S1 S2
E=
Continuity state when
ED= S1 S2
(S1+3,S1+2,S1+1,S1) =
(S2+3,S2+2,S2+1,S2)
ED= S1 S2
Non-continuity state when
(S1+3,S1+2,S1+1,S1) ≠
ED= S1 S2
(S2+3,S2+2,S2+1,S2)
Compares the character strings of S1
$=
S1 S2
and S2 character-by-character.(*4)
Continuity state when (Character
$=
S1 S2
string of S1) = (Character string of
S2)
Non-continuity state when (Character
$=
S1 S2
string of S1) ≠ (Character string of
S2)
Continuity state when (S1) ≠ (S2)
<>
S1 S2
Non-continuity state when (S1) =
(S2)
<>
S1 S2
<>
S1 S2
Continuity state when (S1+1, S1) ≠
D<> S1 S2
(S2+1, S2)
Non-continuity state when (S1+1, S1)
D<> S1 S2
= (S2+1, S2)
D<> S1 S2
Continuity state when (S1+1,S1) ≠
E<> S1 S2
(S2+1,S2)
Non-continuity state when (S1+1,S1)
E<> S1 S2
= (S2+1,S2)
E<> S1 S2
Continuity state when
<> S1
S2
ED
(S1+3,S1+2,S1+1,S1) ≠
(S2+3,S2+2,S2+1,S2)
<> S1
S2
ED
Non-continuity state when
(S1+3,S1+2,S1+1,S1) =
<> S1
S2
ED
(S2+3,S2+2,S2+1,S2)
Compares the character strings of S1
$<> S1 S2
and S2 character-by-character. (*4)
Continuity state when (Character
$<> S1 S2
string of S1) ≠ (Character string of
S2)
Non-continuity state when (Character
$<> S1 S2
string of S1) = (Character string of
S2)
67
Counting step
number
Execution
ST
condition
Execu-
Storage
tion
3
3
3
3
3
3
3/4 (*1) 3/4 (*1)
3/4 (*1) 3/4 (*1)
3/4 (*1) 3/4 (*1)
3/4 (*1) 4/5 (*1)
3/4 (*1) 4/5 (*1)
3/4 (*1) 4/5 (*1)
3/6 (*2) 4/7 (*2)
3/6 (*2) 4/7 (*2)
3/6 (*2) 4/7 (*2)
3 (*5)
4 (*3)
3 (*5)
4 (*3)
3 (*5)
4 (*3)
3
3
3
3
3
3
3/4 (*1) 3/4 (*1)
3/4 (*1) 3/4 (*1)
3/4 (*1) 3/4 (*1)
3/4 (*1) 4/5 (*1)
3/4 (*1) 4/5 (*1)
3/4 (*1) 4/5 (*1)
3/6 (*2) 4/7 (*2)
3/6 (*2) 4/7 (*2)
3/6 (*2) 4/7 (*2)
3 (*5)
4 (*3)
3 (*5)
4 (*3)
3 (*5)
4 (*3)
IB-1501667-B
Refer-
ence
-
-
161
-
-
-
163
-
-
-
165
-
-
-
167
-
-
-
170
-
-
-
161
-
-
-
163
-
-
-
165
-
-
-
167
-
-
-
170
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents