Control of security mode.
To use this function, the device configuration must include the following settings:
Configuration > Security Mode > Use Security Modes.
Function Menu | Block Diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
enable |
bool |
Activate/deactivate security mode |
The logic of the
enable
input depends on the "Activation Type" setting.
Name | Value Type | Description |
---|---|---|
mode |
int32 |
Current operation mode: 0 – observation 1 – security |
error |
int32 |
Error code when switching security mode: 1 – security mode is disabled in the device configuration; 2 – timeout for mode change restriction has not expired; 3 – the setting "do not enter security mode with ignition on" is enabled; 4 – the device is already in this mode; 5 – the setting "do not enter security mode if any security sensor is triggered" is enabled |
Name | Description |
---|---|
Activation Type | Type of mode switching: By level - during each execution, the block sets the operation mode according to the input value; By rising edge - during each execution, the block toggles the operation mode to the opposite if the input state changes from 0 to 1. |