DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 498API Mnemonic Operands Function ControllersES2/EX2 SS2 SA2SESX2232~238 D AND※ Serial Type ComparisonTypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F AND※: 5 stepsDAND※: 9 stepsS1 * * * * * * * * * * *S2 * * * * * * * * * * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2Operands:S1: Source device 1 S 2: Source device 2Explanations:1. This instruction compares the content in S 1 and S2. Take API232 (AND =) for example, if theresult is “=”, the continuity of the instruction is enabled. If the result is “≠”, the continuity of theinstruction is disabled.2. AND※ (※: =, >, <, <>, ≤, ≥) instruction is used for serial connection with contacts.API No. 16 -bitinstruction32 -bitinstructionContinuityconditionDiscontinuitycondition232 AND= DAND= S1=S2 S1≠S2233 AND> DAND> S1>S2 S1≦S2234 AND< DAND< S1<S2 S1≧S2236 AND<> DAND<> S1≠S2 S1=S2237 AND<= DAND<= S1≦S2 S1>S2238 AND>= DAND>= S1≧S2 S1<S23. When the MSB (16-bit instruction: b15, 32-bit instruction: b31) of S1 and S2 is 1, the comparisonvalue will be viewed as a negative value in comparison.4. When 32-bit counters (C200 ~ C254) are used in this instruction, make sure to adopt 32-bitinstruction (DAND※). If 16-bit instruction (AND※) is adopted, a “program error” will occur andthe ERROR indicator on the MPU panel will flash.Program Example:1. When X0 = ON, and the content in C10 = K200, Y20 = ON2. When X1 = OFF and the content in D0 ≠ K-10, Y21= ON and latched.AND= K200 C10 Y20AND<> K-10 D0 SET Y21X1X0