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):
What to do?
Best regards!
Venix
[?+]: Problem when uploading from PLC S7-300
-
- Posts: 122
- Joined: Fri Feb 29, 2008 4:17 pm
- Location: Europe
-
- Site Admin
- Posts: 1387
- Joined: Sat Aug 13, 2005 6:15 am
Re: [?]Problem when uploading from PLC S7-300
post link for your programm for check
-
- Posts: 122
- Joined: Fri Feb 29, 2008 4:17 pm
- Location: Europe
Re: [?]Problem when uploading from PLC S7-300
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
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
-
- Posts: 1
- Joined: Tue Oct 13, 2009 4:10 pm
- Location: Europe
Re: [?]Problem when uploading from PLC S7-300
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
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
-
- Site Admin
- Posts: 3992
- Joined: Thu Feb 16, 2006 3:25 pm
- Location: Russia
Re: [?]Problem when uploading from PLC S7-300
This is bug "BLD-protection".
Russian forum http://www.plcforum.uz.ua/viewtopic.php ... 87a58421ed
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"):
-
- Posts: 122
- Joined: Fri Feb 29, 2008 4:17 pm
- Location: Europe
Re: [?]Problem when uploading from PLC S7-300
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
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