FB_ControlClone: Clone the Controller
Cloning is possible by SD card or Controller Assistant. When user rights are enabled, the cloning function is not allowed, and the function block enables cloning functionality one time on the next controller power on.
NOTE: You can choose whether user rights are included in the clone on the Clone Management page of the Web server.
This table shows how to set the function block and the user rights:
Function block setting |
When user rights enabled |
When user rights disabled |
---|---|---|
xEnable = 1 |
Cloning is allowed |
Cloning is still allowed |
xEnable = 0 |
Cloning is not allowed |
Cloning is not allowed |
Read from controller with Controller Assistant is also affected by FB_ControlClone.
Library name: PLCSystemBase
Namespace: PLCSystemBase
To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.
The following table describes the input variables:
Input |
Type |
Comment |
---|---|---|
xEnable |
BOOL |
If TRUE, enables the cloning functionality one time. If FALSE, disables the cloning functionality. |
The following table describes the output variables:
Output |
Type |
Comment |
---|---|---|
xError |
BOOL |
TRUE indicates that an error is detected and the function block aborted the action. |