You are on page 1of 8

28/10/2016

Ms

Voila!: Unlock protected blocks in Siemens SIMATIC


Step 7

Siguiente blog

chino.bear@gmail. com

Panel

Salir

Voila!
Possible solutions of Impossible problem. Outofthebox Ideas. Amazing notes. Unbelievable facts. Simple &
easy to follow tips and procedures.
Home
Tuesday, Oct ober 28, 2008

Search This Blog

Search

Unlock protected blocks in Siemens SIMATIC Step 7


Recently I'd been called by Hindalco's Fabrication Plant division to unlock the protected blocks in
Siemens SIMATIC Step 7. They were in need to unlock those blocks since an year because of 1
million Rupees of loss per month. They want to reprogram those blocks but it was locked by the
man who'd done the setup. From the people working in that department, I came to know that
they were trying to call that man (someone from Italy) right here but he's not coming. Actually,
what he'd done was that he'd locked some of the blocks and deleted the source file. And Siemens
didn't provide any feature to unlock. Department people also told me that even the people
working in Siemens don't know how to do it. Being a software engineer I know that any thing can
be reverse engineered. So I took up the challenge.
How did I unlocked the blocks?

Blog Archive

2016 (4)
2015 (6)
2014 (11)
2013 (9)
2012 (45)
2011 (26)
2010 (20)
2008 (4)

The first thing I'd done was searched about this software at Google and read about what is this
software all about. After that I'd explored the software. A person (might be S7 programmer) told
me about 'Generate source' and shown me a sample by doing it. Further on he'd shown me how do
they lock a block via KNOW_HOW_PROTECT . It was amazing, they just write this line
(KNOW_HOW_PROTECT ) inside a program after begin statement and compile the code. The
compiled code is known as blocks. The blocks are now protected which means the code inside
the block can't be seen by other. Then delete the source and your blocks are now protected.

October (1)
Unlock protected blocks in Siemens
SIMATIC Step 7
September (2)
May (1)
About Me

Abhishek Kumar

Now my objective was to unlock those blocks. So I'd followed the steps given below to unlock
those blocks,
Step 1: Download *.dbf file editor. The free DOS based dbf editor is the one I'd used. You
can download it from, http://www.k ssoft.net/download/other/dbf_edit.zip
Step 2: Extract dbf_edit.exe from the zipped file. Put it somewhere to easily access it. I'd
put
it inside a folder named dbfedit in C: drive. So path to run the editor is
C:\DBFEDIT>dbfedit.exe
Step 3: To unlock the blocks, copy a file named SUBBLK.DBF from
..\PROJECT\ombstx\offline\00000001\ folder where PROJECT is the directory containing
your S7 Project. Paste this file inside C:\DBFEDIT\ folder.
Step 4: Open Command Prompt (DOS window) via clicking on

Follow

357

I'm funloving, smart &


adventurous guy. But
my friends call me a
logical
guy. And they're right I think, that's why I do
research on everything, no matter what it
is. I can't help it. Because my brain always
question WHY? to whatever it won't
understand. Moreover I think my sunsign
would tell more than what I can? ... ;)
View my complete profile
My Other Interesting Sites & Links

Articles & Softwares

Start Run type 'cmd' press enter


or
Start All Programs Accessories Command Prompt
Step 5: Follow these commands,
C:\>cd dbfedit
C:\DBFEDIT>dbfedit.exe subblk.dbf

Extreme Node
Indian Mobile
Codes Indian STD
Codes Infinite
Soluzioni Liste de
liens
NumerologyGuru A Software
Occult Science Made Easy

A DOS based application will open. Search for the PASSWORD column. And change all 3 into 0
to unlock the blocks. Press Esc/F10 key to save and exit.

Photo Gallery
Telephone Number Utility

C:\DBFEDIT>exit
Step 6: Copy the SUBBLK.DBF file inside C:\DBFEDIT\ folder and paste it at it's
original location. Always remember to make the backup of original SUBBLK.DBF.

Total Pageviews

6 3 5 4 0

Step 7: Now open the project in SIMATEC Step 7 software. All the blocks are
unlocked. So my objective is completed successfully.
It took me around 3 hours to complete this for the first time. But after that I can do it within
5 minutes.

Subscribe To

Posts
Comments

Have fun!

http://akzcool.blogspot.com /2008/10/unlockprotectedblocksinsiemens.html

1/6

Posted by Abhishek Kumar at 10/28/2008 11:14:00 AM


Reactions:

funny (1)

interesting (1)

cool (0)

Recommend this on Google

42 comments:
jk August 12, 2009 at 2:06 PM
great, nice article
Reply

jo August 17, 2009 at 12:55 PM


nice,This is an unlocking website which i found last week. Please view the website to get
more info unlock site
Reply

jk August 19, 2009 at 2:49 PM


wow great , and this is also give unlock assistance This website provides a complete knowledge
base on mobile phone unlocking instructions and guides. It has unlocking instructions for more
than 5000 mobile phone models.
visit my site
Reply

Naveen Paliwal March 29, 2010 at 3:08


PM THANKS BUDDY!!!!
YOU ARE AWESOME
MAIL ME WHEN YOU ARE FREE
n aveen _30mar @yah oo.co.in
Reply

Anonymous October 17, 2011 at 1:19


AM thanks abhi, u r outstanding
man...... Reply

Anonymous October 18, 2011 at 4:40 PM


thank you very much
Reply

Anonymous October 23, 2011 at 1:04 AM


gracias hombre
Reply

Patrick December 20, 2011 at 3:21 PM


This worked exactly as described and solved our
problem. Thanks
Reply

Anonymous April 5, 2012 at 11:27


PM Thanks
Great guy
Reply

Anonymous September 15, 2012 at 11:07


AM Hi,
Just tried it out and it didn't work. Tried on Simatic 5.5.
Is it just file subblk.dbf at folder 000001 that needs to be edited or file subblk.dbf at the
other folder too?
Reply

Tallak Tveide October 17, 2012 at 10:55 AM

Hi! For those using Linux you might want to try this out: https://gist.github.com/3899286
It is a free perl script that automates the unlocking process
I guess it should work on windows as well, but installation would be different (I havent
tried this)
Reply

Alberto March 15, 2013 at 5:37 AM


Thanks for the hint, but it didn't work at all. Please try with SFC46, for example, the
passwaord comes already in 0.
Reply

Anonymous March 22, 2013 at 1:37 AM


WHO EVER YOU ARE YOU MADE MY DAY :) THANKS ALOT YARA THANKS :).. MAY GOD BLESS YOU!
:)..
Reply

ragupathy chinnaswamy June 14, 2013 at 7:16 AM


have you got anything to unlock TIA portal Function blocks??
Thanks
Reply

Juan Jos Catrileo July 17, 2013 at 9:48 PM


amazing, worked flawlessly, thank you very
much!! Reply

Saad Kamil August 25, 2013 at 3:59 PM


you told to change all 3 into 0 but they can't be changed.do help us
Reply

Anonymous August 29, 2013 at 6:53


AM Saad Kamil,
on your keyboard, press the enter key and then remove 3 with del key and change the value to
0 and hit enter again ..
Reply

Anonymous August 29, 2013 at 7:11 AM


Thank you very much Kumar , it works, but not with SFC and SFB
you have an idea to unlock this
blocks. Best regards
Reply

Anonymous October 29, 2013 at 8:04


PM Thanks buddy :)
Reply

Anonymous December 19, 2013 at 1:06


AM Thank a lot..
Reply

Anonymous December 23, 2013 at 7:04 AM


Thank you very much Kumar , it works, but not with SFC and SFB
you have an idea to unlock this
blocks. Best regards
Reply
Replies
Abhishek Kumar

December 23, 2013 at 6:08 PM

No idea! I have not worked with SFC & SFB.


Reply

Anonymous
AM

December 23, 2013 at 7:10

ola Kumar nao consegui desbloquear tenho fazer a troca do digito 3 para zero ou vice
versa? Reply

GECSACH January 13, 2014 at 8:27


PM
i follow the instruction above , but nothing happen DOS do not recognize the program at all,
another thing in my proyect i dont have the folder 0000001 to copy a have other with
the number 0000004 what that is mean???
Reply

Marian Marcin Olszewski


PM

February 5, 2014 at 7:04

This comment has been removed by the


author.
Reply

Mariano February 5, 2014 at 7:14 PM


it means that it is probably protected in other way, not via KNOW_HOW_PROTECT, do I
have right?
Reply

Mariano February 5, 2014 at 7:16 PM


perhapse by https://support.automation.siemens.com/WW/llisapi.dll?
func=cslib.csinfo&objId=45632073&objAction=csOpen&nodeid0=10805384&lang=en&siteid=cseus&
ak tprim=0&extranet=standard&viewreg=WW
but I'm not really sure
Reply

Aurino Adityawan February 21, 2014 at 9:22


AM Thank's about this very useful information..
but when I try to my project, that dbf_edit application didn't show anything. What do you think
Abhishek Kumar??
and in another project I can't find subfolder 00000001..there are only 00000002 and
00000008. What it's mean??it's the same??
Thank you for your
answer.. Reply

Michael Angelo Cartilla March 10, 2014 at 10:33


AM Thank you very much buddy.
Reply

lair lai March 28, 2014 at 9:58


AM this is sooooooo good thank
you Reply

Anonymous April 3, 2014 at 10:56 AM


Thanks a lot Kumar, that works
great.
Just responding to some comments. In your Step 7 project your blocks will reside under a
folder called S7_Program(x), with a number x. Your project could have several of these
folders with different numbers. The blocks in that folder are stored on your hard drive
under folder
0000000x, with the same number x. You need to use the subblk.dbf file from the correct
folder, which can be different from 00000001. Hope this helps.
Reply

Anonymous October 20, 2014 at 3:53


PM Hi all

Has anyone here successfully done this in TIA PORTAL V11/V12 especially for the
example programs on the siemens automation website ?

Reply

Anonymous November 14, 2014 at 12:23 AM


Hi, someone can help to unprotect blocks of TIA PORTAL V12??
thx!! Reply

Anonymous November 17, 2014 at 11:22


PM Hello,
This method doesn't work all the time.
To be sure it works, create a new project with the only blocks you need to
unlock. Reply

Anonymous December 17, 2014 at 2:12


AM Is there a 64 bit version?
Thanks.
Reply
Replies
Abhishek Kumar

December 18, 2014 at 2:19 PM

Yes! It is available. Just google it.


Reply

Balaji August 11, 2015 at 9:38 PM


Checked working, great , thank
you.... Reply

Cesare Missorini September 23, 2015 at 5:48


PM Hi
I just did eveything you suggested and nowin S7 Manager, all the blocks in my project
are actually free.
But when ompen them, they are empty... Blank
pages... Any idea? Tks
Reply

Unknown March 5, 2016 at 2:38 AM


This comment has been removed by the author.
Reply

viveksm April 27, 2016 at 10:44 AM


It does not work with SFC. Does anyone know know to unprotect
SFC? Reply

Anonymous July 27, 2016 at 3:18


PM Amazing! Works great.
Thanks a lot!
Just for information: You can use any other .dbf editor. I used GTK DBF Editor (you can google it)
and it works also.
Reply
Replies
Abhishek Kumar

July 29, 2016 at 10:18 AM

Well a decade ago, I found only DBFEDIT as free tool. But now there are other
options available.
Reply

Enter your comment...

Comment as:

Publish

cristhian garcia

Sign out

Preview

Notify me

Links to this post


Create a Link
Newer Post

Home

Older Post

Subscribe to: Post Comments (Atom)

Simple template. Powered by Blogger.

You might also like