This documentation is out of date.

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

Difference between revisions of "Input Register"

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;"|Appearance |- |colspan="2" align="center" style="...")
 
(the actual edit this time)
 
(3 intermediate revisions by 3 users not shown)
Line 15: Line 15:
 
|-
 
|-
 
|colspan="2" align="center"|[[Built-in Function Blocks#Constants and Registers | Constants and Registers]]
 
|colspan="2" align="center"|[[Built-in Function Blocks#Constants and Registers | Constants and Registers]]
|-
 
!colspan="2" style="background-color:#AFEEEE;"|Inputs
 
|-
 
|style="padding-left:1em;"|From:
 
|style="padding-left:1em;"|[[CFD Language#Data|Logical]]
 
 
|-
 
|-
 
!colspan="2" style="background-color:#AFEEEE;"|Outputs
 
!colspan="2" style="background-color:#AFEEEE;"|Outputs
 
|-
 
|-
|style="padding-left:1em;"|To:
+
|style="padding-left:1em;"| --
|style="padding-left:1em;"|[[CFD Language#Data|Integer]]
+
|style="padding-left:1em;"|<center>[[CFD Language#Data|Integer]]</center>
 
|-
 
|-
 
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]]
 
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]]
Line 38: Line 33:
  
 
<div>
 
<div>
'''''Элемент функциональной диаграммы, позволяющий получить информацию о состоянии контроллера.
+
Input register is a function diagram element that allows the user to get information about controller's state.
  
Все доступные пользователю из функциональной диаграммы ресурсы контроллера: системные регистры, подсистема ввода-вывода и дополнительные драйверы включенные в состав системного ПО, отображаются на защищенное адресное пространство внутренней памяти контроллера.
+
All the controller resources that can be accessed from the function diagram – system registers, IO subsystem and additional drivers included in the system software – are located within the protected address space of the controller's internal memory.
  
Посредством элемента «Регистр чтения» пользователь имеет возможность извлечь и использовать данные о состоянии контроллера, и информацию полученную контроллером из внешнего мира. Например информацию об электрическом потенциале на каком-либо контакте контроллера, или содержимое пакета данных принятого контроллером по CAN.
+
By using the "Input register" function block the user is able to extract and use controller status data and information received by the controller from the outside world. For example: information about the electric potential at any contact of the controller; the contents of a data packet received over the CAN bus.
  
Подробнее см. документацию к конкретной модели контроллера.'''''
+
Refer to documentation for your specific controller model for more information.
 
</div>
 
</div>
 
</div>
 
</div>
Line 51: Line 46:
 
== Features ==
 
== Features ==
  
'''''Элемент «Регистр чтения» может быть соединен с сетью, непосредственно со входом функционального блока или регистром записи тем самым задавая в них значение, синхронно с изменением значения в соответствующем регистре контроллера.'''''
+
The "Input register" element can be connected to a network, directly to a function block input or directly to a write register, thereby setting them to a value that changes synchronously with value changes in the corresponding register of the controller.
  
 
== Examples ==
 
== Examples ==
Line 59: Line 54:
  
 
== See also ==
 
== See also ==
[[Constant]]
+
[[Copy]]
  
[[Input Register]]
+
[[Constant]]
  
 
[[Output Register]]
 
[[Output Register]]
  
 
[[Built-in_Function_Blocks | Built-in Function Blocks]]
 
[[Built-in_Function_Blocks | Built-in Function Blocks]]

Latest revision as of 14:48, 13 December 2020

Appearance
5 2 3 2.png
Symbol
R-
Group
Constants and Registers
Outputs
--
Integer
Version CANNY Lab
from 1.16
Icon

Input register is a function diagram element that allows the user to get information about controller's state.

All the controller resources that can be accessed from the function diagram – system registers, IO subsystem and additional drivers included in the system software – are located within the protected address space of the controller's internal memory.

By using the "Input register" function block the user is able to extract and use controller status data and information received by the controller from the outside world. For example: information about the electric potential at any contact of the controller; the contents of a data packet received over the CAN bus.

Refer to documentation for your specific controller model for more information.


Features

The "Input register" element can be connected to a network, directly to a function block input or directly to a write register, thereby setting them to a value that changes synchronously with value changes in the corresponding register of the controller.

Examples

Example 1

See also

Copy

Constant

Output Register

Built-in Function Blocks