Using Screen switch function replacement with same screen affects ALC and Tool tip

Using Screen switch function replacement with same screen affects ALC and Tool tip

Hi,

I am using zenon Version 14 and I have two questions regarding the use of the Screen Switch function with replacement of variables and functions.

In my application, I am using the Screen Switch function to open/use the same screen, but with different variables and functions replaced dynamically depending on the selected equipment/bay.

I am facing the following two issues:

1. Tooltip behavior with Screen Switch replacement

When I use the Screen Switch function with replacement on a screen element, the screen itself remains the same, but the variables/functions assigned to the screen elements are replaced dynamically.

In this scenario, how can I make the Tooltip function work correctly?

For example, if a screen element displays a different variable after the Screen Switch replacement, I would like the tooltip to also reflect the corresponding information for the replaced variable.

Could you please advise how the tooltip should be configured to work correctly with Screen Switch replacement?

2. ALC / Links – Color duplication between screens

I am also facing an issue with ALC using Links when using the same Screen Switch replacement concept.

If a color/status is reflected on an element in one screen, the same color appears on the corresponding elements in all other screens where I have used the Screen Switch function with replacement.

Since the screen is reused and only the variables/functions are being replaced, it appears that the color/status information is being shared or duplicated between the screen instances.

Could you please clarify:

  • Is this expected behavior when using Screen Switch with replacement?
  • How can I configure the screen so that the ALC/Link color is evaluated independently for each replaced variable/function?
  • Is there a recommended configuration or alternative approach to avoid this color duplication?

I would appreciate it if you could provide the recommended configuration/procedure for both cases.