MODULE_INFO instruction timing diagrams

The following timing diagram examples describe execution scenarios for the MODULE_INFO instruction.

Successful execution when a module is physically present

Successful execution when a module is physically present
Successful execution when a module is physically present
MODULE_INFO parameters values
Scan Cycle
Description
1, 8
Rung condition becomes TRUE when:
  • Enable input bit is TRUE.
  • ModuleType and SlotID are valid. A physical module is present.
  • Done and Present output bits are TRUE.
  • Error output bit is FALSE.
  • Update module related information for module ID, vendor ID, product type, product code, and module revision accordingly.
2,3,4
No change in rung condition.
5. 9
Rung condition becomes FALSE when Enable bit is FALSE. All output parameters are cleared.
6, 7, 10, 11
No change in rung condition. Enable bit is FALSE. All output parameters are cleared.

Successful execution when Module is not physically present

Successful execution when Module is not physically present
Successful execution when Module is not physically present
MODULE_INFO parameter values
Scan Cycle
Description
1, 8
Rung condition becomes TRUE when:
  • Enable input bit is TRUE.
  • ModuleType and SlotID are valid. A physical module is not present.
  • Done output bit is TRUE.
  • Error and Present output bits are FALSE.
  • Update module related information for module ID, vendor ID, product type, product code, and module revision accordingly.
2,3,4
No change in rung condition.
  • Enable input bit is TRUE.
  • Input parameters are valid and a physical module is not present.
  • Update output parameters accordingly.
5. 9
Rung condition becomes FALSE when:
  • Enable bit is FALSE.
  • All output parameters are cleared.
6, 7, 10, 11
No change in rung condition. Enable bit is FALSE. All output parameters are cleared.

MODULE_INFO execution with Error

MODULE_INFO execution with Error
MODULE_INFO execution with Error
MODULE_INFO parameter values
Scan Cycle
Description
1, 8
Rung condition becomes TRUE when:
  • Enable input bit is TRUE.
  • ModuleType and SlotID are valid. A physical module is not present.
  • Done and Present output bits are TRUE.
  • Error output bit is TRUE.
  • Module related information for module ID, vendor ID, product type, product code, and module revision is cleared.
2,3,4
No change in rung condition.
  • Enable input bit is TRUE.
  • ModuleType, SlotID, or both are not valid.
  • Update output parameters accordingly.
5. 9
Rung condition becomes FALSE when:
  • Enable bit is FALSE.
  • All output parameters are cleared.
6, 7, 10, 11
No change in rung condition. Enable bit is FALSE. All output parameters are cleared.

MODULE_INFO successful execution with error - no physical module

MODULE_INFO successful execution with error - no physical module
MODULE_INFO successful execution with error - no physical module
MODULE_INFO parameter values
Scan Cycle
Description
1, 8
Rung condition becomes TRUE when:
  • Enable input bit is TRUE.
  • ModuleType or SlotID or both are not valid. A physical Module is not present.
  • Done and Present output bits are FALSE.
  • Error output bit is TRUE.
  • Module related information for module ID, vendor ID, product type, product code, and module revision is cleared.
2
No change in rung condition.
  • Enable input bit is TRUE.
  • ModuleType, SlotID, or both are not valid.
  • Update output parameters accordingly.
3, 4
No change in rung condition.
  • Enable input bit is TRUE.
  • ModuleType and SlotID are both are valid. Module is physically present.
  • Done and Present output bits are TRUE.
  • Error output bit is FALSE.
  • Update module information for module ID, vendor ID, product type, product code, and module revision accordingly.
5. 9
Rung condition becomes FALSE when:
  • Enable bit is FALSE.
  • All output parameters are cleared.
6, 7, 10, 11
No change in rung condition. Enable bit is FALSE. All output parameters are cleared.

MODULE_INFO successful execution with error when physical module is present

MODULE_INFO successful execution with error when physical module is present
MODULE_INFO successful execution with error when physical module is present
MODULE_INFO parameter values
Scan Cycle
Description
1, 8
Rung condition becomes TRUE when:
  • Enable input bit is TRUE.
  • ModuleType, SlotID, or both are valid. Module is physically present.
  • Done and Present output bits are TRUE.
  • Error output bit is FALSE
  • Update module related information for module ID, vendor ID, product type, product code, and module revision accordingly.
2
No change in rung condition.
  • Enable input bit is TRUE.
  • Module input parameters are valid and module is physically present.
  • Update output parameters accordingly.
3, 4
No change in rung condition.
  • Enable input bit is TRUE.
  • ModuleType and SlotID are both are invalid. Module is physically present.
  • Done and Present output bits are FALSE.
  • Error output bit is TRUE and cleared.
  • Update module information for module ID, vendor ID, product type, product code, and module revision accordingly.
5. 9
Rung condition becomes FALSE when:
  • Enable bit is FALSE.
  • All output parameters are cleared.
6, 7, 10, 11
No change in rung condition. Enable bit is FALSE. All output parameters are cleared.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal