rev1 ā Dec 2013 www.digitalcomtech.com 32
Examples:
Continuous counter:
Set counter 03 on Timer mode. When the counter's value reaches 5 minutes the C03 signal
should transition to true. The counter shall not recycle its value when reaching the 5
minutes or else we will end up with a periodic C03 signal:
To do this we define a timer with threshold value set to 300 seconds with no delta value:
>SGC03TC00300<
Notice the Recycle Flag set to C so the counter does not resets when reaching the threshold.
Now 5 minutes after entering this command we will have the C03 signal transitioning from
false to true.
Periodic counter:
Use a timer to generate a periodic counter signal having a period of 27 minutes. To do this
we define a timer that recycles whenever the count value reaches the threshold. To show
the use of the delta parameter we are not going to count seconds but minutes:
>SGC07TR0002700060<
Now C07 signal transitions to true every 27 minutes. After all events are evaluated the
signal will transition back to false.