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

Defining Add-On Instructions
Chapter 2
• Program parameters that reference a module must connect to a module, and
cannot reference other module reference parameters.
• Module reference parameters must be program or Add-on Instruction
scope, not controller scope.
Tip:
You cannot create a module reference tag. You can only reference modules using
an InOut parameter of the MODULE data type.
1. In the Controller Organizer, right-click an Add-On Instruction and
select Open Definition.
2. On the Parameters tab, in the blank Name box, type a name for a
parameter.
3. In the Usage box, select InOut.
4. In the Data Type list, select the MODULE type. This data type is for the
MODULE object, and contains the following information:
• Entry Status
• Fault Code
• Fault Info
• FW Supervisor Status
• Force Status
• INSTANCE
• LED Status
• Mode
• Path
For more information on the MODULE object, search the Logix Designer
online help.
5. In the Description list, type a description, maximum 512 characters.
This description appears in the instruction’s help.
6. In the Constant list, select InOut parameters check box you want to
designate as constant values.
Tip:
You can also create parameters by using the Tag Editor, New Parameter or Local Tag dialog box, or by right-clicking a
tag name in the logic of your routine.
For more information on using parameters in programs,
, publication
Rock well Automati on Publication 1756- PM010F-EN-P - Oct ober 2014
43