Mitsubishi Electronics FX Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-147
5.16.1 LD compare
(FNC 224 to 230)
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 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 an
y
where in a pro
g
ram that a standard LD
instruction can be placed. I.e., it alwa
y
s starts a new block.
(See pa
g
e 2-3 for LD instruction)
Mnemonic Function
Operands
Program steps
SD
LD
(LoaD
compare)
where
is =, >, <,
<>,
,
Initial comparison
contact.
Active when the
comparison
S
1
S
2
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
K200 C10LD =
D200 K-30LD >
M3
M50
X001
Y011SET
Y010
[ S1 ] [ S2 ]
K678493
C200
LD >