Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-148
5.16.2 AND compare
(FNC 232 to 238)
Operation:
The value of S
1
and S
2
are tested accordin
g
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 an
y
where in a pro
g
ram that a standard AND
instruction can be placed. I.e., it is a serial connection contact.
(See pa
g
e 2-6 for AND instruction)
Mnemonic Function
Operands
Program steps
SD
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
K200 C10AND =
K-10 D0AND >
M3
M50
Y011SET
Y010
[ S
1
][ S
2
]
X000
X001
X002
K678493
D10
DAND>