EasyManua.ls Logo

Allen-Bradley CompactLogix 5480

Allen-Bradley CompactLogix 5480
300 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
Loading...
Rockwell Automation Publication 5069-UM002A-EN-P - January 2019 193
Develop Control Applications Chapter 8
Access the Module Object
from an Add-On Instruction
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
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
Designer application online help and the Logix 5000 Controllers Add-On
Instructions Programming Manual, publication
1756-PM010.
The MODULE object uses the following attributes to provide status
information:
•EntryStatus
FaultCode
•FaultInfo
FWSupervisorStatus
•ForceStatus
Instance
•LEDStatus
•Mode
•Path

Table of Contents

Other manuals for Allen-Bradley CompactLogix 5480

Related product manuals