One of our client is using WinCC OA and are facing issues with some logics. I am trying to explain the configuration and issue below.
The installed configuration is redundant server with one OWS (4 screen in multiscreen configuration).
Customer is having many MOV (Motorised operated valves in their plant). If operator clicks on any of the MOV a MOV Pop Up is opened with various information and click button for "Open" & "Close". After click on "Open" / "Click" button another confirmation window is open and after confirmation by clicking the "yes" button operation is executed through PLC.
In normal case when sequence is followed correctly plant does not have any problem.
Now consider a situation which is a real life issue operator faced.
Operator clicked on MOV say MOV "A" and after that click on "Open" button. Once then confirmation window was opened, he forget to click on "yes" button in MONITOR 1(Multiscreen configuration).
Now he moves on and click another MOV and open another instance of MOV Pop Up with say MOV "B" in MONITOR 2. Further Operator clicks on "Open" button and confirm by clicking on "Yes" button.
Issue here is that by confirmation command both the valves open from both the MONITOR 1 & MONITOR 2. We have checked all codes and working fine.
Below is the attached screen shots of various codes.
Anybody can help with the issue that we are facing.
Valve Popup Issue in Multi Screen
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: Valve Popup Issue in Multi Screen
Hi,
I cannot see any attachment but I guess you are using childpanelreturn function. Thus when opening 2 of them, after closing any, the return value is probably sent to both calling panels...
3 solutions:
- make popup modal, thus you prevent double opening
- check already open popup to have protection mechanism
- use an "id" in the return value to ensure that the good one is processed.
BR
Alex
I cannot see any attachment but I guess you are using childpanelreturn function. Thus when opening 2 of them, after closing any, the return value is probably sent to both calling panels...
3 solutions:
- make popup modal, thus you prevent double opening
- check already open popup to have protection mechanism
- use an "id" in the return value to ensure that the good one is processed.
BR
Alex
- ramprasadh21999
- Posts:6
- Joined: Mon May 28, 2018 12:52 pm
Re: Valve Popup Issue in Multi Screen
We are facing this issue only when it is opened in Multiscreen mode.Please find the attached screenshots.Is this the bug in Multiscreen configuration??Please help us to solve the issue https://www.winccoa.com/fileadmin/image ... s/Bug.docx
- Attachments
-
- Bug.docx
- (482.73 KiB) Downloaded 197 times
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: Valve Popup Issue in Multi Screen
Hi,
This is exactly what I described above...
Multi monitor has nothing to do here, only the use of "childPanelOnReturn", because all of this functions in the same UI are using same DP for return value.
Any of my solution would work here. Easiest fix is to replace your childPanelOnReturn by ChildPanelOnModalReturn
This is exactly what I described above...
Multi monitor has nothing to do here, only the use of "childPanelOnReturn", because all of this functions in the same UI are using same DP for return value.
Any of my solution would work here. Easiest fix is to replace your childPanelOnReturn by ChildPanelOnModalReturn
- ramprasadh21999
- Posts:6
- Joined: Mon May 28, 2018 12:52 pm
Re: Valve Popup Issue in Multi Screen
Thanks for your reply.It really helped a lot.When we try to close the face-plate ,its closing in different monitors(4 Monitors). For Example when we open MOV1 faceplate in Monitor 01 and MOV2 faceplate in Monitor 2, By closing the MOV2 faceplate its closing the MOV1 faceplate and MOV2 Faceplate remains open.
FYI:For closing we are using PanelOff function.Kindly can you please help us to resolve this issue.
FYI:For closing we are using PanelOff function.Kindly can you please help us to resolve this issue.
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Valve Popup Issue in Multi Screen
Please check if you are using unique names for the parameter "PanelName" when opening the child panels.
E.g. the syntax for ChildPanelOn() is
ChildPanelOn(string FileName, string PanelName, dyn_string Parameter, int x, int y);
The second parameter must be a unique name.
Best Regards
Leopold Knipp
Senior Support Specialist
E.g. the syntax for ChildPanelOn() is
ChildPanelOn(string FileName, string PanelName, dyn_string Parameter, int x, int y);
The second parameter must be a unique name.
Best Regards
Leopold Knipp
Senior Support Specialist
- ramprasadh21999
- Posts:6
- Joined: Mon May 28, 2018 12:52 pm
Re: Valve Popup Issue in Multi Screen
As attached in the document we are using ChildPanelOncentral for opening the popup.Rightnow the PanelName is unique for each valve by $valve name.Whether by replacing ChildPanelOnCentral to ChildPanelOn will solve the issue of closing the valve.Thanks for your support.
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Valve Popup Issue in Multi Screen
ChildPanelOn() was just an example for all the functions which are used to open a child panel.
The information that the panel must be unique applies to all ChildPanelOn* functions.
If the same panel is opened in 2 modules and you are using only $valve as panel name the name will not be unique.
Best Regards
Leopold Knipp
Senior Support Specialist
The information that the panel must be unique applies to all ChildPanelOn* functions.
If the same panel is opened in 2 modules and you are using only $valve as panel name the name will not be unique.
Best Regards
Leopold Knipp
Senior Support Specialist