(1)| 6/3/2014 10:39 PM | |
|
Posts: 8946 Rating:
|
Dont need any script. Flashing and color can easily made dynamic by using the property "animation". |
| 6/6/2014 12:51 AM | |
|
Joined: 7/2/2008 Last visit: 12/21/2025 Posts: 929 Rating:
|
Hellodesmul24, Jurgen is right.allayahassinecan do it without a script.
No, In tag properties you can do plenty of things including setting tag limits and generating alarm messages when tag value violates these limits. Consequently, you can use these limits to animate the IO field. It would have been so easy ifallayahassinewould accept a flashingof all limits. Anyhow, these are my simple steps: 1- Create a process variable tag (PV). 2-Create low limit tag (internal). 3-Createlow low limit tag (internal). 4-CreatePV Tag status/animation (contains the value to control animation). The status tag should have a base (start) value of 30. 5- In PV Tag properties, go in limits and assign low and low low limits. 6- In configuration window of low limit go in events and in deactivate window use system function>calculation>set value to set the status value to 20. 7- In configuration window of low limit go in events and in activate window use system function-calculation-set value to set the status value to 10. 8- In configuration window of low low limit go in events and in activate window use system function-calculation-set value to set the status value to 5. 9- In the IO field of PV go in properties>Animation> and do as in attachment. 10- In the IO field of PV go in properties>Limits> and select the same colors. Now if PV goes below low limit the PV will flash and if PV goes below low low it will be fixed in red. When PV goes above low low it will flash again and when it goes above low limit it will have normal colors again. The steps may look long but it doesn't take more than couple of mins. Maybe you can do it better with different steps but I just wanted to say it's possible without scripts. Best regards, H-H
AttachmentDynamic limits.pdf (245 Downloads) |
This contribution was helpful to
|
|
| 6/6/2014 7:50 AM | |
|
Posts: 8946 Rating:
|
Thank you, H-H, but it is much more easier to do because you do not need analog alarms here, |
| 6/6/2014 4:31 PM | |
|
Posts: 378 Rating:
|
Hello, How about this method, If I were, I prefer this. 1- Create this function script called CHECK_LIMIT: [code]Dim L_STATUS If PV < L_LIMIT And PV > LL_LIMIT Then L_STATUS=1 ElseIf PV > L_LIMIT Then L_STATUS=2 Else L_STATUS=0 End If CHECK_LIMIT=L_STATUS[/code] 2- See the attached picture. [img=400x650] https://www.automation.siemens.com/tf/WW/en/postattachments/download?attachmentId=46439 [/img] Rgs |
Last edited by: desmul24 at: 6/7/2014 9:24 AMLast edited by: desmul24 at: 6/6/2014 4:46 PMLast edited by: desmul24 at: 6/6/2014 4:40 PM |
|
This contribution was helpful to
|
|
Follow us on