Mitsubishi — Chapter 6 Application Instructions API 00-49

6 Application Instructions API 00-49 API 01 Operands: S : The pointer of call subroutine. Explanations: 1. Operand S can designate P. 2. P can be modified by index register E, F. 3. In ES/EX/SS series models: Operand S can designate P0 ~ P63. 5. Edit the subroutine designated by the pointer after FEND instruction. 4. In SA/SX/SC/EH/EH2/SV series models: Operand S can designate P0 ~ P255. 6. The number of pointer P, when used by CALL, cannot be the same as the number designated by CJ instruction. 7. If only CALL instruction is in use, it can call subroutines of the same pointer number with no limit on times. 8. Subroutine can be nested for 5 levels including the initial CALL instruction.

(If entering the sixth level, the subroutine won’t be executed.) DVP-PLC Application Manual 6-5 Mnemonic Operands Function CALL P Call Subroutine OP Range Program Steps P0 ~ P255 CALL, CALLP: 3 steps PULSE 16-bit 32-bit EH3 EH3 ES EX SS SA SX SC EH SV EH3 SV2 ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV SV2 SV2