Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set 3.8 Detailed Instruction Explanation API 00 Operands: S : The destination pointer P of the conditional jump. Explanations: 1. If users need to skip a particular part of PLC program in order to shorten the scan time and execute dual outputs, CJ instruction or CJP instruction can be adopted. 2. When the program designated by pointer P is prior to CJ instruction, WDT timeout will occur and PLC will stop running. Please use it carefully. 3. CJ instruction can designate the same pointer P repeatedly. However, CJ and CALL cannot designate the same pointer P; otherwise operation error will occur 4. Actions of all devices while conditional jump is being executed:

a) Y, M and S remain their previous status before the conditional jump takes place. b) 10ms and 100ms timer that is executing stops. c) Timer T192 ~ T199 that execute the subroutine program will continue and the output contact executes normally. d) The high-speed counter that is executing the counting continues counting and the output e) General counters stop executing. contact executes normally. f) If timer is reset before CJ instruction executes, the timer will still be in the reset status while CJ instruction is being executed. g) The application instructions that are being executed, i.e. DHSCS, DHSCR, DHSZ, SPD, PLSY, PWM, PLSR, PLSV, DRVI, DRVA, continue being executed.

3-41 Mnemonic Operands Function Controllers SA2 ES2/EX2 SS2 SX2 SE CJ P Conditional Jump Controllers ES2/EX2 SS2 SA2 SX2 SE OP Range Program Steps P0~P255 CJ, CJP: 3 steps PULSE 16-bit 32-bit SA2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE SE