Why use authorization management?
In the current market, many PLC program developers face a thorny problem—after receiving a meticulously written program, customers may not necessarily continue to purchase PLC hardware from the developer. This undoubtedly causes significant economic losses for developers.
The license code function of a PLC provides an effective solution to this problem. By tightly binding the user program to the PLC hardware, developers can effectively protect their intellectual property rights and prevent others from easily stealing them.
What is the authorization code function?
The authorization management function is used to bind the PLC to the user project. The authorization code in the PLC must correspond to the authorization code in the user project for the program to run. Programs upgraded using USB flash drives, SD cards, HMIs, etc., are also subject to this restriction.
01 Equipment Information
Hardware: Leadshine SC2-C32A4D (hereinafter referred to as SC2-C)
Software: Lead Studio V8760 or later
Firmware information: r8760 or later
02 Precautions
1) It is recommended to back up the project before setting the authorization code to prevent the project from being unrecoverable if the authorization code is forgotten;
2) If the PLC Runtime license code is forgotten, it can be cleared by initializing the controller;
3) If the project sets an authorization code, the authorization code of the PLC Runtime must also be set to be consistent; otherwise, the program will not run, and the PLC log will report the error "Authorization code mismatch! Program stopped!".
03 User Guide
Double-click the device tree on the left, select the license code settings tab, and open the license code interface.
1. PLC Runtime License Code Settings
1) Authorization Description: User-defined remarks, supporting Chinese, English, and numbers. These are written synchronously when the authorization code is written; reading the description does not require an authorization code (PS: PLC password hint).
2) Old Authorization Code: A 10-digit number used when clearing or writing authorization codes. If an authorization code exists in the Runtime, the correct old authorization code must be entered before the write or clear authorization code operation can be performed (PS: PLC old password);
3) Authorization code: 10 digits, used when writing the authorization code. If the authorization code exists in the Runtime, the correct old authorization code must be entered before the write authorization code operation can be performed (PS: PLC new password).
Note: The PLC Runtime license code can only be set after the PLC is connected.
2. Project Authorization Code Settings
1) Authorization Description: User-defined remarks, supporting Chinese, English, and numbers. This is written synchronously during the authorization code writing process; reading does not require an authorization code (PS: Project password hint).
2) Old Authorization Code: A 10-digit number used when clearing or writing authorization codes. If an authorization code exists in the Runtime, the correct old authorization code must be entered before the write or clear authorization code operation can be performed (PS: old project password);
3) Authorization code: 10 digits, used when writing the authorization code. If the authorization code already exists in the project, the correct old authorization code must be entered before the write authorization code operation can be performed (PS: the new password for the project).
Notice:
This example only briefly introduces the authorization code function. If users encounter any problems that cannot be handled, please contact Leadshine's technical or product personnel for assistance.