6. Moore state machine of the oven controller is presented in Figure 5. Legend and declaration: T1: timer • The notation
Posted: Tue Apr 12, 2022 10:18 am
pseudocode), using the IF-THEN-ELSE
method. To start timers, use exactly same notation as it is used in
the state machine,
i.e. ->T1.IN(t#10s); [6p]
ii) What is the minimum time the state machine can make the path
from state S2 to state
S0 if the safety button STOP was never pressed? [4p
6. Moore state machine of the oven controller is presented in Figure 5. Legend and declaration: T1: timer • The notation ->T1. Start (t#10s) means "start timer T1 for 10 seconds”, and T1.Q is the logic flag of the timer, which becomes true after the timer has expired. Note that the Stop button is normally closed. Wait 12.9 HORN:=FALSE; FAN :=FALSE; COIL =FALSE: Start not Stop Auto Start ->T1.IN (t#10s): HORN:=TRUE; 11.9 Stop Heat COIL:=TRUE; FAN:=TRUE; HORN=FALSE; not Stop ->T2.IN(5min); COIL=FALSE; Figure 5: Moore state machine controller of the oven. i) Implement the state machine in Structured Text (or pseudocode), using the IF-THEN-ELSE method. To start timers, use exactly same notation as it is used in the state machine, i.e. ->T1.IN(t#10s); (6p) ii) What is the minimum time the state machine can make the path from state S2 to state so if the safety button STOP was never pressed? 4p)