Sbn/Ret - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

SBN/RET

Instruction
SUBROUTINE ENTRY
SUBROUTINE RETURN
Symbol
Applicable Program Areas
SBN
Area
Usage
RET
Area
Usage
Operands
Operand
N
Subroutine number
SBN
N: Subroutine number
Specifies the subroutine number between 0 and 127 decimal.
Operand Specifications
Area
CIO
WR
HR
SBN
N
---
---
---
Combined-use instructions
SBS (subroutine call) instruction
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
SBN
---
RET
---
SBN
SBN(092)
N
N: Subroutine number
Step program areas
Not allowed
Step program areas
Not allowed
Description
Word addresses
AR
T
C
DM
---
---
---
---
Function
code
Indicates the beginning of the subroutine program with
092
the specified subroutine number.
093
Indicates the end of a subroutine program.
Subroutines
Not allowed
Subroutines
OK
Indirect DM addresses
Constants
@DM
*DM
---
---
OK
2 Instructions
Function
RET
RET(093)
Interrupt tasks
OK
Interrupt tasks
OK
Data type
Size
SBN
---
1
CF
Pulse bits
TR bits
---
---
---
2-295
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents