# Mode monitor

Input operation_mode

Logic block to monitor state of the operation mode

Mode monitor
S

# Outputs

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 = operation_mode::get_state(mode)
output::set("state", state)
Logic block to monitor state of the operation mode