Complete the code to start the on-delay timer when the input is true.
TON_Timer.IN := [1]The timer input (IN) must be set to True to start the on-delay timer.
Complete the code to reset the timer when the reset signal is active.
IF Reset_Signal = [1] THEN TON_Timer.IN := False; END_IF;
The timer should be reset when the reset signal is True.
Fix the error in the timer elapsed time comparison.
IF TON_Timer.ET [1] TON_Timer.PT THEN Output := True; END_IF;
The timer output activates when elapsed time (ET) is greater than or equal to preset time (PT).
Fill both blanks to create a dictionary comprehension that maps timer names to their elapsed times if the timer is active.
{timer_name: timer.[1] for timer_name, timer in timers.items() if timer.[2]The dictionary maps timer names to their elapsed time (ET) only if the timer input (IN) is active.
Fill all three blanks to create a dictionary comprehension that maps timer names in uppercase to their elapsed times if the timer output is true.
{ [1]: timer.[2] for timer_name, timer in timers.items() if timer.[3] }The dictionary maps timer names in uppercase to elapsed time (ET) only if the timer output (Q) is true.
