PLUGIN_INFO (plug-in information)

The PLUGIN_INFO instruction reads module information from a generic plug-in or expansion module.
When a generic plug-in or expansion module is not present, all values return to zero (0).
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
PLUGIN_INFO
PLUGIN_INFO
PLUGIN_INFO parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Instruction block enable.
  • TRUE: Execute plug-in or expansion module information read.
  • FALSE: The instruction block is not executed. All output data values are reset to 0.
SlotID
Input
UINT
Plug-in slot number:
  • Slot ID = 1,2,3,4,5.
  • (Starting with the first Slot from left = 1).
Expansion Slot number:
  • Slot ID = 101, 102, 103, 104.
  • (Starting with the first Slot from left = 101).
ModID
Output
UINT
Plug-in generic module physical ID.
  • If the expansion module is not supported, ModID = 0xFFF.
  • If a plug-in or expansion module is not present, ModID = 0x0000.
VendorID
Output
UINT
The plug-in or expansion generic module vendor ID.
For Allen Bradley products, the vendor ID = 1.
If a plug-in or expansion module is not present, VendorID = 0x0000.
ProductType
Output
UINT
Plug-in or expansion generic module product type.
If a Plug-in or expansion module is not present, ProductType = 0x0000.
ProductCode
Output
UINT
Plug-in or expansion generic module product code.
If a plug-in or expansion module is not present, ProductCode = 0x0000.
ModRevision
Output
UINT
Plug-in or expansion generic module revision information.
If a plug-in or expansion module is not present, ModRevision = 0x0000.
ENO
Output
BOOL
Enable output.
Applies only to ladder diagram programs. Ladder diagram adds the ENO output automatically.

PLUGIN_INFO examples

PLUGIN_INFO function block diagram example
PLUGIN_INFO function block diagram example
PLUGIN_INFO ladder diagram example
PLUGIN_INFO ladder diagram example
PLUGIN_INFO structured text example
PLUGIN_INFO structured text example
Results
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal