CANNY 7 User manual

CANNY 7 Demo Kit
Quick Start Guide

CANNY 7 Demo Kit. Quick Start Guide.
1 Description
The CANNY 7 Demo Kit designed to power, control, test and demonstrate IO features of
CANNY 7 programmable logic controller.
What can you do with CANNY 7 Demo Kit:
- upload the firmware and functional diagrams to the controller;
- run the controller with loaded firmware in operating mode;
- fast switching between operating mode and firmware uploading mode without cable
reconnecting;
- power the controller from a standard PC's USB port through built-in CANNY 7 Demo Board's
5V-to-12V converter or by external power source connected to EXT1 port;
- control the status of the controller's IO channels using the built-in LEDs: the brightness of the
LED shows the current on the IO channel and the color indicates the polarity of the signal,
- imitation of external input signals using press-buttons allows to send signals of positive or
negative polarity to corresponding IO controller's channels.
2 Safety notes
Do not allow interaction of moisture and metal objects with the elements and surfaces
of the boards. If not, electric shock, short circuit or abnormal operation may occur.
Prevent static spark discharge, use grounding devices.
Do not connect the Demo Kit to the external circuits with voltages higher than 18V.
Improper use may cause permanent damage to the CANNY 7 Demo Kit and/or to
connected devices.
3 Demo Kit components
Programmable logic controller CANNY 7 included in CANNY 7 Demo Kit, comes with modified
external connectors, compatible with CANNY 7 Demo Board's socket.
Set of original CANNY 7 connectors, comes with CANNY 7 Demo Kit, allows user to bring
CANNY 7 controller to basic appearance by replacing mounted connectors (soldering needed!) and
putting in an included plastic enclosure.
Connector cables set allows to connect demo board or controller to external actuating and
signaling devices.
Interface cables USB-A/miniUSB are intended to connect demo board and attached controller,
allowing to load user programs to controller's memory, and also to provide powering of controller
during testing by connecting demo board to USB port of PC.
1Rev.08122017

CANNY 7 Demo Kit. Quick Start Guide.
Figure 1. CANNY 7 Demo Kit components
A - CANNY 7 programmable logic controller; B - CANNY 7 Demo Board; C – original plastic enclosure for CANNY 7
controller; D - original connectors Х1, Х2 and Х3 set for CANNY 7; E – cable set for external connections to Х1, Х2
and Х3; F - two USB-a/miniUSB interface cables; G - Quick Start Guide.
4 Demo board features
Components of demo board have designations printed on board's surface. Common view of
demo board presented on fig.2. Main elements of CANNY 7 Demo Board are marked by
corresponding numbers.
Figure 2. Features of demo board (CANNY 7 controller is disconnected).
1 - 4-pin connector Х1; 2 - 8-pin connector Х2; 3 - 3-pin connector Х3; 4 - area for optional mounting of 20-pin
connector BH-20; 5 - USB-A port; 6 - miniUSB port; 7 - external 4-pin connector EXT1; 8 - external 8-pin connector
EXT2; 9 - external 3-pin connector EXT3; 10 - LED +12Вpower indicator; 11 - LED +5Вpower indicator;
12 - port 6 (miniUSB) USB Mode Switch; 13 - Keys Polarity Switch; 14 - CAN-bus terminator jumper-switch J1;
15 - push-buttons (keys) of manual external input signaling imitation; 16 - green controlling LEDs;
17 - red controlling LEDs.
2Rev.08122017

CANNY 7 Demo Kit. Quick Start Guide.
Figure 3. Demo Board connector's and contacts pinout.
5 Getting started
Download integrated development environment CannyLab at www.cannylogic.com/downloads.
Before you start working with the development kit, study the CannyLab user guide at
www.cannylogic.com.
Unpack the CANNY 7 Demo Kit.
Connect the CANNY 7 Demo Board with the controller installed using the miniUSB interface
cable included in the CANNY 7 Demo Kit, connecting the CANNY 7 Demo Board USB-A port (5) to
the miniUSB port of the CANNY 7 controller.
Turn the Keys Polarity Switch (13) and USB Mode Switch (12) of the CANNY 7 Demo Board to
the «OFF» position.
Connect the assembled CANNY 7 Demo Kit to PC / Laptop using the second included miniUSB
interface cable by connecting the demo board miniUSB connector (6) to the USB-A connector of the
personal computer.
Assembled CANNY 7 Demo Kit is shown on fig.4.
6 Working with CANNY 7 Demo Kit
The normal order of using CANNY 7 Demo Kit is presented in flowchart at fig.5.
Push-buttons (keys) are used to imitate external input signals at the controller's channels by
user if needed. To control the common polarity of the push-buttons at the input channels of the
controller, Keys Polarity Switch (13) is provided.
Note: In some modes, the operation of the controller as part of the CANNY 7 Demo Kit may differ
from its operation in the autonomous mode due to the slight influence of the active elements of
the demo board on the input / output circuits of the controller.
3Rev.08122017
EXT2
Channel 2
Channel 1
Channel 0
Channel 7
Channel 6
Channel 5
Channel 4
Channel 3
X2
WX2
EXT1
X1 WX1
X3 WX3
Channel 8
Channel 9
Channel10
CAN-L
CAN-H
GND
+12В
EXT3
Chan.0
Chan. 1
Chan.2
Chan. 3
Chan.4
Chan. 5
Chan.6
Chan. 7
+5V
GND
+12V
CAN-L
CAN-H
Х4.1
Х4.4
Х4.2
Chan. 8
Х4.3
Chan. 10
Chan.9
EXT4

CANNY 7 Demo Kit. Quick Start Guide.
Figure 4. Assembled CANNY 7 Demo Kit.
7 General specifications of CANNY 7 Demo Kit
Max. current out, per IO channel / overall.........................................................±100 mA / ±1100 mA
Max. voltage on any IO channel........................................................................18 V
Nominal voltage of external power supply (EXT1 port).....................................9..18 V
Max. current consumption.................................................................................100 mA
Length...............................................................................................................200 mm
Width.................................................................................................................70 mm
Height (with legs and attached controller).........................................................25 mm
4Rev.08122017

CANNY 7 Demo Kit. Quick Start Guide.
Figure 5. Normal order of using CANNY 7 Demo Kit.
5Rev.08122017
Start
Turn USB Mode Switch
to position «DATA»
Is the device first-time
connected to PC?
Wait for automatic
Windows driver setup
Choose «Device»->«Connect»
at main menu of CannyLab
Run integrated development
environment CannyLab
Successful driver setup?
Prepare CANNY 7 Demo Kit
for work and connect it to PC
(see page 3)
Upload the firmware
to the controller
by using CannyLab
development environment
Load user's diagram
to the controller
Turn USB mode switch to
«OFF» position to disconnect
the controller from PC
Turn USB mode switch
to «POWER» position to
power up the controller
Turn USB mode switch to
«OFF» position to
power down the controller
Verify the operation of
the user diagram by simulating
external IO and observing
the operation of the controller
Turn USB Mode Switch
to «OFF» position to
disconnect the controller from PC
Try connection again?
Is the controller's
green LED turned on?
Is the revision of
the user chart needed?
End
yes no
yes
no
yes no
no yes
yes
no
Does the device already
have a firmware?
Do you need to overwrite
the firmware?
no
yes
no yes
Is the controller's
green LED blinking?
yes
no

CANNY 7 Demo Kit. Quick Start Guide.
Notes:
6Rev.08122017

© 2012-2017 CANNY LLC. All Right Reserved www.cannylogic.com
Table of contents