Hi Srinath,
The best way to start learning about the state machine block is following the tutorial here titled "PLECS: Building a Modulator with the Finite State-Machine Block".
There are a couple of demo models that use the state machine block in the demo model library -- "Buck Converter with Constant On-Time Control" and "Z-Source Inverter".
Also, I attached the oven control example that you mentioned here.
Hope this helps.
Regards,
Manu