7 APPLICATION INSTRUCTION
7.2 Program branch instruction
329
7
Jump to END
GOEND
This instruction moves the program execution to the FEND or END instruction in the same program file.
• This instruction moves the program execution to the FEND or END instruction in the same program file.
• When a GOEND instruction is executed by invalid jump during interrupt program execation, it becomes the same operation
as the IRET instruction.
Ladder diagram Structured text
ENO:=GOEND(EN);
Error code
(SD0/SD8067)
Description
3340 After the FOR instruction is executed, the GOEND instruction is executed before the NEXT instruction is executed.
3381 After the CALL(P) or XCALL instruction is executed, the GOEND instruction is executed before the RET instruction is executed.