Omron SYSMAC CVM1 Series Operation Manual page 385

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Subroutines
SBS(151) 010
Main
program
Subroutines
Precautions
Flags
Example
the subroutine defined with SBN(150) 00). The following diagram illustrates two
levels of nesting.
SBN(150) 010
SBS(151) 011
RET(152)
The following diagram illustrates program execution flow for various execution
conditions for two SBS(151).
A
SBS(151)
000
B
SBS(151)
001
C
SBN(150)
000
D
RET(152)
SBN(150)
001
E
RET(152)
END(001)
N must be between 000 and 999.
ER (A50003):
No subroutine exists with the specified subroutine number.
A subroutine has called itself.
A subroutine being executed has been called.
Refer to 5-30-1 SUBROUTINE ENTRY and RETURN: SBN(150)/RET(152) for
an example.
SBN(150) 011
SBN(150) 012
SBS(151) 012
RET(152)
RET(152)
OFF execution conditions for
subroutines 000 and 001
A
B
C
ON execution condition for
subroutine 000 only
A
D
B
C
ON execution condition for
subroutine 001 only
A
B
E
C
ON execution conditions for
subroutines 000 and 001
A
D
B
E
Section 5-30
C
367

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents