Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 55 Operands: S 1 : Lower bound of the comparison zone S 2 : Upper bound of the comparison zone S : No. of high speed counter D : Comparison result (3 consecutive devices) Explanations: 2. If D is specified as Y0~Y3 in this instruction, the compare result will immediately output to the 1. S 1 should be equal to or smaller than S 2 ( S 1 ≦ S 2 ). external outputs Y0~Y3. However, other Y outputs will still be updated till the end of program. Also, M and S devices, not affected by the program scan cycle, will be immediately updated as well. 3. High speed counters include software high speed counters and hardware high speed counters.

In addtiion, there are also two types of comparators including software comparators and hardware comparators. For detailed explanations of high speed counters please refer to section 2.9 in this manual. 4. Explanations on software comparators for DHSZ instruction  Corresponding table for software counters and comparators:  Block diagram of software counters and comparators:

Software comparator x 6 Software Counter 1 Set / reset 1 Software counter 2 Count value Set / reset 2 Software counter 8 6 Set / reset 3-134 Mnemonic Operands Function Controllers D HSZ High Speed Zone Compare ES2/EX2 SS2 SA2 SX2 SE Typ e OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F DHSZ: 17 steps S 1 * * * * * * * * * * S 2 * * * * * * * * * * S * D * * * PULSE 16-bit 32-bit ES2/EX2 S SS2 A2 SE SX2 ES2/EX2 SS2 SA2 SE SX2 SA2 ES2/EX2 SS2 SX2 SE Counter C232 C233 C234 C235 C236 C237 C238 C239 C240 C241 C242 Hi-speed compare Share 6 software comparators Set/Reset