
Appendix D Use of Application Instructions|DOP-EXIO Series
Revision March, 2008, Doc. Name: 2007PDD23000014 D-71
Mnemonic Operands Function
LD※ D
S
1
S
2
Contact Logical Operation LD
※
Bit Devices Word Devices
X Y M S K H KnX KnY KnM KnS T C D E F
S
1
S
2
y Note: : =※ , >, <, <>, ≦, ≧
16-bit instruction (5 Steps)
LD※
Continuous
execution
- -
32-bit instruction (9 Steps)
DLD※
Continuous
execution
- -
y Flags: None
Operands:
S
1
: Data source device 1
S
2
: Data source device 2
Explanations:
1. This instruction compares the content in S
1
and S
2
. If the result is not “equal”, the continuity of
the instruction is enabled. If the result is “equal”, the continuity of the instruction is disabled.
2. LD
※ (=, >, <, <>, ≦, ≧) instruction is used for direct connection with BUS.
16 -bit instruction 32 -bit instruction Continuity condition
No-continuity
condition
LD= DLD=
S
1
=
S
2
S
1
≠
S
2
LD> DLD>
S
1
>
S
2
S
1
≦
S
2
LD< DLD<
S
1
<
S
2
S
1
≧
S
2
LD<> DLD<>
S
1
≠
S
2
S
1
=
S
2
LD<= DLD<=
S
1
≦
S
2
S
1
>
S
2
LD>= DLD>=
S
1
≧
S
2
S
1
<
S
2
3. If the most left bit of S
1
and S
2
(16-bit instruction: b15、32-bit instruction: b31) is “1”, the compare
value will be regarded as the negative value for comparison.
4. When 32-bit counters (C200 ~) are used in this instruction for comparison, make sure to adopt
32-bit instruction (DLD
※). If 16-bit instructions (LD※) is adopted, a “program error” will occur
and the ERROR indicator on the panel will flash and the connecting controller can not run..
Program Example:
1. When the value of C0 is equal to the value of K200, Y10 = On.
2. When the value of D200 is higher than -29 and X1 = On, Y11 = On will be retained.
3. When the value of C200 is lower than 678,493 and M3 = On, M50 = On.
Comentarios a estos manuales