Chapter 16 PLC Function ApplicationsMH300 
 
 
LD
 
 
Contact form compare LD* 
D
 
 
LD※ 
Continuous 
execution type 
-
 
DLD※ 
Continuous 
execution type 
-
 
Flag signal: none   
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
※
:
 
Refer to the function specifications table for each device in series 
for the scope of device usage. 
 
1
: data source device 1. S
2
  This command compares the contents of S
1
 and S
2
. Taking API 224 (LD=) as an 
example, this command activates when the result of comparison is “equal”, and 
does not activate when the result is “unequal”. 
  You can use the LD* directly to connect with the busbar. 
API No.  16-bit commands
32-bit commands
Conditions for 
activation 
Conditions for 
inactivation 
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
 
 
  When the content of C10 is equal to K200, then Y10=ON.   
  When the content of D200 is greater than K-30, and X1=ON, then Y11=ON and 
remains in that state.   
LD=
K200 C10
DLD>
K678493 C20
M3
Y10
LD>
D200 K-30
SET Y11
M50
X1