DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 132API Mnemonic Operands Function ControllersES2/EX2 SS2 SA2SESX255 D HSZ High Speed ZoneCompareTypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F DHSZ: 17 stepsS1 * * * * * * * * * *S2 * * * * * * * * * *S *D * * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2Operands:S1: Lower bound of the comparison zone S2: Upper bound of the comparison zone S: No. ofhigh speed counter D: Comparison result (3 consecutive devices)Explanations:1. S 1 should be equal to or smaller than S2 (S1 ≦ S2).2. If D is specified as Y0~Y3 in this instruction, the compare result will immediately output to theexternal 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 aswell.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 andhardware comparators. For detailed explanations of high speed counters please refer to section2.9 in this manual.4. Explanations on software comparators for DHSZ instruction Corresponding table for software counters and comparators:Counter C232 C233 C234 C235 C236 C237 C238 C239 C240 C241 C242Hi-speed compareSet/Reset Share 6 software comparators Block diagram of software counters and comparators:Softwar eCounter 1Softwar ecounter 2Softwar ecounter 8Count valueSoftwar ecomparator x 6126Set / resetSet / resetSet / reset