5 Categories and Use of Basic Application InstructionsDVP-PM Operation Instruction5-130API Mnemonic Operands Function232~238 D AND※ Serial Type ComparisonControllers20PM 10PMBit Devices Word Devices Program StepsTypeOP X Y M S K H KnX KnY KnM KnS T C D V ZS1 * * * * * * * * * * *S2 * * * * * * * * * * *AND※: 5 stepsDAND※: 7 stepsOperands:S1: Source device 1 S2: Source device 2Explanations:1. This instruction compares the content in S1 and S2. Take API232 (AND =) 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. 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<S24. When 32-bit counters (C200 ~ C254) are used in this instruction, make sure to adopt 32-bit instruction (DAND※).If 16-bit instruction (AND※) is adopted, a “program error” will occur and the ERROR indicator on the panelDVP-PM will flash..Progran Example:1. When X0 = ON and the present value in C10 = K200, Y10 = ON.2. When X1 = OFF and the content in register D10 ≠ K-10, Y11 = ON and latched.3. When X2 = ON and the content in the 32-bit register D0 (D11) < 678,493 or M3 = ON, M50 will be ON.AND= K200 C10DAND> K678493 D10M3Y10AND<> K-10 D0 SET Y11M50X2X1X0