Home
Twido and Lexium Magelis and Advantys
Contents
1. Twido and Lexium Magelis and Advantys EN doc Schneider Electric Create a new Start up Vijeo designer and project select Vijeo Designer Vel elcome to Vijea D essgrier Create new project What would you like to do Continue with Next gt Assign a project name and if required enter a Create New Project description or comment y Enter Project Name to Create Project Name TwD_LXMO5_HMI Continue with Next gt sete enim Description or Comment Select the target device used Create New Project Target name Hmi2twd Target type XBTG Series i TagetName Hmitwd Model XBTG2330 na Target Type X8TGSeies r Model xero2330020040 ABTG2110 320x240 j j XBTG2120 320x240 Continue with Next gt ETE 3201240 D 540x480 6404480 Beck Nee Erin caes Twido and Lexium Magelis and Advantys EN doc Schneider Electric 4 To use the Ethernet interface you must enter an Ethernet address for the target device If required enter IP address Subnet Mask Default Gateway Continue with Next gt To exchange data with other devices the Magelis HMI needs a communications driver Attach the new driver by clicking on Add In the New Driver dialog select Manufacturer Schneider Electric Industries SAS Driver Modbus RTU Equipment Modbus Equipment Exit with OK to accept the driver Twido and Lexium Magelis and Advantys EN doc ITT a x Enter Project
2. Hr mu poro ji i Hid UuEREEREDT Aay 2 0 9 TOOT 0000000600000 epa S DE i i we 3 ER i SPHE HEHEHHE a mE w Sie HIR B uuu Emus ase menm Tp badd proie er Lorie A Twido and Lexium Magelis and Advantys EN doc Schneider Electric in an input mask which can be viewed via Adjustments gt Motor control gt Motor Characteristics jp bardiglio Enter the Motor data of the type of motors used Nominal motor voltage V Nominal motor frequency Hz Mominal motor current 4 1 1 Motor power factor 0 75 Nominal motor speed tr min 1410 Cold stator resistance mohm Inactive Automatic tuning Mot assigned r In the entry PO Brake sequence Communication O canin ie O Motor enter the CANopen Address iO Manage limit switches for this application 5 amp 6 and EO Fault Management select aM Fault behaviour Baudrate 500 kbit s E im im E Communication Communication FLU Forced local mode Mot assigned LAN open ADCO Drive CANopen address 5 ERCO Error registry CANopen U BUCO C4 Nopen trans speed FOO kbit s Twido and Lexium Magelis and Advantys EN doc Schneider Electric Save the configuration 5 PowerSuite ATY31 Altivar 31 Nol File Display Configuration Tools Save as Chrl ShiFk 5 8 Print Ctrl F Print preview Cbrl Shifk P To transfer the ne
3. Files ol pe TwidoSolt Fes TaD Equipmerit Tio t New Variables From Equipment E e xi Equipment Twido Linked file DESDATASTwWD LMBSSTwadossMES bd Update ES Lr1 f ur A Filtered By Nam Ares LUM Auto_man zM53 LNM Bit 1 ms zM5 LPT Bit_1 Orme zM LM Bit 1 ZME Lr iBit 2s Me a Canopen status zz MWwBAL LM Cold_ start zM JU Count 2 sec zM wa a Count cold start zz M WB m Count first cucle ZM agi zl Pe m ma 1 Abg Select All Select None Selected 342 of 342 When adding variables Create az C Elements in equipment structure C Variables that combine equipment and name C Yarable named Add ta Scan Group ModbusE quipment01SG01 Havigator mjanja Sorted by Mame Filter Filter by Variable Toolbar Features Mew Variable Paste Ctrl Import variables Ctrl I Export Variables ctrl E New Variables From Equipment Link Variables Update Link Properties Alt Enter Schneider Electric 40 All variables can now be viewed in the Navigator on the Variables tab Twido and Lexium Magelis and Advantys EN doc Havigator wm m A Ein wo A E qne Sorted by Name Filter Filter by Variable Toolbar Features E m Hmi2bwd LPT Auto man M59 LMI Bit 10D0ms 9 amp M5 LI1Bit 10ms M4 LMI Bitis amp M6 LMI Bit 2s amp M8 d Canopen status 9sMWwB4n LIT Cald stark sM wl Count Z sec SS MWan tl Count cold start 9 Man
4. which device PDO with Identifier _ _ Ee p ur NET Selecting the individual Cms ae ie ee a PDOs moves them to the list DE WEE AD ANT Y STSL FOO RX on the right ET EEA afm x m L U fish slo The following PDOs are required Receive Send Lexium 05 TX1 4 RX1 4 Altivar 31 TX6 Advantys TX1 2 Rx1 2 Twido and Lexium Magelis and Advantys EN doc Schneider Electric On the Symbol tab you can view the pre defined symbol names from the configuration Click on OK to accept the names and finish the CANopen configuration Twidosoft now displays a list of configured devices in bus address order ee Ce Tanl E Di omn STATUS aH Ci ih VELOCITY Ki D IH POSITION Dy nz IM STATUS hii DX IH VELOZLTY Ei Dz IH POSITION EM D STATLE ATYSL t D COHTEREL ATVOIL E E p ERROR ATw21 1 EM D STATLG ATAL Z Cchgrt zb ACOCss LEZILMIE i1 Staben d iE IST a Ma C ee E x was A TEE LEXILWIE IET Eum omaa e a iame pesenane eo TEE matt Gine e eaa man e e aaa C oo E EEEE kunz Ginan e eraa lj D Conr ATAL ANILE Control effort 1 wee Ef D ERROR ATKI 2 Ge STR IH DII ATIL 2 i6 weis ADWAHTES STH Does neal Black Hc 1 amp Sian smo T_T Dos Inout Mock Ne 2 o mwcrs2 Ef STEIN rt hd STE IH rid E STE Jh pc Ej sre 18 nre hd STE IH AIT kf STE IN nrz VL anfiquratian Dditer owent ste ws meraokme s e ances ADIMANTES TRI Digtal Ingat Black He 4
5. CNA RIT Field hus 2 aa CN Position I tae UNS U Motor Encoder yo WO Ss PE Lo Encoder Temperature connector Schneider Electric 15 Power Cable 3 m VW3 M5 101R30 Feedback Cable 3 m 4 DN ow VW3 M8 101R30 bor SA id JAC 0 430 a a 1 AN auf raza t pe ay aras srake brake nat assignad Designation lead no Meaning Range Designation lead no Sensor PTC Temperaiure nal assigned REF COS REF sgnal Meaning Range 5 Data 4 RS 465 SIN R U power y ONO areurd HMI Magelis XBT G2330 Advantys STB PDT 3100 DRC 3210 Twido and Lexium Magelis and Advantys EN doc Schneider Electric Rear of XTB G to Bae oake Power input terminal block 3 FG Ring terminals ACO 1210 Advantys STB CANopen Bus adapter STB NCO 2212 Advantys STB Field Power supply STB PDT 3100 Note the power supply to the inputs and outputs can be individually switched e g for E OFF Twido and Lexium Magelis and Advantys EN doc 1 receptacle 1 24 VDC 2 receptacle 2 common voltage STB PDT 3100 24 VDC sensor bus power 24 VDC return line of sensor power supply 24 VDC actuator bus power 24 VDC return line of actuator power supply Schneider Electric Software General The major software components involve the programming of the Twido PLC including its CANopen configuration and the creation
6. e A24 V DC wiring is used between the power supply PLC HMI and VSD control unit e There are other cables from the power cables ATV and LXM and feedback cables only LXM between the motor and the VSD Components Master switch VCF 02GE Power supply ABL7RE2403 Continued on next page Twido and Lexium Magelis and Advantys EN doc Schneider Electric 10 Components contd Twido PLC TWDLMDA4ODTK Hinged cover Extension connector Analog potentiometer Serial port 1 Module cover 24 V DC power supply terminals Analog voltage supply connector LEDs I O terminals OONOAaRWND Twido PLC TWDLMDA4ODTK Power supply Drive Controller ATV31 UT m incl PS and b oa ae x Fees prn FADE 3 motor connection SE er t s e ee e E E pons ATV31H018M2 Twido and Lexium Magelis and Advantys EN doc Schneider Electric Drive Controller ATV31 incl PS and motor connection ATV31H018M2 Lexium05 Servo Drive LXM05AD10M2 Lexium05 Servo Drive LXM05AD10M2 Power connections see T1 Twido and Lexium Magelis and Advantys EN doc Connections Terminal Function Ground terminal Power supply PAM PBi Power connections FE ARYL ELEN R L1 amp L2 TL FAC PBI FEa PI LT 1 ViTZ WTS eb 9 Rubus pns rores roc rere Schneider Electric PC UTi V T2 W T3 Bridge to internal braking resistor delivery status External braking resistor DescHptlen Earth conmech
7. L1 L2 L3 N PE Safety Level none Twido and Lexium Magelis and Advantys EN doc Schneider Electric Dimensions The dimensions of the individual devices used PLC Drive Power supply etc require a housing cabinet size of at least 1000x600x300 mm WxHxD The HMI display and illuminated indicators can be built into the door of the housing Twido and Lexium Magelis and Advantys EN doc Schneider Electric Installation Introduction This chapter describes the steps necessary to set up the hardware and configure the software required to fulfil the described function of the application Layout Note The configuration of this application has not been developed for any special actual use It is intended to show how the system components work together as a unit The components that are listed are a cross section of the components needed for control and display in possible applications This document does not claim to be comprehensive and does not absolve users from their duty to check the safety requirements of their equipment and to ensure compliance with the relevant national or international standards and regulations Twido and Lexium Magelis and Advantys EN doc Schneider Electric Hardware General e For assembly purposes the Twido power supply and Advantys STB require a top hat rail e The other devices can be attached directly to the mounting plate e A230 V AC wiring is used between the main switch power supply and VSD
8. Name to Create Project Hame TwD_LXMO5_HMI Create New Project Enter Project Name to Create Project Hame TwD_LXMO5_HMI Target 1 1 Equipment List Adds divers and equipment Defne settings in the Navigator window s Driver and Equipment properties New Driver Manufacturer Schneider Electric Industries S45 Driver Modbus RTLI Modbus Plus Modbus TCP P LIni Telway Equipment Modbus Equipment Cancel Help Schneider Electric 34 7 The new driver is attached Exit with Finish to complete the project creation Twido and Lexium Magelis and Advantys EN doc Create Mew Project Enter Project Mame to Create Target 1 1 Equipment List Adds divert and equipment Define settings in the Navigator window s Driver and Equipment properties Schneider Electric 35 Set Up the Communication Once the project has been created Vijeo Designer displays the working environment Right mouse click on the platform name in the Navigator to view the project attributes in the Property Inspector Select the download setting for the connection between PC and Magelis Ensure that the setting shows Ethernet and that the IPAddress and SubnetMask are valid hrr HM wrr roar Flat LN d Sad PM Caanege Void Cot Tead aa ah bm A She tee we eet AA co ea a p a a SS ne woh A See AET e em GE CR e ae a Havigator Fu b TWD LxMD5 HMI EA Graphical Panels po 1 Paneli Applicatio
9. TwDDDUOSLUT a amm m m oom Description pem Master expansion module 50m4 and in this example the analog a x I O modules Enpansion Address 2 7 Tw DeAMIALT TWDAMI2HT TwDAMM3HT Done vereris Help T DAMOTHT E Description Expansion module vith 2 amp naleg Inputs D 10V 4 20mAL 12 bits removable screw terminal fS mA a x Module Expansion Address 3 TwDAMIALT TWDAMO1HT TwDAMM3HT Dem TWDALM3LT Help TWDAMIZHT TWDAVOZHT TwDAML THT Description Expansion module vith 1 Analeg Output D 10 4 a0mA 12 bas removable screw teminal BOnes 9 The modules are now visible in E A Twido_0 the project browser EE TWDLMDASODTK cfe Hardware o 87 Port 1 Remote Link 1 EE gr Port 2 Modbus 1 iii Expansion Bus 1 TWONCOIM 2 TWDAMIZHT 3 PWwDAMUTHT You can now save the project using g TwidoSoft untitled File gt Save as File Edit view Tools Hard Mew Ctrl g Open Chrl 0 File gt Save Save Ctrl 5 and later at any time using Twido and Lexium Magelis and Advantys EN doc Schneider Electric Configure The appropriate interface Modbus parameters need to be entered Communication Communication type Modbus Address 1 for PC Port 1 2 for HMI Port 2 Baud rate 19200 baud Note The settings for Port 2 must be the same as those for the HMI Configure The configuration tool must CANopen be opened to configure the communication CANopen Master
10. and Advantys EN doc Schneider Electric Configuring The internal baud rate can be Island Online Options Window He CANopen set via the menu bar The rate Add Rail Communication used is 500 kbps iG Add Annotation Delete Annotation strago Set the parameter for the Add Module transfer rate between NIM and PLC with the two rotary switches on the front of the NIM a Module Editor I Reflex Editor t Build Lack rH Resource Analysis ES IO Image Overview Baud Rate Tuning Island Properties ACEITE TENES Bj 2l xd Baud Rate far the Island Bus Default value 800 kbps Gees l O Assignment You can use the Island Online Options Window He I O Image Overview dd Rail a Add Annotation menu item or the icon to call Delete Annotation Str the function for assigning I Os to tale Meal memory areas a Module Editor I Reflex Editor ef Build Lock iy Resource Analysis EXTR Image Overview Baud Rate Tuning Island Properties In the Fieldbus Image tab the information concerning the 5 D if ea selected data is displayed in the mmm description field T T f Je e oo fn fd Word 1 Hit i Digital Qutput STRDRIC3210 V 1 x4 173 1 Channel T Output Data Twido and Lexium Magelis and Advantys EN doc Schneider Electric Download the Configuration Alternatively the project can also be printed out The printout will contain the same information
11. data terminal ready RTS request to send CTS clear to send GND ground reference NIC not connected Bin Signal Beschreibung 1 Michl vereieridel ieriervigrl 2 CAN L CAM 2uslaiturg Low GAN CND GAN Massa Nicht vereendot Reservicrt pemali CHAIN As ure rug Cotianale Masse B DAN Il QAN 3uslaitur g I ligh Nicht vervendet Reserviart T Michi versine Hressir Hinweis Die Pinnurmman enlepmechen dei Dur slellurng m cei Abbildung vben Schneider Electric 21 Advantys STB CANopen bus adapter STB NCO 2212 CANopen baud rate ADDRESS Advantys STB CANopen bus adapter STB NCO 2212 CANopen address ADDRESS Twido and Lexium Magelis and Advantys EN doc The rotary switches on the STB NCO 2212 CANopen NIM are used to set the network node address and the Advantys STB island s baud rate Disconnect the island s power supply Set the lower rotary switch to any position between 9 and O baud rate setting is marked Select the baud rate you wish to use for fieldbus communication Select an appropriate baud rate setting for your system and network requirements O 10 000 bps 4 250 000 bps 1 20 000 bps 5 500 000 bps 2 50 000 bps 6 800 000 bps 3 125 000 bps 7 1 Mbps In this example we have selected setting 5 500 000 bps Turn the upper rotary switch to the position corresponding to the baud rate you have selected e g 5 Power up your island to use the new setting
12. doc Tuido LzMB85 nTV231 STB A HSB to Pre perat s LA LM ATY FITW STB CANopen Status Tauido LzZMB85 AT VS1 STE A983 me Bus alarm E Schneider Electric Lahes Moi Laas Mos ATVS1 Mol ATVS1 Mos Lex ium 48 PLC Introduction The PLC chapter describes the steps required for the initialisation and configuration and the source program required to fulfil the functions Pre In order to proceed you require the following conditions e widosoft installed on your PC e The Twido PLC is switched on and running e The PLC is connected to the PC with the programming cable TSXPCX1031 Proceed as follows to integrate the PLC e Create a project e Configure the hardware central unit modules e Configure Modbus communication Configure CANopen communication e Create the Application Program Connect the PLC to the PC e Transfer the user program to the PLC Create a After starting the software the project first thing you need to do is create a new project using File Edit View Tools Hardware Ctrl M File gt New Open ickri o Save atr S Save As Close Select the functional level Functional Level Management You can leave the default value Automatic Level Cancel C lowest possible highest possible C Manual Level Level 2 0 Level 2 5 Level 3 0 Level 3 2 Twido and Lexium Magelis and Advantys EN doc Schneider Electric 49 Give the application a n
13. for Heit D OD Apk 5 90 An oT p m DCAHasenDieaze LN ALS Liki rraelJSTP Dant bring h hack Shop UD Apk agi Api Mocbus Devine A Ip LLIO logre Type Type of Di ib HAG Odefsulitiade Opecsting mode in Local ID 4422 l pine rac Pas melse signal sainn hiinpu HM CTRL amex Speed imitation 000 rien ANE Tm jun The selected type of device controli accepted when the system E switched off and on again Save the configuration in the ERPROM before the drive is switched aff and on Do vou wish bo cankinue DIE EU Command interface dn ID IM CTRIL J max Cunent limitation k ID IMHA LM Comer imiing for Hak ID IMGS LIMI ma GST Cumar bmiting for Quick Stop Save as ictria ShiFE 5 Prin Ctrl F bini ram sues Hannam eale Curent Yalar ID D ENC DEVemdinteart Command intesd aces selection DIME CTALILmax Curent limitation ID IMHA UM_ _mesHalt Cumeet iiting for Hak ID IMGS LIMI masG5T Cumen imiing tor Buick Stop 00 Ape Schneider Electric 82 Make the following settings under Communication Communication Pe QD Drvecom CANopen address 3 4 Q CANopen CANopen baud rate 500 1 Modbus Modbus address 1 Minimum Muimi Lumnnent Value ID ASIH IO AutoEnable Avulomatic Enable al Powe Dri ID_ LOAD LAMadi CAManen addiess node mumier 1 ID COE CAN baud CAR ope baud rate ID FE
14. line terminator must be activated i e set to ON Wire colour Description GND Black Grund gt 2 CANL Bue A CANLEuslne 3 SHLD barecableshied Optonalshield 4 CANH White CANHbuslino Red Optional supply CANopen pre assembled connection cable VW3 CAN CARRxx This cable is used to connect the junction box to the ATV31 and LXMO5 VW3 CAN CARR1 VW3 CAN CARRO3 length 1 0 m length 0 3 m CANopen connector VW3 CAN KCDF 90TP ce or ig At the end of the bus the VW3 CAN KCDF 90T m terminating resistor must be activated To do this set the Ge switch to ON and the bus This connector with terminal cable must be connected to resistor is used for the link the incoming side to the Advantys STB I O island It is advisable to have at least one connector witha CANopen analyser connection Twido and Lexium Magelis and Advantys EN doc Schneider Electric CANopen connector assignment VW3 CAN KCDF xxxx CANopen cable TCX CAN Cx yy The cable is available in various versions X Standard No Flame Heavy Duty and various lengths yy 50 100 300 m Twido and Lexium Magelis and Advantys EN doc CH1 2 CLA 2 CG1 c Vae 2 CH2 e CL2 CG 9 m2 LT LL TSXCANKCDFS0T TSXCANKCDF180T TSACANKCDFSOTP CO black M Ez rad Schneider Electric 25 Introduction Function Layout Implementation This chapter describe
15. must be set Parameters can be edited via the integrated operating panel HMI LEDs for CANopen ESC Exit from a menu or a parameter Return to the last saved value ENT Call up a menu or a parameter Save the displayed value Down arrow Change to the next menu or parameter Decrease the displayed value Up arrow Change to the previous menu or parameter Increase the displayed value Red LED lit DC bus live 7 segment 4 character display Continued on next page Twido and Lexium Magelis and Advantys EN doc Schneider Electric 78 The HMI offers a menu system The image here shows the top layer of the menu hierarchy In order to use the PowerSuite Software check the Modbus parameters CoM is MbAd 1 and Mbbd 19 2 Twido and Lexium Magelis and Advantys EN doc Power On d eee FSu han Setup First Setup done eje m DrweConfipuration Drive Configuration E JOG Mode Information Identification Identification pe aer Status Information ll Schneider Electric 19 Basic settings When the drive is supplied with contd 24V for the first time or if the factory settings have previously been loaded with the PARfactorySet parameter all the drive functions are still blocked You must carry out an initial setup procedure To connect the device to the CANopen master you must set Up Control mode Signal Selection Positio
16. must read and understand the help file for this Testing and Commissioning Software and the Drive User Manual and know how to operate the equipment Failure to follow these instructions can result in death serious injury ar damage to equipment IF you agree to follow these instructions press Alt F Now set the Enable switch to On Enable C FAULT Potential errors can be oH 3 Fault acknowledged by clicking Reset uU Reset Enable POWER On DISABLED 4 Ady Switch On nij Heset Enable POWER On ENABLED i B Op Enable t Reset Test run can be used to activate the servo drive Test stop can be used to stop it Test Test rum again Test stop Test stop Use the buttons Neg and Pos to change the direction of rotation on the drive use Fast an Jag control Twido and Lexium Magelis and Advantys EN doc Schneider Electric Information about the speed and position is displayed on the bottom right Twido and Lexium Magelis and Advantys EN doc p refusr 98983087 usr p actusr 9890525 usr n ref 180 17min n act 173 1 min _Idq_act 0 07 Apk Schneider Electric 85 Scan and Cycle time Performance Using the described configuration and the example application code a cycle time of 30 milliseconds was not exceeded The memory usage in this system with the specified PLC was 35 for system data and 25 for program data Twido and Lexium Magelis and Adva
17. on the HMI screen First in the Variable Properties ZEZZTERZTESXCUNN dialog for the variable set the I O Sens IneutMode Visits Advanced setting to BIN and 16 bits and in Name MessageDisplay03 e the attributes Variable Node3 status Style States 16 m Color Resource lt Unassigneds la Test Resource lnassigeeco In the Message Display Settings input the variable name and set States to 16 Alignmert Now click on the New Resource icon at the end of the color Resource field n the New Resource dialog MITI x input CAN Col Color name CANopenColor Color Name CANopenColor 5 Tex Name CANopenStatus Test Name CANopenStatus Num of states 16 Num of States 16 Select the objects this resource supports Check the box for Message v Message Display Display integer py Data Type Integer Fe Data Type integer 8 EE Bar Graph and exit with OK 7 Selector Cancel Twido and Lexium Magelis and Advantys EN doc Schneider Electric The CANopenColor defines different colours to be displayed according to the individual values of the variable In the table that now appears you can define different colours for each of the 15 values and also define a text to be displayed with each value we Hmi2ci Text Color Resources Languagel Wumnumu pigra CAMapenstabus CAMopencCalor Integer Value Label Font Name VITIIS Def aultFont not defined CANopen Unexpect
18. onfigured Instance number 1 General Funchons PRE function POST function Schneider Electric 56 5 When finished the configured macros can be viewed in the configuration editor TA Confiqur stinn Edito Now the code for controlling the drives must be produced We do this in Ladder programming language First create a new program network Double mouse click on Program in the project browser to open the ladder editor with an empty section Insert rungs into the section using the insert icon Insert a block and a link for the first Altivar Double click on the block and insert the name D MANAGER 1 This block will invoke the first instance of the macro Insert another block and enter the command D CLEAR ERR t The conditions under which a macro is invoked here a reset depend on the application and are will not be explored here Note The connection to the individual drives is made using the instance number here 1 1 ATV31 2 ATV31 1 Instance 2 Instance Twido and Lexium Magelis and Advantys EN doc not cnafigured eonfisured 2 con igured CaNopen imtworl address Functign 2 Sharh addrezz r Hunberz of wardz 4 cZv ba3lz E 3E 0 Y Edit View Tools Hardware Software Program PLC c al t Glo c Y a untitled ER TWOLMDAJIDTK o pH Hardware HIATT IMA
19. to the Advantys and also to generate the EDS file for the PLC e Altivar31 and Lexium05 You can configure the Altivars and Lexiums using the front panel on the device itself however using the software tool Powersuite has certain advantages e Save data to your hard drive and duplicate it e Print documentation for your configuration e Test and optimise the parameters online I O platform Introduction This section describes how the Advantys STB I O platform is configured The Advantys configuration software is used for this purpose We suggest that you proceed as follows e Create a new project workspace Configure the hardware network interface power supply and I O modules Configure CANopen communication I O assignment Download the Configuration Create an EDS file Create a new After installing the Advantys project software you are given the Workspace choice of choosing between AELE D pme Advantys STB or Advantys FTB FTM and OTB Ba P Select STB Twido and Lexium Magelis and Advantys EN doc Schneider Electric 66 Choose the language in which you wish to work After starting the Advantys configuration software you must create a New Workspace To do this specify the path the workspace name and the name of the first island Twido and Lexium Magelis and Advantys EN doc NIETTTETTTT NENNEN ai 2x Advantys Sime Co nfigu ration F Always shores this diskog ot startup Sof
20. 33003565 04 Twido and Lexium Magelis and Advantys System User Guide source code Schneider SEP 2006 Electric Building a New Electric World Contents PO PIICAOM o ource E100 NR ETE LUE 4 TY DIC Al AD ON CANONS PPP TC 5 Oy Se Ml eta PME INDOOR PETS ONERE RENDER RR RUR ROSE ERROR NUR gure 6 ATCHEOCIBITO erdee enter ea ere CRE te ee rr re dd ts nme ere ee e EE noie ee 6 TRS GULF Td eg TER ee ee nm OTt 9 miUe al T segulubesaatibsescanbesbroauniuieabinbeiaauiiineatulantaesndumineaineiueeils 10 lecum D E A E T M 18 Se eina aee r pe Soe esa Seas 19 ITVS IIS IAL ALON esae doveva cuia et deb abate debate AEE aliat od bas 26 COMMUNICATION TRECE 27 x RT E E E 32 je errata ee ee ere een ee ne net ct Ye ne ee See eee ee eae 49 IDDOVICOS oae tent one eR MIL tne ent tee Teer a M ere nT SENET ene tnt eee Dene tment rT RE PEEP een ere me cet emer oH MEL Occ 66 Poorman Cs canna torr tccamanumnnitesxpannmdeteua veers orca banana tx aianamcasten iain icant acinar cl nage fm MOVE dando CINA ptas ddr non R 86 nee c 87 Detailed GompohebbLbiSUuseiude tute ded ne Php G 87 Component Protection Clas SES rei iq Seewtan saetdenweaneaeteee ate Dura Eten ter uat eee us 88 COMPONENT Fealilles xiu pde vod uou oou tonius Asien a 89 COMAC eee rae ear EM HE HUE TUE ee ee 91 Introduction This document is intended to provide a quick introduction to the described System It is not int
21. 433 to Operational mode 39 439 2 1 Status Analog value W 8 51 451 4 7 6423 00 01 1 Inhibit r 9 57 457 3 7 1801 03 02 p a RH UN O em Sede e fas Se s fasola Inhibit 12 1803 03 02 2000 Ramp Start A 481 3 3 Ramp Start A ae 487 4 3 Ramp Stop DEC i i 3 i 4 B UEITTIS Mode 18 111 511 4 6060 00 01 J 3 M Inhibit 21 129 03 02 2000 Ramp Start A Ramp Start A E Ramp Stop DEC Twido and Lexium Magelis and Advantys EN doc Schneider Electric 31 HMI Introduction This section describes how to set up the screens for the Magelis HMI Vijeo Designer is the software used Proceed as follows to integrate the HMI Create a new project Set Up the communication Create variables Create a screen CANopen Status display Build and Download Project Application summary Vijeo The Vijeo Designer environment ph esee Designer consists of i Em ao So S NN Cop T DE 2 2 7305043 543 Oo BS environment XUI poe wk Ae Navig ator JE Mone E ah Tagen Information display Gl Applicaton Seipis E Inspector eniin howe Data list Feedback area to A Tele i Romia moraal A ledh 1 F A Tai Tota size of HM Ruime fies 811 KB E Lem 0205 25 Hp p fors eed Lame O00 Lampa Doo Too bo X Saco OVE dt 1 Loeizig i Spr Docs in Bas Sapo Dn d Dering Hase bmi sr Lamb M Downkcd Carpketz epar 2 wor sci 5 al
22. 8 wes RDWANTES STET B IVT bot ADWANT S STE E MIS AONAM TES TBI Analg Input Eine a L s Mo RIRENTE S 5TB1 Anelog Input Elazs ia E ge eT St PGR Re PCED ARABS Matt Big Bon Configuzaticn of Cabogen raster module TWIbLULH Position 1 Hais Chast Di IN STATUE DI MIT ChFTsOr Di IN VELAXCITY D1 IH FOSITIDH Di 3U7 VELOCITY DI Hn POSITION pz IN ST ruz pz OW _CORTRO D2 IH VELOCITY D2 IH FOSITIUDH D2 2UT VELOCITT Sy inkl I Staknsvosd Conkbralsaord I TAB SG 4G T ABR3h x T4B35 8 7jB3548 t 2327 60 323 amp 88 Valccity actual Foeibion actual Target velocity Tergess poe tion I Statusrord Cimb ralera Valecity actual valy Bosition actual val Target velocity TABIEBRT TADIG d 2147403647 21474BR3EAT 2l rd 3647 2147483E47 2lar4 3647 flayqae seat 2147403647 D2 OIT FOS TTT D STATUS T 21 1 D CONTROL AT 11 T TARSA S 21574BR3EA7 I I I I I I I I t 1 I I I I I I I I I I I I I I I I L I I I I I I I I 1 I I I I I I I I i I I I I Zriveccn stabas CunbroOl ef fark 1 Errer code Trivescon comand reu Tzzget velocity d d UE UE ND D ERBZORE amp T 1 D COWHASHS AT 31 Bb TARGET ATw 1 1 pec X1 Irivecc s statuz reqgi 32763 Control sffort 3279 rrer cree l 32785 5l ECI D STATUS ATws1 1IbCl L 1 D CO
23. AT MIB adi vadbi address 1 ID HEBD HBhbeaud Modbus baud 1ste s 19 zKB ID MBF MEfwmal Modbus data ioma sk EverPaiity 1510p D MEO Ede andes Modbus double word sequence gt Highl ow ID SMD DOM compat Traesistion 224 Drivelan Aute To transfer the settings to the Lexium05 select Configuration Tools Configuration gt ti Device protection Ctri Alt F2 PAVE IO FERROU Factory settings Ctr Alt F3 Refresh Ckrl AlE S F6 Save ka EEPROM Disconnect Cbrl AlE F8 The settings will now be transferred To ensure that the settings are Warning EEPROM saving is about to begin saved on the servo drive you S PU Ra WEE eS need to confirm the prompt by clicking OK PowerSuite confirms the save when completed Twido and Lexium Magelis and Advantys EN doc Schneider Electric You have the option of controlling the servo drive via OE UU the PowerSuite software a Active Active To be able to do this you must first set the Command switch to Active Inactive Inactive A Warning Press Alt F to confirm the security warnin WARNING y g UNINTENDED EQUIFMENT OPERATION A machine controlled by this software may be prone to unintended operation The user must have a hard wired STOP device or disconnect switch to ensure it is possible to stop the equipment The user must ensure guards are in place so that unintended operation will not cause injury to personnel or damage to equipment The user
24. Advantys EN doc Schneider Electric 81 The parameters can be displayed in list format or in page view Select Simply start Basic configuration In the field for defining the control method for the device you should select CANopenDevice The servo drive will now be enabled for control via CANopen In order for this change to take effect on the Lexium05 you will need to switch the device off and then back on again Initially the change will be highlighted in red but the display colour will change when you select File gt Save Twido and Lexium Magelis and Advantys EN doc eri F EER RE A B i rii Aiia Dooognocpooguncoo Aue e T5 am Ma o od ET ie De EVP Ive TLIO a ACH we cx TAMRh pew home ide i m imd zie bad ue 5 E ne Tar i T IHE expen DITE T zn T r 1 mes ene me alin rhe zs 1 m CERE EE Jin adb ere rg nam 1 XT NS au L ELET puer LES FH it oan Jen cpm ETT igor aera i mH ums ber ans Eee drab om Ari Faedis sump maian bowl HEM ii O LexiumO5 O AI parameters E Q Simply start ZI Basic configuration Q In speed control 7 109 O In Current control 7 109 O In Gear mode O In position control Himna alial amir valie Exurerndi Vau aail vaka ID DEVT DEVemdrisf Command nismare selection E lODevice T cona M M s CTRL_L tise Laman bind aioe Il UE Ap SU Ans hore ani ID IMBHA JH meets Curent limiting
25. E eds Fie name Ta eds Files of type Electronic Data Sheet ade Open as read only Cancel LexiumOS V2 0 Object Dictionary Loading 2495 2 x Look in bin ec Ee ag r AT Wal spa Ed FTBAdvantys spa LM mi ora Advanty spa Desktop f My Documents Base ATVI ipa Schneider Product Archive spa Open as pead only CANopen Configuration Tool Network Mapping Linking Symbol Catalogue t DS 401 I O Modules d STE W10 Y 05 402 Drives and Motion Control Ew ATY Y12012 0 d BASIC ATV31 v1 0 lt gt Lexium0s v2 0 Schneider Electric 53 Slave Positions 1 16 correspond to the CANopen Address The slave position can be changed in the list using the arrow buttons As the monitoring method aa jui ient ee MET Be eee in the column Supervision STB V1 0 Heartbeat Set the Baudrate to 500 cae kbit s and the Supervision time to 500ms Supervision T Ts If you wish you can change the names of the slaves in the Slave column Baudrate so kbit s Supervision S00 ma 7 On the Mapping tab you can view the pre configured data Weber Mareng Listing semis Tepe Tarek COED You must input the set and actual speed and position for z A the PDO4 for the Lexium 05 e erts PO Be 66 Position actual eal uc fe GWT Velccike ptus value The Linking tab shows which objects are linked to
26. Here is the equivalent screen for 2 Lexium05 servo drives Here there is a choice between speed spd and position pos modes Twido and Lexium Magelis and Advantys EN doc THIDO with LxH 5 amp ATV31 amp zu P Taido LAMBS AT S1 STB xjium 8 g35 B5 Altivar 31 Speed com Err No ed _on dir m dom Ble we BA mel lt ose Ble Ramp Taido LAMBS AT S1 STB 8 HS Lexium 65 Mo Bl Speed Position set 2186 manamama act Bj masepDd com Err JE set 1866 manamada i s B act 1586 maspau Ramp Schneider Electric 47 If a CANopen device fails it is indicated in the header with the Bus indicator If the user changes to the Bus screen button bottom left he can view the text message of the fault in the device The status of the master module is also given The bus can be reset using the button Reset Nodes This resets all nodes The communication is started with the to Operat button all devices in pre operational mode will go to operational mode Note Reset Node sets the para meters back to their factory values e g Ramp with LXM05 These must be set up again with SDOs Drive errors are indicated by the Alarm indicator Use the button Alarm bottom left to go to the screen for details of the alarm Use the acknowledgement button ACK to acknowledge the alarm for ALL drives Twido and Lexium Magelis and Advantys EN
27. In the project browser right mouse click on the CANopen module TWDNCO1M and select Configure First the EDS files must be imported Click on the import update button in the window Twido and Lexium Magelis and Advantys EN doc E Twido 1 ER TWOLMDA4ODTK cfe Hardware 7 Edit Cantraller Comm Setup controller Lornmuniestions Setup x Poi Pot MK Paigal A x Parameters Esa drat Dala Riz simu Psy Esn Stop Eiis H 134 E 3 7 etl fa Emgpmnse Timeszuc I i Kk 100 me ria diam deba Pee Pol Prone Lee Ediz Parameters Esa chats Dala Riz Eat Shop Bits sponse Tins riis diam delay efl Hardware 0 begr Port 1 Modbus 1 gr Part 2 Modbus 2 El iii Expansion Bus Properties Configure CANopen C nfiguratkon Tool Nebwork Mapping Lining Srt a4 Eike E thitis Superson tO ms Schneider Electric 52 Next select firstly the EDS file created by the Advantys software Then select the EDS file that belongs to the lexium05 drive controller For the altivar31 change the file type to SPA and select the spa file for the altivar31 Note the file can be found in the installation path C AProgramme Schneider Electric TwidoSoft bin All imported devices appear in the Catalogue A double click on an entry creates a new entry in the Network on the right Twido and Lexium Magelis and Advantys EN doc a TEDCEL7O DIDD
28. LE HL ak E a L LU HL 7 BHUJ m ZIIP JCIE 7 ae LL D CORC B nu HICE SMICZ m NUNG DD MAHAGCHCHT A nT S00 War 2DO OR CCTF Y DATAS ATO NECI STE I i LUHT 2 F Z_IOUHT 7 F L UUHT 3 3D CCL pad Ie SDO CC B 3D F din mex c SEL Mul SLU UFFSE TT R50 zb MAT E SEC HAT wO FFSETE 200 HaT a SDO 17 19 1 LEXIUMODS 17 18 MODE 15 ERROR CODE SDO MG SD017 5 DATA1 lt gt D1_0P_MODE 6 dex SDO18 5 DATA viwe T_18 80 MW RUNG SET MODE FOR LEXIUM 05 THETHENTEEEEIEU ECRIRE HERE IEEE ERE EIE IEEE HE EE EE AE 3 VELOCTY MODE 1 POSITION MODE 5D018_5 DATAT 3 Hill ALIT Hil Di 1 MDDE 35 ZMED 551143 MI ALT HMI D1 id n MODE 5 SDO18 5 DATA 1 si it c Schneider Electric 64 program per CANopen guideline is deactivated It has to be enabled via the Advantys Creating the The fault register 603F Ohex of the Lexium05 is read out at regular intervals The application CAN CNMD instruction is also used for this purpose contd After the Advantys STB is switched on the data exchange from analog inputs as register 6423 Onex The CAN CMD instruction is also used for this purpose Only one SDO can be active at any one time The state can be monitored with SW81 Connect the Define the connection to the PLC to the PC PLC ena a AS w W a ff A S j Connect Select a cannecdon w CON the program In this example we us
29. NAERH SPREE SCRA FD BH RE RUN oo p y r 1 ACTH Bh Eden m D_MANAGER 1 D_CLEAR_ERR 1 Schneider Electric 57 This network contains several blocks to set the set point of drive 1 D sEIEL Do Tekh AI VHI T D SETPC E 1 Tet Orbs The command RUN FWD 1 puts drive 1 into forward n CORNUA E TQ motion irc REDE ae eee D MUH P321 dee aen e teil D_AUN_FW D 1 The command D_RUN_REV 1 puts drive 1 RUH amp T l ATY START REVERSE Into reverse i ECOLE ate F414 D num ic 1 AMTE OO EMYSEAS ASD sewel Note A drive runs in reverse when D RUN REV 1 started forwards but with the set point negative Once started drive 1 can be stopped using the command D STOP 1 n 1 ATV STOP ALTIVATI Use the same commands for instance 2 to control drive 2 Twido and Lexium Magelis and Advantys EN doc Schneider Electric The Lexium05 shows the relationships between the operating states and state transitions in the state machine The operating states are influenced by the user with the control word controlword and monitored with the status word statusword Monitoring and System functions t State machine The Lexium05 displays the operating states numbered 1 to 9 in rectangles and the transitions numbered O to 16 in circles kra Not ready to nrdd switch on C Operating state Motor without current Fault Display flashes 8 Fault Reaction active Quick Stop a
30. NTROL AI 31 2 IXTEC K n TERROR ATRAI 7 Continued on next page Twido and Lexium Magelis and Advantys EN doc Schneider Electric 55 Creating the application program By selecting Program gt Process Scan Mode You can amongst other things select the autostart operating mode Once you have set this you can go on to create an application program To program the drives easier Twidosoft has pre defined macros for use with the Altivar31 A double click on Macros gt Drive opens up the configuration dialog In the Macro Drive dialog on the General tab set the check box for Configured and input Network CANopen Then for each altivar 1 Altivar 31 Instance number 1 Network address 5 2 Altivar 31 Instance number 2 Network address 6 Each drive requires 30 registers for each macro On the Functions tab input the Start address for each register group Start address 200 for 1 ATV31 Start address 250 for 2 ATV31 Setting the check box in the Symbols column automatically generates the symbol names and inserts them into the symbol editor Twido and Lexium Magelis and Advantys EN doc r Scan Mode Moral Period 2 150 mz C Periodic Watchdog 10 500 msk 250 Ed Made Periodic event ie Hot uted ag S Program ah M acras aT E TEE 4j advantys OTB A Symbols Be Animation Tables 3 Documentation Macro Drive Instance number General Functions
31. T10T11 3 Switch on disabled Quick Stop active Disable Operation T5 5 Switched on Enable operation T4 T16 6 Operation enable Fault Reset T15 3 Switch on disabled Twido and Lexium Magelis and Advantys EN doc Schneider Electric Bit 1 Disable Voltage 1 1 0 Continued on next page 62 Creating the After power restoration the Lexium05s are designed to return automatically to application operating state 4 rdy Ready to switch on program contd This can also be tracked on the Lexium05 display Display State description nm Controller supply voltage electronics is initialised ard The power amplifier is not ready to switch on a5 Switching on the power amplifier is disabled r dad The power amplifier is ready to switch on 5on Motor not under current Power amplifier ready No operating mode active run RUN device running in the selected operating mode HALE HALT The motor is stopped with active power amplifier 5EoP Quick Stop is executed FLE Error detected error response is enabled FLE device is in error condition Motor without current Switching on KC Y T0 Not ready to switch on T4 T1 ss Switch on 3 LE Ready to 4 switch on Fault 9 Fit BBBB Display flashes na Fault Reaction active Quick Stop active Operation enable EL BBBB Display flashes Fault Class 3 4 Motor under current i Opera
32. TWDSPU1001V10M STBSPU1000 VJDSSDTGSVASM VW3A8104 Schneider Electric 87 Component Protection Classes Cabinet Front Protection Class Mains Switch with or without undervoltage protection and integrated indicator Phaseo Power Supply 24 V DC A1 2 A Altivar 31 Variable speed drives all ratings Lexium 05 servo drives all ratings Twido and Lexium Magelis and Advantys EN doc Schneider Electric 88 Component Features Components Twido PLC TWD LMDA 40DTK The modular series consists of five power bases having different processing capacities and different numbers and types of inputs and outputs 20 or 40 inputs outputs with screw type terminal connections or HE10 connectors with sink source transistor or relay outputs The power bases can be fitted with all I O modules 18 digital and analog modules The supply voltage for all Twido Modular models is 24 V Local digital I O 241 160 Local analog I O 11 0 10 V 8 bit 512 points 1 potentiometer on front panel Range 0 1023 points Application memory 3000 instructions 6000 with memory card Integrated interface Modbus RS485 Programming TwidoSoft Magelis XBTG2330 Graphic Touch Panel Display type LCD TFT 256 colors Display size 5 7 320x240 Protocols Unitelway Modbus Modbus TCP IP Interfaces RS232C RS485 Ethernet 10BaseT Voltage 24 V external Drive Control LXM05AD10M2 Power output From 0 75 kW Construction size 1 Volta
33. ame by right clicking on the default name in the project browser and selecting Rename If the power base that is offered is not the one used you must change it by selecting Configure the hardware change Base controller in the dialog select the PLC power base you require and click on Change Then add the additional RS485 interface by right mouse click on Hardware in the project browser and then Add Option Similarly add the modules for the bus expansion Twido and Lexium Magelis and Advantys EN doc Save Save 45 Print Close Connect Disconnect Select a connection Change modem configuration Transter PE gt Controller Protect application Toggle Animation Seb Security Level Change password El Twida 1 Controller TwDLMDA20DUK TwD LM DA20DTK um E Ei TWD LCAA400 AF Fi TWDLCAE 40DRF Modular base urit vith 24 In 24v DC 16 Qut 0 34 Transistors Source MIL connectors removable El Twida 1 ER TWOLMDA4ODTK c fp Add Option Add Option i Hardware Option Expansion Communications adapter for Modular Controller RS 485 vath miraDIM connector EL Twida 0 ER TWOLMDAAODTK cll Hardware 7 Port 1 Remote Link 1 gF Port 2 Modbus 1 m eee E Software Schneider Electric 50 the CANopen Master CEOs a x Module Expansion Address TWDNCOM1 T RENE TwDNOHON3 Done TwDDDIBDT Help TwDDAIBDT TwDDRASRT
34. as the screen version Before downloading the project it must be built For this select Island Build If you have not yet saved the project you will be asked to do SO Enter OK You can check the status of the build in the protocol window Check that the build was successful To download the configuration first set up the connection via Online gt Connection Settings select Connection Type serial and set the Modbus Node ID to 1 Twido and Lexium Magelis and Advantys EN doc al 2 x Printer name WSBPRIHTSDRU from SGPRINT Ptint m Print tems ie Whokepace Information Milland Information Island Image Bill oi Matenals v EN Modbus 1 10 Image M Reflex Actions Resource Utlization Resource Power Details Resource Conhgurabon Detail Modules in Detail AI Annolations Active island C Selected islands Select all Copies I Print to file Humber of copes 1 Calate Prnt Previews Setup Island Online Options Window God Rail um Add Annotation Delete Annotation CE EDI Add Module a Module Editor 1 Reflex Editor Si e Lock a x i Changes in the island must be saved before starting the build This is required for consistency reasons Please contin Island file has been saved Build of island data in progress Build completed successfully Online Options Window Help eai connect Sia Disconnect Connection Settings Gonhigu
35. brown Reference for sine signal 2 5 V cos green Cosine signal REPCOS yellow Reference for cosine signal 2 5V Data grey Receive and transmit data Data pink Receive and transmit data inverted Lo ENC 0v blue sensor reference potential encoder 0 5mm A red not assigned 0 5mrn black I Reference potential for T MOT purple not assigned 2 grey pink temperature sensor PTC E EHC 10Vv OUT 10 red blue 3 10 Vpc power supply for sensor max 150 mA A T nc not assigned 1 Colour data is based on the prefabricated cables Lexium05 Servo Drive LXM05AD10M2 24V power supply HBC Holding brake control Description Reference potential for 24V voltage Reference potential for 24V voltage 24V controller supply voltage 24V controller supply voltage Twido and Lexium Magelis and Advantys EN doc Schneider Electric Lexium05 Servo Drive LXM05AD10M2 Terminals 33 39 must be connected The motor brake if present must be connected via a holding brake control HBC Use the RJ45 terminal for CANopen Servomotor BSH0702P02A2A Twido and Lexium Magelis and Advantys EN doc Power Brake connector Wiring for field bus control NO secure hold Reference switchas _ e CNH 34 LIM Lirnit el eem cmas HE Hmmm 4xBRHAKE OPEN 13 23 l BRAKE OPEN 714 24 BEEN l onto 12 22 S24 DEA 44721 BRAKE OLIT FERAKE CUT DIO 4 CN1 21 bo CAN L CN1 22 0 4 DoS 7 Field bus ont 2a 9 EH
36. ctive BBBB Display flashes Fault Classe 3 4 Motor under current C State transition 4 Operating fault When it is switched on the Lexium05 is in state 4 rdy and when the drive is running it is in state 6 run Description of operating states Display Status roe 1 Start nr dH 2 Not ready to switch on di 3 Switch on disabled r dd 4 Ready to switch on Sun 5 Switched on 6 Operation enable 7 Quick Stop active amp Fault Reaction active 9 Fault Twido and Lexium Magelis and Advantys EN doc State description Controller supply voltage electronics is initialised The power amplifier is not ready to switch on Switching on the power amplifier is disabled The power amplifier is ready to switch on Motor not under current Power amplifier ready No operating mode active HUN device running in the selected operating mode HALT The motor is stopped with active power amplifier Quick Stop is executed Error detected error response is enabled device is in error condition Schneider Electric 59 When standardized operating modes are in use the operating states are monitored via bits O to 3 5 and 6 and the status word The status word is read in via Bite Bits ers Bit2 Biti Biro the CANopen bus and the fume ennui Pt ENABLE Switch On operating state is written in 2 Notready toswtchon o x o MW120 MW170 for the 3 Switch ondisabled 1 x second Lexium05 4 Ready toswichon
37. d S Export fie EDS file Geraete Stamm Datei Island file project file Advantys Portable Document Format document Adobe Acrobat Project file PS1131 CoDeSys PB Profibus definitions fie Twido and Lexium Magelis and Advantys EN doc Schneider Electric Typical applications Introduction Here you will find a list of the typical applications and their market segments where this system or subsystem can be applied Industrial e Small to middle sized automated machines e De centralised automated sub systems serving as components in large or middle sized machines Machines e Packaging Machines and box folders e Conveyors Packaging machines In the packaging industry for labeling packaging filling and palletizing goods Application Description ampe Special purpose machines Used on small special purpose machines for assembly processing cutting operations etc e g food preparation automated assembly wood machining Material conveyors Used in connection with transportation tasks that involve pick and place operations Twido and Lexium Magelis and Advantys EN doc Schneider Electric System Introduction This section describes the architecture components size and number of the components that are used within this system Architecture Overview The control section of this application consists of a Twido PLC servicable via a Magelis HMI user display The PLC supervises Lexiu
38. d Lexium Magelis and Advantys EN doc File Edit View Island Mew Workspace Ge Open Workspace mj Save Workspace Copy Workspace Close Workspace f Add New Island Dias AR Add Existing Island Save STBl Copy STEI To Close STEI Remove STEI amp b Print Print Setup Inport Export STB1 Online Options Ctrl M Ctrl O Ctrl 4 Ctrl 5 Ctrl F i d ApATAYlAdvanbvslSTBISTB aiw Exit LICHEN o ox Target Information Dinechory d ADATAVAdvantys AS TBA F Filename STE T ede Short fle name Prefix PLC Information Address Type Topological Addiess Connection point Export Format OF Far Twidssch Coleus ete f EDS for SpCon ete GSD flor SuCon et scr lareo C TXT for Concept 5 tor Unity Pra Schneider Electric Rack Sig Meman Aces Input Output Cancel 72 Introduction General PowerSuite with ATV31 Altivar 31 The ATV31 device chapter describes how to initialise and parameterise the Altivar ATV31 devices in order to fulfil the system functionality described above PowerSuite software is used to initialise and parameterise the devices The ATV31 parameters can also be entered or modified via the front panel The advantages of using PowerSuite are that you can e save the data on your PC and copy it as you wish e print out the documentation and e be assisted in optimising the paramet
39. e COM Connect the PLC to the PC Edit View Tools Hardware Software Program PLC Window Help For this to work the appropriate c El amp l X Es Blo clle La is programming cable must be connected to the PLC Transfer the user program to the PLC The applicatione on the PC and the Controller are different Choose an option below to Connecting to the PLC triggers S an automatic check that the application program is the same she a fe Controller as the one in the PLC Conholler application protected cannot tranzfer Controller gt PC If itis not the case a download or upload is proffered If download is selected you must click OK to confirm the run gt stop change and overwriting of the existing program After the download the PLC is in STOP mode You must click the START vx t R Tw DLMDASODTK button to start the program S B Have Once started the status changes to RUN mode Bile edt yew Tods Hardware Sckwere Program PLC Windom Heb AuwRMe w9 ec spea mice riu a 5 Rf TWOLMDAAODTK E Honc TeDLMDAd4 D k 3 15 PELO 16 Twido and Lexium Magelis and Advantys EN doc Schneider Electric Devices Introduction This chapter describes the steps required to initialise and configure the devices to attain the described system function General The following devices are described e Advantys STB I O Platform You require the Advantys configuration software to download the configuration
40. ead Uni Device Address C Read iwine MW 1233 Indirect Address Modbus RTU E Address I Difset i 1233 mn Bit 1 Preview AMM 233 es one Havigator fi imn a Ez ur Wc et A FE qne Sorted by Mame Filter Filter by variable Toolbar Features Mew Variable Paste try Import Variables Ctrl I Export Variables Ckri E Hew Variables From Equipment Link variables Update Link Properties Schneider Electric Alt Enter 39 In the Link Variables window give the path to the file the type of file TWD and the Equipment here as named above Twido Select the file and click on Open Once the file was successfully opened you will be offered a selection list of the available variables Mark the variables you wish to link to by clicking on the check box for that variable To facilitate legibility the variable names in the PLC and HMI should be the same Click on Variables that keep the same name Once you have made your selection Click on Add to link to the variables and then Close to close the dialog If you wish to link to more variables later you can use the New Variables from Equipment function Twido and Lexium Magelis and Advantys EN doc Link Variables al Loak m c3 Tdo b i cS fr Mv Computes File pare mm had
41. ect the sub menu Communication auszuw hlen PE Motor frequency lhe faclory selling is only visible F the first time ihe crivs is powered up In the Communication sub Gr menu input the CANopen address in the parameter AdCO In the example application the adresses for the four controlers are 1 to 4 a Settings Ole IG Motor control e o i C e D n 1 Control i d i J m La eo P Also in the Communication Functions sub menu in the parameter BdCo set the baudrate to 500 0 kBits d i n Faults e Communication 9 5 mT Monitoring E F D Alternatively you can use the Pammeier Vil e orassignment PowerSuite software to configure the CANopen addresses and baudrates Next parameter To activate the downloaded bus parameters address and baudrate you must now switch off the controller display goes off On switching back on the new parameters are ready Twido and Lexium Magelis and Advantys EN doc Schneider Electric 17 Lexium05 Introduction This section describes the basic settings that have to be made on the Lexium05 drive controls In particular these include the communication parameters such as e Field bus type CANopen e Address 3 or 4 in this instance e Transfer speed 500 kbaud Basic settings After wiring is complete the drive control parameters
42. ed module CANopen Operational CANopen Operational wth eror CANopen e D a om on r wm i UC Cn 5 G3 bem C Preoperational CANopen Preoperational with erro CANopen Preoperational not allow CANopen Preoperational nat allow CANopen Wrong madule C amp ANopen Wrong module with erro CANopen Slave configuration error CANopen Slave configuration error CANopen Missing Module CANopen Missing Module with erro CANopen Unexpected module CANopen Unexpected module with CANopen The bus screen has a message display object for each device on the bus Once operational the message displays show the actual condition of the device in the defined colours Preaperat ional Twido and Lexium Magelis and Advantys EN doc Schneider Electric Build and Validate All can be used to Download the analyze the project File Edit Build HMI Arrange variable Project F Clean All The Feedback Zone lists the E Validate All results M ES i Build All F7 The same applies to the Build All menu item Validating All alidating services arget Flatttarm Flatttarm1 Flatttarmi Htl Download the project to the Magelis HMI Fe File Edit Build HMI Arrange Variable Clean All Select the project in the F zi Validate All ESSE Build al Havigator Clean Target navigator Use the menu item Download All via right mouse click on the project name or the Build menu to transfer the application t
43. ended 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 Twido and Lexium Magelis and Advantys_EN doc Schneider Electric 2 Abbreviations Altivar ATV EDS HiwrmcDaaShet OC OoOO OOO HM HumanMacneWefans oooO Mageis SE product name for a family of HMI Devices Micro SE product name for a middie range family of PLCs NM SE product name for a Network Interface Module Osiswich SE product name fora family of postion switches Premium SEprodwirameforamidderamefamlyoPLOs PS Poes o C Vijeo Designer Ze o SE product name for a low range PLC famy ZeioSoft SE product name for a PLC programming sofware Twido and Lexium Magelis and Advantys EN doc Schneider Electric 3 Introduction Application Source Code Examples of the source code used to attain the system function as described in this document can be downloaded from our website under this link The example source code is in the form of configuration application and import files Use the appropriate software tool to either open or import the files Extension FieType Software Tool Require
44. ers online The Parameters can be configured with the Powersuite configuration software Here the configuration was done using Powersuite V2 3 After starting Powersuite select the entry My devices 65 Example Fald Example folder a NC ere Via the menu File Action Display Toole 15 ES Modify Ctrl h simulate EIFE Action gt Connect connect to the device ae Note make sure the device is GP identity Ciri connected with the proper ti cable LAB Transfer Ctrl T ne Configure Ctri U It will be confirmed that you are trying to connect to a new ay Warning device AN Ma device with same s n exists in database Click on Create to continue In the New name dialog give the configuration for the device BARS res a name Enter a new name livar 31 Aol a Twido and Lexium Magelis and Advantys EN doc Schneider Electric You will see a progress bar as the data is read from the Altivar 1 devi 1f Please wait evice Reading fram device E 10x When the transfer is complete the device data is displayed My devices aA Controllerl nside Se Altivar 31 Nol dp Aktivar 21 No 3 a Modbus network Altivar 31 Not Characteristics C ee eena O Hardware type Froduct on heatsink Max rans cure Structure comraowd some virens reusweomuave 7 You can view the parameter in list form or Eero ia zen gud ccm if Sean nE Ex 20200r20200002
45. ge types 230 V single phase Fieldbus interface CANopen Signal interface with two analog 10 V inputs and 8 digital inouts outputs RS 422 interface for pulse direction or A B signal inputs or encoder simulation Operating mode Current control soeed control electronic gears point to point operation speed profile referencing manual running Twido and Lexium Magelis and Advantys_EN doc Schneider Electric 89 Components Contd Altivar variable speed drive ATV31H018M2 0 37 kW 380 to 500 V AC three phase Integrated class B EMC filter Temperature range 10 to 50 C Speed range from 1 to 20 0 to 200 Hz Speed control with flow vector check Operation via Modbus or CANopen possible 2 analog inputs plus 1 analog output Digital inputs 2 or 3 digital status outputs possible Protection of drive and motor Compact design side by side installation also possible on a DIN rail using bracket VW3A11852 Phaseo power supply unit ABL7RE2403 amp ABL7RE2405 100 to 240 V AC 24 V DC 3A or 5A secondary other ratings also possible Slimline design Parallel connection possible Short circuit proof and overload protected Twido and Lexium Magelis and Advantys EN doc Schneider Electric TEDD DE 90 Contact Schneider Electric GmbH 49 6182 81 2555 cm systems de schneider electric com Machines and Process Architectures Schneider Electric GmbH As standards specifications and designs Steinhe
46. he Twido PLC the Lexium 05 and Altivar 31 drive controllers and the remote Advantys I O platform Should the PLC be reset e g using Reset Communication the parameters are reset to the factory values These must be re initialised using SDOs via CANopen Modbus is used between the Magelis graphic touch panel HMI and the Twido PLC Twido PLC The following module extensions and cables are required TWD NOZ 485D RS485 Expansion To connect the HMI with the PLC use cable XBTZ968 2 TWDLMDA 40DTK Twido SPS Use cable TSX PCX 1031 to make the serial connection from the PC to the PLC Use Twidosoft to program the PLC 3 TWD NCO1M CANopen extension The standard CANopen plugs and cables are used Twido and Lexium Magelis and Advantys EN doc Schneider Electric HMI Magelis XBT G2330 XBTZ968 XBTZG999 Communication cables for PLC including adapter XBTZG915 Serial communication cable to PC with Vijeo Designer The Ethernet interface can be used as an alternative Twido and Lexium Magelis and Advantys EN doc Schneider Electric 20 Advantys STB Programming cable STB XCA 4002 For connection to the serial interface of a PC with Advantys software Advantys STB CANopen Bus adapter STB NCO 2212 CANopen Fieldbus connection Twido and Lexium Magelis and Advantys EN doc TxD amp 4 RxD T DSR 2 DTR 4 RTS8 CTSB Ei GHD 1 NIC 3 RXD receive data DSR data set ready DTR
47. ido CANopen Master 0en Slave Data Direction PLC lt STB TPDO re Address Name 9 9 Designation IWC1 6 0 TB IN DH Digital Input Block 9eWCi 6 1 Digital Input Block 9eWC1 6 2 Digital Input Block 9eWC1 6 3 Digital Input Block 9eWC1 6 4 igi 9 eWC1 6 5 igi IWC1 6 1 IWC1 6 2 IWC1 6 3 IWC1 6 4 IWC1 6 5 oIWC1 7 1 S9elWC1 7 1 Analog Input Block LT Name Designation Analog Output Block Twido and Lexium Magelis and Advantys EN doc Schneider Electric 28 General The PLC example program uses different hardware discretes and memory words The Adressing following list contains keys to aid the understanding of the addressing system used Internal Word 9 MW 0 3000 Constant Word eKW 0 256 Internal Doubleword MD O 2999 Constant KD 0 255 max possible address Doubleword Internal 9eMF 0 2999 max possible address Floating Point Constant KF 0 255 max possible address Floating Point CANopen Inputs 9elWC see table above CANopen Outputs JeQWC see table above Twido and Lexium Magelis and Advantys EN doc Schneider Electric 29 CANopen Twidosoft provides the function CAN CMD for access to the CANopen Interface Function This function allows control of the CANopen bus e g Reset Node and transfer of SDOs to a specific device on the network The parameters for the comma
48. imer Strasse 117 change from time to time please ask for D 63500 Seligenstadt confirmation of the information given in this Germany publication Twido and Lexium Magelis and Advantys EN doc 91
49. ion ipraleciiya sarin Malina connecthon sigle phase devices Mairs connection S phase devicas xz bus Braking resistor Internal Braking resistor external DC Bus kotor commections LXMO5e D10F1 D10M2 D10M3X D14N4 D17F1 D17M2 D17M3X D22N4 D28F1 D28M2 D34N4 D42M3X D57N4 12 Lexium05 Servo Drive LXM05AD10M2 Connection for Motors Motor wiring diagram here without holding brake Terminal Description Colour U T1 Motor lead black L1 BK WT2 Motor lead black L2 BK W T3 Motor lead black L3 BK PE Protective conductor green yellow GN Y E 1 Holding brake connection white WH grey GR cable For motors with holding brake Lexium05 Servo Drive LXM05AD10M2 Overview of signal connections Overview of the signal connections Connection Assignments switch CNI Analogue inputs 10V pin 11 to 14 CANopen pin 21 23 Digital inputs outputs pin 21 39 Motor encoder Hiperace Sensor 24V PELV controller supply voltage PC peripheral operating terminal Modbus CANopen F J45 ESIM ABI outi PULSE DIR in eneeder signals A B I in Y Switch for fieldbus terminating resistor 1 depending on the First Setup Twido and Lexium Magelis and Advantys EN doc Schneider Electric 13 Lexium05 Servo Drive daliadiuhurduld LXM05AD10M2 Motor encoder Motor sensor wiring diagram Signal Motor pin Colour Pair Description SHLD shielding braid SIN white Sine signal REFSIN
50. isable Voltage Class 1 error Fieldbus command Quick Stop Fieldbus command Disable Voltage Class 2 3 or 4 error Error respcnse completec Class 3 or 4 serrer Fieldbus command Fault Reset Input signal FAULT_R2SETO gt 1 Fieldbus command Fault Reset Fieldbus command Enable Operation Input signal FAULT RESEO gt 17 Response Check motor encoder Switch on power amplifier Motor phases earthing user parameters are checked Fielease brake Interrupt travel command with Halt Apoly brake Switch off power ampliticr Switch off power amplilier immediately Switch off power amplilier immediately Interrupt travel command with Quick Stop Switch off power amplitier immediately even if Quick Step still active Error response is carried oul see error response Error is reset Local contre mace specified operating mode is automatically continued Schneider Electric 61 The operating states are set via the control word Bits 0 to 3 and bit 7 are relevant to state transitions The bit states in the fields marked X are not relevant to the state change concerned x x x xix x x lh X XX i a State machine Bit 7 Bit 3 Fieldbus command state tran Reset Enable sitions Change of state to Fault operation Shutdown T2 T6 T8 4 Ready to switch on X X Switch On T3 5 Switched on X X Disable Voltage T7 T9 T10 3 Switch on disabled X X T12 Quick Stop T7
51. m05 servo drives and Altivar 31 controllers The system contains an Advantys STB I O platform System communcations are implemented with CANopen and Modbus Layout Phaseo TWIDO Magelis XBT G I E Ti rrt mmu Ee ama a Altivar 31 Lexium05 Advantys STB Twido and Lexium Magelis and Advantys EN doc Schneider Electric Components Quantities of Components Degree of Protection Technical Data Safety Notice Hardware e Twido PLC e Phaseo power supply e LexiumO5 drive control e Altivar 31 motor drive e Advantys STB remote I O e Magelis XBTG HMI Software e TwidoSoft 3 2 PLC e Advantys configuration software ver 2 00 remote I O e Vijeo Designer ver 4 3 HMI e PowerSuite 2 3 Lexium05 and Altivar 31 For a complete and detailed list of components the quantities required and the order numbers please refer to the components list at the rear of this document Not all the components in this configuration are designed to withstand the same environmental conditions Some components may need additional protection in the form of housings depending on the environment in which you intend to use them For environmental details of the individual components please refer to the list in the appendix of this document and the appropriate user manual Mains voltage 230V AC Power requirement 3 0 kW Drive power rating 2x 0 75 kW 2x 0 18 kW Motor brake none Connection 3 x 2 5mm
52. n interface CANopen parameters I O Logic type On completion the drive should report RDY ready in the status display PowerSuite Besides using the control panel on the device you can also use Powersuite to configure mit LXMO05 the Lexium05 Use Action gt Connect File Action Display Tools Hel OR play p coni Dan eius The icon in the toolbar My devices to connect to the Lexium05 1 4 Ou Eas E Hemember to connect the PC to the LexiumO5 with the correct cable Twido and Lexium Magelis and Advantys EN doc Schneider Electric Once connected PowerSuite recognises a new device and iA Warning asks for confirmation to insert it into its database Acknowledge the request with Create Enter a new name for the device when requested and ay New name exit with OK Enter a new name Lesium 05 Mol sn The data is read out from the Lexium0s 1f Please wait E Heading trom device niii 44 Once the transfer is complete the device data will be ie Lexium 05 No1 displayed Characteristics Maximum continuous current rms 4 Arms Structure al OM 01610010198 P840 10 1 1IE 20 Games Tare BEH0702P 2 iae A 2006143270 Telemecanique Length 2 You can select the relevant drive in the project browser on My devices the left hand side Controllerlnside E Lexium 05 Mol b Lesium 05 Not DEE Motor t a Modbus keypad Twido and Lexium Magelis and
53. n Scripts EAM Alarms J Popup Windows Languages Language Data Files Resource Library 4 Recipes a IO Manager ModbusRTUO1 COMI em ModbusEquipmentti s Vijeo FE Project i Toole Property Inspector Target Mame Hrizbwd Description Type ABT Series TargetColor 256 Colors Twido and Lexium Magelis and Advantys EN doc Model InitialPanelID Startup Options Buzzer TaCanfiguratian Download IPAddress SubnetMask D efaultsateway Include Editor Project Data Sharing Printer Schneider Electric a BrIaGz330 320x240 1 Panell Enabled 3 Corer Ethernet 192 166 100 49 eoa 255 255 l 1 0 0 0 Disabled Disabled Disabled 36 To configure the Modbus driver select l O Manager gt ModbusRTUO 1 gt Configuration in the Navigator Driver configuration COM 1 RS485 Even 8 data bits 1 stop bit 19200 baud The configuration must be the same as inthe PLC Enter the correct values and exit the dialog with OK To configure the device right mouse click on the connection in the Navigator and select Configuration Twido and Lexium Magelis and Advantys EN doc Servo HMI Ff Platform Sar Graphical Panels D 1 Panel Application Scripts Bae Alarms i Popup Windows Fa Languages H Data Files Hs Recipes B IO Manager PE MadbusEq Driver Configuration COM Port com x Serial Interface rast Flow Control Mone Transmissio
54. n Speed a2 Retry Count 2 a j Recipes s IO Manager E ff ModbuskTUO1 COMI Lii ModbusEquipment Schneider Electric New Equipment Configuration Delete Rename Properties Parity Bit Stop Bi Data Length Rev Time Out TX Wat Time Default value Insert Delete Fz Alt Enter aj xi Manufacturer Schneider Electric Ingdusiries SAS Driver Modbus RTL Mew Scan Group Insert Configuration Delete Rename Properties Delete Fz AlE Enter 37 In the Equipment Configuration dialog set the slave equipment address to 2 The Preferred Frame Length is 16 Click the box for IEC61131 Syntax and select 0 based default so that the same Addressing Mode is used as in the PLC MWxxx etc Exit with OK You can Rename the Navigator entries if you wish Twido and Lexium Magelis and Advantys EN doc Equipment Configuration I al x Equipment Address Slave Equipment Address 2 E Dec Communication Optimization Preferred Frame Length 16 bul w IEC61131 Syntax Addressing Made O based Default variables Double Vvord word order Low vworcd first ASCI Display byte order JLow byte first Cancel Help Ej 2 IO Manager Mew Scan Group Insert Configuration Delete Delete Rename Properties A lt Enter 5 Recipes 10 Manager pe HMI COM po Twida Schneider Electric 38 Create variables To c
55. nds are CAN CMD forwarded using memory words MWx The following table describes what action is taken when the parameters are given a particular value MWx to MWx 5 SoMWX COM Wx 42 OHM Wx 3 95M WX e5 Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Action 0 7 E 15 0 7 8 15 0 7 8 15 0 7 8 15 0 7 8 15 o Reset CANopen communication L Neset CANopen nodes Switch from operational ta pre operational mode Switch to operational mode 3 gt Start Head SDO command 4 gt Start Write SDO command Node 1 16 gt Node address PDO object index Sub 0 255 gt Object sub Ulex Len Length of data in byte Payload according to the langth field Len value Data 2 Paysan according to the length field Len value Twido and Lexium Magelis and Advantys_EN doc schneider Electric 30 CANopen CAN CMD SDOs The following table lists the SDOs used in the application Only one SDO is active at any one time The order of invocation depends on the active devices on the bus and is managed in the PLC The initial values are stored as constants KW and are copied to memory MW at program start up CANopen Lm sto Tam T tom Memory Initial Value in Word x cha w awla jefes e KW MW M Resons 2 ss Spare SDO e g 2 A15 Init to PreOp Reset Communication 21 421 1 0 to Init mode Reset Node 27 427 Operational to PreOp 33
56. ntys EN doc Schneider Electric 86 Appendix Detailed Component List Hardware Components Rev Master Switch VCFO2GE MM Power supply 240VAC 24VDC 3A ABL7RE2403 Twido and Lexium Magelis and Advantys EN doc Modular Device with 40 on board l Os HS 485 Serial Connection Module CANopen Master module Analog Module with 2 Inputs Analog Module with 1 Output Bus coupler CANopen NIM Power supply 24VDC PDM Relay module 2x 24VDC 2A Digital Inputs module 6x 24VDC Analog Outputs module 2x 0 20mA Analog Inputs Module 2x 0 20mA Bus Terminator incl with Bus coupler Connector PDM 18MM Connector I O TYP1 13 5MM Connector I O TYP2 18MM Connector NIM 2 Screw Type 10 St Connector PDM 2 Screw Type 10 St Connector I O 5 Screw Type 20 St Connector I O 6 Screw Type 20 St Magelis HMI TFT LCD 256 colours 5 7 inch Communications Cable cable adapter Lexium05 Servo Drive Servo motor Motor Cable 3m Software Components om omeen Software TwidoSoft incl Cable Software ADVANTYS incl Cable RS232 STBXCA4002 Software Vijeo Designer incl serial Cable XBTZG915 PowerSuite TWDLMDA40DTK TWDNOZOD485D TWDNCO1M TWDAMI2HT TWDAMO HT STBNCO2212 STBPDT3100 STBDRC3210 STBDDI3610 STBACO1210 STBACI1230 STBXMP1100 STBXBA2200 STBXBA1000 STBXBA2000 STBXTS1120 STBXTS1130 STBXTS1110 STBXTS1100 XBTG2330 SV3 2 XBTZ9668 1 2 XBTZG999 LXMO5AD10M2 BSH0702P02A2A VW3M5101R30 VW3M8101R30 Part Number
57. o i 1 1 1 EF Esme f 9 1 L3 TE D1 STATUS M2 D1 PF M DE 2 1580000 D1 STATUS M2 D1 OP M DE 3 1580040 D1 STATUS M1 D1 PF M DE 4 1580021 D1 STATUS M1 D1 OP MODE 5 1B5H 23 D1 STATUS M1 D1 OF M DE 6 160027 D1 STATUS M1 D1 P MU DE 7 16 0007 Twido and Lexium Magelis and Advantys EN doc Schneider Electric otate transitions are triggered by a command or in reaction to a monitoring signal A command is given to the Lexium05 via the cont rolword State transitions 0 1 and 14 occur automatically in the device and are not command activated The following table shows state transitions that can be triggered by commands Trans Operating Condition result ition status 1 gt 2 Twido and Lexium Magelis and Advantys EN doc Motor speed below switch on limit Device electronics successful ly initialisec First commissioning is completed Motor sensor successfully checked DC bus voltage active PWRR A and PHRE B 24V actuel speed 1000 rpm fieldbus command Shutdown Fieldbus command Switch On Input signal ENASLEO gt 1 Fieldbus command Enable Operation Fieldbus command Disable Cperation Input signal ENASLEO gt 1 Fieldbus command Shutdown DC BUS low voltage PWRR A and PWER B 0V Actual speed gt 1000 rpm e g by auxiliary drivs Fieldbus command Disable Voltage Fieldbus command Shutdowr Fieldbus command Disable Voltage Fieldbus command D
58. o the TE Serva HMI connected HMI Et Plattfo Simulation iar Sr E Le Digi nla a d All validate Target Build Target Start Device simulation The configured connection serial or Ethernet is used Defining the HMI device Ethernet IP Address If the project has not been already downloaded using a USB cable the HMI has no valid IP address This must be input to the HMI device in offline mode before the first download is attempted To do this e ouch the HMI Screen on the top left hand corner to go to offline mode if an application is already running touch any 3 corners of the screen The method used to go to offline mode can be defined in Vijeo Designer in the Platform Attributes menu e Input the IP Address e Return to Online Mode Twido and Lexium Magelis and Advantys EN doc Schneider Electric Application Summary the example application has several screens that can be selected by the user The starting screen shows the system structure Manual mode is the default setting The PLC is not configured for automatic mode Al drives can be controlled manually by changing to the screen for the device All the following screens have the same control display at the top of the screen This image shows 2 altivar 31s Each has a start stop and direction button Using SET the set point for the speed can be input The display shows the status actual speed and any error codes for the drive
59. of the HMI displays Twidosoft is used to program the PLC Vijeo Designer is used to create the HMI application for the Magelis XBT G 2330 display The Advantys configuration software is used to configure the Advantys STB I O platform Although the Lexium 05 and Altivar 31 can be configured using their front panels for more comfort Powersuite is used Powersuite not only facilitates the configuration of the devices but also offers the possibility of archiving and documenting the configuration Archiving offers considerable advantages for maintenance and updating The software can also be used to optimise the parameters online In order to use the software your PC must have one of the following Microsoft Windows operating systems e Windows 2000 or e Windows XP The software is installed on your PC under the following default paths Twidosoft C Programme Schneider Electric TwidoSoft B22 Schnader Automation we A Rigs Rasemed Schneider gp Electric Vijeo Designer CAProgramme Schneider Electric VijeoDesigner Advantys Configuration Sofizoare Advantys Configuration Software C Programme Schneider Electric Advantys PowerSuite C Programme Schneider Electric PowerSuite Twido and Lexium Magelis and Advantys EN doc Schneider Electric 18 Communication General The buses below are used for communication between devices e CANopen e Modbus CANopen is used for communication at field bus level between t
60. or Pad l the list with a double click p Davi vena Extra functions e g the negation of the value of the Variable List variable can be selected using B id z un MW un A e the calculator icon in the p aty velo a toolbar LPT Cold start M1 al Count 2 sec ZMWw eD zi al Count cold start ZM G02 al Count first cycle ZMW a0 al D atv ackn SMW cw D aty enone 2M 235 atv velo_a M Ww z234 ut ETET Ne Cancel Help Here the finished screen with text fields animated variables and control buttons ae Altivar 31 Speed com Err zet act No El _on dirf 1200 1281 il B Mo B2 on a ese B il B LT LT Every object on the screen has attributes that can be viewed in Property Inspector the Property Inspector Numencbisplay Mame MumericDisplayO1 Top 40 Left 40 Width 160 Height Bu Data Tvpe Integer To view the attributes of an object use right mouse click on the object Variable Doatvi velo a General Input Mode Disabled Color visibility Advanced Save Defaults Restore Defaults Twido and Lexium Magelis and Advantys EN doc Schneider Electric CANopen The status of the CANopen Status devices is available in the PLC Display as a value from 1 to 15 We want to show this value as text on a HMI screen To do this select the object Message Display and position it
61. ration Port Settings al 2 x Modbus Made ID 1 247 Cancel Connection Type TCPAP Settings Schneider Electric 70 Connect to the device via Online gt connect Online Options Window 4h ERR m The configuration versions in the Ef connect NIM and the PC will be compared If there is a difference you will receive a warning Continue with Download LUplesd Download Cancel IT X a xi 4 The configuration in the workspace does nat match the configuration in the connected island Please select one of the following options Acknowledge the following LM i a x warnings with YES and OK gt The island must be in Reset state before starting a download Caution This wil CM stop all processing in the island Do you want to reset the island You will be shown a progress bar once the download starts a Downloading 28 134 packets a x i Ready to set the island to Running state Caution This will activate 1 0 i processing Please confirm 7 Once the download is finished you should see the island status as healthy Island is healthy Now you can disconnect from the device Online Options Window SEX ka nine EM Disconnect Twido and Lexium Magelis and Advantys EN doc Schneider Electric Create an To create an EDS file select EDS File File 5 Export STB1 In the Export dialog enter the directory and the filename Exit with OK Twido an
62. reate a variable switch to the Variable tab in the Navigator Right mouse click on the project name and select New Variable gt New in the pop up menu In the New Variable dialog specify the variable properties Variable Name Data Type Data Source External Scan Group Address in the PLC The variable address is any valid PLC address e g bits M words MW double words MD floating point MF Any values used in the visualisation of the process must be transferred to these data types in the PLC in order for the HMI to access them Variables can also be imported or exported another possibility to link directly to them in the PLC Select the Variables tab in the Navigator Right mouse click on the project name in the Variable tab and select Link Variables in the pop up menu Twido and Lexium Magelis and Advantys EN doc mim m A sz irn wc n A 2 T Sorted by Name Filter Filter by Variable Toolbar Features New Variable Paste Stray Discrete Integer Float New Variables From Equipment String Link Variables Structure Update Link Import Variables Ctrl I Export Variables Ctr E Block Integer Properties Alt Enber Black Float amp x Basic Properties Data Details 10 Settings Data Scaling Alarm Variable Name Description Data Type Integer Aray Dimension o Data 5ource Sharing ScanGroup C Intemal C None Twido Extemal H
63. s The NIM only reads the rotary switch settings on power up The rotary switches on the STB NCO 2212 CANopen NIM are used to set the network node address and the Advantys STB island s baud rate 1 Be sure to set the required baud rate following the procedure described above before setting the network node address Disconnect the island s power supply Select a network node address that is available in your fieldbus network Set the lower rotary switch to the position corresponding to the units of the required node address For network node address 7 the lower switch would be set to 7 Set the upper rotary switch to the position corresponding to the ten s and hundred s of the required node address For network node address 7 the upper switch would be set to 0 Switch on Advantys STB The NIM only reads the rotary switch settings on power up Schneider Electric 22 Connection cable set for PowerSuite VW3 A8106 You will need the RS232 to RS485 adapter and the PowerSuite cable for the connection between the PC and the PowerSuite software and VSDs or servos CANopen junction box VW3 CAN TAP2 Twido and Lexium Magelis and Advantys EN doc ATV 31 PowerSuite 2 V2 0 0 LXM 05 PowerSuite 2 V2 2 0 PowerSuite Power Suite Schneider Electric 23 CANopen junction box VW3 CAN TAP2 If unlike in this application the junction box does not have an outgoing CANopen bus the
64. s how to initialize parameterize program and start up the system Switching on and Functional description 1 After the power is switched on all devices run through the initialization stage and the PLC starts the communication The status bar displays system information In this application Manual mode via HMI is implemented 2 Onthe BUS screen the status of the CANopen bus can be viewed Use the buttons RESET NODE and TO OPERAT to reset and restart the communications 3 he drives can be controlled using the appropriate display screens Use the button RAMP to start an automatic speed cycle for all the drives 4 f an error occurs the error number is displayed on the ALARM screen The user can look up the description of the error in the operating manual Phaseo TWIDO Magelis XBT G Modbus ru Altivar 31 Lexium05 Advantys STB Twido and Lexium Magelis and Advantys EN doc Schneider Electric 26 Communication Introduction This chapter describes the data passed via the communications bus e g Modbus Plus or TCP IP that is not bound directly with digital or analog hardware The list contains The device links Direction of data flow symbolic name and Bus address of the device concerned Device Links The Modbus and CANopen bus systems are used in this application The following devices are networked via CANopen A Twido PLC bus address 127 fixed master Two Lexium05 servo drives bus addre
65. sses 3 and 4 two Altivar 31 variable speed drives bus addresses 5 and 6 One Advantys STB I O island bus address 7 Two devices are connected via Modbus Magelis panel XBT G bus address 1 Twido PLC bus addresses 2 CANopen Twido PLC is CANopen Master Addresses CANopen Address 1 Lexium 05 3 rs ee 2 Altvar3t 6 The Baud rate is 500 kb sec Heartbeat is used to monitor the devices Twido and Lexium Magelis and Advantys EN doc Schneider Electric 27 CANopen COB ID Data Link PLC lt gt LXM05 Data Link PLC lt gt ATV31 Data Link PLC lt gt STB Data Direction Device gt PLC TPDO 1 PDO 2 PDO Device Device 1 PDO 2 PDO 3 PDO 4 PDO 5 PDO 6 PDO L 4 LXM05 203 503 2 LXM05 204 504 pt ATV31 j J J 68 2 ATV31 685 AdvantysSTB 207 208 T Lexium 05 CANopen Slave A DataDirection PLC lt LXM TPDO 1 LXM 2LXM j index Designation IWC1 0 0 9eIWCD1 1 0 IWCD1 1 2 Data Direction PLC gt LXM RPDO EENME EE 1 LXM 2LXM j index Designation 96 QWC 1 0 0 QWCD1 1 0 60FF QWCD1 1 2 607A Target position Altivar 31 CANopen Slave Data Direction PLC lt ATV TPDO Index Designation Data Direction PLC gt ATV RPDO BEEN EN ATV 2ATV 9 JIndexjDesignation 60FF Tw
66. ting state C State transition J amp Operating fault Continued on next page Twido and Lexium Magelis and Advantys EN doc Schneider Electric 63 Creating the To change the drive to application operating state 6 run program Operation enable activate the contd PLC logic by pressing the Power up button on the Magelis HMI This causes the state machine to run in sequence As well as cyclic Process Data Objects PDOs CANopen also has Service Data Objects SDOs The command CAN CMD is used to send SDOs This application uses 28 SDOs The SDO data is moved from the constant memory KW to memory words MW during system initialisation In this application the speed profile and point to point modes are used see also PDO 4 Since the Lexium05 may be in a different operating mode e g after power restoration it must be ensured that the proper profile is activated The end stage must be switched on operating state 6 Operation enabled in order to change the mode If it is the instruction CAN CMD can be used to write 03 for speed profile or 01 for point to point to the mode register 6060 0 of the Lexium Twido and Lexium Magelis and Advantys EN doc Cl ar 300 2 CATT 2L ECE Di fF UnF 3 1d T ATF c 1ST i OF 710E 5 ie WF at rot 1 KO ERN gt 2C MTF OL I3if cCE 1 TP HF VLA 5 Furi d OP MOF i WAT i ARTRO RUC A GULL D
67. tware Build Version 2 0 0 0 Copyright D 3003 2005 Schmader Hectic Aull R ghile Reeeryadd wanra This computer program e probeched by copunight Lewa and inleinehonal leales Unevlhoned tepioduchor c damutan of this pogam or ary portion of k map resa in Severe crea and ciminal penaiiss and val be orosecuhed ho the maximum extent under lhe lan 2 Telemecanique A Advantys File Edit View Island Online Options Window Help New Workspace Ger Open Workspace m Save Workspace Gopy Workspace Tio Glose Workspace A New Workspace Name Name STB bod Location Name with path d DATAVAdvantys a B body isl a uH 4 Mame wath path d ADATANAdvantysN S TBNSTB aiw d Schneider Electric 67 Configuring Select the modules for the the hardware island from the Catalog Browser EB Catalog working Select the network interface for CTBNCU2212 Y 1 ee CANopen B STBNCD2212 V 2s STBNDN2Z212 V 1 e STB NCO 2212 V1 xx E Next add the other stations HA Tk DX Uma bri mie dku Hrem Hi STB PDT 3100 eer e Rta eter STB DRC 3210 o STB DDI3610 STB ACO 1210 STB ACI 1230 Remember the bus connection e STB XMP 1100 The display should now look like i M STBENCU2212 W 1 xx this STEPDT310D V 1 44 STEDFLC32T7 0 W 1 xx STEDDI3ETU V 1 8 STEALDT21D V 1 4 STEACITZ30 Si 1 26 STEXMPTIOG V 1 48 DRO 3210 Twido and Lexium Magelis
68. w parameters l to an individual device right E 8 Altivar 31 Mol mouse click on the entry for the ON tivar 21 device and select y Modbus Rename i i im download My configurations opy Connections Delete in the pop up menu Cut Shortcut Paste Import Export Connect xz Transfer Confirm the warning message with OK a Warning Any data in the drive will be oversikten Warning You are about ta transfer local data to the drive Do vou wish ta continue Twido and Lexium Magelis and Advantys EN doc Schneider Electric Manual Input using the You can configure the ATV 31 by inputting the parameters using the front panel Altivar Front display and buttons on each Altivar as follows Panel The CANopen Address and Baudrate can be input using the vil RN Hex i P Ahha J Red LEO n E tren 21 i if buttons on the front panel of the 777 8 8 8 8 LT 2 CANopen satus LEDS r i I Altivar LEE t a Returns Ic the previous ry QE bees METU pr parameler EN bu zu ncrcases the displayed Value a Ex a meri or parameter or S AM dears Ihe spayed value In l AT um I ctum io Inve previous store FK i value 1 ww ENI i Bu uu Py bn B Goes bo lhe next menu ar m pose T Wd Enes amenu vr a parameter parameter ne deures 4 og the dapiyan value a f fi Y Fi T F Y i ar saves Inc displayed naerameier pr value Using the buttons on the front panel sel
69. z al Count first cycle 9SMWwan1 el D abvi ackn Mwa wl D atvl errorc S5 MWz35 ul D atvi velo 95MWz34 zd D atvi velo E 95 MWwz33 Schneider Electric 41 Create a As an example of how to create an animated screen the creation of a numerical object is screen described here The method is similar for creating other objects in the screen Example The different object types can be View Draw Tools Window Help selected and inserted into the screen using the toolbar ici e ap COE 18i Numeric Display ABE String Display TF Date Display Time Display First mark the position and size of the object on the screen Define the attributes for the object iii Ti a x General Input Mode Color Visibility Advanced Name Data Type Name MurnericDisplay Styla Variable Data Type Integer Float Style Variable D atl velo a 2 Font Style and size E m h Display Zerafa Format pec The Variable can be edited manually or selected from a list by E ss Fort Width e clicking on the bulb icon at end Font Style norma Fokhegx ft on the edit box i m M Note Alonment Seo if the given variable is undefined z z it is indicated with red text Continued on next page Twido and Lexium Magelis and Advantys EN doc Schneider Electric 42 Create a screen The variable to use for the gonia animation can be selected from Expression Edit
Download Pdf Manuals
Related Search
Related Contents
MODE D`EMPLOI INTERRUPTEUR MURAL 取扱説明書ダウンロード く使用上の注意〉 Compact Ceramic Oscillating Heater Rheem Electrico Pie-Colgar Installation Manual - Moedel Leit Modulo meteo ZWMP BDS 270/BDS 570 iPad ユーザガイド Copyright © All rights reserved.
Failed to retrieve file