Professional Documents
Culture Documents
Advantys FTB and Icia Compact Drives at Premium On Canopen: System User Guide
Advantys FTB and Icia Compact Drives at Premium On Canopen: System User Guide
at Premium on CANopen
System User Guide
[source code]
33003567.02
Mar 2006
Contents
Abbreviations........................................................................................................................... 3
Application example – Source code.......................................................................................... 3
Typical applications.................................................................................................................. 4
Architecture ....................................................................................................................... 5
Installation ......................................................................................................................... 7
Hardware................................................................................................................................................ 8
Software................................................................................................................................................13
Communication ......................................................................................................................................14
Implementation ................................................................................................................ 16
Setting the device parameters on the CANopen bus .................................................................................18
Implementing CANopen bus....................................................................................................................20
PLC implementation ...............................................................................................................................27
Operating behaviour ...............................................................................................................................33
Appendix ............................................................................................................................... 34
Detailed components list .........................................................................................................................34
Contact.................................................................................................................................. 35
Introduction This document is intended to provide a quick introduction to the described System.
It is not intended to replace any specific product documentation. On the contrary, it offers
additional information to the product documentation, for installing, configuring and starting up the
system.
A detailed functional description or the specification for a specific user application is not part of
this document. Nevertheless, the document outlines some typical applications where the system
might be implemented.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 2
Abbreviations
Word/Expression Explanation
PLC Programmable Logic Controller
HMI Human Machine Interface
PC Personal Computer
V AC Alternating Current
V DC Direct Current
PS Power Supply
I/O Input/Output
Premium Name of a Schneider Electric PLC
Unity (Pro) Name of Schneider Electric PLC programming software
Sycon Name of Schneider Electric fieldbus programming software
Phaseo Name of a Schneider Electric range of power supply units
Advantys FTB Name of Schneider Electric I/O modules
IclA IFA, IFS, IFE Names of Berger Lahr compact drives
Introduction Examples of the source code used to attain the system function as described in this
document can be downloaded from our „Village“ website under this link.
General The example software includes a Sycon project for configuring the CANopen bus and a
Unity Pro project for the PLC.
Please note:
The Sycon project is set up for immediate use with V2.8 of the Sycon software.
The Unity project is an import file, which can be opened by selecting "Open" from
the “File" menu and the file type *.xef.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 3
Typical applications
Introduction The following chapter describes some typical applications or partial applications for
this system.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 4
Architecture
Overview The system consists of a PLC that controls various compact drives depending on the
I/O signals. For example the compact drives (IFE, IFA and IFS) can be controlled.
The I/O modules used are Advantys FTB modules, the number of which can be
selected according to requirements. The example project has provision for one I/O
module for each drive, with twelve inputs and four outputs. Since the compact drives
have protection class IP54 and the Advantys FTB has protection class IP67, the
devices can be installed directly on site.
The total application, except for the PLC, is supplied with 24 V DC provided by
power supply units connected to the AC mains. When using power supply units,
make sure that the supply for the compact drives is separate from the supply to the
other devices as the compact drives provide energy recovery during deceleration
and the voltage in the DC circuit may increase. It may also be necessary to use a
power supply unit, which is able to cope with the generated energy.
The PLC, compact drives and I/O modules communicate via the CANopen bus.
Layout
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 5
Components Hardware:
TSX Premium (PLC)
Note The Phaseo power supply unit is not able to cope with the generated energy. You
must therefore check every application thoroughly to see whether regenerative
feedback can occur and, if so, that there is a sufficient number of consumers on the
DC side.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 6
Installation
Introduction This chapter describes how to install the hardware and set up the software for the
task associated with the following applications:
Layout
Note Each of the compact motors is controlled separately by the PLC. Control depends on
the input signals from the IP67 protected I/O modules (Advantys FTB). The outputs
from these modules are used to indicate various operating states of the motors
and/or to control additional equipment.
Note: If the motor control signals do not come directly from the process, the inputs
can consist of switches and buttons. The motor state output can be in the form of
signal lamps. If remote control is not needed the PLC can also be connected to a
HMI device that controls the drive.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 7
Hardware
The compact drives and FTB modules can be secured to the machine, in the
immediate vicinity of the process.
The PLC and main switch can be fastened directly to a mounting plate.
A 230 V AC cable is used between the master switch, power supply and the PLC.
The 24 V DC cable is used between the power supply, compact motors and
Advantys FTB. Because of the regenerative feedback from the compact drives they
must have their own power supply which may also have to be regenerative.
A CANopen cable must be used between the PLC, the compact motors and the FTB
modules.
ABL7RE2403 /
ABL7RE2410
power supply
unit
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 8
Components, TLX Premium
continued PLC TLX P57
5634M
1 Display LEDs
1 Eject button for PCMCIA card
2 Terminal port
(TER)
5 Slot for a memory expansion card
(PCMCIA)
6 Slot for a communication card
(PCMCIA)
8 RJ45 connector for Ethernet
connection
9 USB port
10 RESET button
Premium power
supply
TSX PSY 5500
Premium
CANopen
TSX CPP 110
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 9
Components, IclA compact
continued drive
IclA compact
drive
1 Motor
2 Brake (optional)
3 Encoder
4 Electronic housing
5 Cable glands with strain relief
6 Signal connector module
7 DIP switches for settings
8 Electronic housing cover, not to be removed
9 Connector housing cover, to be removed for installation
10 Cover with industrial socket connection for DC supply and
field bus IN/OUT connection
11 Electrical interfaces
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 10
Components, Compact drive
continued connections
1 Power supply
2 Profibus DP field bus interface
3 CAN or RS485 field bus interface
4 24 V signal interface
Power supply
unit connections
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 11
Components, CANopen bus
continued connection
Advantys FTB
Power supply
and bus
connection
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 12
Software
General You will need to install the Unity Pro programming software for the Premium PLC
and the Sycon software for configuring the CANopen bus.
The following installation requirements apply in respect of all the software packages:
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 13
Communication
General CANopen is used for communication between the individual devices, namely the PLC,
compact drives and Advantys FTB I/O modules. For that CANopen cabling is used
between the PLC, compact drives and Advantys FTB. Preassembled connecting cables
containing wires for the power supply and for the CANopen bus are available for the
compact drives.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 14
Compact drive The compact drives are
connected using
preassembled cables
(separate IclA IFX cables for
the power supply and the
bus), which are plugged into
the terminals provided in the
drive. The other side has
provision for the lines for the
CANopen bus with 9-pin sub
D connectors, which can
accordingly be plugged into
the bus line together. The
lines for the power supply
must be connected to the 24
V supply.
Advantys FTB The FTXCN3210 cable is
used for the connection.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 15
Implementation
Introduction This chapter describes how to initialize, parameterize, program, and start up the
system.
1. The PLC controls the compact drives. In addition, input and output values from
the Advantys FTB and the state values of the drives are transferred via the
CANopen bus. The PLC has a state machine for each drive, used to control the
drive. The state machine converts motion commands, e.g. “Move to position xy
at 1400 rpm” or “Acknowledge error”, into a control signal for the drive.
2. The motion commands in the example project are in the form of input signals to
the FTB modules. Each drive has an FTB module with twelve inputs and four
outputs. The speed and target position settings are entered as fixed values in the
PLC program but different values are selected, depending on the input signals.
Certain drive states are also forwarded to the FTB module outputs.
3. The input signals for the FTB modules can come directly from the machine to be
controlled but this can also be done using switches and buttons. The output
signals are intended to be state indications from the individual drives and can be
displayed using signal lamps.
Layout
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 16
Order of tasks Proceed as follows to optimize the setup time of the individual products:
2. Use Sycon software to parameterize the CANopen bus (nodes, parameters etc.)
3. Create the PLC project and hardware and bus configurations (import the Sycon
data)
4. Configure the state machine for the compact drives and assignment of I/O
signals
Proceeding in the sequence described above will ensure that the relevant
information can either be imported directly or entered manually from the previous
action.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 17
Setting the device parameters on the CANopen bus
Introduction The address and transfer rate must be specified for all the devices on the CANopen bus.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 18
Advantys FTB The CANopen address and transfer rate are set manually on the modules via rotary
switches. There are two rotary switches for the address and one for the transfer rate. In
Specifying the the example software, the 4 FTB modules are configured with the addresses 25 to 28
address and and the transfer rate is set to 500.0 kbit/s.
transfer rate
Element Function
1 Transfer rate
2 Address 10x
3 Address 1x
Overview of In the example software, the individual devices on the extension have the following
addresses addresses:
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 19
Implementing CANopen bus
Introduction The CANopen bus is configured using the Sycon software. The individual devices are
identified as nodes on the bus, then addresses are assigned and the master function is
assigned to the Premium PLC. Subsequent steps configure the data for the individual
devices to be transferred during operation (PDO) and if necessary specify their
configuration (SDO). In the last step the general bus settings are entered, e.g. specifying
the transfer rate.
Import the 1 In order for the compact drives and FTB modules to be integrated in the CANopen
compact drive bus via the Sycon software, every type of compact drive used and/or the FTB
into Sycon module used must first be integrated in the software. Do this by using the *eds
description files (and the three additional image files).
2 After creating the project, select
the “Copy EDS” menu item from
the “File” menu.
Note: Integration is not possible,
and this menu is not available,
until a new project has been
created.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 20
Import the 3 In the window, select the file for
compact drive the IclA type and start the
into Sycon, process.
continued Note: You must repeat the
process if more than one type is
involved.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 21
Enter nodes 1 Add the PLC’s PCMCIA card for
the CANopen bus to the project
as the master via the “Master”
menu item in the "Insert" menu,
or by using the equivalent
button.
Select the "TSX CPP 110" card
in the next window. A CANopen
address and a name must also
be entered.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 22
Configure 1 Double-click on the device to
compact open the “Node configuration”
drives as window that is used for all bus
CANopen node settings including
configuration of the node at the
nodes
start of the bus and the transfer
of data during operation.
The window is divided into three
parts: the top part shows the
general configuration, the center
part shows the predefined PDO
and the bottom part shows the
PDOs configured for these
nodes and can also be used for
configuration or making
changes.
2 Double-click on the two
predefined PDOs to activate
them for data transfer between
PLC and compact drive.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 23
Configure 4 After the transmission mode has
compact been selected the PDO is
drives as automatically entered as a
CANopen configured PDO. There is no
need for additional
nodes,
configuration.
continued
You must configure a Type 4
PDO to send and receive for
each compact drive.
Note: Click the “Contents
Mapping” button to see the data
to be transmitted in the selected
PDO. The “Characteristics”
button returns you to the
transmission mode screen for
the PDO.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 24
Configure 3 Pin 2 of an FTB module can be
Advantys used as either diagnostic or I/O
FTBs as channel. To use the pin as an
CANopen I/O channel, object 2000:01
must be selected in the object
nodes,
configuration by double-clicking
continued
it. After selecting, enter the
value 0.
Note: Other objects may need
to be configured, e.g. the
behavior of the outputs in the
event of a fault.
Note: Configuring PDOs
automatically configures other
objects.
4 For data transmission a receive
PDO and a send PDO must be
activated in each case. The
actual I/O data transfer is in
PDO1 each time (objects 1400
and 1800). Double-click to open
the PDO concerned.
Note: The PDO5 that are also
available transmit state
information as well and the
function of Pin 2 can be
switched over (see above).
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 25
Configure 6 After the transmission mode has
Advantys been selected the PDO is
FTBs as automatically entered as a
CANopen configured PDO. There is no
need for additional
nodes,
configuration.
continued
You must configure a type 1
PDO to send and receive for
each FTB.
Note: Click the “Contents
Mapping” button to see the data
to be transmitted in the selected
PDO. The “Characteristics”
button returns you to the
transmission mode screen for
the PDO.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 26
PLC implementation
Introduction This chapter describes how to create a PLC program, including the logic for the
drives, using the Unity Pro software.
Proceed as follows to integrate the PLC:
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 27
Configure 1 Double-click on slot B again to
CANopen open the configuration of the
communication CANopen bus.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 28
Configure 4 Clicking the “Bus
CANopen configuration” button brings up
communication a new window where the
continued individual nodes are listed. If
you click on one of the nodes
in the list, information such as
the I/O addresses assigned is
displayed on the right.
Note: The addresses are
shown from top to bottom in
order of their position on the
bus in the Sycon software.
The CANopen addresses are
disregarded.
5 The configuration must then
be confirmed or validated. You
can do this by either closing
the configuration window or
using the “Process-Validate”
menu.
Note: You can only save,
close and generate the project
after you have validated the
bus configuration.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 29
Overview of
addresses
Overview Description
The tables provide an overview of
the example application I/O data;
the PLC addresses are assigned to
the individual nodes of the
CANopen bus.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 30
Creating the 1 First, you need to declare
application variables and assign them to
program input and output data of the
drive or I/O data, assuming
that you do not intend to make
use of direct addresses.
In the example program the
I/O data from an FTB module
is used to control a drive. For
the sake of clarity, all the FTB
module data starts with ftb*
and all the motor data starts
with icla*.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 31
Downloading 1 Upon completion of
a program programming, the entire
project must be built. To do
this, select the relevant menu
item or button.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 32
Functional Depending on the application, the drives may be operated from a visual display unit
expansion connected to the PLC, such as a Magelis XBT-N 401, instead of the interface with
buttons, switches and signal lamps that is described above. This would make particular
sense where the drives can be controlled from a central point and a relatively large
number of operator interventions are needed. It does away with the need for a large
number of I/O signals and reduces the number of FTB modules, provided that this is
practical in terms of the physical layout of the drives.
Operating behaviour
Starting The starting characteristics of the devices are determined exclusively either by the PLC
characteristic or by starting the CANopen bus. When the bus starts the parameters that were specified
using the Sycon software are transmitted to the devices via SDO. In addition,
parameters can be sent from the PLC to the devices during operation via SDO.
The example project provides for both options. The Advantys I/O modules are
configured when the bus starts as they were defined in the Sycon software. For the
compact drives, the parameters are transferred by the PLC from the drive block. Where
both options can be used in parallel, the PLC parameters are valid as the PLC can only
send the parameters to the devices after the bus has started.
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 33
Appendix
Ad vantys FTB and Icla compact drives at Premium on CANopen_EN.doc Schneider Electric 34
Contact