License Validation (LV)
    This information applies to the 
Compact GuardLogix
 5380, CompactLogix
 5380, CompactLogix
 5480, ControlLogix
 5580, and GuardLogix
 5580 controllers.The License Validation ( LV) instruction verifies if a non-expired license associated with a routine or Add-On Instruction is present in the controller.
Available Languages
Ladder Diagram

Function Block 
Not available
Structured Text
Not available
Operands
Ladder Diagram
Operand  | Type  | Format  | Description  | 
|---|---|---|---|
Vendor Code  | DINT  | immediate  | Unique number identifying the vendor of the license associated with a routine or Add-On Instruction. Accepts an immediate integer value in the range of 0 to 2,147,483,647.  | 
Product Code  | DINT  | immediate  | Unique number identifying the product code of the license associated with a routine or Add-On Instruction. Accepts an immediate integer value in the range of 0 to 2,147,483,647.  | 
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction.
Execution
Ladder Diagram
Condition/State  | Action Taken  | 
|---|---|
Prescan  | N/A  | 
Rung-condition-in is false  | N/A  | 
Rung-condition-in is true  | Numeric compare" If the license is valid and used in the project  Set Rung-condition-out to true else  Clear Rung-condition-out to false  | 
Postscan  | N/A  | 
Example

Provide Feedback