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):
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)
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"):