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))
 
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Интерфейс пользователя CannyLab состоит из единственного окна - главного окна программы.
+
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.
  
В зависимости от текущего режима работы редактора те или иные элементы меню и панелей CannyLab могут быть недоступны или скрыты.
+
Depending on the current operating mode of the editor, some of CannyLab menu items and panels  may not be available or hidden.
  
 
[[File:4_4_1.png]]
 
[[File:4_4_1.png]]
  
 +
=== Main menu ===
  
=== Главное меню ===
+
Menu "File" contains commands for working with CannyLab files.
 
+
Меню «Файл» содержит команды для работы с файлами CannyLab.
+
  
 
{|
 
{|
Line 25: Line 24:
 
| 
 
| 
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- создание нового файла функциональной диаграммы;''
+
| ''- create a new function diagram file;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- открытие существующего файла функциональной диаграммы;''
+
| ''- open an existing function diagram file;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- сохранение текущего файла диаграммы;''
+
| ''- save the current function diagram file;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- сохранение текущего файла диаграммы с новым именем;''
+
| ''- save the current function diagram file under a new name;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- сохранение «снимка» диаграммы в графический файл формата 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;''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- история недавно отрытых файлов (до 5 записей);''
+
| ''- history of recently opened files (up to 5 records);''
 
|- style="padding:0px;line-height:0.8;"
 
|- style="padding:0px;line-height:0.8;"
| ''- выход из программы.''
+
| ''- Exit.''
 
|}
 
|}
  
  
Меню «Правка» содержит команды управления внешним видом редактора.
+
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;"
| ''- отмена последнего действия, при создании/редактировании схемы;''
+
| ''- 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;"
| ''- возврат последнего действия, при создании/редактировании схемы;''
+
|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;"
| ''- вырезание выделенной части диаграммы в буфер;''
+
| ''- scale the workspace by the contents of the diagram;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- копирование в буфер выделенной части диаграммы;''
+
| ''- toolbar appearance settings;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- вставка содержащейся в буфере части диаграммы;''
+
| ''- function block panel appearance settings.''
|- style="padding:0px;line-height: 0.8;"
+
| ''- удаление выделенной части диаграммы;''
+
|- style="padding:0px;line-height: 0.8;"
+
| ''- поиск функционального блока по его порядковому номеру;''
+
|- style="padding:0px;line-height: 0.8;"
+
| ''- выделение всей диаграммы.''
+
 
|}
 
|}
 
 
Меню «Вид» содержит настройки отображения панели инструментов и представления панели функциональных блоков.
 
  
 
{|
 
{|
Line 76: Line 93:
  
  
Меню «Устройство» содержит команды для работы контроллером.
+
Menu "Device" contains commands for working with the controller.
  
 
{|
 
{|
Line 83: Line 100:
 
| 
 
| 
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- поиск  и установление связи с контроллером подключенным через 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 for uploading and erasing the controller system software;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- действия с пользовательской функциональной диаграммой контроллера;''
+
| ''- 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;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- пункт зарезервирован для реализации в следующих версиях;''
+
| ''- space reserved for use in future versions;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- завершить сеанс связи с контроллером;''
+
| ''- end the  communication session with the controller;''
 
|}
 
|}
  
Line 99: 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;"| ''- загрузить системное программное обеспечение в контроллер;''
+
|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;''
 
|- 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;"| ''- загрузить пользовательскую функциональную диаграмму в контроллер;''
+
|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 the user's function diagram from the controller.''
 
|}
 
|}
  
  
Меню «Симулятор» содержит команды управления режимом программной симуляции работы контроллера в среде CannyLab.
+
Menu "Simulation" contains controls for the controller software emulation mode in the CannyLab environment.
  
 
{|
 
{|
Line 117: Line 134:
 
| 
 
| 
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- включение/выключение режима симуляции;''
+
| ''- 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;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- включение/выключение режима приостановки при любом изменении в данных;''
+
| ''- 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;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- выполнение активного функционального блока;''
+
| ''- execute the active function block;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- выполнение диаграммы до активного блока;''
+
| ''- 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 simulator to its initial state;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- привязка масштаба времени симулятора к системному времени windows;''
+
| ''- bind simulation time-scale to windows system time;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- установка формата для отображения значений в режиме симуляции;''
+
| ''- set the format for displaying values in the simulator mode;''
 
|}
 
|}
  
Line 139: 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;"| ''- установка десятичной системы счисления;''
+
|style="padding-top:15px;"| ''- use the decimal number system;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- установка шестнадцатеричной системы счисления;''
+
| ''- use the hexadecimal system;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- установка двоичной системы счисления;''
+
| ''- use the binary system;''
 
|- style="padding:0px;line-height: 0.8;"
 
|- style="padding:0px;line-height: 0.8;"
| ''- установка символьного отображения данных.''
+
| ''- use character data mapping.''
 
|}
 
|}
  
  
Меню «Сервис» содержит сервисные команды и настройки CannyLab.
+
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;"
| ''- упорядочивание номеров функциональных блоков на диаграмме;''
+
| ''- create a standalone firmware flash file;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- создание файла автономной прошивки контроллера;''
+
| ''- start CAN monitor;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- запуск программы CAN-monitor;''
+
| ''- change CannyLab settings;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- изменение параметров CannyLab;''
+
| ''- change the interface language of CannyLab.''
|- style="padding:0px;line-height: 0.8;"
+
| ''- выбор языка интерфейса CannyLab.''
+
 
|}
 
|}
  
  
Меню «Справка» содержит ссылки на данное руководство и информацию о программе.
+
Menu "Help" provides links to this guide and information about the program.
  
 
{|
 
{|
 
|- 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;"
| ''- ознакомиться с файлом истории изменений программы CannyLab;''
+
| ''- view CannyLab version history;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- открыть справочное руководство по CannyLab;''
+
| ''- read END-USER LICENSE AGREEMENT file;''
|- style="padding:0px;line-height: 0.8;"
+
|- style="padding:0px;line-height: 0.6;"
| ''- получить информацию о текущей версии программы.''
+
| ''- open CannyLab reference guide;''
 +
|- style="padding:0px;line-height: 0.6;"
 +
| ''- 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 ===
  
Панели инструментов позволяют получить доступ к наиболее востребованным командам при работе с CannyLab.
+
Toolbars allow access to the most used commands in CannyLab.
  
 
[[File:4_4_2_1.png]]
 
[[File:4_4_2_1.png]]
  
Панель управления рабочим столом позволяет масштабировать изображение рабочей области и изменять его размеры в пикселях. Для быстрого изменения масштаба изображения вращайте колесо мыши удерживая в нажатом состоянии клавишу «Ctrl» клавиатуры.
+
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 ===
  
Рабочая область программы предназначена для отображения, редактирования и отладки функциональных диаграмм. Фоном рабочей области является координатная сетка, облегчающая позиционирование на ней элементов функциональной диаграммы. Для перемещения по диаграмме отображаемой в рабочей области используются вертикальная и горизонтальная полосы прокрутки, колесо мыши или клавиши управления курсором.
+
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]]
  
=== Строка состояния ===
+
=== 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.
  
 
[[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 216: 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 231: 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.