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) 451Description:Use the Jump to External Routine (JXR) instruction to call the externalroutine from a ladder routine in your project. The JXR instructionsupports multiple parameters so you can pass values between theladder routine and the external routine.The JXR instruction is similar to the Jump to Subroutine (JSR)instruction. The JXR instruction initiates the execution of the specifiedexternal routine:• The external routine executes one time.• After the external routine executes, logic execution returns tothe routine that contains the JXR instruction.Arithmetic Status Flags:Arithmetic status flags are not affected.Fault Conditions:A Major Fault Will Occur If Fault Type Fault code:•an exception occurs in the external routine DLL•the DLL could not be loaded•the entry point was not found in the DLL4 88Execution:The JXR can be synchronous or asynchronous depending on theimplementation of the DLL. The code in the DLL also determines howto respond to scan status, rung-condition-in status, andrung-condition-out status.For more information on using the JXR instruction and creatingexternal routines, see the SoftLogix5800 System User Manual,publication 1789-UM002.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!