License Validation (LV)
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
![Ladder Diagram_License Validation (LV)_v1](/content/dam/dita/en/factorytalk-design-studio/current/online-help/topics/graphics/ladderdiagram_licensevalidation(lv)_v1.png/_jcr_content/renditions/original)
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
![FTStudio-LV-EX-V1](/content/dam/dita/en/factorytalk-design-studio/current/online-help/topics/instructions/common-content/graphics/ftstudio-lv-ld-ex-v1.png/_jcr_content/renditions/original)
Provide Feedback