EasyManua.ls Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 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
Page #109 background imageLoading...
Page #109 background image
2-61
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Sequence Control Instructions
2
RETURN
RETURN
The RETURN instruction ends a function or function block and returns processing to the calling instruc-
tion.
None
The RETURN instruction ends a function or function block and returns processing to the calling instruc-
tion.
The following figure shows a programming example. When the RETURN instruction is executed in the
example, the SR instruction that follows it is not executed.
Observe the following precautions if you use this instruction in a ladder diagram.
Use this instruction only in functions and function blocks. If you use it in a program, a building error
will occur.
Always connect this instruction directly to the left bus bar.
Before you execute this instruction set the return values, output variables, and ENO value of the
POU.
If you use this instruction too often, the flow of processing will be difficult to understand. Use it with
caution.
Instruction Name FB/FUN Graphic expression ST expression
RETURN Return FUN RETURN;
Variables
Function
Precautions for Correct Use
RETURN
EN ENO
RETURN;
LD ST
B
A
abc
SR
Set1 Q1
Reset
SR_instance
SR_instance(A, B, abc);
RETURN
EN ENO

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
ModelNJ501-1500
CPU TypeIntel Atom
SD Memory Card SlotYes
Power Supply Voltage24 V DC
Power Consumption30 W
Operating Temperature0 to 55 °C
USB PortYes
Power SupplyBuilt-in

Related product manuals