Premium and Advantys STB on Profibus DP Advantys STB, FTB and Altivar on CANopen System Manual Document 33003548.
Contents Application example – Source code......................................................................................2 Typical applications................................................................................................................3 Architecture.............................................................................................................................4 Installation.................................................................................................
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 El
Typical applications Introduction Application The following chapter describes some typical applications or partial applications for this system. Description Example Materials handling equipment 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.
Architecture Overview 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) with one downstream motor and two external I/O modules (FTB); it can be supplemented by adding variable speed drives or external I/O modules. CANopen is used for the island fieldbus and the island and PLC are linked via Profibus DP.
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) Dimensions • Advantys configuration software 1.20 (remote I/O) • PowerSuite 2.0 (ATV31) • Sycon 2.8 (Profibus DP) 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.
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 I/O platform (Advantys STB) and the I/O module with IP 67 protection (Advantys FTB) input signals can also be used for this purpose. The outputs of these modules are used to control additional devices.
Hardware General Components • For assembly purposes, the power supply and Advantys STB require a top-hat rail. • The other devices can be attached directly to the mounting plate. • A 230 V AC cable is used between the emergency off master switch, power supply, variable speed drives, and motors. • The 24 V DC cable 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.
Components, continued Premium PLC TLX TLX P57 5634M 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 Premium power supply TSX PSY 5500 Continued on next page Premium and Advantys STB on Profibus DP.
Components, continued Premium Profibus card TSX PBY 100 1 2 3 4 5 6 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 (DPTAB) Profibus junction box (DP-TAB) Advantys STB Continued on next page Premium and Advantys STB on Profibus DP.
Components, continued Advantys head and module power supply Continued on next page Premium and Advantys STB on Profibus DP.
Components, continued ATV31H018M2 ATV31 drive control incl. supply and motor connection Connections Function Ground connection R/L1 R/L2 R/L1 R/L2 T/L3 PO Supply of power terminals PA/+ Output to brake resistor (+ polarity) + polarity of DC link PB Output to brake resistor PC/- - polarity of DC link U/T1 V/T2 W/T3 Output to motor Continued on next page Premium and Advantys STB on Profibus DP.
Components, continued Control terminal connection Connections Function R1A R1B R1C R2A R2C COM 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 AI1 Analog input as voltage 10V AI2 Power supply for setpoint potentiometer 1 to 10 kΩ Analog input as voltage AI3 Analog input as current COM Bus cable for analog inputs and outputs AOV AOC 24V Analog output as voltage (AOV) or an
Components, Advantys FTB continued Power supply and bus connection Premium and Advantys STB on Profibus DP.
Software General 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).
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).
Advantys STB, continued ATV31 ATV31H018M2 Connection with the configuration software: An STB XCA 4002 programming cable is used for the connection. 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. Continued on next page Premium and Advantys STB on Profibus DP.
ATV31 ATV31H018M2, continued Advantys FTB Connection with the configuration software: The VW3A8106 programming cable set is used to connect the ATV31 to the PowerSuite configuration software. 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.
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.
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.
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.
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 1 Function Transfer rate 2 Address 10x 3 Address 1x Rotary switch position 0 1 2 3 4 5 6 7 8 9 Overview of addresses Transfer rate Autom.
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, at least those parameters set for this software version should be set. The software-based setting option is described below.
Connecting the device and reading data, continued 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. Parameterizing and transferring data 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.
Parameterizing and transferring data, continued 4 To start the transfer, confirm the warning message. Premium and Advantys STB on Profibus DP.
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.
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 stations STB PDT 3100, STB DDI 3610, STB DRC 3210, and STB XPE 2100 and do not forget bus connection STB XMP 1100.
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 on the CANopen extension, which are transferred to the devices every time the bus is restarted.
I/O assignment Downloading the configuration 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 out. The printout will contain the same information. Note: The “PLC – Overview of addresses” chapter contains a list of address assignments.
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.
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.
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, select the “Copy GSD” menu item from the “File” menu.
Configuring the bus 1 2 The Sycon software package is used for Profibus implementation. Sycon assembles the configuration data for Profibus and makes it available in the form of a PLC programming software export file. 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.
Configuring the bus, continued 5 6 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.
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.
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 add its address to the two tables on the right-hand side.
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.
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. Individual variables for the digital inputs and outputs 2. Structural variables for 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.
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.
Functional expansion Advantys STB supports the local connection of a visual display unit, e.g., a Magelis XBT-N 401. In this case, the VDU data must also be transferred between Advantys STB and the PLC so that the drives can be operated via the local visual display unit with the aid of the PLC. Local control/operation of the drives is not possible without a higher level control system.
Configuring the ATV31s, continued The following table provides an overview of how the ATV31 behaves depending on the different configuration methods: Parameters configured by… ATV31 restart Island restart Island & ATV31 restart CANopen bus error IO scanning/PLC error Misconfigurations on the CANopen extension …Advantys Advantys Advantys Advantys Advantys Advantys …PowerSuite, ...
Addendum Detailed components list Type/software Description ABL7RE2403 VCF02GE TSXP575634M TSXPSY5500M TSXPBY100 TSXRKY8EX TSXTLYEX TSXPCX1031 UNYXCAUSB033 STBNDP2212 STBPDT3100 STBXBA3000 STBDRC3210 STBDDI3610 STBXBE2100 STBXMP1100 STBXBA2200 STBXBA1000 STBXBA2000 STBXTS1100 STBXTS1110 STBXTS1120 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.
Contact Author Schneider Electric GmbH Customer & Market System & Architecture Architecture Definition Support Schneider Electric GmbH Steinheimer Strasse 117 D -63500 Seligenstadt Germany Premium and Advantys STB on Profibus DP.doc Phone E-mail +49 (0)6182 81 25 10 cm.systems@de.schneiderelectric.com As standards, specifications and designs can change from time to time, please check that the information contained in this publication is confirmed.