This documentation is out of date.

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

Difference between revisions of "CANNY Lab Main window"

From CANNY Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Строка состояния)
(Undo revision 1905 by 5.188.210.20 (talk))
 
(22 intermediate revisions by 7 users not shown)
Line 7: Line 7:
 
* main menu;
 
* main menu;
 
* toolbar;
 
* toolbar;
* function blocks panel;
+
* function block panel;
 
* workspace;
 
* workspace;
 
* status bar.
 
* status bar.
Line 17: Line 17:
 
=== Main menu ===
 
=== Main menu ===
  
Menu "File" contains commands to work with CannyLab files.
+
Menu "File" contains commands for working with CannyLab files.
  
 
{|
 
{|
Line 24: Line 24:
 
| 
 
| 
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- create a new functional diagram file;''
+
| ''- create a new function diagram file;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- open existing functional diagram file;''
+
| ''- open an existing function diagram file;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- save current functional diagram file;''
+
| ''- save the current function diagram file;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- save current functional diagram file with a new name;''
+
| ''- save the current function diagram file under a new name;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- save screenshot of the functional diagram in to graphic format png;''
+
| ''- save a screenshot of the function diagram in the PNG graphic format;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
 
| ''- view the current file properties;''
 
| ''- view the current file properties;''
Line 42: Line 42:
  
  
Menu "Edit" contains editor appearance adjustment commands.
+
Menu "Edit" contains the basic editing commands for working with the function diagram editor.
  
 
{|
 
{|
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
|rowspan="9" valign="top" style="padding-top:10px;"|[[File:4_4_1_2.png]]
+
|rowspan="12" valign="top" style="padding-top:10px;"|[[File:4_4_1_2.png]]
 
| 
 
| 
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- undo the last action when working with the diagram;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- redo the last action when working with the diagram;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- cut the selected part of the diagram to the clipboard;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- copy the selected part of the diagram to the clipboard;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- paste a part of the diagram currently contained in the clipboard;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- delete the selected part of the diagram;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- search item by text;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- search next item by text;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- search previous item by text;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- search function block by its ordinal number;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- undo the last action when creating/editing the diagram;''
+
| ''- select of the entire diagram.''
 +
|}
 +
 
 +
 
 +
Menu "View" contains options for customizing the appearance of the toolbar, the function block panel, as well as an option for scaling the workspace.
 +
 
 +
{|
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- return the last action when creating/editing the diagram;''
+
|rowspan="4" valign="top" style="padding-top:10px;"|[[File:4_4_1_13.png]]
 +
| 
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- cut the selection of the diagram to the clipboard;''
+
| ''- scale the workspace by the contents of the diagram;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- copy the selection of the diagram to the clipboard;''
+
| ''- toolbar appearance settings;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- paste part of the diagram contained in the clipboard;''
+
| ''- function block panel appearance settings.''
|- style="padding:0px;line-height: 0.8;"
+
| ''- delete the selected part of the diagram;''
+
|- style="padding:0px;line-height: 0.8;"
+
| ''- search function block by its order number;''
+
|- style="padding:0px;line-height: 0.8;"
+
| ''- selection of the entire diagram.''
+
 
|}
 
|}
 
 
Menu "View" contains toolbar view customization and function block panel representation.
 
  
 
{|
 
{|
Line 75: Line 93:
  
  
Menu "Device" contains commands to work with the controller.
+
Menu "Device" contains commands for working with the controller.
  
 
{|
 
{|
Line 84: Line 102:
 
| ''- search and establish communication with the controller connected via USB;''
 
| ''- search and establish communication with the controller connected via USB;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- actions with controller system software;''
+
| ''- actions for uploading and erasing the controller system software;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- action with functional diagram;''
+
| ''- actions for uploading and erasing the function diagram;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- Information about the connected controller;''
+
| ''- information about the connected controller;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- space reserved to use in future versions;''
+
| ''- space reserved for use in future versions;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- complete communication session with the controller;''
+
| ''- end the  communication session with the controller;''
 
|}
 
|}
  
Line 98: Line 116:
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
 
|rowspan="2" valign="top" style="padding-top:10px;"|[[File:4_4_1_6.png]]
 
|rowspan="2" valign="top" style="padding-top:10px;"|[[File:4_4_1_6.png]]
|style="padding-top:10px;"| ''- load firmware to the controller;''
+
|style="padding-top:10px;"| ''- upload firmware to the controller;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
 
| ''- erase controller firmware;''
 
| ''- erase controller firmware;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
 
|rowspan="2" valign="top" style="padding-top:10px;"|[[File:4_4_1_7.png]]
 
|rowspan="2" valign="top" style="padding-top:10px;"|[[File:4_4_1_7.png]]
|style="padding-top:10px;"| ''- load user's functional diagram;''
+
|style="padding-top:10px;"| ''- upload the user's function diagram to the controller;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- erase user's functional diagram.''
+
| ''- erase the user's function diagram from the controller.''
 
|}
 
|}
  
  
Menu "Simulation" contains controller software emulation mode control commands in the CannyLab environment.
+
Menu "Simulation" contains controls for the controller software emulation mode in the CannyLab environment.
  
 
{|
 
{|
Line 116: Line 134:
 
| 
 
| 
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- enable/disable simulation mode;''
+
| ''- enable/disable simulator mode;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
 
| ''- enable/disable focus lock on the active function block;''
 
| ''- enable/disable focus lock on the active function block;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- enable/disable pause mode, at any data change;''
+
| ''- enable/disable pause mode that activates upon detecting any changes to the data;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
 
| ''- start / pause / resume diagram execution;''
 
| ''- start / pause / resume diagram execution;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- active functional block execution;''
+
| ''- execute the active function block;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- execution of the diagram to the active block;''
+
| ''- execute the diagram up to the active block;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- stop and reset the emulator to its initial state;''
+
| ''- stop and reset the simulator to its initial state;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- binding simulation time-scale to windows system time;''
+
| ''- bind simulation time-scale to windows system time;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- setting values display format in simulation mode;''
+
| ''- set the format for displaying values in the simulator mode;''
 
|}
 
|}
  
Line 138: Line 156:
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
 
|rowspan="4" valign="top" style="padding-top:10px;"|[[File:4_4_1_9.png]]
 
|rowspan="4" valign="top" style="padding-top:10px;"|[[File:4_4_1_9.png]]
|style="padding-top:15px;"| ''- setting decimal number system;''
+
|style="padding-top:15px;"| ''- use the decimal number system;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- setting hexadecimal system;''
+
| ''- use the hexadecimal system;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- setting binary system;''
+
| ''- use the binary system;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- setting character data mapping.''
+
| ''- use character data mapping.''
 
|}
 
|}
  
  
Menu "Service" includes service commands and CannyLab settings.
+
Menu "Service" contains service commands and CannyLab settings.
  
 
{|
 
{|
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
|rowspan="6" valign="top" style="padding-top:5px;"|[[File:4_4_1_10.png]]
+
|rowspan="7" valign="top" style="padding-top:5px;"|[[File:4_4_1_10.png]]
 
| 
 
| 
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- reorder function blocks numbers on the diagram;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- change the boundaries of the workspace by the contents of the diagram;'
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- reorder functional blocks numbers on the diagram;''
+
| ''- create a standalone firmware flash file;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- creation of autonomous firmware flash file;''
+
| ''- start CAN monitor;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- start CAN-monitor;''
+
|- style="padding:0px;line-height: 0.8;"
+
 
| ''- change CannyLab settings;''
 
| ''- change CannyLab settings;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- CannyLab interface language selection.''
+
| ''- change the interface language of CannyLab.''
 
|}
 
|}
  
Line 171: Line 191:
 
{|
 
{|
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
|rowspan="4" valign="top" style="padding-top:5px;"|[[File:4_4_1_11.png]]
+
|rowspan="7" valign="top" style="padding-top:5px;"|[[File:4_4_1_11.png]]
 
| 
 
| 
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- View CannyLab program changes history file;''
+
| ''- view CannyLab version history;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
 +
| ''- read END-USER LICENSE AGREEMENT file;''
 +
|- style="padding:0px;line-height: 0.6;"
 
| ''- open CannyLab reference guide;''
 
| ''- open CannyLab reference guide;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- get information about program current version.''
+
| ''- go to the online encyclopedia CANNY Wiki;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- check for CannyLab updates;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- get information about the current program version.''
 
|}
 
|}
  
 
=== Toolbars ===
 
=== Toolbars ===
  
Toolbars allows to access the most popular commands of CannyLab.
+
Toolbars allow access to the most used commands in CannyLab.
  
 
[[File:4_4_2_1.png]]
 
[[File:4_4_2_1.png]]
  
Desktop Control Panel allows to scale the image to the workspace and change its dimensions in pixels. To quickly zoom in/out, rotate the mouse wheel while holding down the button «Ctrl» keyboard.
+
Desktop Control Panel allows scaling the area of the workspace and changing its dimensions in pixels. To quickly zoom in/out, rotate the mouse wheel while holding down the «Ctrl» button on your keyboard.
  
[[File:4_4_2_2.png]]
+
[[File:4_4_2_2.png]]   [[File:4_4_2_2a.png]]
  
 
=== Workspace ===
 
=== Workspace ===
  
Workspace is designed to display, edit, and debug functional diagrams. The background of the workspace is a grid that facilitates the positioning of functional diagram elements. To move over the diagram displayed in the workspace used the vertical and horizontal scroll bar, mouse wheel or arrow keys.
+
The workspace is designed to display, edit, and debug function diagrams. The background of the workspace is a grid that facilitates positioning of function diagram elements. To move around the diagram displayed in the workspace, use the vertical and horizontal scroll bars, mouse wheel or arrow keys.
  
 
[[File:4_4_3_1.png]]
 
[[File:4_4_3_1.png]]
Line 199: Line 225:
 
=== Status bar ===
 
=== Status bar ===
  
The status bar displays: for which controller current functional diagram designed, the presence of communication with the controller, the presence of the system software and functional diagram in the connected controller. In addition, in the simulation mode, the status bar displays information about controller resources used by custom diagram.
+
The status bar displays: the controller for which the current function diagram is designed, the status of communication with the controller, the presence of system software and function diagram in the connected controller. In the simulator mode the status bar displays information about controller resources used by the user diagram.
  
 
[[File:4_4_4_1.png]]
 
[[File:4_4_4_1.png]]
  
=== Панель функциональных блоков ===
+
=== Function block panel ===
  
Панель функциональных блоков содержит все доступные для использования при построении функциональных диаграмм типы блоков. Функциональные блоки в данной панели объединены в группы по назначению и, в зависимости от настроек отображения, могут быть представлены в виде значков или списка. Прокрутку панели функциональных блоков можно выполнить при помощи вертикальной полосы прокрутки или колеса мыши.
+
Function block panel contains all block types available for constructing the function diagram. Function blocks in this panel are grouped by their purpose and, depending on display setting, may be presented as either icons or a list. Scroll the function block panel by using the vertical scroll bar or your mouse wheel.
  
Два варианта отображения панели функциональных блоков:
+
The two ways of displaying the function block panel:
 
{|
 
{|
 
|[[File:4_4_5_1.png]]
 
|[[File:4_4_5_1.png]]
Line 214: Line 240:
 
|}
 
|}
  
=== Диалог поиска функционального блока по его порядковому номеру ===
+
=== Function block by ordinal number search dialog===
  
Доступ к диалогу поиска функционального блока по его порядковому номеру CannyLab можно получить, выбрав пункт «Правка» «Найти блок» главного меню программы.
+
Access the dialog for searching function blocks by their ordinal number by selecting "Edit" "Find block" in the CannyLab main menu.
  
 
[[File:4_4_6_1.png]]
 
[[File:4_4_6_1.png]]
  
 +
=== Text search dialog ===
  
=== Диалог настройки параметров ===
+
Access the dialog that allows searching by the specified text fragment by choosing "Edit" → "Find..." in the main menu of the program or by using the ''"Ctrl + F"'' key combination.
  
Доступ к диалогу настройки параметров CannyLab можно получить, выбрав пункт «Сервис» «Параметры» главного меню программы.
+
[[File:4_4_6_2.png]]
 +
 
 +
If you’ve already used text search in the current session, you can continue searching for the currently entered text fragment by choosing "Edit" → "Find next"/pressing “F3” to find the next occurrence or by choosing "Edit" → "Find previous"/pressing “Shift+F3” to find the previous occurrence.
 +
 
 +
=== Settings dialog ===
 +
 
 +
Access the CannyLab configuration dialog by selecting "Tools" "Settings" in main menu.
  
 
[[File:4_4_7_1.png]]
 
[[File:4_4_7_1.png]]
Line 229: Line 262:
 
{|
 
{|
 
|- valign="top"
 
|- valign="top"
|width="300px"|Проверка обновлений -
+
|width="300px"|Checking for updates -
|Выбор периодичности проверки наличия новых версий программы<br>[[File:4_4_7_2.png]]
+
|Set how frequently the program checks for new software versions<br>[[File:4_4_7_2.png]]
 
|- valign="top"
 
|- valign="top"
|Цвет выделенного провода -
+
|Selected Net colour -
|Выбор цвета отображения выделенной соединительной линии
+
|Choose the colour of a selected connection line
 
|- valign="top"
 
|- valign="top"
|Ассоциация с файлами *.cfd -
+
|Associate CFD file type with CannyLab -
|Связывает тип файлов функциональных диаграмм с текущим экземпляром CannyLab
+
|Associates function diagram file type with the current version of CannyLab
 
|- valign="top"
 
|- valign="top"
|Ширина диаграммы по умолчанию -
+
|Default diagram width -
|Ширина области диаграммы при создании нового файла
+
|The width of the diagram when creating a new file
 
|- valign="top"
 
|- valign="top"
|Высота диаграммы по умолчанию -
+
||Default diagram hight -
|Высота области диаграммы при создании нового файла
+
|The height of the diagram when creating a new file
 
|- valign="top"
 
|- valign="top"
|Масштаб диаграммы по умолчанию -
+
|Default diagram scale -
|Масштаб отображения области диаграммы при создании нового файла
+
|The scale of diagram display area when creating a new file
 
|- valign="top"
 
|- valign="top"
|Автоматический подбор масштаба при открытии файла -
+
|Automatic selection of scale when opening a file -
|Способ отображения диаграммы при открытии файла (при включенном подборе масштаба диаграмма, при открытии, будет, по возможности, полностью вписана в экран — отображена в соответствующем масштабе)
+
|Enables fitting the diagram to screen automatically when opening an existing file.
 +
|- valign="top"
 +
|Port to connect device -
 +
|Choose a COM port for connecting devices that use the RS-232 interface for downloading the software (CANNY 5, CANNY 5 nano, CANNY 5.2, CANNY 5 duo, CANNY 5.2 duo)<br>[[File:4_4_7_3.png]]
 
|}
 
|}
  
 
+
=== Keyboard shortcuts ===
=== Список горячих клавиш ===
+
 
{|
 
{|
 
|- valign="top"
 
|- valign="top"
 
|width="200px"|F1
 
|width="200px"|F1
|Открыть справочное руководство;
+
|Open Reference Manual;
 
|- valign="top"
 
|- valign="top"
 
|Ctrl+N
 
|Ctrl+N
|Создать новый файл диаграммы;
+
|Create a new function diagram file;
 
|- valign="top"
 
|- valign="top"
 
|Ctrl+O
 
|Ctrl+O
|Открыть файл диаграммы;
+
|Open an existing diagram file;
 
|- valign="top"
 
|- valign="top"
 
|Ctrl+S
 
|Ctrl+S
|Сохранить файл диаграммы;
+
|Save the function diagram file;
 
|- valign="top"
 
|- valign="top"
 
|Ctrl+A
 
|Ctrl+A
|Выделить все;
+
|Select all;
 
|- valign="top"
 
|- valign="top"
 
|Ctrl+Z
 
|Ctrl+Z
|Отмена последнего действия при создании и редактировании диаграммы;
+
|Undo the last action while working on the diagram;
 
|- valign="top"
 
|- valign="top"
 
|Ctrl+Y
 
|Ctrl+Y
|Возврат последнего отмененного действия при создании и редактировании диаграммы;
+
|Redo the last undone action while working on the diagram;
 
|- valign="top"
 
|- valign="top"
 
|Del
 
|Del
|Удаление выделенных элементов диаграммы;
+
|Delete selected diagram elements;
 
|- valign="top"
 
|- valign="top"
 
|Esc
 
|Esc
|Выход из режима редактирования сети;
+
|Exit network editing mode;
 
|- valign="top"
 
|- valign="top"
|, , ,
+
|Left, Up, Right, Down
|Сдвиг экрана отображения рабочей области влево, вверх, вправо, вниз;
+
|Shift workspace display area Left, Up, Right, Down;
 
|- valign="top"
 
|- valign="top"
 
|PageUp, PageDown
 
|PageUp, PageDown
|Сдвиг экрана отображения рабочей области на страницу вверх, вниз;
+
|Shift workspace display area one page up, down;
 +
|- valign="top"
 +
|Ctrl + mouse wheel
 +
|Fast workspace zoom;
 +
|- valign="top"
 +
|Alt + mouse wheel
 +
|Horizontal scrolling within the workspace;
 
|- valign="top"
 
|- valign="top"
|Ctrl + колесо мыши
+
|Shift + mouse wheel
|Быстрое изменение масштаба отображения рабочей области;
+
|Fast vertical scrolling within the workspace;
 
|- valign="top"
 
|- valign="top"
|Alt + колесо мыши
+
|Hold mouse wheel + move the mouse
|Горизонтальная прокрутка рабочей области редактора;
+
|Move the diagram field within the workspace ("drag and drop").
 
|- valign="top"
 
|- valign="top"
|Shift + колесо мыши
+
|Double-click the left mouse button
|Ускоренная вертикальная прокрутка рабочей области редактора;
+
|In editor mode: on a network – open the rename network dialog; on a register – open the register editor dialog; on a constant – open the constant editor dialog with the last used option selected by default. In simulator mode: on a network – set/remove control point; on a function block – set/remove the breakpoint.
 
|- valign="top"
 
|- valign="top"
|Нажатое колесо + движение мыши
+
|Ctrl + double-click the left mouse button
|Перемещение поля диаграммы внутри рабочей области («перетаскивание»).
+
|In editor mode: on a constant – open the alternative constant editor dialog. In simulator mode: on a network – forcibly set the network value to "1"/remove the previously set value.
 
|}
 
|}

Latest revision as of 11:06, 15 July 2022

CannyLab user interface consists of a single window - the main program window.

Main window

The main window is divided into several areas:

  • window title;
  • main menu;
  • toolbar;
  • function block panel;
  • workspace;
  • status bar.

Depending on the current operating mode of the editor, some of CannyLab menu items and panels may not be available or hidden.

4 4 1.png

Main menu

Menu "File" contains commands for working with CannyLab files.

4 4 1 1.png  
- create a new function diagram file;
- open an existing function diagram file;
- save the current function diagram file;
- save the current function diagram file under a new name;
- save a screenshot of the function diagram in the PNG graphic format;
- view the current file properties;
- history of recently opened files (up to 5 records);
- Exit.


Menu "Edit" contains the basic editing commands for working with the function diagram editor.

4 4 1 2.png  
- undo the last action when working with the diagram;
- redo the last action when working with the diagram;
- cut the selected part of the diagram to the clipboard;
- copy the selected part of the diagram to the clipboard;
- paste a part of the diagram currently contained in the clipboard;
- delete the selected part of the diagram;
- search item by text;
- search next item by text;
- search previous item by text;
- search function block by its ordinal number;
- select of the entire diagram.


Menu "View" contains options for customizing the appearance of the toolbar, the function block panel, as well as an option for scaling the workspace.

4 4 1 13.png  
- scale the workspace by the contents of the diagram;
- toolbar appearance settings;
- function block panel appearance settings.
4 4 1 3.png 4 4 1 4.png


Menu "Device" contains commands for working with the controller.

4 4 1 5.png  
- search and establish communication with the controller connected via USB;
- actions for uploading and erasing the controller system software;
- actions for uploading and erasing the function diagram;
- information about the connected controller;
- space reserved for use in future versions;
- end the communication session with the controller;
4 4 1 6.png - upload firmware to the controller;
- erase controller firmware;
4 4 1 7.png - upload the user's function diagram to the controller;
- erase the user's function diagram from the controller.


Menu "Simulation" contains controls for the controller software emulation mode in the CannyLab environment.

4 4 1 8.png  
- enable/disable simulator mode;
- enable/disable focus lock on the active function block;
- enable/disable pause mode that activates upon detecting any changes to the data;
- start / pause / resume diagram execution;
- execute the active function block;
- execute the diagram up to the active block;
- stop and reset the simulator to its initial state;
- bind simulation time-scale to windows system time;
- set the format for displaying values in the simulator mode;
4 4 1 9.png - use the decimal number system;
- use the hexadecimal system;
- use the binary system;
- use character data mapping.


Menu "Service" contains service commands and CannyLab settings.

4 4 1 10.png  
- reorder function blocks numbers on the diagram;
- change the boundaries of the workspace by the contents of the diagram;'
- create a standalone firmware flash file;
- start CAN monitor;
- change CannyLab settings;
- change the interface language of CannyLab.


Menu "Help" provides links to this guide and information about the program.

4 4 1 11.png  
- view CannyLab version history;
- read END-USER LICENSE AGREEMENT file;
- open CannyLab reference guide;
- go to the online encyclopedia CANNY Wiki;
- check for CannyLab updates;
- get information about the current program version.

Toolbars

Toolbars allow access to the most used commands in CannyLab.

4 4 2 1.png

Desktop Control Panel allows scaling the area of the workspace and changing its dimensions in pixels. To quickly zoom in/out, rotate the mouse wheel while holding down the «Ctrl» button on your keyboard.

4 4 2 2.png   4 4 2 2a.png

Workspace

The workspace is designed to display, edit, and debug function diagrams. The background of the workspace is a grid that facilitates positioning of function diagram elements. To move around the diagram displayed in the workspace, use the vertical and horizontal scroll bars, mouse wheel or arrow keys.

4 4 3 1.png

Status bar

The status bar displays: the controller for which the current function diagram is designed, the status of communication with the controller, the presence of system software and function diagram in the connected controller. In the simulator mode the status bar displays information about controller resources used by the user diagram.

4 4 4 1.png

Function block panel

Function block panel contains all block types available for constructing the function diagram. Function blocks in this panel are grouped by their purpose and, depending on display setting, may be presented as either icons or a list. Scroll the function block panel by using the vertical scroll bar or your mouse wheel.

The two ways of displaying the function block panel:

4 4 5 1.png   4 4 5 2.png

Function block by ordinal number search dialog

Access the dialog for searching function blocks by their ordinal number by selecting "Edit" → "Find block" in the CannyLab main menu.

4 4 6 1.png

Text search dialog

Access the dialog that allows searching by the specified text fragment by choosing "Edit" → "Find..." in the main menu of the program or by using the "Ctrl + F" key combination.

4 4 6 2.png

If you’ve already used text search in the current session, you can continue searching for the currently entered text fragment by choosing "Edit" → "Find next"/pressing “F3” to find the next occurrence or by choosing "Edit" → "Find previous"/pressing “Shift+F3” to find the previous occurrence.

Settings dialog

Access the CannyLab configuration dialog by selecting "Tools" → "Settings" in main menu.

4 4 7 1.png

Checking for updates - Set how frequently the program checks for new software versions
4 4 7 2.png
Selected Net colour - Choose the colour of a selected connection line
Associate CFD file type with CannyLab - Associates function diagram file type with the current version of CannyLab
Default diagram width - The width of the diagram when creating a new file
Default diagram hight - The height of the diagram when creating a new file
Default diagram scale - The scale of diagram display area when creating a new file
Automatic selection of scale when opening a file - Enables fitting the diagram to screen automatically when opening an existing file.
Port to connect device - Choose a COM port for connecting devices that use the RS-232 interface for downloading the software (CANNY 5, CANNY 5 nano, CANNY 5.2, CANNY 5 duo, CANNY 5.2 duo)
4 4 7 3.png

Keyboard shortcuts

F1 Open Reference Manual;
Ctrl+N Create a new function diagram file;
Ctrl+O Open an existing diagram file;
Ctrl+S Save the function diagram file;
Ctrl+A Select all;
Ctrl+Z Undo the last action while working on the diagram;
Ctrl+Y Redo the last undone action while working on the diagram;
Del Delete selected diagram elements;
Esc Exit network editing mode;
Left, Up, Right, Down Shift workspace display area Left, Up, Right, Down;
PageUp, PageDown Shift workspace display area one page up, down;
Ctrl + mouse wheel Fast workspace zoom;
Alt + mouse wheel Horizontal scrolling within the workspace;
Shift + mouse wheel Fast vertical scrolling within the workspace;
Hold mouse wheel + move the mouse Move the diagram field within the workspace ("drag and drop").
Double-click the left mouse button In editor mode: on a network – open the rename network dialog; on a register – open the register editor dialog; on a constant – open the constant editor dialog with the last used option selected by default. In simulator mode: on a network – set/remove control point; on a function block – set/remove the breakpoint.
Ctrl + double-click the left mouse button In editor mode: on a constant – open the alternative constant editor dialog. In simulator mode: on a network – forcibly set the network value to "1"/remove the previously set value.