Omron SYSMAC CP CP1E-N@@D@-@ Uživatelský manuál Strana 326

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 467
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 325
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
Zobrazit stránku 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 466 467

Komentáře k této Příručce

Žádné komentáře