Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 214

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

END
Instruction
END
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
Not allowed
Flags
There are no flags affected by this instruction.
Function
END(001) completes the execution of a
program for that cycle. No instructions written
after END(001) will be executed.
Execution proceeds to the program with the
next task number. When the program being
executed has the highest task number in the
program, END(001) marks the end of the
overall main program.
Precautions
• Always place END(001) at the end of each program. A programming error will occur if there is not an
END(001) instruction in the program.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
END
---
Block program areas
Step program areas
Not allowed
Not allowed
Function
code
001
Indicates the end of a program.
END
END(001)
Subroutines
Interrupt tasks
Not allowed
OK
Task 1
Program A
Task 2
Program B
Task n
Program Z
I/O refreshing
3. Instructions
Function
SFC action or
transition programs
Not allowed
To the next task number
To the next task number
End of the main program
177
3

Advertisement

Table of Contents
loading

Table of Contents