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

Скачать
Страница из 382
FX Series Programmable Controlers
Applied Instructions 5
5-149
5.16.3
OR compare 
(FNC 240 to 246)
Operation:
The value of S
and S
are tested according 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 anywhere in a program that a standard OR
instruction can be placed. I.e., it is a parallel connection contact.
(See page 2-7 for OR instruction)
Mnemonic
Function 
Operands
Program steps
S
D
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
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
X001
K200
C10
OR =
Y000
X002
M30
M60
[ S1 ]
[ S2 ]
D100
K100000
OR
£
 
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