EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Jump to END

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
324
6 BASIC INSTRUCTIONS
6.5 Program Branch Instructions
Jump to END
GOEND
Processing details
Jumps to the FEND or END instruction in the same program file.
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program example
The following program jumps to the END instruction if D0 holds a negative number.
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
Bit Word Bit Word

Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4200 After the FOR instruction was executed, the GOEND instruction was
executed prior to the NEXT instruction.

4211 After the CALL, ECALL instruction was executed, the GOEND instruction
was executed prior to the the RET instruction.

4221 During an interrupt program, the GOEND instruction was executed prior to
the IRET instruction.

4230 The GOEND instruction was executed during the CHKCIR to CHKEND
instruction execution.

4231 The GOEND instruction was executed during the IX to IXEND instruction
execution.

[Ladder Mode] [List Mode]
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
GOEND
GOEND
Step
Instruction
Device

Table of Contents

Related product manuals