Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-149
5.16.3 OR compare
(FNC 240 to 246)
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 OR contact is active. If the comparison is false then the OR contact
is not active.
Points to note:
The OR comparison functions can be placed an
y
where in a pro
g
ram that a standard OR
instruction can be placed. I.e., it is a parallel connection contact.
(See pa
g
e 2-7 for OR instruction)
Mnemonic Function
Operands
Program steps
SD
OR
(OR
compare)
where
is =, >, <,
<>,
,
Parallel
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
OR :
5 steps
DOR :
9 steps
FNC No.
Mnemonic
Active
when
Inactive
when
16 bit 32 bit
240 OR = DOR = S
1
= S
2
S
1
S
2
241 OR > DOR > S
1
> S
2
S
1
S
2
242 OR < DOR < S
1
< S
2
S
1
S
2
244 OR <> DOR <> S
1
S
2
S
1
= S
2
245 OR
DOR
S
1
S
2
S
1
> S
2
246 OR
DOR
S
1
S
2
S
1
< S
2
X001
K200 C10OR =
Y000
X002
M30
M60
[ S1 ]
[ S2 ]
D100
K100000
OR£