Command ‘Interface Editor’¶
Symbol: , Shortcut:
Alt
+ F6
Function: The command opens or closes the tab Interface Editor above the visualization editor.
Call: Menu
. Alternatively by clicking on the small down arrow at the top of the visualization editor.Tab ‘Interface Editor’
Symbol:
Syntax:
<Variablentyp>
{attribute '<Attributname>' [:= '<Ausdruck>']}
<Bezeichner> :<Datentyp>;
END_VAR
The tab contains an editor for the declaration of interface variables. The editor behaves in a similar way to the declaration editor of a function block.
Variable Types
Applies to interfaces of visualizations or dialogs
![]() VAR_IN_OUT |
Please note: In the case of dialogs the data are only written back when the dialog is closed. Hint: you are urgently recommended to use these variable types so that the return of values is possible. In addition, no data need to be copied. |
![]() VAR_IN_OUT with attribute VAR_IN_OUT_AS_POINTER |
When transferring a pointer to a data object. As opposed to the variable type Please note: use this interface variable type only with a dialog. |
![]() VAR_INPUT |
When transferring data that are only read Please note:
|
![]() VAR_INPUT with attribute parameterstringof |
When transferring an interface variable (data type STRING ) for the instance name of the transfer parameter specified in the attribute. |
See also
- Declaring variables: Declaring Variables
- Declaration editor: Declaration Editor
- Calling Visualization with Interface
- Call dialog with interfaces
- <no title>
- Attribute ‘VAR_IN_OUT_AS_POINTER’