Popups in Tia acting crazy

userxyz

Member
Join Date
May 2002
Location
any
Posts
2,768
Hi,

I made popups triggered on Tags that are cyclyc continous.

When 2 popup bits are setted at the same time the popups blink from one to the other... very anoying... how can this be solved very easely ?

Thanks,
Combo

[CODE ]Sub POPUPS()
If SmartTags("DB1600 POPUP FAULT_1") Then
ShowPopupScreen "Pop-up 1 Fail", 0, 0, hmiOn,hmiAnimationOff, hmiMedium
ElseIf Not SmartTags("DB1600 POPUP FAULT_1") Then
ShowPopupScreen "Pop-up 1 Fail", 8, 84, hmiOff,hmiAnimationOff, hmiMedium
End If

If SmartTags("DB1600 POPUP FAULT_2") Then
ShowPopupScreen "Pop-up 2 Fail", 100, 100, hmiOn,hmiAnimationOff, hmiMedium
ElseIf Not SmartTags("DB1600 POPUP FAULT_2") Then
ShowPopupScreen "Pop-up 2 Fail", 8, 84, hmiOff,hmiAnimationOff, hmiMedium
End If

If SmartTags("DB1600 POPUP FAULT_3") Then
ShowPopupScreen "Pop-up 3 Fail", 200, 200, hmiOn,hmiAnimationOff, hmiMedium
ElseIf Not SmartTags("DB1600 POPUP FAULT_3") Then
ShowPopupScreen "Pop-up 3 Fail", 8, 84, hmiOff,hmiAnimationOff, hmiMedium
End If

If SmartTags("DB1600 POPUP FAULT_4") Then
ShowPopupScreen "Pop-up 4 Fail", 300, 300, hmiOn,hmiAnimationOff, hmiMedium
ElseIf Not SmartTags("DB1600 POPUP FAULT_4") Then
ShowPopupScreen "Pop-up 4 Fail", 8, 84, hmiOff,hmiAnimationOff, hmiMedium
End If
[/CODE]
 
try something like this, don't have TIA on this machine, but you'll get the point.

If (SmartTags("DB1600 POPUP FAULT_1") AND (newtag = 0)) Then
ShowPopupScreen "Pop-up 1 Fail", 0, 0, hmiOn,hmiAnimationOff, hmiMedium
newtag = 1
ElseIf Not SmartTags("DB1600 POPUP FAULT_1") Then
ShowPopupScreen "Pop-up 1 Fail", 8, 84, hmiOff,hmiAnimationOff, hmiMedium
newtag = 0
End If

keeps the popup from being re-called until the DB1600 tag goes low again.
 
Testing on a TP1200

Hi,

I'm testing this in simulation with a TP1200 and 1500 CPU, but now it doesn't even work o_O

I made the clock tag with cyclic continous, I made the trigger bits with cyclic continous. I did everything the same like my other project and the popups are not showed...

Anyone who has good experience with these popup screens ?

Kind regards,
Combo
 
Hi

Hi
Thanks for your reply,
I tried this, but when I do this and for example alarm 11, popup is there, then alarm 12, popup is there, the first one is gone... ? Alarm 12 to false and alarm 11 still 1, no popup from 11 anymore ?

So this is not the solution... When more then one popup is triggered in the PLC, then we experience weird bahaviour in the panel.

Maybe we should program some kinda popup manager in the PLC, but when you think it over, this is crazy, why the pop-up section in the screen management then ?

Regards,
Combo

try something like this, don't have TIA on this machine, but you'll get the point.

If (SmartTags("DB1600 POPUP FAULT_1") AND (newtag = 0)) Then
ShowPopupScreen "Pop-up 1 Fail", 0, 0, hmiOn,hmiAnimationOff, hmiMedium
newtag = 1
ElseIf Not SmartTags("DB1600 POPUP FAULT_1") Then
ShowPopupScreen "Pop-up 1 Fail", 8, 84, hmiOff,hmiAnimationOff, hmiMedium
newtag = 0
End If

keeps the popup from being re-called until the DB1600 tag goes low again.
 

Similar Topics

Hi guys, its my first time progamming cicode and I need to do popups alarms, there are several digital alarms and in their rising edge transition...
Replies
0
Views
503
I'm using the show symbol animation to open the pop-up and then the show content function to switch industrial graphics into the same window...
Replies
1
Views
1,930
I have two computers in two different locations running the same Wonderware 11.0 program. The problem I am having is certain popup windows on the...
Replies
6
Views
3,616
FT View SE Version= 7.00.00 FT View Services Platform = 2.60.00 Redundant network Server 1 & 2 OS = Windows Server 2008 R2, 64 bit Workstation OS...
Replies
13
Views
9,862
Scenario: I have a set of tags I would like to edit with a modal popup window. I want the user to only enter a SP within a certain range of it's...
Replies
3
Views
1,640
Back
Top Bottom