29.2 Switching Screens Using a Logic Program

Logic Program

In the following example of a Logic program, a trigger sets up a MOVP command to store the screen value in a system variable (#H_ChangeScreenNo).

Function Summary

You can change the screen on the display unit by storing the number of the screen you want to display in the system variable #H_ChangeScreenNo.

  1. When the "Alarm_A" bit turns ON, "3" is stored in #H_ChangeScreenNo.

  2. The display changes to screen number 3.