This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "Constant"
[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;"|[[ | + | |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;"> | ||
− | [[ | + | [[File:5_2_1_1.png|left|Icon]] |
</div> | </div> | ||
Line 40: | Line 40: | ||
== Examples == | == Examples == | ||
{| | {| | ||
− | |[[ | + | |[[File:5_2_1_3.png|thumb|Example 1]] |
− | |[[ | + | |[[File:Const2.png|thumb|Example 2]] |
− | |[[ | + | |[[File:Const3.png|thumb|Example 3]] |
|} | |} | ||
Revision as of 19:46, 20 November 2015
Appearance | |
---|---|
Symbol | |
:= | |
Group | |
Set and Copy | |
Version CANNY Lab | |
from 1.0 |
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.