wincc_flex запуск на более чем 1 компе
wincc_flex запуск на более чем 1 компе
Здравствуйте!
Написанная программа работает на wincc_flex. Подключается к s7-400 непостредственно через ethernet.
все работает замечательно, но если запустить эту же программу одновременно на другом компьютере происходит ошибка обращения к переменным и ничего не работает
Подскажите, через что сделать подключение к PLC, чтобы всем было хорошо?
Написанная программа работает на wincc_flex. Подключается к s7-400 непостредственно через ethernet.
все работает замечательно, но если запустить эту же программу одновременно на другом компьютере происходит ошибка обращения к переменным и ничего не работает
Подскажите, через что сделать подключение к PLC, чтобы всем было хорошо?
Last edited by kip100 on Fri Oct 14, 2011 2:07 pm, edited 2 times in total.
Re: wincc_flex запуск на более чем 1 компе
set pg/pc interface НАСТРОИТЬ
Re: wincc_flex запуск на более чем 1 компе
настроено, не работает только при одновременном запуске, по одиночке все ОК
Re: wincc_flex запуск на более чем 1 компе
адреса разные?у кого какие?
скрины давай:связи флекса,интерфейсов компов
скрины давай:связи флекса,интерфейсов компов
Re: wincc_flex запуск на более чем 1 компе
В системе 2 плк с адресами 192.168.0.1 и 192.168.0.101
Рабочие места операторов (ПК) имеют адреса 192.168.0.2 и так далее. В проекте для каждого рабочего места во вкладке соединения адрес соответствует статичному адресу текущего компьютера.
На скриншоте версия для рабочего места 192.168.0.2 и экран событий с этого рабочего места.
Остальные рабочие места ведут себя так же.
Рабочие места операторов (ПК) имеют адреса 192.168.0.2 и так далее. В проекте для каждого рабочего места во вкладке соединения адрес соответствует статичному адресу текущего компьютера.
На скриншоте версия для рабочего места 192.168.0.2 и экран событий с этого рабочего места.
Остальные рабочие места ведут себя так же.
Re: wincc_flex запуск на более чем 1 компе
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.
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 компе
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 ничего существенного не меняли.
...
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 компе
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 компе
Removing the checkbox "Cyclic operation" has not brought the desired effect
Or you can try something else?
Or you can try something else?
Re: wincc_flex запуск на более чем 1 компе
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?
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 компе
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?
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 компе
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.
I've found this FAQ at Siemens Support site https://support.automation.siemens.com/ ... viewreg=WW . Read it.