2 Instruction Descriptions
End
The End instruction ends execution of a program in the current task period.
Instruction
End
End
Variables
None
Function
The End instruction ends execution of a program in the current task period.
The following figure shows a programming example. When the End instruction is executed in the exam-
ple, the SR instruction that follows it is not executed.
LD
End
EN
ENO
SR_instance
A
Set1
Reset
B
Precautions for Correct Use
• This instruction must be used only in a program.
• If this instruction is used in a function, function block, or inline ST, a building error will occur.
• You must connect this instruction to the left bus bar.
2-60
Name
FB/FUN
FUN
SR
abc
Q1
Graphic expression
End
EN
ENO
NJ-series Instructions Reference Manual (W502)
ST expression
None