2 Standard Functions
2 - 8
NX-series Safety Control Unit Instructions Reference Manual (Z931)
RETURN
This function returns control to the process that called the POU without executing any processing after
RETURN.
There are no variables for these instructions.
When the execution condition is TRUE, control is returned to the location that called the POU without
executing any processing after RETURN.
The following figure shows a programming example. When the RETURN instruction is executed in the
example, programming C and D that follow it are not executed. The outputs in programming C and D
retain the values that they had just before the RETURN instruction was executed.
• You must use either a BOOL or SAFEBOOL execution condition for the RETURN instruction.
If you connect an execution condition with any other data type, a building error will occur.
• If you use this instruction too often, the flow of processing will be difficult to understand. Use it with
caution.
• Programming after the RETURN instruction is not executed when the RETURN instruction is exe-
cuted. The outputs retain the values that they had just before the RETURN instruction was executed.
Instruction
Name
FB/FUN
Graphic expression
RETURN
Return
FUN
Variables
Function
Precautions for Correct Use
RETURN
Not executed due to
RETURN instruction.
Not executed due to
RETURN instruction.
Network
1
Programming A
3
Programming C
4
Programming D
FALSE Output from Programming B
Network
TRUE Output from Programming B
1
Programming A
Programming B
BOOL output
2
RETURN
2
Programming B
BOOL output
RETURN
3
Programming C
4
Programming D
Execution
Execution
Summary of Contents for NX-SL series
Page 8: ...CONTENTS 6 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 28: ...Sections in this Manual 26 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 98: ...2 Standard Functions 2 64 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 104: ...2 Standard Functions 2 70 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 110: ...2 Standard Functions 2 76 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 265: ...I 1 I NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 268: ...I 4 NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 269: ......