Eaton Logo

How can I can create a retentive timer in Codesys 3?

There are 2 ways to create this.

1) when you use a timer, Codesys always asks the name of the time.  In that declaration window, the timer can be declared as retain.

 

2) The S_TimeRising function block in  E23_XS40MoellerFBAll library can be used.