How to lock the plc block
FB, FC block A: First, open the protection protection option of the CPU in the hardware configuration, select the third setting (read-write protection), save the compiler after setting the password and re-download the hardware configuration.
Second, in Step7, you can open a piece arbitrarily, select "GenerateSource" or shortcut "Ctrl+T" in "file", pop up a screen, fill in "objectname" like "tt", then press OK to confirm, it will Then another screen pops up. On the left is all the blocks in your program. If you need to protect which blocks, move them to the right, then exit all the blocks and enter the SIMATICManager.
Find the file tt in S7ProgramSources, double-click tt to open, add "Know_How_Protect" in the fourth line, then compile, save the file without error. In this way, FB1 and FB2 are protected. If you want to remove the protection, you can remove the "Know_How_Protect" compiled and saved in tt.
Note: Do not lose or delete the source file (such as tt), otherwise the program is protected, the user can save it to another directory, or ExportSource to the hard disk, and then delete the source file, so that others can only see unprotected blocks.
1. Open the program editing window LAD/FBD/STL;
2. Convert the block generation to be cryptographically protected to a source code file (generated by selecting menu File->Generatesource);
3. Close your program block in the LAD/FBD/STL window and open the source file generated in the previous step in the source folder of the SIMATICManager project management window;
4. In the declaration section of the block, enter "KNOW_HOW_PROTECT" in the line below the TITLE line;
Compile);?Save, File?5. Save and compile the source file (select menu File
6. Now complete the encryption protection of your block;
The following figure shows how to encrypt the STLsource file:
Unencrypted block protection
1. Open the Source file of the program block;
2. Delete KNOW_HOW_PROTECT in the file;
3. Save and compile the source file;
4. The encryption protection of the block has now been canceled.
The camera glasses are the first sunglasses with high-definition digital video and camera functions, built-in memory, also known as "sunglass cameras", which can take photos and high-quality video.
It is easy to operate, small and exquisite, beautiful and practical, and easy to carry. It is a necessary practical tool in the fields of security, media, tourism, life, etc., and is favored by the majority of users.
3 million pixel camera with clear digital video, simple and convenient operation. Streamlined fashion design, ergonomic and comfortable to wear HD camera 640*480 can directly connect to the computer to download files without any driver. Built-in 4GB memory expansion card slot: TF/Micro SD card real-time video recording, record every beautiful moment of life. It is an indispensable item for journalists, traffic police and travelers.
Glasses Camera,3 million camera,HD camera
Jingjiang Gisen Technology Co.,Ltd , https://www.gisengroup.com