1/31/2008 10:50 AM | |
Joined: 5/8/2006 Last visit: 10/16/2024 Posts: 1085 Rating:
|
Hi, how do you get the screen number in your project? -via area pointer -via screen name -> No. 14 in the following FAQ: http://support.automation.siemens.com/WW/view/de/26165877 If you know the number of the screen I would use only one skript. Code: : If SmartTags("CurrentScreen") = 801 then SmartTags("AlternateScreenFlag") =1 end If If SmartTags("CurrentScreen") = 802 then SmartTags("AlternateScreenFlag") =2 end If : : You read the current screen number and set the number of the alternative screen to the PLC. Bye |
Follow us on