136 Rockwell Automation Publication 1769-UM022C-EN-P - June 2018
Chapter 8 Elements of a Control Application
Once defined in a project, Add-on Instructions behave similarly to the built-in
instructions in Logix 5000 controllers. They appear on the instruction tool bar
for easy access, as do internal instructions.
Figure 33 - Add-on Instructions
Access the Module Object
The MODULE object provides status information about a module. To select a
particular module object, set the Object Name operand of the GSV/SSV
instruction to the module name. The specified module must be present in the
I/O Configuration section of the controller organizer and must have a device
name.
Create the Add-On Instruction
With Logix Designer application, you can access a MODULE object directly
from an Add-On Instruction. Previously, you could access the MODULE
object data but not from within an Add-On Instruction.
You must create a Module Reference parameter when you define the Add-On
Instruction to access the MODULE object data. A Module Reference
parameter is an InOut parameter of the MODULE data type that points to the
MODULE Object of a hardware module. You can use module reference
parameters in both Add-On Instruction logic and program logic.
For more information on the Module Reference parameter, see the Logix 5000
Controllers Add-on Instructions Programming Manual, publication
1756-PM010
and the Logix Designer application online help.
Controller Organizer Instruction Toolbar