This documentation is out of date.

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

Difference between revisions of "Interaction with equipment"

From CANNY Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m
(Initial edit)
 
Line 1: Line 1:
IDE CannyLab gives users the ability to upload system software to the controller, required to perform the functional diagram, as well as the functional diagram itself.  
+
IDE CannyLab gives users the ability to upload system software to the controller. System software is required for execution of the function diagram, as well as the function diagram itself.  
  
 
=== Connecting the controller to the PC ===
 
=== Connecting the controller to the PC ===
  
Disconnect the controller from an external power supply and connect it to a PC via a standard "miniUSB" cable, the green LED will turn on at the same time. When controller is connected for the first time, Windows reports the discovery of a new standard device and will automatically install the driver for it.
+
Disconnect the controller from the external power supply and connect it to a PC via a standard "miniUSB" cable, the green LED on the controller will light up. When the controller is connected for the first time, Windows reports the discovery of a new standard device and will automatically install the driver for it.
  
Linking CannyLab with the controller connected to the PC is done by selecting "Device" → "Connect" of the main menu or by pressing [[File:4_8_1_1.png]] from toolbar.
+
Link CannyLab with the controller connected to the PC by selecting "Device" → "Connect" in the main menu or by pressing [[File:4_8_1_1.png]] on the toolbar.
  
If communication with the controller is successful, the controller's green LED will be flashing. The CannyLab status bar will display information about the connection, i.e. the presence or absence of the connected controller software, available menu items and toolbar buttons relevant to the work with the controller.
+
If communication with the controller is successful, the controller's green LED will begin blinking. The CannyLab status bar will display information about the connection, as well as announce the presence or absence of firmware within the connected controller. Menu items and toolbar buttons relevant to working with the controller will become available.
  
=== Loading system software in the controller ===
+
=== Uploading system software into the controller ===
  
Loading system software in to connected controller carried out through the menu ''«Device»'' → ''«Firmware»'' → ''«Write»'', herewith, the choice of the controller system software file is performed in the pop-up dialog box.
+
Upload system software into the connected controller by accessing the menu item ''«Device»'' → ''«Firmware»'' → ''«Write»''. Choose the controller firmware file in the pop-up dialog box.
  
Writing system software in to PLC CANNY 7 takes about a minute. Information on the progress of the write process will be displayed in the dialog box. At the time of writing, the frequency of the controller green LED flickering increases.
+
Flashing system software for PLC CANNY 7 takes about a minute. Information on the progress of the flashing process will be displayed in the dialog box. The green LED will blink rapidly during this process.
  
 
{|
 
{|
 
|valign="top" style="padding-left:0.5em;"|''Note:''
 
|valign="top" style="padding-left:0.5em;"|''Note:''
|valign="top" style="padding-left:0.5em;"|''The user will be prompted If a previous recorded system software and functional diagram are detected, and it will be replaced with new system software.''
+
|valign="top" style="padding-left:0.5em;"|''If existing system software and function diagram are present in the controller, the user is prompted to continue or stop the flashing process. If the user accepts the confirmation prompt, all existing data will be deleted and replaced with new system software.''
 
|}
 
|}
  
=== Loading functional diagram in to the controller ===
+
=== Uploading a function diagram into the controller ===
  
Loading functional diagram is only possible if controller already contains system software. Loading currently opened CannyLab functional diagram to the controller can be done via the menu ''«Device»'' → ''«Diagram»'' → ''«Write»'' or by pressing the button [[File:4_8_3_1.png]] on toolbar.
+
Uploading a function diagram is only possible if controller already contains system software. Upload the currently opened CannyLab function diagram to the controller by accessing the menu item ''«Device»'' → ''«Diagram»'' → ''«Write»'' or by pressing the button [[File:4_8_3_1.png]] on the toolbar.
  
Information of the loading progress will be displayed in the dialog box. At loading time, the controller green LED will flicker at higher frequency.
+
Information on the upload progress will be displayed in the dialog box. The green LED will blink rapidly during this process.
  
 
{|
 
{|
 
|valign="top" style="padding-left:0.5em;"|''Note:''
 
|valign="top" style="padding-left:0.5em;"|''Note:''
|valign="top" style="padding-left:0.5em;"|''Upon request confirmation from the user, existing diagram in the controller will be erased. Previously written system software will remain unchanged. Loading diagram in the controller is usually faster than writing system software.''
+
|valign="top" style="padding-left:0.5em;"|''If an existing function diagram is present in the controller, the user is prompted to stop or continue the upload process. The existing diagram will be deleted if the user accepts the confirmation prompt. Previously written system software will remain unchanged. Uploading diagram in the controller is usually much faster than flashing system software.''
 
|}
 
|}
  
=== Completion of session with the controller ===
+
=== Ending the controller working session ===
  
After software loading has finished, for safe work completion, disconnect the USB cable from the controller. To make sure that the software recording process has been completed, before physically unplugging the controller it is recommended to select «Device» → «Disconnect» on main menu, or click [[File:4_8_4_1.png]] on toolbar, then controllers' green LED stops flashing.
+
To safely end the working session after all software has been uploaded, it is sufficient to simply disconnect the USB cable from the controller. However, if you want to make sure that all flashing and upload processes have been completed, it is recommended to select «Device» → «Disconnect» in the main menu, or click [[File:4_8_4_1.png]] on the toolbar before physically unplugging the controller. The controller’s green LED should stop flashing.
  
 
=== Obtaining technical information about the connected controller ===
 
=== Obtaining technical information about the connected controller ===
  
To obtain specific technical information about the connected controller, you must select''«Device»'' → ''«Information»'' main menu, or click [[File:4_8_5_1.png]] on toolbar. The device information will be displayed in a special window.
+
To obtain specialized technical information about the connected controller, select''«Device»'' → ''«Information»'' in the main menu, or click [[File:4_8_5_1.png]] on the toolbar. Device information will be displayed in a new window.
  
 
[[File:4_8_5_2.png]]
 
[[File:4_8_5_2.png]]
  
=== Deleting a functional diagram from controller's memory ===
+
=== Deleting a function diagram from the controller's memory ===
  
To delete a functional diagram from controller's memory, please select ''«Device»'' → ''«Diagram»'' → ''«Erase»'' on main window, or click [[File:4_8_6_1.png]] on toolbar. After prompted user confirmation, the diagram will be erased from controller memory.
+
Delete a function diagram from the controller's memory by selecting ''«Device»'' → ''«Diagram»'' → ''«Erase»'' in the main menu, or click [[File:4_8_6_1.png]] on the toolbar. After the user accepts the confirmation prompt, the diagram will be erased from controller memory.
  
=== Removing firmware from the controller memory ===
+
=== Removing firmware from the controller's memory ===
  
To remove firmware from controller, please select ''«Device»'' → ''«Firmware»'' → ''«Eraseь»'' on main window. After prompted user confirmation, the controller memory will be cleared.
+
Remove firmware from the controller by selecting ''«Device»'' → ''«Firmware»'' → ''«Erase»'' in the main menu. After the user accepts the confirmation prompt, controller memory will be cleared.
  
 
{|
 
{|
 
|valign="top" style="padding-left:0.5em;"|''Note:''
 
|valign="top" style="padding-left:0.5em;"|''Note:''
|valign="top" style="padding-left:0.5em;"|''When removing firmware from controller memory, the user diagram will also be erased.''
+
|valign="top" style="padding-left:0.5em;"|''The user diagram will be erased when removing controller firmware.''
 
|}
 
|}
  
 
== See also ==
 
== See also ==
 
[[CANNY Lab]]
 
[[CANNY Lab]]

Latest revision as of 11:54, 11 December 2020

IDE CannyLab gives users the ability to upload system software to the controller. System software is required for execution of the function diagram, as well as the function diagram itself.

Connecting the controller to the PC

Disconnect the controller from the external power supply and connect it to a PC via a standard "miniUSB" cable, the green LED on the controller will light up. When the controller is connected for the first time, Windows reports the discovery of a new standard device and will automatically install the driver for it.

Link CannyLab with the controller connected to the PC by selecting "Device" → "Connect" in the main menu or by pressing 4 8 1 1.png on the toolbar.

If communication with the controller is successful, the controller's green LED will begin blinking. The CannyLab status bar will display information about the connection, as well as announce the presence or absence of firmware within the connected controller. Menu items and toolbar buttons relevant to working with the controller will become available.

Uploading system software into the controller

Upload system software into the connected controller by accessing the menu item «Device»«Firmware»«Write». Choose the controller firmware file in the pop-up dialog box.

Flashing system software for PLC CANNY 7 takes about a minute. Information on the progress of the flashing process will be displayed in the dialog box. The green LED will blink rapidly during this process.

Note: If existing system software and function diagram are present in the controller, the user is prompted to continue or stop the flashing process. If the user accepts the confirmation prompt, all existing data will be deleted and replaced with new system software.

Uploading a function diagram into the controller

Uploading a function diagram is only possible if controller already contains system software. Upload the currently opened CannyLab function diagram to the controller by accessing the menu item «Device»«Diagram»«Write» or by pressing the button 4 8 3 1.png on the toolbar.

Information on the upload progress will be displayed in the dialog box. The green LED will blink rapidly during this process.

Note: If an existing function diagram is present in the controller, the user is prompted to stop or continue the upload process. The existing diagram will be deleted if the user accepts the confirmation prompt. Previously written system software will remain unchanged. Uploading diagram in the controller is usually much faster than flashing system software.

Ending the controller working session

To safely end the working session after all software has been uploaded, it is sufficient to simply disconnect the USB cable from the controller. However, if you want to make sure that all flashing and upload processes have been completed, it is recommended to select «Device» → «Disconnect» in the main menu, or click 4 8 4 1.png on the toolbar before physically unplugging the controller. The controller’s green LED should stop flashing.

Obtaining technical information about the connected controller

To obtain specialized technical information about the connected controller, select«Device»«Information» in the main menu, or click 4 8 5 1.png on the toolbar. Device information will be displayed in a new window.

4 8 5 2.png

Deleting a function diagram from the controller's memory

Delete a function diagram from the controller's memory by selecting «Device»«Diagram»«Erase» in the main menu, or click 4 8 6 1.png on the toolbar. After the user accepts the confirmation prompt, the diagram will be erased from controller memory.

Removing firmware from the controller's memory

Remove firmware from the controller by selecting «Device»«Firmware»«Erase» in the main menu. After the user accepts the confirmation prompt, controller memory will be cleared.

Note: The user diagram will be erased when removing controller firmware.

See also

CANNY Lab