Schneider Electric Premium and Advantys STB on Profibus DP System user guide
Schneider Electric Premium and Advantys STB on Profibus DP is a system that combines a PLC, power supply, variable speed drives, remote I/O, and I/O modules with IP67 protection. It is designed for use in a variety of applications, including materials handling, packaging, textile, special-purpose machines, pumps, and fans.
The system is compact and easy to install. It uses CANopen for the island fieldbus and Profibus DP for the link between the island and the PLC. The variable speed drives can be controlled via a state machine (DriveCom profile) or manually using a local HMI.
Werbung
Werbung
Premium and Advantys STB on Profibus DP
Advantys STB, FTB and Altivar on CANopen
System User Guide
[source code]
Mar 2006
Contents
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.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 1
Abbreviations
Word/Expression
PLC
HMI
PC
V AC
V DC
PS
I/O
VSD (VVD)
Premium
Unity (Pro)
Sycon
Phaseo
Advantys STB
Advantys FTB
ATV31
Explanation
Programmable Logic Controller
Human Machine Interface
Personal Computer
Alternating Current
Direct Current
Power Supply
Input/Output
Variable Speed Drive (Variable Velocity Drive)
Name of a Schneider Electric PLC
Name of a piece of Schneider Electric PLC programming software
Name of a piece of Schneider Electric fieldbus programming software
Name of a Schneider Electric range of power supply units
Name of a Schneider Electric distributed I/O system (Small
Terminal Block)
Name of Schneider Electric I/O modules
Name of a Schneider variable speed drive
Application example – Source code
Introduction
Examples of the source code and 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 PowerSuite project for configuring the ATV31, an
Advantys project for the I/O platform, a Sycon project for the Profibus configuration, and a Unity Pro project for the PLC.
Please note:
Before the configuration data for the ATV31 can be used with the PowerSuite software, it must first be imported. To do this, select ATV31 under Configurations in the project tree and then load the four configurations one after the other by selecting
“Import” in the “File” menu. These are then subsequently assigned to the devices by means of a separate process (see above).
The Advantys project is ready for immediate use with V1.2.0 of the Advantys software and the update for the ATV31.
The Sycon project is ready for immediate use with V2.8 of the Sycon software.
The Unity project is an *.
xef type import file, which can be opened by selecting
“Open” from the “File” menu.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 2
Typical applications
Introduction
The following chapter describes some typical applications or partial applications for this system.
Application Description Example
Materials handling equipment
Packaging, textile and special-purpose machines
Used for controlling various types of transport equipment that must be controlled in accordance with additional input signals (e.g., initiators) and trigger additional actions on the basis of the transport operation. Example: Trolley with combined roll conveyor.
Used for driving transport machines, folding and cutting machines with several drives, which require additional input and output signals for control purposes.
Pumps and fans Used for driving pumps and fans, e.g., circulation systems, transporting water and other liquids. Control of additional input and output signals, e.g., for the purpose of pump feedback, reading flow meters or controlling valves.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 3
Overview
Layout
System
Introduction
The System chapter describes the quantity, architecture, components and dimensions of the devices and parts used.
Architecture
The system concerned is a PLC, which is used to control a local drive island. The island consists of an I/O platform (Advantys STB), four variable speed drives
(ATV31) each connected to a motor and two external I/O modules (FTB). It can be expanded by adding further variable speed drives and additional external I/O modules. CANopen is used for the island fieldbus. The island and PLC are linked via
Profibus DP. The variable speed drive and the motors are supplied with 230 V AC.
An additional power supply is used to provide 24 V DC voltage for the I/O devices.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 4
Components
Hardware:
TSX Premium (PLC)
Phaseo (power supply)
ATV31 (variable speed drive, 4x)
Advantys STB (remote I/O)
Advantys FTB (I/O module IP 67)
AC motor (4x)
Software:
Unity Pro 2.0.2 (PLC)
Advantys configuration software 1.20 (remote I/O)
PowerSuite 2.0 (ATV31)
Sycon 2.8 (Profibus DP)
Dimensions
The compact size of the individual components means that it is possible to house them in a small control cabinet.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 5
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 drive island motors is controlled separately by the PLC. The input signals of the I/O platform (Advantys STB) and the I/O module with IP67 protection
(Advantys FTB) can also be used for this purpose. The outputs of these modules are used to control additional devices.
As the variable speed drives are controlled via a state machine (DriveCom profile), the drives cannot be controlled manually using a local HMI without a PLC. If an HMI is to be used in conjunction with the drive island, the island can only be controlled with the aid of a PLC (manual operator action).
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 6
Hardware
General
For assembly purposes, the power supply and Advantys STB require a DIN-rail.
The other devices can be attached directly to the mounting plate.
230 V AC wiring is used between the main switch, power supply, variable speed drives and motors.
24 V DC wiring is used between the power supply, PLC, Advantys STB and FTB.
A CANopen cable must be used between Advantys STB, the variable speed drives and the FTB modules. This involves using junction boxes (CAN Tab) to connect the variable speed drives.
Advantys STB and the PLC are connected via a Profibus cable.
Main switch
VCF-02GE
Power supply
ABL7RE2403
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 7
Premium PLC
TLX
TLX P57 5634M
Premium power supply
TSX PSY 5500
1
2
3
4
5
8
9
10
Display LEDs
Eject button for
PCMCIA-SRAM card
Terminal port (TER)
Slot for a memory expansion card
(PCMCIA)
Slot for a communication card
(PCMCIA)
RJ45 connector for Ethernet connection
USB port
RESET button
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 8
Premium
Profibus card
TSX PBY 100
Advantys STB
STB NDP 2212
Profibus
6
1
2
3
4
5
Receiver module in the main or expansion rack
Signaling block (four LED indicators)
Slot for a PCMCIA card
PCMCIA card for Profibus DP incl. connection cable
Connection cable (0.6 m) for Profibus junction box (DP-
TAB)
Profibus junction box (DP-TAB)
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 9
Advantys STB
Power supply
STB NIP 2212
STB PDT 3100
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 10
ATV31 Drive
Control
ATV31H018M2 incl. power and motor connection
Connections
R/L1
R/L2
R/L1
R/L2
T/L3
PO
PA/+
PB
PC/-
U/T1
V/T2
W/T3
Function
Ground connection
Supply of power terminals
+ polarity of DC link
Output to brake resistor (+ polarity)
Output to brake resistor
- polarity of DC link
Output to motor
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 11
Control terminals
Control terminals, control voltage, terminal description
AI2
AI3
COM
AOV
AOC
24V
LI1
LI2
LI3
LI4
LI5
LI6
Connections
R1A
R1B
R1C
R2A
R2C
COM
AI1
10V
Function
Programmable relay R1:
NC contact picks up when switched on, drops out in the event of a fault
NO contact of programmable relay R2
Bus cable for analog inputs and outputs
Analog input as voltage
Power supply for setpoint potentiometer 1 to 10 k
Analog input as voltage
Analog input as current
Bus cable for analog inputs and outputs
Analog output as voltage (AOV) or analog output as current (AOC)
Power supply of logic inputs
Logic inputs
Logic inputs
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 12
Advantys FTB
FTB design –
IP67 module
Connectors
Power supply and bus connection
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 13
General
Software
You will need to install the Unity Pro programming software for the Premium PLC, the Sycon software for the Profibus and the Advantys configuration software for the purpose of configuring the I/O platform (Advantys STB) and CANopen extension
(variable speed drive and Advantys FTB). You will need to install the PowerSuite software in order to maximize user-friendliness in respect of parameterization, saving and simulation for the variable speed drive (ATV31).
The following installation requirements apply in respect of all the software packages:
Operating system: Windows 2000 (SP1 minimum) or Windows XP
Free hard disk memory: At least 2.4 GB, 4.4 GB recommended
User memory: At least 512 MB, 1024 MB recommended
Processor: Pentium III or higher with at least 800 MHz, 1.2 GHz recommended
Interfaces: Serial interfaces as a minimum, USB recommended in addition
Additional software: Internet Explorer 5.5 or higher
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 14
Communication
General
CANopen is used for communication within the drive island, i.e., between the fieldbus devices (Advantys FTB and ATV31) and the I/O platform (Advantys STB). This is referred to as the Advantys STB extension. The Profibus DP protocol is used for communication between Advantys STB and the PLC. The cabling requirements are as follows:
CANopen cable between Advantys STB, ATV31 and Advantys FTB. The ATV31 drives are connected to the bus by means of junction boxes (VW3CANTAP2). A special cable (VW3CANRR1) with RJ45 connector is used to connect the junction box to the ATV.
Profibus DP cable between PLC and Advantys STB. The PLC plug-in card connects to the junction box (DP-TAB), from where the Profibus DP cable starts.
Premium PLC
TSX P57
5634M
Connection to PC:
The UNY XCA USB 033 remote connection cable is used for the connection between the PC’s USB ports
(Unity Pro) and the PLC.
Alternatively, a serial connection (PC <->
TER/AUX) can be established using a TSX
PCX 1031 cable (switch position 0).
Connection with Advantys
STB:
A Profibus cable is used for the connection. Be sure that the interface to the PLC is via Profibus Tab.
Advantys STB
Connection to PLC:
A Profibus cable is used for the connection (see the PLC chapter).
For the purpose of extending the CAN bus, an appropriate cable must be connected to the XBE 2100 module.
Note: This module must be the last local module in
Advantys STB.
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 15
Advantys STB,
continued
Connection with the configuration software:
An STB XCA 4002 programming cable is used for the connection.
ATV31
ATV31H018M2
Connection to CANopen bus:
The connection is established using junction box VW3CANTAP2 and cable VW3CANRR1. The incoming and outgoing
CANopen cables must each be connected to the junction box.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric
Continued on next page
16
ATV31
ATV31H018M2,
continued
Connection with the configuration software:
The VW3A8106 programming cable set is used to connect the ATV31 to the PowerSuite configuration software.
Advantys FTB
The FTXCN3210 cable is used for the connection.
Provided that two FTBs are directly connected to one another, the cables can be used as they are.
Note: If, on the other hand, a connection is made to the
ATV junction box or
Advantys STB, one of the connectors must be removed and the cables attached separately.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 17
Implementation
Introduction
This chapter describes how to initialize, parameterize, program, and start up the system.
Function
Functional description
1. The entire island is controlled via the PLC. For this purpose, the STB and FTB input and output values are transferred between Advantys STB and the PLC, along with the ATV31 state values. On the PLC, there is a state machine for the
DriveCom profile available for each ATV31. The variable speed drives are controlled via these state machines. The state machine converts motion commands, e.g., “Turn left at 1400 rpm” or “Acknowledge error”, into a control signal for the drive.
2. In the example project, the motion commands are generated using an operator panel in the Unity PLC programming software. Here the user can control the drives by pressing buttons and entering a speed. The drive island I/O signals can be used as an alternative to manual operation via the operator panel. In this case, setting certain inputs will generate a motion command.
Layout
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 18
Order of tasks
Proceed as follows to optimize the setup time of the individual products:
1. Parameterize the CANopen extension (station addresses, baud rate)
2. Parameterize the variable speed drive (adjust to suit the line frequency, motor, etc.)
3. Configure Advantys STB and FTB (module assembly, parameterization, etc.)
4. Configure communication between PLC and Advantys STB (Sycon software)
5. Configure state machine for the DriveCom profile and user interface
Proceeding in the sequence described above will ensure that the relevant information can either be imported directly or entered manually from the previous action.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 19
CANopen extension
Introduction
The address and transfer rate must be specified for all the devices on the CANopen extension.
Note: It is important to ensure that the addresses run consecutively in descending order, starting with 32, which is the maximum start address. The maximum start address can be set anywhere within the range 8-32 using the Advantys software (see “Advantys
STB” chapter). Again, this should be taken into account when assigning addresses.
ATV31
Specifying the address and transfer rate
(manually)
1 The CANopen address and transfer rate are set manually via the control buttons on the device.
2 First, use the control buttons to select the “Communication” submenu.
In the “Communication” menu, the CANopen address must be set in the “AdC0" parameter. In the example software provided, the values 27 to 30 have been set aside for the four drives on the drive island.
3 In the “Communication” menu, you must also set the transfer rate in the "BdC0" parameter to the value 500.0 (kbits).
Note:
Alternatively, the address and transfer rate can also be parameterized using the
PowerSuite configuration software.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 20
Advantys FTB
Specifying the address and transfer rate
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 the example software, both FTB modules are configured with the addresses 31 and 32 and the transfer rate is set to 500.0 kbits.
Element Function
1
2
3
Transfer rate
Address 10x
Address 1x
Rotary switch position
4
5
6
0
1
2
3
7
8
9
Transfer rate
Autom. recognition
10 kbps
20 kbps
50 kbps
100 kbps
125 kbps
250 kbps
500 kbps
800 kbps
1 Mbps
Overview of addresses
In the example software, the individual devices on the extension have the following addresses:
Device Address Comment
XBE 2100
ATV31 (1)
ATV31 (2)
26
27
28
ATV31 (3)
ATV31 (4)
29
30
FTB 1CN08E08SPO 31
FTB 1CN12E04SPO 32
Calculated automatically by the Advantys software
Set via operator panel
Set via operator panel
Set via operator panel
Set via operator panel
Set via rotary switches
Set via rotary switches
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 21
ATV31 variable speed drive
Introduction
The settings for the variable speed drives can either be made manually using the control buttons on the device or by means of the PowerSuite configuration software. The manual setting procedure is identical to the process described above for setting the communication parameters and requires no further explanation here. However, as a minimum, the same parameters must be set as when using the software-based setting option. The software-based setting option is described below.
Connecting the device and reading data
1 After starting the software, use the “Connect” option in the
“Action” menu or the equivalent button to establish a connection with the device.
Note: Prior to this, you must have inserted the connection cable that runs between the PC and ATV into the “PowerSuite” port on the junction box. Only one drive can be connected to the box’s "ATV1" input.
2 Before the connection is established, you must confirm that you accept the terms of the security warning by pressing
ALT+F.
3 Next, you need to enter the name of the configuration or device.
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 22
Connecting the device and reading data,
continued
Parameterizing and transferring data
4 You must confirm the following warning concerning the transfer of parameters. The current parameters will then be transferred from the drive to the software.
1 Once the transfer is complete, the drive’s online screen will appear.
In order to make parameter settings, you must switch to the configuration screen.
2 In the configuration screen, you must, as a minimum, check the line frequency parameters
(“BFR”) and motor parameters
(Settings/Drive Parameters –
Motor Characteristics) and adjust them as necessary.
3 Next, close the configuration view and, in the main window, transfer the data to the drive by selecting “Configure” from the
“Action” menu or by pressing the equivalent button.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric
Continued on next page
23
Parameterizing and transferring data,
continued
4 To start the transfer, confirm the warning message.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 24
I/O platform
Introduction
This chapter describes how the Advantys I/O platform is configured using the
Advantys configuration software. Proceed as follows:
1. Make the hardware settings, in particular the Profibus address
2. Create a new project (workspace)
3. Configure the hardware (network interface, power supply and I/O modules)
4. Configure CANopen extension communication (baud rate)
5. If necessary, adjust device parameters (reset inputs, settings, etc.)
6. Download configuration to island.
Specifying the
Profibus address
1 The Profibus address is set via the two rotary switches on the
STB NDP2212; addresses between 1 and 125 can be set.
Although addresses 0 and 126 to 129 can be set, they are not permitted.
Creating a new project
1 After starting the Advantys software, you must create a new workspace.
2 To do this, you must specify the path, the workspace name and the name of the first island.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 25
Configuring the hardware
1 Select Profibus network interface module STB NDP
2212 as the island head.
2 Switch to the Parameters view by double-clicking on the tab in the header and adjust the maximum station ID of the
CANopen extension as necessary.
Note: This does not need to be done in the example project.
3 Next, add the remaining slides:
STB PDT 3100,
STB DDI3610,
STB DRC 3210,
STB XPE 2100 and do not forget about bus termination STB XMP 1100.
4 Finally, the CANopen extension can be configured by dropping the devices to the
STB XPE 2100 module.
Addresses are assigned in accordance with the order on the bus.
Note: This may mean switching the devices around so that the addresses match the order set in the hardware configuration.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 26
Configuring
CANopen communication
1 The transfer rate for the
CANopen extension must be set to 500 kbps via the “Baud
Rate Tuning” menu item. This transfer rate matches that set for the ATV31 and FTB modules.
Adjusting the device parameters
1 It is possible to specify parameters for the individual devices of the Advantys island.
On the extension bus only parameters of the Advantys FTB modules can be set, the ATV31 parameters cannot be influenced. The parameters are transferred to the devices each time the island is started.
2 Double-click on the device to open the parameter window.
This screenshot shows the parameters for pin 2 of the
FTB modules by way of an example. New values can be specified by entering them in the “User defined label” field.
Note: In the case of the example project, no values need to be changed here.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 27
I/O assignment 1 You can use the “I/O Image
Overview…” menu item
(located in the “Island” menu) or the equivalent icon to call the function for assigning the
I/O to the memory areas.
2 The information concerning the selected data is displayed in the description field.
Alternatively, the project can also be printed. The printout will contain the same information.
Note: The “PLC – Overview of addresses” chapter contains a list of address assignments.
Downloading the configuration
1 Start by selecting the “Build” option in the “Island” menu or the equivalent icon to generate a machine-readable version from the completed configuration.
2 An information window will be displayed, while the build is in progress. Once the build process is complete, a message will be displayed informing you, whether or not the operation was successful.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric
Continued on next page
28
Downloading the configuration, continued
3 If this is the first time that a connection to the island has been established, the connection settings must first be specified by selecting
“Connection Settings” from the
“Online” menu. In the case of a serial connection, the settings must be made as per the screenshot shown here.
4 You can now establish a connection to the island by selecting "Connect" from the
"Online" menu or by pressing the equivalent button.
Note: If no build operation has yet been performed, the software will now initiate an automatic build.
5 Once the connection has been established, the Advantys software will detect that the machine-readable version generated does not match the current configuration in the island and will present you with an option to “Download” or “Upload”. After selecting
“Download”, confirm the security prompt.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric
Continued on next page
29
Downloading the configuration, continued
6 A progress bar will be displayed during download.
Once the download is complete, the island will perform a reset and the connection will be interrupted.
Once you have confirmed the prompt, re-establish the connection with the island.
7 Once the connection has been re-established, you can start the island by selecting “Run” from the “Online” menu or pressing the equivalent button.
8 Confirm the prompt. Following successful startup, the following message will appear in the output window: “No errors. Island fully operational.”
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 30
Profibus
Introduction
In order for the I/O platform to be integrated in Profibus via the Sycon software, the
Advantys STB Profibus module must first be integrated in the software using the sa_0640.gsd description file supplied (and the three additional image files).
Note: An update for the description file can be downloaded from www.schneiderautomation.com
, if required.
Importing
Advantys
1 After starting up the Sycon software, open a new project for Profibus and then select the “Copy GSD” menu item from the “File” menu.
2 Next, select the 0640.gsd file and start the function.
3 Confirm the import of the corresponding images.
4 A message appears informing you that integration is complete.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 31
Configuring the bus
1 The Sycon software package is used for Profibus implementation. Sycon assembles the configuration data for Profibus and makes it available in the form of an export file for the PLC programming software.
2 To create a project, select the
“New” menu item from the
“File” menu, or the equivalent button, then select “Profibus” as the bus type.
3 Add the PLC’s Profibus card to the project as the master via the “Master” menu item in the
"Insert" menu, or by using the equivalent button. Select the
"TSX PBY 100" card in the next selection window. A
Profibus address and a name must also be entered.
4 Add the Advantys island to the project as a slave via the
“Slave” menu item in the
"Insert" menu, or by using the equivalent button. Select the
"STB NDP 2212" card in the next selection window. A
Profibus address and a name must also be entered.
Continued on next page
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 32
Configuring the bus,
continued
5 The arrangement of components in the Advantys island must now be entered for the slave. Double-click to open the slave module. All of the island’s elements can be selected from a list, but the sequence of the elements must be taken into account.
The elements can be selected from the list by name or as standard devices with defined input and output areas; double-clicking on an element means that it becomes the next island element in the lower list.
Note: Currently, the ATV31 and the FTB modules can only be selected as standard devices. For the ATV31, select a standard device with two input and two output words;
FTB modules have 1 output byte and five or six input bytes.
6 Finally, save the project and create an export file for the
PLC project via the “Export” menu item in the “File” menu.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 33
PLC
Introduction
This chapter describes how to create a PLC program, including the logic for the drive island, using the Unity Pro software.
Proceed as follows to integrate the PLC:
1. Create new project and select hardware
2. Configure Profibus DP communication
3. Create application program (logic)
4. Connect PLC and download program
Creating a new project
1 After starting Unity, the first thing you need to do is create a new project. When doing so, you must select the correct
PLC.
2 Next, you should modify the position of the CPU by dragging and dropping and insert the correct power supply. Now save the project.
3 Finally, select the TSX PBY
100 Profibus card from the hardware list under
“Communication” and drag it to the rack.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 34
Configuring
Profibus communication
1 In the hardware screen, double-click on the Profibus card to open the Profibus configuration. Next, use the
“Load CNF” button to enter the name of the Sycon software export file.
The table on the left-hand side then displays the stations, along with their addresses and
IDs. Click on a station to view its PLC-addresses in the two tables on the right-hand side.
The individual station addresses are consecutive input and output words, which use the
Profibus card slot for orientation during the addressing process. As a guideline for addressing, %IWr.s.c.x applies to inputs and %QWr.s.c.x to outputs. “r” represents the rack number, “s” the slot number and “c” the channel number. The consecutive input and output words are numbered with “x”. Therefore, the example above results in
%IW0.3.0.x and %QW0.3.0.x. An individual bit within the word can also be referenced by adding a fifth character to the address (see I/O data address overview).
Other configuration options affect:
1. The behavior of the outputs
2. The number of words on the bus
3. The number of diagnostic bytes
4. The task assignment
No changes have to be made here for the example project.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 35
Overview of addresses
Overview Description
The tables provide an overview of the example application I/O data; both the PLC and the I/O platform
(Advantys STB) addresses are given. In the case of the I/O platform, the addresses available externally are given. By contrast, the internal CANopen extension addresses are not given.
Note: On the PLC side, two data structures are defined for communication with the ATV31, each of which contains two integer values. The first of these values is the control word used to convey the motion commands and the second is used to specify the speed.
As well as assigning addresses and variables directly, the example project also contains a section
(Data_Assignment) that allows the assignment to take place via blocks. This is necessary, if the types of the declared variables do not match the address types.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 36
Creating the application program
1 First, you need to declare variables and assign them to input and output data of the drive island, assuming that you do not intend to make use of direct addresses.
Two types of variable are used in the example program:
1. Elemetary variables for the digital inputs and outputs
2. Structures for the data exchange with the variable speed drive
2 Next, you need to program a
DriveCom state machine for the purpose of controlling the variable speed drive. For this purpose, the example program includes a derived function block (DFB), which can be called for each variable speed drive. As a result, the application remains flexible.
Two rotational directions and two speeds, plus fault acknowledgement, are controlled via this function block.
3 Finally, the DriveCom state machine is connected (in this case the function block) by means of external logic, e.g., using the additional input and output signals of the drive island.
Instead of this connection, a graphic interface was created in the example program for the purpose of controlling the drives. This enables direct access to the blocks.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 37
Downloading a program
1 Upon completion of programming, the entire project must be built. To do this, select the relevant menu item or button.
2 You must define the PLC address before establishing a connection with the PLC.
Depending on the connection used, you can select
UNTLW01 for a Uni-Telway connection or USB for a USB connection. In both cases, the
PLC SYS address (standard system address) should be used.
3 The connection is made using the "Connect" menu item from the "PLC" menu, or the equivalent button. The programming cable (serial or
USB) must be connected to the PLC.
4 Transfer the application program to the PLC and then start the PLC.
Note: If you want the PLC to start as soon as the download is completed, you must check the relevant box before starting the transfer.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 38
Functional expansion
Advantys STB supports the local connection of a HMI, e.g., a Magelis XBT-N 401. In this case, the HMI data must also be transferred between Advantys STB and the PLC so that the drives can be operated via the local HMI with the aid of the PLC.
Local control/operation of the drives is not possible without the supervisory PLC. This is mainly attributable to the state machine required for control of the variable speed drive, which is only available on the PLC and cannot be implemented locally.
Operating behavior
Starting characteristics
As soon as the power is switched on, the drive island devices enter the initialization phase, during which their own parameters are (re)set. The Advantys STB initialization process is the longest. During this time, the CANopen extension starts up and parameters are transferred from the Advantys STB to the extension devices (if such parameters have been defined in the Advantys configuration software).
For the purpose of operating the drive island, the island (i.e., Advantys STB) and the
PLC must be able to communicate with one another. Without this active communication, it will not be possible for the DriveCom profile of the variable speed drives to be evaluated and controlled and they will switch to fault mode.
Number of stations on the CANopen extension
The maximum number of stations on the extension is 12. The configuration described above is capable of handling six devices without any discernible problems. Similarly, there is no evidence to suggest that the order/address of the individual stations will be adversely affected.
Misconfigurations on the
CANopen extension
Below is a description of how the bus behaves in the event of potential misconfigurations, particularly addressing errors:
Error Description
Duplicate bus address
Device has the same address as
XBE 2100
The two devices with the duplicate address are excluded from bus operation and no data can be exchanged with them. Data exchange with all the other devices continues as normal and is unaffected by this fault.
If a device on the bus has the same address as the XBE
2100 extension module, the bus will fail to start and no data will be exchanged.
Note:
In both cases, the relevant diagnostic message will be displayed in the Advantys software or on the island head Web page to enable the error to be detected on startup.
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 39
Addendum
Detailed components list
Type/software
ABL7RE2403
VCF02GE
TSXP575634M
TSXPSY5500M
TSXPBY100
TSXRKY8EX
STBNDP2212
STBPDT3100
STBXBA3000
STBDRC3210
STBDDI3610
STBXBE2100
STBXMP1100
STBXBA2200
STBXBA1000
TSXTLYEX
TSXPCX1031
UNYXCAUSB033
Description
POWER SUPPLY 240 V AC 1PH 24 V DC 3 A
EMERGENCY OFF MASTER SWITCH
Premium CPU; 640 KB INTEGR.ETH
115/230 V AC/55 W power supply
Profibus module incl. PCMCIA card and DP-Tab
Expandable backplane 8
Terminating resistors A and B
Communication cable multifunctional
Communication cable USB
PROFIBUS DP STAND. BUS COUPLER
POWER SUPPLY 24 V DC PDM STAND.
BASE I/O TYPE3 27 MM
MODULE 2 OUT RELAY C 24 V DC/2 A
MODULE 6 IN 24 V DC SINK 2-WIRE 0.1 MS FIX. S
CANOPEN EXTENSION MODULE
BUS TERMINATOR MODULE ISLAND BUS
BASE PDM 18 MM
BASE I/O TYPE1 13.5 MM
Revision/ version
STBXBA2000
STBXTS1100
STBXTS1110
STBXTS1120
STBXTS1130
BASE I/O TYPE2 18 MM
CONNECTOR I/O 6 SCREW-TYPE TERM. CONN. (20)
CONNECTOR I/O 5 SCREW-TYPE TERM. CONN. (20)
CONNECTOR NIM 2 SCREW-TYPE TERM.
CONN. (10)
CONNECTOR PDM 2 SCREW-TYPE TERM.
CONN. (10)
CONFIGURATION CABLE RS232 SUBD/HM13 2M STBXCA4002
FTB1CN12E04SP0 DIGITAL I/O 24 V DC 12 IN 04 OUT IP 67 CANopen bus
FTB1CN08E08SP0 DIGITAL I/O 24 V DC 08 IN 08 OUT IP 67 CANopen
FTXCN3210
ATV31H018M2
Connection cable for connecting FTB to CANopen bus
Variable speed drive 0.18 kW/2.2 A
VW3CANTAP2
VW3CANRR1
VW3A8106
Junction box for connecting ATV to CANopen bus
Connection cable for connecting ATV31 to junction box
Communication cable for communication between
ATV31 and PowerSuite
UNYSPUEFUCD20 Unity Pro XL single-user license V2.0.2
STBSPU1000 ADVANTYS software incl. RS232 cable
PowerSuite
V1.2
V2.0
SYCSPULFUCD28M Sycon fieldbus configuration software V2.8
Premium and Advantys STB on Profibus DP_EN.doc
Schneider Electric 40
Contact
Author
Schneider Electric GmbH
Customer & Market
System & Architecture
Architecture Definition
Support
Phone E-mail
+49 6182 81 2555 [email protected]
Schneider Electric GmbH
Steinheimer Strasse 117
D - 63500 Seligenstadt
Germany
Premium and Advantys STB on Profibus DP_EN.doc
As standards, specifications and designs change from time to time, please ask for confirmation of the information given in this publication.
41
Herunterladen
Werbung