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] |
(Created page with "<div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Внешний вид |- |colspan="2" align="cente...") |
|||
Line 3: | Line 3: | ||
{|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_2_1_2.png]] | |colspan="2" align="center" style="padding:10px;"|[[Изображение:5_2_1_2.png]] | ||
|- | |- | ||
− | !colspan="2" style="background-color:#AFEEEE;"| | + | !colspan="2" style="background-color:#AFEEEE;"|Symbol |
|- | |- | ||
|colspan="2" align="center"|<nowiki>:=</nowiki> | |colspan="2" align="center"|<nowiki>:=</nowiki> | ||
|- | |- | ||
− | !colspan="2" style="background-color:#AFEEEE;"| | + | !colspan="2" style="background-color:#AFEEEE;"|Group |
|- | |- | ||
− | |colspan="2" align="center"|[[Справочник по встроенным функциональным блокам#Операции установки и копирования значения | | + | |colspan="2" align="center"|[[Справочник по встроенным функциональным блокам#Операции установки и копирования значения | Set and Copy]] |
|- | |- | ||
− | !colspan="2" style="background-color:#AFEEEE;"| | + | !colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]] |
|- | |- | ||
|colspan="2" align="center"|с 1.0 | |colspan="2" align="center"|с 1.0 | ||
Line 27: | Line 27: | ||
<div> | <div> | ||
− | + | Special functional diagram element allows to set networks or register initial values, constant during 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 [[Редактор функциональных диаграмм#Константы|справочника именованных констант]]. | |
</div> | </div> | ||
</div> | </div> | ||
<br clear="left"> | <br clear="left"> | ||
− | == | + | == Features == |
− | + | Prior to CANNY Lab version 1.0, send the constant to the register of the controller was possible only by using function block "Setting", appearing on many early demonstration video CANNY Lab. With the release CANNY Lab ver. 1.0 need for this type of blocks disappeared and the block was abolished. | |
− | == | + | == Examples == |
{| | {| | ||
|[[Изображение:5_2_1_3.png|thumb|Пример 1]] | |[[Изображение:5_2_1_3.png|thumb|Пример 1]] | ||
Line 45: | Line 45: | ||
|} | |} | ||
− | == | + | == See also == |
− | [[ | + | [[Copy]] |
− | [[Справочник по встроенным функциональным блокам | | + | [[Справочник по встроенным функциональным блокам | Built-in Function Blocks]] |
Revision as of 05:25, 18 November 2015
Appearance | |
---|---|
Изображение:5_2_1_2.png | |
Symbol | |
:= | |
Group | |
Set and Copy | |
Version CANNY Lab | |
с 1.0 |
Special functional diagram element allows to set networks or register initial values, constant during 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, send the constant to the register of the controller was possible only by using function block "Setting", appearing on many early demonstration video CANNY Lab. With the release CANNY Lab ver. 1.0 need for this type of blocks disappeared and the block was abolished.
Examples
thumb|Пример 1 | thumb|Пример 2 | thumb|Пример 3 |