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.
Attribute | Data Type | Instruction | Description |
---|---|---|---|
EntryStatus | INT | GSV | Specifies the current state of the specified map entry. The lower 12 bits should be masked when performing a comparison operation. Only bits 12...15 are valid. Each value has a specific meaning:
|
FaultCode | INT | GSV | A number that identifies a module fault, if one occurs. |
FaultInfo | DINT | GSV | Provides specific information about the Module object fault code. |
Firmware SupervisorStatus | INT | GSV | Identifies current operating state of the firmware supervisor feature. Each value has specific meaning:
|
ForceStatus | INT | GSV | Specifies the status of forces. Each bit has specific meaning:
|
Instance | DINT | GSV | Provides the instance number of this module object. |
LEDStatus | INT | GSV | Specifies the current state of the I/O status indicator on the front of the controller.(1) Each value has a specific meaning:
You do not enter an object name with this attribute because this attribute applies to the entire collection of modules. |
Mode | INT | GSV SSV | Specifies the current mode of the Module object. Each bit has a specific meaning:
|
Path | SINT Array | GSV | Specifies the path to the module being referenced. This is a new attribute starting in version 24 software. Each byte has a specific meaning:
If SINT array length is insufficient to hold the path, the array is zeroed out, and a minor fault is logged. |
(1) The 1756-L7x controllers do not have a status indicator display on the front of the controller, but do use this functionality.
Provide Feedback