Line 24: |
Line 24: |
| Below is a detailed explanation of configurable parameters for each scenario. | | Below is a detailed explanation of configurable parameters for each scenario. |
| | | |
− | {| class="wikitable" style="text-align:left; width:100%;" | + | {| class="wikitable" style="text-align:center; width:100%;" |
− | ! Parameter Name !! Parameter ID !! Value Range !! Default !! Description | + | ! Parameter ID !! Parameter Name !! Value Range !! Default Value !! Description |
| |- | | |- |
− | | Output Control || 19100, 19130, 19160 || 0–3 || 0 || Determines the DOUT controlled by the scenario:
| + | | 19100, 19130, 19160 || Output Control || 0–3 || 0 || Determines which DOUT is controlled: |
| * 0 – None | | * 0 – None |
| * 1 – DOUT1 | | * 1 – DOUT1 |
Line 33: |
Line 33: |
| * 3 – DOUT3 | | * 3 – DOUT3 |
| |- | | |- |
− | | Priority || 19101, 19131, 19161 || 0–3 || 0 || Sets the priority of the scenario:
| + | | 19101, 19131, 19161 || Priority || 0–3 || 0 || Sets the priority level: |
| * 0 – None | | * 0 – None |
| * 1 – Low | | * 1 – Low |
Line 39: |
Line 39: |
| * 3 – Panic | | * 3 – Panic |
| |- | | |- |
− | | Permanent Output Control || 19124, 19154, 19184 || 0–1 || 0 || Enables or disables continuous DOUT control while the scenario conditions are met.
| + | | 19124, 19154, 19184 || Permanent Output Control || 0–1 || 0 || Keeps the DOUT ON while the scenario is active, ignoring ON/OFF durations. |
| |- | | |- |
− | | DOUT ON Duration || 19102, 19132, 19162 || 100–65,000,000 ms || 200 ms || Specifies the ON duration for the DOUT.
| + | | 19102, 19132, 19162 || DOUT ON Duration || 100–65,000,000 ms || 200 ms || Defines the duration DOUT remains ON when activated. |
| |- | | |- |
− | | DOUT OFF Duration || 19103, 19133, 19163 || 0–65,000,000 ms || 200 ms || Specifies the OFF duration for the DOUT. If set to 0, the DOUT remains ON continuously.
| + | | 19103, 19133, 19163 || DOUT OFF Duration || 0–65,000,000 ms || 200 ms || Defines the duration DOUT remains OFF for blinking behavior. |
| |- | | |- |
− | | Source #1, #2, #3 || 19105–19119, 19135–19149, 19165–19179 || IO element IDs || N/A || Defines the I/O source monitored for the trigger. | + | | 19105, 19135, 19165 || Source || I/O Element ID || N/A || Specifies the I/O source to monitor (e.g., fuel level, ignition). |
| |- | | |- |
− | | Operand || 19106–19117, 19136–19147, 19166–19177 || 0–6 || 0 || Defines the logic applied to the source: | + | | 19106, 19136, 19166 || Operand || 0–6 || 0 || Determines the evaluation logic for source values: |
| * 0 – On Exit | | * 0 – On Exit |
| * 1 – On Entrance | | * 1 – On Entrance |
Line 56: |
Line 56: |
| * 6 – Is | | * 6 – Is |
| |- | | |- |
− | | Low Level || 19107, 19137, 19167 || Varies || 0 || Sets the lower threshold for the source trigger.
| + | | 19107, 19137, 19167 || Low Level || Dynamic || 0 || Sets the lower threshold for source trigger activation. |
| |- | | |- |
− | | High Level || 19108, 19138, 19168 || Varies || 0 || Sets the upper threshold for the source trigger.
| + | | 19108, 19138, 19168 || High Level || Dynamic || 0 || Sets the upper threshold for source trigger activation. |
| |- | | |- |
− | | Activation Delay Timer || 19109, 19139, 19169 || 0–65,535 s || 0 || Time in seconds the condition must remain true to activate the trigger.
| + | | 19109, 19139, 19169 || Activation Delay Timer || 0–65,535 s || 0 || Time the condition must be true before the trigger activates. |
| |- | | |- |
− | | Logic || 19115, 19145, 19175 || 0–1 || 1 || Determines trigger evaluation logic:
| + | | 19115, 19145, 19175 || Logic || 0–1 || 1 || Determines how triggers are evaluated: |
| * 0 – OR (any trigger activates the scenario) | | * 0 – OR (any trigger activates the scenario) |
− | * 1 – AND (all triggers must be true to activate the scenario) | + | * 1 – AND (all triggers must be true to activate) |
| |} | | |} |
| | | |
− | === Configuration Process === | + | === Configuration Steps === |
− | 1. **Define Output Control**: | + | 1. **Define Output Control**: |
− | - Choose the DOUT (DOUT1, DOUT2, or DOUT3) to control when the scenario is active. | + | - Select the DOUT to be controlled when the scenario is active. |
− |
| |
| 2. **Set Triggers**: | | 2. **Set Triggers**: |
− | - Configure up to three sources (e.g., ignition, fuel level, RPM). | + | - Configure up to three sources, each with unique thresholds, operands, and delay timers. |
− | - Specify operands for each source to define the evaluation logic (e.g., "On Entrance," "Is"). | + | - Sources must differ for each scenario. |
− | - Adjust low and high threshold levels and set the activation delay timer. | + | 3. **Configure Timing**: |
| + | - Set DOUT ON and OFF durations or enable Permanent Output Control for continuous activation. |
| + | 4. **Save Settings**: |
| + | - Verify the configuration and save. The device evaluates all scenarios every second. |
| | | |
− | 3. **Set Priority**:
| + | === Operational Details === |
− | - Assign a priority level to ensure higher-priority scenarios override lower-priority ones when controlling the same DOUT.
| + | - Scenarios are evaluated every second. When all triggers are true: |
| + | - The scenario activates, toggling the DOUT and optionally creating a record. |
| + | - Deep sleep compatibility: Scenarios operate in low-power modes if sources support it. |
| + | - Priority management ensures higher-priority scenarios override lower-priority ones for DOUT control. |
| | | |
− | 4. **Configure DOUT Timing**:
| + | === Example Applications === |
− | - Define ON and OFF durations for DOUT blinking or continuous operation.
| + | - Activating an alarm if RPM exceeds a threshold while the ignition is on. |
− | - Enable Permanent Output Control if the DOUT should remain ON as long as the scenario is active.
| + | - Triggering a relay when the fuel level drops below a critical point. |
− | | + | - Enabling a buzzer for temperature out-of-range conditions. |
− | 5. **Save and Apply**:
| |
− | - Verify all parameters and save the configuration. Scenarios are checked every second for activation.
| |
− | | |
− | === Logic and Operations === | |
− | - Each scenario operates independently but checks its triggers every second. | |
− | - A scenario activates if its conditions are met, generating a record (if enabled) and toggling the configured DOUT.
| |
− | - Scenarios are compatible with low-power and deep-sleep modes, provided the sources used support these states.
| |
− | | |
− | === Examples of Use ===
| |
− | - **Scenario 1**: Control a relay based on fuel level dropping below a specific threshold. | |
− | - **Scenario 2**: Trigger an alarm when RPM exceeds a set limit and the ignition is on. | |
− | - **Scenario 3**: Enable a buzzer if temperature values from a Bluetooth sensor go out of range.
| |