How the Various Functions Are UsedGT10/GT30
135
7.1 Switching Screens
7.1 Switching Screens
There are three ways to switch screens registered in the GT main unit.
7.1.1 Switching the Screen from the PLC
GT main unit screens can be switched from the PLC ladder program, by writing the
number of the screen to be displayed in hexadecimal format to the initial word of the
word device in the basic communication area.
At the same time that the screen is switched, the GT main unit writes the number of the
screen to which the display was switched in the first to third words of the basic
communication area, in hexadecimal format.
How communication is carried out between the GT main unit and PLC (screen
switching)
GT main unit
PLC
Basic communication area / word device
First word (specifies screen no. from PLC)
Second word (usage prohibited area)
Third word (no. of screen currently displayed)
Internal PLC device
Ongoing
communication
How screens are switched
GT main unit
PLC
GT main unit
PLC
Screen No. 1
Screen No. 2
When Screen No. 2
is specified by the
PLC
the screen
switches to
No. 2
and the PLC is noti-
fied that the screen
has been switched.
Basic communication area / word device
First word, HEX 2
Second word (usage prohibited area)
Third word, HEX 1
Basic communication area / word device
First word, HEX 2
Second word (usage prohibited area)
Third word, HEX 2
Example of ladder program
Basic screen display program
X0
[F0MV, H2, DT0]
No. of screen
displayed
Address of first word in basic
communication area / worddevice
Condition that
displays screen
When the screen is switched as a means of triggering switch output from the display
unit, the destination for the switch output should be specified in the condition that
displays the screen, indicated in the sample program above.