Logic Equation Timer Variables
A collection of software timer variables are supported for use with logic equations.
Control variables are available with names having the generic form tn_mode_time, depending on how each timer has been configured. For example, if timer #3 is configured to be a retriggerable pulse generator with a period of 2.5 seconds, then the variable t3_retrig_2.5 would appear in the control variable list. You could abbreviate the typed-in name to just t3, but the full mode and time is echoed in each equation so that the exact behavior of the timer variables is clear at a glance.
Timer variables can appear on both the left
and right sides of logic equations. On the right they act as normal Boolean variables having
TRUE/FALSE values that can be used in any logic equation. However, when
they appear on the left, the value being assigned from the right-hand side acts as an input
trigger to the timer. The timer's response to this input can take several forms, depending on
the selected mode.
The following table shows the available modes.
| Mode | Description |
|---|---|
|
Retriggerable Pulse Generator ( |
Generates a Each rising edge continues to retrigger the output pulse, that is, a fresh pulse period is begun each time. For example, if a rising edge were
presented once per second to the timer t0_retrig_1.5, then the timer output would be a steady
|
|
Change-Detecting Pulse Generator ( |
This timer is like the retriggerable timer, except that either input edge causes the period to reset. Use it if you require an output
pulse in response to any change in measured conditions, for example, you could force
|
|
Single Pulse Generator ( |
Generates a pulse similar to
For example, if a rising edge were
presented once per second to the timer t0_single_1.5, then the timer output would be a rectangular wave that
is The active-low application of
|
|
Delay Line Filter/Follower ( |
The output of this timer attempts to follow its input, but with filtering and delay effects added. When a Likewise, a |
|
Decisive-Grant, Indecisive-Wait ( |
The The |
|
Leading Edge Retard ( |
The output of this timer attempts to follow its input, except that rising input edges are delayed by the timer period, whereas falling input edges are passed through immediately. The result is that the leading edges of the input signal are delayed, but the falling edges are not. A |
|
Trailing Edge Extend ( |
This timer is the counterpart to
An Note that the output of an
|
|
Periodic Clock Oscillator ( |
Produces a free-running clock with specified period. The length of the timer's
The |