Interface Variables¶
Interface Variables are data storage containers used internally by your Proemion device.
They are similar to Device Variables, but differ in that they are intended for storing and using data generated or processed by the device.
Common examples include:
- Holding values for calculations
- Linking to dynamic data content
- Acting as the target or source for CAN data transfers
Add an Interface Variable to Your Project¶
- Right-click the root entry of the Object Dictionary tree.
- Select New Object Dictionary Group > Interface Variables from the context menu.
- A dialog appears asking for the number of new entries to create. Click OK.
- A second dialog prompts you to select the memory and data type for the new variable (e.g. U16 non-volatile, S32 volatile).
The new Interface Variable is added to the Object Dictionary tree on the left side of the application.
After adding an Interface Variable, it can be configured through the Interface Variables window.
You may also rename the variable by right-clicking it in the tree and selecting Rename.
Interface Variables Window¶
The Interface Variables window allows you to view and modify the values of each Interface Variable in your project.
Values take effect immediately once written to the device.
| Field | Description |
|---|---|
| Read from Device | Reads the current value of the Interface Variable from the device and updates the displayed value. |
| Bit-Coder | Opens a small wizard dialog that assists with entering bit-coded values. |
| Parameter Value | Shows the currently configured value of the Interface Variable. The value stored on the device may differ until you explicitly read or write it. |
| Use Internal Link | Allows linking this Interface Variable to data sources from other parts of the configuration. |
| Description | Displays a short descriptive text explaining the purpose or usage of the Interface Variable. You can freely modify this content to document its role within your configuration. |
Write to Device writes the configured value to the device.
Note
Values inside the device may differ from the displayed value until this action is performed.
Information on Edit and Information on Value Edit¶
These settings are identical to the Information on Edit and Information on Value Edit sections described in Device Variables, since both variable types share the same edit and value-edit configuration.