EasyManuals Logo

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 #326 background imageLoading...
Page #326 background image
2 Instructions
2-290
CP1E CPU Unit Instructions Reference Manual(W483)
Subroutines Instructions
SBS
Applicable Program Areas
Operands
N: Subroutine number
Specifies the subroutine number between 0 and 127 decimal.
Operand Specifications
Combined-use instructions
SBN (subroutine entry) instructions and RET (subroutine return) instructions
Flags
Instruction Mnemonic Variations
Function
code
Function
SUBROUTINE CALL SBS @SBS 091
Calls the subroutine with the specified subroutine
number and executes that program.
Symbol
SBS
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
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
N --- --- --- --- --- --- --- --- --- OK --- --- ---
Name Label Operation
Error Flag P_ER ON if nesting exceeds 16 levels.
ON if the specified subroutine number does not exist.
ON if a subroutine calls itself.
ON if a subroutine being executed is called.
ON if the specified subroutine is not defined in the current task.
OFF in all other cases.
N: Subroutine number
SBS(091)
N

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