EasyManuals Logo
Home>Omron>Controller>SYSMAC C200HS

Omron SYSMAC C200HS User Manual

Omron SYSMAC C200HS
503 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 #269 background imageLoading...
Page #269 background image
!
259
The
following diagram illustrates program execution flow for various execution
conditions for two SBS(91).
SBS(91) 00
SBS(91) 01
SBN(92) 00
RET(93)
SBN(92) 01
RET(93)
END(01)
Main
program
Subroutines
A
B
C
D
E
A
A
A
A
B
B
B
B
C
C
C
C
D
D
E
E
OFF execution conditions for
subroutines 00 and 01
ON execution condition for
subroutine 00 only
ON execution condition for
subroutine 01 only
ON execution conditions for
subroutines 00 and 01
Note A non-fatal error (error code 8B) will be generated if a subroutine’s execution
time exceeds 10 ms.
Flags ER: A subroutine does not exist for the specified subroutine number.
A subroutine has called itself.
An active subroutine has been called.
Caution SBS(91)
will not be executed and the subroutine will not be called when ER is
ON.
5-23-4 SUBROUTINE DEFINE and RETURN – SBN(92)/RET(93)
N: Subroutine number
00 to 99
Ladder Symbols Definer Data Areas
SBN(92) N
RET(93)
Limitations Each subroutine number can be used in SBN(92) once only.
Description SBN(92) is used to mark the beginning of a subroutine program; RET(93) is
used
to mark the end.
Each subroutine is identified with a subroutine number
, N,
that
is programmed as a definer for SBN(92). This same
subroutine number is
used in any SBS(91) that calls the subroutine (see 5-23-3 SUBROUTINE EN-
TER – SBS(91)). No subroutine number is required with RET(93).
Subroutines and Interrupt Control Section 5-23

Table of Contents

Other manuals for Omron SYSMAC C200HS

Questions and Answers:

Question and Answer IconNeed help?

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

Omron SYSMAC C200HS Specifications

General IconGeneral
BrandOmron
ModelSYSMAC C200HS
CategoryController
LanguageEnglish

Related product manuals