Chapter 7 Second Development Platform VP3000
294
API Instruction code Operand Function
02 SRET
- Subprograms end
Type
Operand
Bit devices Word devices
16-bit instruction (1 step)
SRET
Continuous
execution
type
- -
32-bit instruction
- - - -
Associated flag: none
X Y M K H KnX KnY KnM T C D
Caution for using operand
No operand
No contact to drive the instruction is required.
Description
No contact to drive the instruction is required. Automatically returns program execution to the
address after CALL instruction
This instruction code indicates the end of subprogram. The subprogram returns to main
program and begins the execution with the instruction after CALL instruction.
Refer to the description and example of FEND instruction for more details.