This documentation is out of date.

The new version of the documentation is here: https://cannylogic.com/docs

Delayed turning OFF

From CANNY Wiki
Revision as of 19:43, 13 December 2016 by CANNY (Talk | contribs) (Features)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to: navigation, search
Appearance
5 8 2 2.png
Symbol
DLF
Group
Timers and Generators
Inputs
Input: Integer
Delay: Integer
Outputs
Output: Integer
Version CANNY Lab
from 0.6b
Icon

After changing the input value to zero, within a predetermined time keeps the output value equal to last non-zero input value.

If holding the "input" value not equal to zero, copies it to the output. When changing the input values to zero, the output value does not change, and starts time countdown. By holding the input value to zero for a time more than a predetermined by input "Delay"in ms, sets output value to zero. When the input value changes to non-zero, the clock is reset.


Features

When working with CANNY 7, it is a good practice to use the time intervals greater than 5-10 ms.

When specifying temporal values on the diagram, it is necessary to take into account the duration of the diagram execution cycle, which depends on the model of the controller, the size of the chart, controllers' operation mode, controller periphery. It may be varied from cycle to cycle within certain limits during operation. Exact execution time for each cycle is available in the register, during controller operation "Last Execution Loop Duration Register".

Time intervals in the diagram should not be specified by value less than the duration of one cycle and will be measured with an uncertainty about the duration of one cycle of a user diagram.

Examples

Т=0мс
Т=1мс
Т=100мс
Т>250мс

See also

Delayed turning ON

PWM Generator

RND Generator

Built-in Function Blocks