3/29/2016 8:46 AM | |
Joined: 3/14/2008 Last visit: 9/24/2025 Posts: 2217 Rating:
|
Hi Berg, One solution you can try (which should work, but did not try this yet with a timerp block) is by using the TIMERP block. You can set the mode according to your desired functionality. When you want to freeze the timer, just make sure you set input "EN" (default invisible) to "0". This means the block is not processed anymore. When setting EN to "1", the timer should run again. |
If I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to
1 thankful Users |
4/4/2016 7:55 AM | |
Joined: 3/14/2008 Last visit: 9/24/2025 Posts: 2217 Rating:
|
Ahh too bad... Then you have to create a SCL code. Something very simple like: If not Freeze.Value then Time := Time + SampleTime; End_if; |
Last edited by: Oreca at: 4/4/2016 8:22:07 AMIf I could help you, you can use the RATE button. Thank you. |
|
Follow us on