beautypg.com

Rockwell Automation Logix5000 Controllers Add-on Instructions Programming Manual User Manual

Page 80

background image

Chapter 3

Using Add-On Instructions

5. In the routine that that includes the Add-On Instruction, create another

module reference parameter.

1. In the routine, right-click Parameters and Local Tags and then click

New Parameter.

2. Enter the following values in the dialog box.

Attribute

Value

Name

ModuleRef_Slot01

Usage

InOut parameter

Data Type

MODULE

3. Click the down arrow in the Parameter Connections box, and choose

a hardware module. This is the module that the parameter references.

6. Add the Add-On Instruction to the routine.

7. Connect the routine's module reference parameter to the Add-On

Instruction's module reference parameter. Double-click the question mark

next to the Add-On Instructions module reference parameter, then click

80

Rockwell Automation Publication 1756-PM010F-EN-P - October 2014