# Mode controller

Output operation_mode

Logic block to control state of the operation mode

Mode controller
S

# Inputs

IDAbbrevNameTypeDefaultDescription
stateSStateBOOLEANfalseState of the operation mode

# Configuration

IDNameTypeDefaultUnitDescription
operation_modeOperation modeOPERATION_MODE0Chosen 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)
Logic block to control state of the operation mode