SFB unlock ???

Pietro

Member
Join Date
May 2007
Location
Zilina
Posts
1
I'm try out the SPROT.EXE software for unlock KNOW_HOW_PROTECT blocks. But SFB and SFC blocks are locked furdhest. What can I do with them?
 
Hi,
There is nothing to see in them anyway, they are just operating system function calls.

regards
 
SFC and SFB are blocks with are fixed in the processor memory. If you go online and navigate to the blocks, you see all the inbuilt sfc and sfb. If you try to delete those online you will receive an error.
 
Hello Pietro;

I guess what we are trying to find out is "what would you want to do with an unprotected SFB"? Study the code? Copy or modify the block?

SFB/SFCs are standard program blocks that fulfill one specialized function each, the same in any S7 CPU (if they are loaded in the CPUs ROM, nao all CPUs can use all SFBs). If they were modified by someone, you would no longer have uniform applications of the logic, and that could lead to complications. Descriptions and explanations for each of the SFB/SFCs are available in the "System and standard functions" pdf manual; it is available in the Simatic/Documentation folder of the computer where you installed step 7; it is also downloadable from Siemens' support website.

On the reverse, if you do not like the way an instruction reacts, create your own (as a FB or FC), use yous SPROT executable to lock it, and re-use it in all your next projects. The logic will always execute the way it was programmed by you; no one else can modify it (unless they can unlock it....). We have people here who have created timers that operate "better" than the ones provided by Siemens, or PID logic that suits their needs.

Hope this helps,
Daniel Chartier
 

Similar Topics

Hi I am using Siemens s7-300 and I amtrying to work out how to read the output data from a sfb 52 block. I have a IM151-8F CPU connected trough...
Replies
0
Views
1,450
Hey any body tell me how i can program FM 350-2 through ET200M ..can i use SFB48 in my programing for this
Replies
4
Views
2,056
Hi all in a SCL FB I've decalred some variables like this: VAR ShiftRegister:ARRAY [0..100] OF BOOL; ValvesOutputCMD: ARRAY...
Replies
1
Views
1,635
A message with the following information appeared on the HMI: STOP Caused by PG stop operation or by SFB 20 "STOP" Previous operating mode: RUN...
Replies
1
Views
2,034
Could some one show a simple example of how to use this block in order to generate a pulse of 500ms on and 500 ms off? I tried to do this but i...
Replies
1
Views
2,071
Back
Top Bottom