This documentation is out of date.

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

Difference between revisions of "Delayed turning OFF"

From CANNY Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Внешний вид |- |colspan="2" align="cent...")
 
Line 4: Line 4:
 
{|class="cannytable" width="350px"
 
{|class="cannytable" width="350px"
 
|-  
 
|-  
!colspan="2" style="background-color:#AFEEEE;"|Внешний вид
+
!colspan="2" style="background-color:#AFEEEE;"|Appearance
 
|-
 
|-
|colspan="2" align="center" style="padding:10px;"|[[Изображение:5_8_2_2.png]]
+
|colspan="2" align="center" style="padding:10px;"|[[File:5_8_2_2.png]]
 
|-
 
|-
!colspan="2" style="background-color:#AFEEEE;"|Символьное обозначение
+
!colspan="2" style="background-color:#AFEEEE;"|Symbol
 
|-
 
|-
 
|colspan="2" align="center"|DLF
 
|colspan="2" align="center"|DLF
 
|-
 
|-
!colspan="2" style="background-color:#AFEEEE;"|Группа
+
!colspan="2" style="background-color:#AFEEEE;"|Group
 
|-
 
|-
|colspan="2" align="center"|[[Справочник по встроенным функциональным блокам#Таймеры и генераторы | Таймеры и генераторы]]
+
|colspan="2" align="center"|[[Built-in Function Blocks#Timers and Generators | Timers and Generators]]
 
|-
 
|-
!colspan="2" style="background-color:#AFEEEE;"|Входы
+
!colspan="2" style="background-color:#AFEEEE;"|Inputs
 
|-
 
|-
|style="padding-left:1em;"|Вход:
+
|style="padding-left:1em;"|Input:
|style="padding-left:1em;"|[[Язык CFD#Данные|числовой]]
+
|style="padding-left:1em;"|[[CFD Language#Data|Integer]]
 
|-
 
|-
|style="padding-left:1em;"|Задержка:
+
|style="padding-left:1em;"|Delay:
|style="padding-left:1em;"|[[Язык CFD#Данные|числовой]]
+
|style="padding-left:1em;"|[[CFD Language#Data|Integer]]
 
|-
 
|-
!colspan="2" style="background-color:#AFEEEE;"|Выходы
+
!colspan="2" style="background-color:#AFEEEE;"|Outputs
 
|-
 
|-
|style="padding-left:1em;"|Выход:
+
|style="padding-left:1em;"|Output:
|style="padding-left:1em;"|[[Язык CFD#Данные|числовой]]
+
|style="padding-left:1em;"|[[CFD Language#Data|Integer]]
 
|-
 
|-
!colspan="2" style="background-color:#AFEEEE;"|Версия [[CANNY Lab]]
+
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]]
 
|-
 
|-
|colspan="2" align="center"|с 0.6b
+
|colspan="2" align="center"|from 0.6b
 
|}
 
|}
 
</div>
 
</div>
Line 37: Line 37:
 
<div style="min-height:100%;display:block;">
 
<div style="min-height:100%;display:block;">
 
<div style="float:left;width:70px;">
 
<div style="float:left;width:70px;">
[[Изображение:5_8_2_1.png|left|Иконка]]
+
[[File:5_8_2_1.png|left|Icon]]
 
</div>
 
</div>
  
Line 60: Line 60:
 
{|
 
{|
 
|-
 
|-
|[[Изображение:5_8_2_3.png|thumb|Т=0мс]]
+
|[[File:5_8_2_3.png|thumb|Т=0мс]]
 
|
 
|
|[[Изображение:5_8_2_4.png|thumb|Т=1мс]]
+
|[[File:5_8_2_4.png|thumb|Т=1мс]]
 
|-
 
|-
|[[Изображение:5_8_2_5.png|thumb|Т=100мс]]
+
|[[File:5_8_2_5.png|thumb|Т=100мс]]
 
|
 
|
|[[Изображение:5_8_2_6.png|thumb|Т>250мс]]
+
|[[File:5_8_2_6.png|thumb|Т>250мс]]
 
|}
 
|}
  
== Смотри также ==
+
== See also ==
[[Задержка включения]]
+
[[Delayed turning ON]]
  
[[Генератор импульсов]]
+
[[PWM Generator]]
  
[[Генератор псевдослучайных чисел]]
+
[[RND Generator]]
  
[[Справочник по встроенным функциональным блокам | Встроенные функциональные блоки]]
+
[[Built-in_Function_Blocks | Built-in Function Blocks]]

Revision as of 08:41, 26 November 2015

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 "Длительность программного цикла".

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