EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP Series

Omron SYSMAC CP Series Instruction & Reference Manual

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

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals