10/10 MN05003003Z-EN
Description of important
functions / function blocks
77
Description of important functions / function blocks
FUNCTION Disp_EnableDisplay: BOOL (*Changing Status display <-> Entry/output mode*)
About xDisableESCKey:
Pressing the ESC button (requirement: ESC button must be
enabled) with Entry/output mode active will activate the Status
display. You can disable the ESC button by setting the input
xDisableESCKey to TRUE.
If the “Enable” input is set back to FALSE, the Status display of the
PLC will be displayed again.
FUNCTION Disp_RegisterVariable : BOOL (* Define an IEC variable as display variable *)
50 variables can be used. If you need more, this must be defined
via the “Disp_CreateVariableList” function.
VAR_INPUT
xEnable:
(* FALSE: Status display, TRUE: Entry/output mode *)
xDisableESCKey: (*Enabling of ESC button on local display and MFD-CP4:
FALSE: Enable
TRUE: Button disabled *)
END_VAR
(* Return value: TRUE
*)
VAR_INPUT
sName:
(* Symbolic name of display variable *)
dwAddress: (* Address of associated IEC variable *)
eVarTyp:
(* Data type of the associated IEC variable, see DISP_VARTYP*)
END_VAR
(* Return values:*)
(* TRUE: Display variable successfully registered*)
(* FALSE: Variable list full *)
TYPE DISP_VARTYP :
( DISP_TYP_USINT := 0,
DISP_TYP_UINT,
DISP_TYP_UDINT,
DISP_TYP_SINT,
DISP_TYP_INT,
DISP_TYP_DINT,
DISP_TYP_BYTE,
DISP_TYP_WORD,
DISP_TYP_DWORD,
DISP_TYP_STRING ) := DISP_TYP_UINT;
END_TYPE
Содержание easyControl EC4-200
Страница 4: ...II...
Страница 10: ...10 10 MN05003003Z EN 6...
Страница 14: ...10 10 MN05003003Z EN 10...
Страница 22: ...10 10 MN05003003Z EN 18...
Страница 38: ...10 10 MN05003003Z EN 34...
Страница 62: ...10 10 MN05003003Z EN 58...
Страница 78: ...10 10 MN05003003Z EN 74...
Страница 96: ...10 10 MN05003003Z EN 92...