Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set 296~ 301 Operands: S 1 : Source device 1 S 2 : Source device 2 S 3 : Source device 3 Explanations: 1. DVP-ES2/EX2 series PLCs whose version is 3.20/DVP-SS2 series PLCs whose version is 3.00/DVP-SA2 series PLCs whose version is 2.60/DVP-SE series PLCs whose version is 1.20/DVP-SX2 series PLCs whose version is 2.40 (or above) are supported. 2. The absolute value of the difference between S 1 and S 2 is compared with the absolute value of S 3 . Take LDZ= for example.

If the comparison result is that the absolute value of the difference the comparison result is that the absolute value of the difference between S 1 and S 2 is not equal between S 1 and S 2 is equal to the absolute value of S 3 , the condition of the instruction is met. If to the absolute value of S 3 , the condition of the instruction is not met. 3. The instruction can be connected to a busbar. 4. If the values of the most significant bits in S 1 , S 2 , and S 3 are 1, the values in S 1 , S 2 , and S 3 are negative values. 5. A 32-bit counter (C200~) must be used with the 32-bit instruction DLDZ ※ .

If it is used with the 16-bit instruction LDZ ※ , a program error will occur, and the ERROR LED indicator on the PLC will blink. 3-523 Mnemonic Operands Function Controllers ES2/EX2 SS2 SA2 SX2 SE Controllers D LDZ※ Comparing contact type absolute values LDZ※ ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F LDZ※: 7 steps DLDZ※: 13 steps S 1 * * * * * * * * * S 2 * * * * * * * * * S 3 * * * * * * * * * PULSE 16-bit 32-bit ES2/ EX2 SS2 SA2/ SE SX2 ES2/ SA2/ ES2/ SA2/ SS2 SX2 SS2 SX2 EX2 SE EX2 SE 16-bit 32-bit Comparison result API No.

instruction instruction On Off 296 LDZ> DLDZ> | S - S | > | S | 1 2 3 | S - S | ≦ | S | 1 2 3 297 LDZ>= DLDZ>= | S - S | ≧ | S | 1 2 3 | S - S | < | S | 1 2 3 298 LDZ= DLDZ< | S - S | < | S | 1 2 3 | S - S | ≧ | S | 1 2 3 299 LDZ<= DLDZ<= | S - S | ≦ | S | 1 2 3 | S - S | > | S | 1 2 3 300 LDZ= DLDZ= | S - S | = | S | 1 2 3 | S 1 - S 2 | ≠ | S 3 | 301 LDZ<> DLDZ<> | S 1 - S 2 | ≠ | S 3 | | S - S | = | S | 1 2 3