5 Categories and Use of Basic Application InstructionsDVP-PM Application Manual 5-129API Mnemonic Operands Function224~230 D LD※ Contact Type ComparisonControllers20PM 10PMBit Devices Word Devices Program StepsTypeOP X Y M S K H KnX KnY KnM KnS T C D V ZS1 * * * * * * * * * * *S2 * * * * * * * * * * *LD※: 5 stepsDLD※: 7 stepsOperands:S1: Source device 1 S2: Source device 2Explanations:1. This instruction compares the content in S1 and S2. Take API224 (LD=) for example, if the result is “=”, thecontinuity of the instruction is enabled. If the result is “≠”, the continuity of the instruction is disabled.2. ※: =, >, <, <>, ≦, ≧3. LD※ (※: =, >, <, <>, ≤, ≥) instruction is used for direct connection with left hand bus barAPI No. 16 -bitinstruction32 -bitinstructionContinuityconditionDiscontinuitycondition224 LD= DLD= S1=S2 S1≠S2225 LD> DLD> S1>S2 S1≦S2226 LD< DLD< S1<S2 S1≧S2228 LD<> DLD<> S1≠S2 S1=S2229 LD<= DLD<= S1≦S2 S1>S2230 LD>= DLD>= S1≧S2 S1<S24. When 32-bit counters (C200 ~ C255) are used in this instruction, make sure to adopt 32-bit instruction (DLD※).If 16-bit instruction (LD※) is adopted, a “program error” will occur and the ERROR indicator on the panel ofDVP-PM will flash.Program Example:1. When the content in C10 = K200, Y10 = ON.2. When the content in D200 > K-30 and X1 = ON, Y11 = ON and latched.3. When the content in C200 < K678,493 or M3 = ON, M50 will be ON.LD= K200 C10DLD> K678493 C200M3Y10LD> D200 K-30X1SET Y11M50