STEP 7 provides KNOW_HOW_PROTECT protection for the program. If you open a block that uses this protection function, only the block interface parameters (IN, OUT, and IN/OUT parameters) and block comments are visible, and program code, temporary/static variables, and network segment comments cannot be displayed.
The following describes how to set the KNOW_HOW_PROTECT protection function for the blocks (FBs, FCs and DBs):
No. Step 1 Open the block to be edited and select "File > Generate source..." in the LAD/STL/FBD editor to generate the source file. 2 Enter the project name in the dialog that opens, such as "Protect_FB". 3 The "Generate source <name>" dialog box is displayed. Select the block you want to convert and click the arrow button to move it to the "Blocks Selected" window on the right. After confirming with OK, the STL source file is generated. Close the LAD/STL/FBD editor.
Figure 01
Figure 02
note:
The protection of the block can only be removed by the STL source file. If the program via the "KNOW_HOW_PROTECT" command or the STL source file in the project is no longer available, the protection of the block can no longer be removed.
The following table describes how to remove the KNOW_HOW_PROTECT protection function for blocks (FBs, FCs and DBs):
No. Step 1 Open source file 2 Delete the "KNOW_HOW_PROTECT" statement line or mark it as a comment with a double slash. 3 Use the menu commands "File > Save" and "File > Compile" to save the compiled STL source file. 4 This removes the protection of the block.Portable Power Station also known as Portable Power Bank. Our product regulated DC Power, AC Pass-Through Charging, Wireless Fast Charger, Bluetooth Playback, Attentive Start, Car charger, Type-C ....... Large capacity meet the needs of all kinds of equipment.
Portable Power Station,Indoor Portable Power Station,Solar Portable Power Station,Portable Power Station With Bms
Jiangsu Zhitai New Energy Technology Co.,Ltd , https://www.zhitainewenergy.com