EasyManua.ls Logo

Moeller EC4-200 - Page 57

Moeller EC4-200
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
05/06 AWB2724-1584GB
EC4-200 specific functions
53
Display contrast data type (ENUM):
GetDisplayinfo:
Display information
This function shows the currently active menu level of the display.
The cursor position and the status of the ESC button are indicated.
Application example with GetDisplayInfo
You can write the following program if the P1 button has to be
suppressed in the Status menu:
Declaration:
Program:
Output Q7 can only be set if the Status menu is not currently
active.
Figure 63: Enum Display-Contrast
Figure 64: GetDisplayInfo function block
Figure 65: ENUM VISULIB_ERROR
GDI:GetDisplayInfo;
IF GDI.byMenueLevel > 0 THEN;
IF P1 = TRUE THEN
Q7: = TRUE;
ELSE
Q7: = FALSE;
END_IF
END_IF

Table of Contents

Related product manuals