Line 22: |
Line 22: |
| ==Custom Scenarios functionality configuration== | | ==Custom Scenarios functionality configuration== |
| | | |
− | New configurable parameters were added under “Ignition Settings” (Figure 2):
| + | The **Custom Scenarios** functionality allows users to configure up to three independent scenarios, each comprising up to three triggers. These triggers utilize data from I/O elements, enabling flexible and autonomous control over the device’s digital outputs (DOUT). |
| | | |
− | • Smart Ignition Enable/Disable – To enable functionality. Parameter is able to be configured if “Ignition Source” has “Power Voltage” configured.
| + | === Configurable Parameters === |
| + | Each scenario can be configured using the following parameters: |
| | | |
− | • Smart Ignition Delta (mV) – How much external voltage must change to detect ignition ON or OFF event.
| + | * **Output Control**: |
| + | - Specifies which DOUT (DOUT1, DOUT2, or DOUT3) the scenario controls. |
| + | - Options: |
| + | * 0 – None |
| + | * 1 – DOUT1 |
| + | * 2 – DOUT2 |
| + | * 3 – DOUT3 |
| + | |
| + | * **Priority**: |
| + | - Determines the scenario's priority when multiple scenarios control the same DOUT. |
| + | - Options: |
| + | * 0 – None |
| + | * 1 – Low |
| + | * 2 – High |
| + | * 3 – Panic |
| + | |
| + | * **Trigger Sources (#1, #2, #3)**: |
| + | - Define the I/O sources to be monitored. Examples include ignition status, fuel level, RPM, or temperature readings. |
| + | - Source #1 is mandatory and cannot be disabled, while #2 and #3 can be ignored if unnecessary. |
| + | |
| + | * **Operand**: |
| + | - Defines the logic for evaluating source values. |
| + | - Options: |
| + | * 0 – On Exit |
| + | * 1 – On Entrance |
| + | * 2 – On Both |
| + | * 3 – On Hysteresis |
| + | * 4 – On Change |
| + | * 5 – On Delta Change |
| + | * 6 – Is (value within range) |
| + | |
| + | * **Threshold Levels**: |
| + | - **Low Level**: Minimum value for trigger activation. |
| + | - **High Level**: Maximum value for trigger activation. |
| + | |
| + | * **Activation Delay Timer**: |
| + | - Specifies the time (in seconds) that a condition must remain true for the trigger to activate. |
| + | - Range: 0 to 65,535 seconds. |
| + | |
| + | * **Logic**: |
| + | - Defines whether all or any triggers must be true for the scenario to activate. |
| + | - Options: |
| + | * 0 – OR (any trigger activates the scenario) |
| + | * 1 – AND (all triggers must be true to activate the scenario) |
| + | |
| + | === Scenario Activation Logic === |
| + | 1. All configured triggers are evaluated every second. |
| + | 2. If all conditions for a scenario are met: |
| + | - The scenario activates. |
| + | - A record is generated (if enabled). |
| + | - The configured DOUT toggles ON or OFF based on the scenario's state. |
| + | 3. Scenarios operate in deep-sleep mode if compatible I/O sources are used. |
| + | |
| + | === DOUT Control Options === |
| + | * **Permanent Output Control**: |
| + | - When enabled, DOUT remains ON as long as conditions are met. |
| + | * **ON/OFF Durations**: |
| + | - If OFF duration > 0, DOUT blinks while the scenario is active. |
| + | - If OFF duration = 0, DOUT stays ON continuously until the scenario deactivates. |
| + | |
| + | === Priority Management === |
| + | Custom Scenarios follow a priority hierarchy: |
| + | * Scenario 1 has the highest priority. |
| + | * Scenario 3 has the lowest priority. |
| + | * If multiple scenarios control the same DOUT, the higher-priority scenario takes precedence. |
| + | |
| + | For detailed examples and configuration steps, refer to the [[Configurator Page]]. |
| + | |
| + | --- |
| + | |
| + | This Wiki section ensures clear formatting, structured details, and alignment with the document content​:contentReference[oaicite:0]{index=0}. |
| | | |
− | • Smart Ignition Duration (s) – Time interval used for comparing current external voltage against historical external voltage configured seconds ago.
| |
− | [[File:Smart ignition.png|thumb|left|alt=|Figure 2. “Smart Ignition” configurable parameters]]
| |
| | | |
| | | |