EasyManuals Logo

Allen-Bradley SoftLogix 5800 User Manual

Allen-Bradley SoftLogix 5800
272 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 #112 background imageLoading...
Page #112 background image
112 Rockwell Automation Publication 1789-UM002K-EN-P - January 2015
Chapter 6 Execute External Routines
Call an External Routine
Use the Jump to External Routine (JXR) instruction to call the external routine
from a ladder routine in your project. The JXR instruction supports multiple
parameters so you can pass values between the ladder routine and the
external routine.
Jump to External Routine (JXR)
The JXR instruction executes an external routine. This instruction is supported
only by the SoftLogix5800 controllers.
Operands
Table 7 - Relay Ladder
.
Operand Type Format Description
External routine name ROUTINE Name External routine to execute.
External routine control EXT_ROUTINE_CONTROL Tag See page 113
.
Parameter BOOL
SINT
INT
DINT
REAL
Structure
Immediate
Tag
Array tag
Data from this routine that you want to copy to a variable in the external routine:
• Parameters are optional.
• Enter multiple parameters, if needed.
• You can have as many as 10 parameters.
Return parameter BOOL
SINT
INT
DINT
REAL
Tag Tag in this routine to which you want to copy a result of the external routine:
• The return parameter is optional.
• You can have only one return parameter.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley SoftLogix 5800 and is the answer not in the manual?

Allen-Bradley SoftLogix 5800 Specifications

General IconGeneral
BrandAllen-Bradley
ModelSoftLogix 5800
CategoryController
LanguageEnglish

Related product manuals