<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def command_max_delay(self, event=None):
 """ CPU burst max running time - self.runtime_cfg.max_delay """

        try:
            max_delay = self.max_delay_var.get()
        except ValueError:
            max_delay = self.runtime_cfg.max_delay

        if max_delay < 0:
            max_delay = self.runtime_cfg.max_delay

        if max_delay > 0.1:
            max_delay = self.runtime_cfg.max_delay

        self.runtime_cfg.max_delay = max_delay
        self.max_delay_var.set(self.runtime_cfg.max_delay)