Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Timer in Plecs State flow

0 votes
Is there way to implement wait timer in stateflow.
asked Jan 15, 2021 by Samk (16 points)

1 Answer

0 votes

Hi Samk,

It is possible to implement a waiting state using the state machine block. For reference, please look at the application example here, titled "PLECS: Buck Converter with Constant On-Time Control". In this example, the current compensator is implemented using a state machine block, and it uses "timer" events and a "waiting" state. I attached the write-up of this application example to this post. 


answered Jan 15, 2021 by Manu Parimi (363 points)
Thanks Manu Parimi,