12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Program Control <strong>Instructions</strong> (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT) 441RET Operands:Relay LadderOperand Type Format DescriptionReturnparameterBOOLSINTimmediatetagdata from this routine that you want to copyto the corresponding return parameter in theJSR instructionINTarray tagDINTREALstructureRET(ReturnPar);Structured TextThe operands are the same as those for the relay ladderRET instruction.Function BlockParametersgThe operands are the same as those for the relay ladderRET instruction.Description:The JSR instruction initiates the execution of the specified routine,which is referred to as a subroutine:• The subroutine executes one time.• After the subroutine executes, logic execution returns to theroutine that contains the JSR instruction.Publication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!