Interactive display
10/10 MN05003003Z-EN
80
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”
• 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 93: Activate display/value entry
Disp_DisplayPage.xEnable = TRUE
(Display of
values/modifications
visible)
Disp_DisplayPage.xEnableInput = TRUE (Entry enabled)
Summary of Contents for easyControl EC4-200
Page 4: ...II...
Page 10: ...10 10 MN05003003Z EN 6...
Page 14: ...10 10 MN05003003Z EN 10...
Page 22: ...10 10 MN05003003Z EN 18...
Page 38: ...10 10 MN05003003Z EN 34...
Page 62: ...10 10 MN05003003Z EN 58...
Page 78: ...10 10 MN05003003Z EN 74...
Page 96: ...10 10 MN05003003Z EN 92...