ROWELL SIEMENS

Thursday, April 2, 2020

How do you configure a screen change via the controller in WinCC (TIA Portal)?

How do you configure a screen change via the controller in WinCC (TIA Portal)?

You have a number of options for configuring a process-controlled screen change in the HMI device via the controller.
There are two recommended options for configuring a screen change on a panel depending on the process sequence:
Using the "Controller Job" area pointer You enable the "Controller Job" area pointer in the connection settings. Controller job 51 performs a screen change. The area pointers are available for HMI Panels and WinCC Runtime Advanced.

  • WinCC (TIA Portal) V14
    More information on this topic is available in the manual "WinCC Advanced V14 - Communication", chapter 1.6.4.1.
    Look there under section "Job mailbox - area pointer". Entry ID: 109747177 
  • WinCC (TIA Portal) V15
    More information on this topic is available in the manual "WinCC Advanced V15 - Communication", chapter 2.19.5.8.
    Entry ID: 109755215 
  • WinCC (TIA Portal) V16
    More information on this topic is available in the manual "WinCC Engineering V16 - Kommunikation", chapter 2.19.5.8.
    Entry ID: 109773787 
Using a trigger tagAlternatively you can configure screen change via a tag in the controller. Proceed as follows.
  1. Create a "Screen number" tag with the data type "Int" in the controller.
  2. Insert this tag as an HMI tag in the operator panel. Set the acquisition mode to "Cyclic continuous".


    Fig. 01
  3. Configure the "Activate Screen By Number" function for the "Value change" event of the tag.
  4. Select the "Screen number" tag.


    Fig. 02
In this example, with the first value change of the controller tag there is a jump to the screen with the number in the "Screen_Nr" tag. If you then do not change the screen and do not assign a new value to the "Screen_Nr" tag, then a further value change of the controller tag cannot trigger another screen change, because the target screen is already being displayed.

































0 comments:

Post a Comment