Subroutines; Subroutine Call: Sbs(091) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Subroutines

3-19 Subroutines

3-19-1 SUBROUTINE CALL: SBS(091)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Operand Specifications
Description
812
Calls the subroutine with the specified subroutine number and executes that
program.
SBS(091)
N
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
N: Subroutine number
Specifies the subroutine number between 0 and 1023 decimal.
Note For CJ1M-CPU11 and CJ1M-CPU21 CPU Units, the subroutine number must
be between the range &0 to &255 decimal.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
Note For CJ1M-CPU11 and CJ1M-CPU21 CPU Units, the range is &0 to &255 dec-
imal.
SBS(091) calls the subroutine with the specified subroutine number. The sub-
routine is the program section between SBN(092) and RET(093). When the
N: Subroutine number
Step program areas
Subroutines
OK
OK
---
---
---
---
---
---
---
---
---
---
---
0 to 1023 (decimal) (See note.)
---
---
---
Section 3-19
SBS(091)
@SBS(091)
Not supported
Interrupt tasks
OK
N

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents