Constant

Classification Images
Name:
Constant

Symbol:
:=
Appearance:

Appearance.
Group:
Constants and Registers

CannyLab version:
from 1.0
Icon:

Icon.

General description

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 named constants list.

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”, as seen on many early video demonstrations videos of CANNY Lab. With the release of CANNY Lab ver. 1.0, this step has been simplified.

Examples

Example 1:

Named constant.

Example 2:

Attaching a Constant to a Function Block.

Example 3:

Attaching a Constant to Multiple Function Blocks.

SEE ALSO