This documentation is out of date.

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

Difference between revisions of "Constant"

From CANNY Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
Line 5: Line 5:
 
!colspan="2" style="background-color:#AFEEEE;"|Appearance
 
!colspan="2" style="background-color:#AFEEEE;"|Appearance
 
|-
 
|-
|colspan="2" align="center" style="padding:10px;"|[[Изображение:5_2_1_2.png]]
+
|colspan="2" align="center" style="padding:10px;"|[[File:5_2_1_2.png]]
 
|-
 
|-
 
!colspan="2" style="background-color:#AFEEEE;"|Symbol
 
!colspan="2" style="background-color:#AFEEEE;"|Symbol
Line 23: Line 23:
 
<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_2_1_1.png|left|Иконка]]
+
[[File:5_2_1_1.png|left|Icon]]
 
</div>
 
</div>
  
Line 40: Line 40:
 
== Examples ==
 
== Examples ==
 
{|
 
{|
|[[Изображение:5_2_1_3.png|thumb|Пример 1]]
+
|[[File:5_2_1_3.png|thumb|Example 1]]
|[[Изображение:Const2.png|thumb|Пример 2]]
+
|[[File:Const2.png|thumb|Example 2]]
|[[Изображение:Const3.png|thumb|Пример 3]]
+
|[[File:Const3.png|thumb|Example 3]]
 
|}
 
|}
  

Revision as of 19:46, 20 November 2015

Appearance
5 2 1 2.png
Symbol
:=
Group
Set and Copy
Version CANNY Lab
from 1.0
Icon

Special functional diagram element allows to set networks or register initial constant values for entire operation time of the diagram. Most often, this element is used to configure controllers' hardware resources or functional diagram parameters initiation. Constants can be set manually to use in arithmetic and logical operations in various numbering systems, using constants setting dialogue установки значения константы or using constants set values ​​for some of the registers in the controller, by selecting from constants directory справочника именованных констант.


Features

Prior to CANNY Lab version 1.0, sending constant to the register of the controller was possible only by using functional block "Constant value assignment", appearing on many early demonstration videos of CANNY Lab. With the release of CANNY Lab ver. 1.0 need for this type of blocks disappeared and the block was abolished.

Examples

Example 1
Example 2
Example 3

See also

Copy

Built-in Function Blocks