3. Instruction Set Timing Diagram: M0 M1 Y0 A scan cycle A scan cycle 3.3 Pointers Explanation: Pointer P is used with API 00 CJ and API 01 CALL instructions. The use of P does not need to start from P0, and the No. of P cannot be repeated; otherwise, unexpected errors may occur. For other information on P pointers, please refer to section 2.15 in this manual Program example 1: Ladder Diagram: Instruction: Operation: X0 LD X0 Load NO contact X0 Y1 X1 P10 CJ P10 Jump to P10 : P10 Pointer P10 LD X1 Load NO contact X1 OUT Y1 Drive coil Y1 3.4 Interrupt Pointers Explanations: A interruption program has to start with a interruption pointer (I□□□) and ends with API 03 IRET.
I instruction has to be used with API 03 IRET, API 04 EI, and API 05 DI. For detailed information on interrupt pointes, please refer to section 2.15 in this manual 3-13 Mnemonic Operands Function Program steps Controllers SA2 ES2/EX2 SS2 SX2 SE Controllers P P0~P255 Pointer 1 SA2 ES2/EX2 SS2 SX2 SE CJ P10 Mnemonic Function Program steps Controllers SA2 ES2/EX2 SS2 SX2 SE Controllers I Interrupt program pointer 1 SA2 ES2/EX2 SS2 SX2 SE