Коментарии в DB

Промышленные Логические Контроллеры SIMATIC S7-200/300/400
SLon
Posts: 61
Joined: Wed Oct 10, 2007 5:03 pm
Location: Russia SPb

Коментарии в DB

Post by SLon » Tue Nov 10, 2009 3:30 pm

...Имеем исхдный проект, соединяемся с контролером в онлайн (видим что проект уже кто - то правил)
делаем аплоуд в исходный проект, но при этом коментарии и символы в блоках DB в проекте теряются...
Подскажите каким путём этого можно избежать???

How I can to save comments in DB bloks, when I make upload project to PC , if I use basic project ?

grey4ip
Posts: 4
Joined: Sun Nov 22, 2009 2:00 pm
Location: Moldova

Re: Коментарии в DB

Post by grey4ip » Sun Nov 22, 2009 8:43 pm

По моему - никак. символы и комментарии в DB не сохраняются в PLC.
Сравнивал используя "Compare Blocks..." ?
изменились только значения переменных или сама структура DB?

Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: Коментарии в DB

Post by Umencho » Mon Nov 23, 2009 4:44 am

Hello,

Basically when make direct upload you "take" only program code without any comments. But to prevent misunderstandings, on MMC in CPU depend form STEP 7 version (needs 5.1 and higher) it is possible to save a STEP 7 project (including comments and symbols). Look at http://support.automation.siemens.com/W ... n/26123821

With regards

SLon
Posts: 61
Joined: Wed Oct 10, 2007 5:03 pm
Location: Russia SPb

Re: Коментарии в DB

Post by SLon » Tue Nov 24, 2009 6:47 pm

...информацию на эту тему удапось найти, но может есть ещё варианты...

One of the ways you can fined here (in russian) http://plc4good.org.ua/view_post.php?id=62

Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: Коментарии в DB

Post by Umencho » Wed Nov 25, 2009 2:17 pm

SLon wrote:...информацию на эту тему удапось найти, но может есть ещё варианты...
...unfortunately, if we speak about comments in DBs, not other ways to add them without original project.
SLon wrote: One of the ways you can fined here (in russian) http://plc4good.org.ua/view_post.php?id=62

...if we speak about how to "set" current values in DB like initial value, you could find here in this forum using search more info...

With regards,
Umencho

SLon
Posts: 61
Joined: Wed Oct 10, 2007 5:03 pm
Location: Russia SPb

Re: Коментарии в DB

Post by SLon » Fri Nov 27, 2009 1:15 pm

Umencho wrote:...unfortunately, if we speak about comments in DBs, not other ways to add them without original project.
Original project I have, but when I make upload project to PC, I am losing comments in DBs, if DBs are not currently values...
One of the ways how you can to save comments in DBs, here http://plc4good.org.ua/view_post.php?id=62
But may be are more easy ways...?
Umencho wrote:...if we speak about how to "set" current values in DB like initial value, you could find here in this forum using search more info...
About how to "set" I know...

With regards.

grey4ip
Posts: 4
Joined: Sun Nov 22, 2009 2:00 pm
Location: Moldova

Re: Коментарии в DB

Post by grey4ip » Sat Nov 28, 2009 1:11 am

совет от сименса по обновлению актуальных (или инициализирующих) данных в DB.

link: Saving the actual values of a data block as initial values: