# Mode controller
Logic block to control state of the operation mode
Mode controller
S
# Inputs
| ID | Abbrev | Name | Type | Default | Description |
|---|---|---|---|---|---|
state | S | State | BOOLEAN | false | State of the operation mode |
# Configuration
| ID | Name | Type | Default | Unit | Description |
|---|---|---|---|---|---|
operation_mode | Operation mode | OPERATION_MODE | 0 | Chosen operation mode to control the state of |
# Source Code
View Volang source
mode = config::get("operation_mode")
state = input::get("state")
operation_mode::set_state(mode, state)
