IO Module Configuration¶
Depending on the Proemion device, you can configure the behavior of several Analog Input and Digital Output signals.
The actual number of channels varies depending on the device variant.
Add IO Module Configuration to Your Project¶
- Right-click the root entry of the Object Dictionary tree.
- Select New Object Dictionary Group > IO Module Configuration from the context menu.
After this selection, the IO Module Configuration group and all available Analog Input and/or Digital Output entries are added to the Object Dictionary tree.
All entries supported by the device variant are added initially.
Configuration is performed through the IO Module Configuration window.
IO Module Configuration Window¶
Description¶
Displays information about the currently selected IO channel.
| Field | Description |
|---|---|
| Channel Type | Shows whether the selected channel is an Analog Input (Voltage) or a Digital Output (ON/OFF). A brief description is displayed on the right side. |
| Channel Identification | Displays the channel type along with its channel number. |
| Channel Comment | A user-editable field for entering a custom description for the selected IO. This can document the intended role or usage of the channel in your configuration. |
Channel Configuration¶
By default, each channel is inactive.
Depending on the channel type, you can activate the channel and configure its behavior.
Analog Input¶
| Field | Description |
|---|---|
| Link to Process Destination Variable | Select a volatile variable where the actual value of the Analog Input will be stored. For more information, refer to Variable Links. |
| Decimal Places | If the Process Destination Variable is non-float (e.g., a U8 integer), specify how many decimal places to keep. The value will be mapped (as an integer) to the Process Destination Variable. |
| Minimum Value Change to be Shown | Defines the minimum change in the analog value required for it to be stored. |
| Action on HW Error of the Input Channel | If the IO hardware is damaged or not externally powered, a pre-defined value can be written to the Process Destination Variable to indicate that a hardware error has occurred. |
| Link to the Field Destination Variable | Optionally stores the raw, unscaled value of the analog input into a variable of type R32. This represents the 1:1 value received by the hardware (e.g. volts, milliamps, or ohms, depending on the channel type). Enable Use a Field Value Link to activate this option and select the destination variable. |
Filtering of Input Values: a Filter Constant can be used to attenuate rapid changes in the input value.
- A Filter Constant of 1 disables filtering.
- Filtering is useful for inputs that may have sudden or noisy changes.
Channel Scaling¶
Defines how the raw analog input value is transformed before being written to the Process Destination Variable. Three options are available:
No Linearisation: No scaling is applied. The raw input value is written directly to the Process Destination Variable.
Linear Scaling: Use when the relationship between the input and output value is linear. Configure: - Slope: Multiplier applied to the input value. - Offset: Value added after the slope is applied.
Non-linear Scaling: Use when the relationship between the input and output value follows a curve. Pre-programmed tables are available for common sensor types (e.g. PT100, PT500, PT1000).
Select Customized to define your own interpolation table: 1. Set the number of interval points (including start and end points). 2. Define the start and end of range values and their unit label. 3. Set the under range and over range values. 4. Fill in the interpolation points. 5. Save. Delta values are calculated automatically.
Digital Output¶
| Field | Description |
|---|---|
| Link to the Source Value | Selects the variable that controls the digital output. Link to an Interface Variable or Device Variable. For more information, refer to Variable Links. |
| Bit within Data Type | Specifies which bit of the selected source variable is used to drive the digital output. |
Behavior on Device Software Status Change specifies the output behavior when the device software status changes:
- Leave the output unchanged
- Set the output to HIGH
- Set the output to LOW