Screen overview
275
1SVC 440 795 M1100
Example program 2 – Different display types with
password request for a screen
The program consists of four screens in which the static text is
displayed in different ways. The fourth screen contains a
password request. The individual screens can be selected with
the cursor buttons
Í and Ú. The screen change was defined
in the button editor (a section “Button editor”, page 317).
The defined password is requested when exiting screen 4. In
this case, this is the number 2 which must be confirmed with
OK. It is not possible to scroll through the screens without
entering the password. You can leave the password request
dialog by pressing ESC, which will cause a return to the
previous screen.
Standard path: C:\Program files\CL-SOFT\Samples\
Program:
StaticText_Prog_02.e60
Screen 1
Screen 1 shows a static text in normal font size.
Screen 2
Screen 2 shows a static text enlarged.
Screen 3
Screen 3 shows three static texts in different font sizes.
Screen 4
Screen 4 shows four static texts arranged vertically.
Example program 3 – Different display types with
screen activation using a counter
The program consists of four screens in which the static text
is displayed in different ways. The individual screens are
activated via the counter C01. This has the value 5 as the
upper switch value SH. The pulse for activating the screens
is supplied by timing relay T01. The possible counter values
are therefore 0 to 5. Counter value 1 activates screen 1,
counter value 2 screen 2 etc. If the upper switch value of the
counter has been reached, timing relay T02 is started which
resets the counter. This therefore produces a continuous
loop. The timing relay T02 causes a reset delay of the
counter.
Four static
texts arranged
one under the
other!!