Can I switch between HMTL pages with a button on HMI ?

  • Hi evryone,


    I would like to know if it is possible to create a toggle button to change the HMI page (for example: Page 1= Production and Page 2 = Maintenance)

    I would like to know if with a button (like on PLC HMIs I can switch from one page to another with a simple press)


    I made these HMI pages in HMTL with microsoft web 4.

    Should I play with the variable $TX_SCREEN or $TXSCREEN[...] or am I in the wrong place?


    Thanks for your help and sorry for my english,


    MR.

  • AD
    • Helpful

    I used:

    Code
    <object classid="clsid:7106067C-0E45-11D3-81B6-0000E206D650" id="FRIPButtonChange1" style="width: 100px; height: 40px">
                    <param name="Caption" value="PROGRAM" />
                    <param name="FontSize" value="12" />
                    <param name="width" value="100" />
                    <param name="height" value="40" />
                    <param name="TrueFont" value="-1" />
                    <param name="FastLoad" value="-1" />
                    <param name="PageName" value="/fr/program.stm" />
                    <param name="BackColor" value="12632256" />
                </object>
  • I used:

    Code
    <object classid="clsid:7106067C-0E45-11D3-81B6-0000E206D650" id="FRIPButtonChange1" style="width: 100px; height: 40px">
                    <param name="Caption" value="PROGRAM" />
                    <param name="FontSize" value="12" />
                    <param name="width" value="100" />
                    <param name="height" value="40" />
                    <param name="TrueFont" value="-1" />
                    <param name="FastLoad" value="-1" />
                    <param name="PageName" value="/fr/program.stm" />
                    <param name="BackColor" value="12632256" />
                </object>

    Thank you very much for your help it worked!

    For those who had the problem don't forget to replace the name of your program here -> "/fr/name_of_your_program.stm" in order to choose the right HTML page.


    MR

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now