Page 1 of 1

wincc_flex запуск на более чем 1 компе

Posted: Fri Oct 14, 2011 11:32 am
by kip100
Здравствуйте!

Написанная программа работает на wincc_flex. Подключается к s7-400 непостредственно через ethernet.
все работает замечательно, но если запустить эту же программу одновременно на другом компьютере происходит ошибка обращения к переменным и ничего не работает :(

Подскажите, через что сделать подключение к PLC, чтобы всем было хорошо?

Re: wincc_flex запуск на более чем 1 компе

Posted: Fri Oct 14, 2011 12:17 pm
by sania
set pg/pc interface НАСТРОИТЬ

Re: wincc_flex запуск на более чем 1 компе

Posted: Fri Oct 14, 2011 2:35 pm
by kip100
настроено, не работает только при одновременном запуске, по одиночке все ОК

Re: wincc_flex запуск на более чем 1 компе

Posted: Fri Oct 14, 2011 3:27 pm
by sania
адреса разные?у кого какие?
скрины давай:связи флекса,интерфейсов компов

Re: wincc_flex запуск на более чем 1 компе

Posted: Fri Oct 14, 2011 4:47 pm
by kip100
В системе 2 плк с адресами 192.168.0.1 и 192.168.0.101
Рабочие места операторов (ПК) имеют адреса 192.168.0.2 и так далее. В проекте для каждого рабочего места во вкладке соединения адрес соответствует статичному адресу текущего компьютера.
На скриншоте версия для рабочего места 192.168.0.2 и экран событий с этого рабочего места.
Остальные рабочие места ведут себя так же.
Image
Image

Re: wincc_flex запуск на более чем 1 компе

Posted: Sat Oct 15, 2011 7:05 am
by bilbo_321
Try to remove "Cyclic operation" check box.

Below is the excerpt from the WinCC flex online help concerning this:
"When cyclic operation is enabled, the PLC optimizes its data exchange with the HMI device. This increases system performance.
Disable cyclic mode if you are operating several HMI devices in parallel."

Also check setting for PG/OP connection resources in HW Config of PLCs. It is 1 by default and you should increase it to 2 as you have 2 HMIs.

Re: wincc_flex запуск на более чем 1 компе

Posted: Sat Oct 15, 2011 7:48 am
by kip100
I'm will try to remove "Cyclic operation" check box :)
...
I'll tell you a bit more:
previously used a programm on the VisBas, which has worked through Simatic_Net. Program with Simatic be able to run on 3 Computer literacy. More simply did not try.
=========
Раньше в комплекте с тех.процессом шла программа на Visual_Basic'e, для ее работы необходимо было установить OPC сервер. Программа работала одновременно на 3х компьютерах точно, большее количество не пробовали. С тех пор в проекте PLC ничего существенного не меняли.

Re: wincc_flex запуск на более чем 1 компе

Posted: Sat Oct 15, 2011 8:18 am
by bilbo_321
Old System could work because SimaticNet OPC Server opens only one connection to PLCs and 3 PCs running VB are OPC clients and fetch data from OPC server, not from PLCs.

Re: wincc_flex запуск на более чем 1 компе

Posted: Sat Oct 15, 2011 10:25 am
by kip100
Removing the checkbox "Cyclic operation" has not brought the desired effect :(

Or you can try something else?

Re: wincc_flex запуск на более чем 1 компе

Posted: Mon Oct 17, 2011 8:47 am
by bilbo_321
Did you tried to increase number of OP connections in HW Config of both PLCs?
From the screenshots you've posted I can see that HMI is connecting and disconnecting at all the time. That problem doesn't exist if there is only one HMI running. Correct?

What version of WinCC Flexible is there? Any service packs?

Re: wincc_flex запуск на более чем 1 компе

Posted: Tue Oct 18, 2011 6:53 am
by kip100
The number of connections is set to 16.
Yes, indeed, this problem occurs only in two or more computers. On one computer it works fine.
wincc_flex with all the service pack, which were released.

Somewhere I read that vintsts_fleh is not multiplayer. Maybe this is the case?

Re: wincc_flex запуск на более чем 1 компе

Posted: Tue Oct 18, 2011 10:40 am
by bilbo_321
You can run more than one WinCC flex Runtime at the same time. That's for sure.
I've found this FAQ at Siemens Support site https://support.automation.siemens.com/ ... viewreg=WW . Read it.

Re: wincc_flex запуск на более чем 1 компе

Posted: Tue Oct 18, 2011 11:10 am
by kip100
Thanks!
Indeed, we can make some connections
I do not see in the properties of its processor number of connections

Image