User Manual

Interactive display
12/06 AWB2724-1584GB
78
Relationship between DISP_DisplayPage.xEnable/
xEnableInput and DISP_ElementDescription.xInputEnable
for the value entry
Value entry procedure
X Set the following in the program:
X Press the ALT button on the display.
The cursor appears on the first element “aElementDescription[1]”
for which its xInputEnable is set to TRUE.
X Press the OK button.
The value is presented in the basic form of the data type, e.g. TYPE
UINT : 00000)
X Use the cursor buttons to change the value:
Use the > or < button to select the position of the value.
Press the
Ú Í button to change the value
X Confirm the entry with the OK button.
The cursor jumps to the next entry option, e.g. the second element.
Press the ALT button to return to Entry/output mode.
General programming procedure
Declaration of the (display) variables to display
entry in the list “Global_Variables_Display” a figure 90
•Program creation
3 programs (for each example) are created:
Start program: generation of a start pulse (cycle 1)
PLC_PRG: User program with call of the program
“Visualisation”
Visualisation: Program for presenting variables on the display
Structure of the program “Visualisation”
•In Cycle 1:
Define number of display variables -> Function
Disp_CreateVariableList (only if more than 50 display
variables are required!)
Registering of display variables -> Function
Disp_RegisterVariable (general execution)
In the subsequent cycle (depending on the application):
Clear display -> Function Disp_ClearScreen
Backlight of local display -> Function Disp_SetBacklight
Set cursor -> Function Disp_SetCursor
Define the contrast of the local display-> Function
Disp_SetContrast
Define properties of the variables such as position->
FB Disp_DisplayElement or FB Disp_DisplayPage
All cycles:
Start the display -> Start the FB Disp_DisplayElement or FB
Disp_DisplayPage
Activate the display-> Start the function Disp_DisplayEnable
Scan the display states -> Function Disp_GetDisplayInfo
Figure: 88: Activate display/value entry
Disp_DisplayPage.xEnable = TRUE (Display of
values/modifications
visible)
Disp_DisplayPage.xEnableInput = TRUE (Entry enabled)