 | |
Предыдущие результаты
Здравствуйте,
Уважаемые господа, подскажите, FTView SE 8.0, запущено несколько клиентов. На клиенте дисплеи сконфигурированы, как Overlay. Однако необходимо ограничить число одновременно отрытых дисплеев, т.е. при запуске следующего дисплея проверять кол-во уже открытых и при необходимости закрывать уже открытые. Пробовал средства VBA, но application.loadeddisplays выдает общее кол-во уникальных дисплеев на всех запущенных клиентах. Можно пересчитать дисплеи на конкретном клиенте, до момента появления Error, потом Error сбросить, при этом ошибка все равно запишется в DiagnosticView.
Что можете посоветовать?
Всем спасибо. Разобрался.
|
Здравствуйте!
Закройте другие приложения (например, FTView SE Client). Такое бывает, когда на одном компьютере одновременно открыты студия и клиент.
Желаю удачи!
|
Because VBA in the project is single threaded, if you are using any other VBA (such as for navigation or Display_AnimationStart), the above "To play the file WAV more than one time..." will not work. Here is a better way:
1. Create 8 HMI Digital Device Tags (not memory tags) called "SevTrig1" to "SevTrig8".
2. Create 8 HMI String Memory Tags called "SevSound1" to "SevSound8" (retentive) and set initial value to your your wav files including full path (Ex: C:\AlmSound\Sound.wav)
3. In the Alarm Setup / Severities tab: Place "SevTrig#" tags in External Bell for Severity 1 thru 8.
4. Create an HMI Screen (that will be hidden with /ZA).
On this screen create 8 rows (1 per severity):
Severity 1 = # sssssssssssssssssssssssssssssssssssssss
where:
* "Severity 1 =" is text with Color Animation using tag "SevTrig1"
* "#" is a NumericDisplay named "SeverityInd1" (ExposeToVBA = "VBA Control") with the below
expression (step 5) and VBA code (step 6).
* "ssss..." is StringDisplay named "SevSndFile1" (ExposeToVBA = "Type Info Extension")
with Expression: "SevSound1"
Duplicate this line for 2 through 8.
5. In the NumericDisplay Properties / Expression, place the following expression (adjust for 2-7):
* SeverityInd1 Expression:
IF system\AlarmSummaryItemsUnacked == 0 THEN 0
ELSE IF SevTrig1 AND interval( "5 Sec" ) THEN 1
ELSE 0
* SeverityInd8 Expression:
IF system\AlarmSummaryItemsUnacked == 0 THEN 0
ELSE IF SevTrig1 THEN 0
ELSE IF SevTrig2 THEN 0
ELSE IF SevTrig3 THEN 0
ELSE IF SevTrig4 THEN 0
ELSE IF SevTrig5 THEN 0
ELSE IF SevTrig6 THEN 0
ELSE IF SevTrig7 THEN 0
ELSE IF SevTrig8 AND interval( "5 Sec" ) THEN 1
ELSE 0
6. For NumericDisplay "SeverityInd1" thru "SeverityInd8", place the following in VBA:
Sub SeverityInd1_Change()
On Error Goto Exit_Err
If SeverityInd1.Value = 1 Then
DisplayClient.Application.ExecuteCommand "PlayWave " & ThisDisplay.SevSndFile1.Value
End if
Exit_Err:
End Sub
By following this pattern, the individual playwave above will then fire once every five seconds only for the most important severity active. That will allow other VBA code to run during page changes, etc.
In my system this hidden page is called "AlmHornCtrl". I also have a page "AlmHornSelect" that allows adjustment of the sound files used during runtime (use either VBA or StringInput).
Ric Walker, Automation & Electronics, Inc. , Casper, WY
|
[quote:3bae5aff0c="bibby"]Создал New Topic, теперь нужно в него тэги добавлять и [b:3bae5aff0c][color=darkred:3bae5aff0c]привязать к контроллеру[/color:3bae5aff0c][/b:3bae5aff0c]?[/quote:3bae5aff0c]Красную стрелку на картинке видел?
Теги в топик добавлять не надо - можешь попробовать, потом всем расскажешь. RSLinx не KepServer и не PVI...
С RSLinx устанавливается [b:3bae5aff0c]OPC Test client[/b:3bae5aff0c] - там ищи теги и проверяй работу...
[quote:3bae5aff0c="bibby"]На вкладке Active DDE/OPC Topic/Item list у меня выходит сообщение [b:3bae5aff0c]List of topics/items currently being serviced[/b:3bae5aff0c][/quote:3bae5aff0c]Пустой без имен тегов - нет подключенных клиентов.
[quote:3bae5aff0c="bibby"]На компьютере есть файлы с расширением .CSV где прописаны тэги. Их можно привязать к [b:3bae5aff0c][color=darkred:3bae5aff0c]New Topic[/color:3bae5aff0c][/b:3bae5aff0c]?[/quote:3bae5aff0c]Нет.
Последний раз повторяю нужное имя топика ищи в Cimplicity и переименовывай. Или у тебя топики не пропадали и Cimplicity никогда не связывался к контроллером? Т.е. создаешь с нуля.
|
Начни [url=http://www.rockwellautomation.com/rockwellsoftware/products/factorytalk-view-se.page?#ordering-information]отсюда[/url].
Коротко и приблизительно:[list:b940423cd4]FactoryTalk View Site Edition Station <-> RSView32 Runtime
FactoryTalk View Site Edition Station + FactoryTalk View Studio <-> RSView32 Works
FactoryTalk View Site Edition Server + FactoryTalk View Site Edition Client(s) <-> нет аналога[/list:u:b940423cd4]
|
[quote:a0ac5a88fb="SergG"]Спасибо за ответы. Но я хотел бы увидеть именно кусок проекта. Где определены все параметры регулятора. А проблема у меня с масштабированием входных и выходных переменных.[/quote:a0ac5a88fb]"И ключ от квартиры.."
[quote:a0ac5a88fb="SergG"]Пока я в ячейках .DATA[5] и .DATA[6] не поставил по 1-це у меня ничего не получалось.[/quote:a0ac5a88fb]Даже думать не буду откуда взялись .DATA[5] и .DATA[6]. Для [b:a0ac5a88fb]PIDE[/b:a0ac5a88fb] все переменные имеют [i:a0ac5a88fb]правильные[/i:a0ac5a88fb] имена и комментарии, для PID - хуже.
[quote:a0ac5a88fb="SergG"]А если бы еще можно было найти структурную схему, где расписаны все переменные.[/quote:a0ac5a88fb]Help и документацию смотрел?
[quote:a0ac5a88fb="SergG"]Но это похоже несбыточная мечта.[/quote:a0ac5a88fb]Бойся, мечты могут сбыться: [url=http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm003_-en-p.pdf]PID[/url], [url=http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm006_-en-p.pdf]PIDE[/url].
Еще много полезного в [url=https://rockwellautomation.custhelp.com/]KB[/url].
Повторю - [url=http://search.rockwellautomation.com/search?site=sample_code&client=samplecode&output=xml_no_dtd&proxystylesheet=samplecode]примеры от Rockwell.[/url]
|
Долго пришлось искать:
[URL=http://piccy.info/][img:f3b5c49cbf]http://i.piccy.info/i9/fde256e44063ab165ec421a2fa2b01d2/1425723626/3279/848090/S.gif[/img:f3b5c49cbf][/URL][URL=http://i.piccy.info/a3c/2015-03-07-10-20/i9-7844836/184x178-r][img:f3b5c49cbf]http://i.piccy.info/a3/2015-03-07-10-20/i9-7844836/184x178-r/i.gif[/img:f3b5c49cbf][/URL]
Вызов[code:1:f3b5c49cbf]Jsr(Entalpy, 2, Water_Hot.Tempr, Water_Hot.Press, Water_Hot.Entalpy);
Jsr(Entalpy, 2, Water_Cool.Tempr, Water_Cool.Press, Water_Cool.Entalpy);
[/code:1:f3b5c49cbf]
[code:1:f3b5c49cbf]// энтальпия кДж/кг
Sbr(T,P); // T - град.С; P - МПа
H := 7809.096*T - 13868.72.....
Ret(H);
[/code:1:f3b5c49cbf]
[url=http://search.rockwellautomation.com/search?site=sample_code&client=samplecode&output=xml_no_dtd&proxystylesheet=samplecode]Примеры от Rockwell.[/url]
|
[quote:5e4152ae34="oldDad"][quote:5e4152ae34="Ingener"]Добрый день! Подскажите где взять firmware На модуль MVI56E-MNETC. На сайте prosoft нет.[/quote:5e4152ae34]
Для какой цели Вам firmware? В чем, собственно, заключается проблема?[/quote:5e4152ae34]
Имею в наличие модуль MVI56E-MNET. Его можно (уже пробовал) перепрошить на модуль MNETC/CR для нескольких клиентов multi client TCP/IP. Для оптимизации быстродействия системы.
|
[quote:5070eb28cc="mak"]System Platform или Intouch Stand Alone? В случае с системной платформой, нужно делать reconnect DA-объекта- это как дополнительная информация, м.б. пригодится.
[quote:5070eb28cc]Problem
You are using RSLinx Single Node or OEM with Wonderware products, and when Wonderware or the PC starts up, you see a message titled,
Operation Not Supported by RSLinx Single Node (OEM)
containing the following text:
Operation Not Supported by RSLinx Single Node (OEM). RSLinx Single Node (OEM)
supports all DDE formats except FastDDE. RSLinx Single Node (OEM) does not
support 3rd party client applications, or more than one DDE/OPC Topic
active at a time.
Environment
RSLinx Single Node
RSLinx OEM
Cause
By default, Wonderware products use the Wonderware proprietary FastDDE communication method to DDE servers such as RSLinx. RSLinx will sense that Wonderware is a FastDDE client, and display the informational window to indicate that it cannot support this type of operation. FastDDE is only supported by RSLinx Professional and Gateway; RSLinx Single Node and OEM do not support FastDDE.
Solution
The Wonderware product will still work with RSLinx Single Node or OEM; it will connect using a standard DDE connection. However, the data transfer will be slower with the standard DDE protocol, since it uses one packet per item, where FastDDE (and Rockwell Automation's similar AdvanceDDE protocol) is an optimized DDE protocol with multiple items per packet.
To get FastDDE support, upgrade to RSLinx Professional or Gateway, which support FastDDE. See AID9344 - RSLinx Version and Features Matrix for more information on features supported by various versions of RSLinx.
Alternately, you could use RSLinx Single Node or OEM with Wonderware's OPCLink I/O server, which would connect to RSLinx Single Node or OEM using OPC.[/quote:5070eb28cc]
Проверяйте настройки DDE- c FastDDE работать не будет, а может вы вообще, в случае Getaway, по OPC данные забирали?
К тому же от SuitLink можно и отказаться.[/quote:5070eb28cc]
Приложение StandAlone. Да, забираю по OPC. В Интаче передача настроена на SuiteLink
|
System Platform или Intouch Stand Alone? В случае с системной платформой, нужно делать reconnect DA-объекта- это как дополнительная информация, м.б. пригодится.
[quote:900cb092b2]Problem
You are using RSLinx Single Node or OEM with Wonderware products, and when Wonderware or the PC starts up, you see a message titled,
Operation Not Supported by RSLinx Single Node (OEM)
containing the following text:
Operation Not Supported by RSLinx Single Node (OEM). RSLinx Single Node (OEM)
supports all DDE formats except FastDDE. RSLinx Single Node (OEM) does not
support 3rd party client applications, or more than one DDE/OPC Topic
active at a time.
Environment
RSLinx Single Node
RSLinx OEM
Cause
By default, Wonderware products use the Wonderware proprietary FastDDE communication method to DDE servers such as RSLinx. RSLinx will sense that Wonderware is a FastDDE client, and display the informational window to indicate that it cannot support this type of operation. FastDDE is only supported by RSLinx Professional and Gateway; RSLinx Single Node and OEM do not support FastDDE.
Solution
The Wonderware product will still work with RSLinx Single Node or OEM; it will connect using a standard DDE connection. However, the data transfer will be slower with the standard DDE protocol, since it uses one packet per item, where FastDDE (and Rockwell Automation's similar AdvanceDDE protocol) is an optimized DDE protocol with multiple items per packet.
To get FastDDE support, upgrade to RSLinx Professional or Gateway, which support FastDDE. See AID9344 - RSLinx Version and Features Matrix for more information on features supported by various versions of RSLinx.
Alternately, you could use RSLinx Single Node or OEM with Wonderware's OPCLink I/O server, which would connect to RSLinx Single Node or OEM using OPC.[/quote:900cb092b2]
Проверяйте настройки DDE- c FastDDE работать не будет, а может вы вообще, в случае Getaway, по OPC данные забирали?
К тому же от SuitLink можно и отказаться.
|
Предыдущие результаты
Ещё результаты |
|
| |
|