alanyap
Member
guys, i'm currently i'm working with a small HMI touch screen panels, it is very hard to fit everything into a screen and making a home button where the user need to click back and forth to change the screen, i've came out a new idea to reduce the space consumed by excessive page buttons in stead of using "Next" and "Back" page button.
since i'm very new to TIA portal, is there any way to make these two buttons that can change a variable that selecting the screen by numbers?
I came across this method,
http://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=24372774&caller=view
but in the HMI the button should be set "ActivateScreenByNumber" and the number is fixed.
Is there any other possible way to make this "Next"/"back" Page button work by implementing this idea??
i = o
if (buton1_Pressed){ i + 1;}
if (buton2_Pressed){ i - 1;}
if(i>10){i = 0;}
case i
case 0 : Activate screen 0;
case 1 : Activate screen 1;
Wish to hear from you guys soon~
Thanks
Alan
since i'm very new to TIA portal, is there any way to make these two buttons that can change a variable that selecting the screen by numbers?
I came across this method,
http://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=24372774&caller=view
but in the HMI the button should be set "ActivateScreenByNumber" and the number is fixed.
Is there any other possible way to make this "Next"/"back" Page button work by implementing this idea??
i = o
if (buton1_Pressed){ i + 1;}
if (buton2_Pressed){ i - 1;}
if(i>10){i = 0;}
case i
case 0 : Activate screen 0;
case 1 : Activate screen 1;
Wish to hear from you guys soon~
Thanks
Alan