Page 1 of 1

[?+]: Problem when uploading from PLC S7-300

Posted: Tue Oct 27, 2009 6:36 am
by venix
Hello!

I have a problem with a S7 300 CPU(315-2DP 6ES7 315-2AF03-0AB0) with the upload.
After I have uploaded the program from the PLC when I looked at OB1 I had this(I did not assign any hardware to the program and the called block is made in GRAPH):

Image

Image

What to do?

Best regards!
Venix

Re: [?]Problem when uploading from PLC S7-300

Posted: Tue Oct 27, 2009 7:06 am
by sania
post link for your programm for check

Re: [?]Problem when uploading from PLC S7-300

Posted: Tue Oct 27, 2009 12:16 pm
by venix
Hello Sania!

I've double-clicked the DB in FBD representation and it's OK.
Now I will try to connect online to see if the problem still remain.

Thank you for your quick reply!

Best regards!
Venix

Re: [?]Problem when uploading from PLC S7-300

Posted: Mon Nov 02, 2009 4:51 pm
by scifo
Hi venix.

1. Propably you don't have in offline all blocks (FC's or FB's), and in OB1 some of missing blocks are calling.
2. I'd similar problem, when I switched instance block online - copy from offline wrong DB to online (i.e.from another project)

Try to go this way

Re: [?]Problem when uploading from PLC S7-300

Posted: Mon Nov 02, 2009 5:26 pm
by CoMod
This is bug "BLD-protection".
Russian forum http://www.plcforum.uz.ua/viewtopic.php ... 87a58421ed
To see the "hidden" part can do so:
1) to make sure that you are using such "protection", it is necessary to open the project in which anything not siemens program (eg S7-Doctor)
or
2) To open and work in the step7: in the hex editor replace in the project file command code BLD 7 (0x10 0x07) in the NOP command code 0 (0x00 0x00) in file
<Project folder>\ombstx\offline\00000001\SUBBLK.DBT (instead of "00000001" may be another folder name)
and the opening in the step7 see (FC1 of the project "PROTECT"):
Russian wrote:Чтобы увидеть "скрытую" часть можно сделать так:
1) чтобы убедиться, что используется такая "защита", надо открыть проект в какой нибудь не сименсовской программе (например S7-Doctor)
2) Для открытия и работы в Степе с этим проектом: шестнадцатеричным редактором заменим код команды BLD 7 (0x10 0x07) на код команды NOP 0 (0x00 0x00) в файле
<Папка проекта>\ombstx\offline\00000001\SUBBLK.DBT (вместо "00000001" может быть другая папка)
и при открытии в Степе увидим (FC1 из проекта "PROTECT"):

Re: [?]Problem when uploading from PLC S7-300

Posted: Tue Dec 15, 2009 6:13 am
by venix
Hi!

I've downloaded again OB1 and also FB22 with instance DB22 and then the problem was solved.

Now I can upload the PLC program and I don't have any time stamp conflict.I do not know why this problem appeared.

Best regards!
Venix