05/06 AWB2724-1584GB
Display contrast data type (ENUM):
Figure 63: Enum Display-Contrast
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.
Figure 64: GetDisplayInfo function block
Figure 65: ENUM VISULIB_ERROR
Application example with GetDisplayInfo
You can write the following program if the P1 button has to be
suppressed in the Status menu:
Declaration:
GDI:GetDisplayInfo;
Program:
IF GDI.byMenueLevel > 0 THEN;
IF P1 = TRUE THEN
Q7: = TRUE;
ELSE
Q7: = FALSE;
END_IF
END_IF
Output Q7 can only be set if the Status menu is not currently
active.
EC4-200 specific functions
53
Need help?
Do you have a question about the EC4-200 and is the answer not in the manual?