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.
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.
Module Reference Parameter
This image shows how to create a module reference parameter on the Add-On Instruction dialog.
For more information on the Module Reference parameter, see the
Studio 5000 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
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal