Справочник Пользователя для Mitsubishi Electronics FX

Скачать
Страница из 382
FX Series Programmable Controlers
Applied Instructions 5
5-148
5.16.2
AND compare 
(FNC 232 to 238)
Operation:
The value of S
and S
are tested according to the comparison of the instruction. If the
comparison is true then the AND contact is active. If the comparison is false then the AND
contact is not active.
Points to note:
The AND comparison functions can be placed anywhere in a program that a standard AND
instruction can be placed. I.e., it is a serial connection contact. 
(See page 2-6 for AND instruction)
Mnemonic
Function 
Operands
Program steps
S
D
AND
(AND
compare)
where 
is =, >, <,
<>, 
Serial comparison
contact.
Active when the
comparison
S1 
 S2 is true.
K,H, KnX, KnY, KnM,
KnS, T, C, D, V, Z
K,H, KnX, KnY, KnM,
KnS, T, C, D, V, Z
AND
:
5 steps
DAND
:
9 steps
FNC No.
Mnemonic
Active 
when
Inactive
when
16 bit
32 bit
232
 AND =
 DAND =
S
1
 = S
2
S
1
 
 S
2
233
 AND >
 DAND >
S
1
 > S
2
S
1
 
 S
2
234
 AND <
 DAND <
S
1
 < S
2
S
1
 
 S
2
236
 AND <>
 DAND <>
S
1
 
 S
2
S
1
 = S
2
237
 AND 
 DAND 
S
1
 
 S
2
S
1
 > S
2
238
 AND 
 DAND 
S
1
 
 S
2
S
1
 < S
2
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
K200
C10
AND =
K-10
D0
AND >
M3
M50
Y011
SET
Y010
[ S
1
 
]
[  S
2
 ]
X000
X001
X002
K678493
D10
DAND>
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
PULSE-P
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
16 BIT OPERATION
FX
FX
0N
FX
0(s)
FX
(2C)
FX
2N(C)
32 BIT OPERATION