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

Скачать
Страница из 382
FX Series Programmable Controlers
Applied Instructions 5
5-147
5.16.1
LD compare 
(FNC 224 to 230)
Operation:
The value of S
and S
are tested according to the comparison of the instruction. If the
comparison is true then the LD contact is active. If the comparison is false then the LD contact
is not active.
Points to note:
The LD comparison functions can be placed anywhere in a program that a standard LD
instruction can be placed. I.e., it always starts a new block. 
(See page 2-3 for LD instruction)
Mnemonic
Function 
Operands
Program steps
S
D
LD
(LoaD
compare)
where 
is =, >, <,
<>, 
Initial comparison
contact.
Active when the
comparison
S
 S
is true.
K,H, KnX, KnY, KnM,
KnS, T, C, D, V, Z
K,H, KnX, KnY, KnM,
KnS, T, C, D, V, Z
LD
:
5 steps
DLD
:
9 steps
FNC No.
Mnemonic
Active 
when
Inactive
when
16 bit
32 bit
224
 LD =
 DLD =
S
1
 = S
2
S
1
 
 S
2
225
 LD >
 DLD >
S
1
 > S
2
S
1
 
 S
2
226
 LD <
 DLD <
S
1
 < S
2
S
1
 
 S
2
228
 LD <>
 DLD <>
S
1
 
 S
2
S
1
 = S
2
229
 LD 
 DLD 
S
1
 
 S
2
S
1
 > S
2
230
 LD 
 DLD 
S
1
 
 S
2
S
1
 < S
2
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
K200
C10
LD =
D200
K-30
LD >
M3
M50
X001
Y011
SET
Y010
[ S1 ]
[ S2 ]
K678493
C200
LD >
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