EasyManua.ls Logo

Mitsubishi MELSEC QCPU - Jump to END (GOEND)

Mitsubishi MELSEC QCPU
285 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...
6 - 99 6 - 99
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.5.2 Jump to END (GOEND)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
Other
[Instruction Symbol] [Execution Condition]
Command
GOEND
GOEND
[Functions]
(1) Jumps to FEND or END instruction in the same program file.
[Operation Errors]
(1) In the following cases an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored at SD0.
• A GOEND instruction has been executed after the execution of a CALL, ECALL instruction,
and prior to the execution of the RET instruction. (Error code: 4211)
• A GOEND instruction has been executed after the execution of a FOR instruction, and prior
to the execution of the NEXT instruction. (Error code: 4200)
• A GOEND instruction has been executed during an interrupt program but prior to the
execution of the IRET instruction. (Error code: 4221)
• A GOEND instruction was executed between the CHKCIR and CHKEND instruction block.
(Error code: 4230)
• A GOEND instruction was executed between the IX and IXEND instruction block.
(Error code: 4231)
[Program Example]
(1) The following program jumps to the END instruction if D0 holds a negative number.
[Ladder Mode] [List Mode]
Steps
Instruction Device
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals