Home
Optimized HW M238 System User Guide
Contents
1. M N 111 Optimized_HW_M238 SUG ENG doc schneider Electric 1 Important Information NOTICE Read these instructions carefully and look at the equipment to become familiar with the device before trying to install operate or maintain it The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure The addition of this symbol to a Danger or Warning safety label indicates that an electrical hazard exists which will result in personal injury if the instructions are not followed hazards Obey all safety messages that follow this symbol to avoid possible injury or This is the safety alert symbol It is used to alert you to potential personal injury death A DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury AWARNING WARNING indicates a potentially hazardous situation which if not avoided can result in death serious injury or equipment damage A CAUTION CAUTION indicates a potentially hazardous situation which if not avoided can result in injury or equipment damage Electrical equipment should be installed operated serviced and maintained only by PLEASE nee NOTE qualified personnel No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this
2. q wAtv31SpdRef WORO IoConfig Globals Iv V Structured view Iv Show documentation Documentation Schneider Electric 42 Configure PTO Function for LXMO05 The analog module s output WORD QWO now maps itself to Application GVL q wAtv31Sp dRet To refresh all the I O variables in every cycle with the latest I O data check the Always update variables box If left unchecked only the status of the I O variables that are called in the POUS are updated To configure the PTO function double click on Embedded Functions PTO PWM in the Device browser In the PTO O0 tab the Value of the Enumeration of BYTE for the Mode of PTOOO0 is changed to PTO Optimized HW M238 SUG ENG doc J TM2AMM3HT I O Configuration Expansion Bus I O Mapping Status Information Channels Variable Mapping Channel Address Type Inputs B Outputs Fi Application GVL q_wAtv31SpdRef Qwo 6 Map to existing variable Always update variables 9 Create new variable E Gofingeo AM MESE Project fag MyPLC TMZSBLFDCZ4DT Ell PLE Logic 2 A Embedded Functions 1A IO 10 iM HSC HSC Fi PTO PWM PTO PWM l Serial Line 1 Serial Line 2 CAN bus TM DDILIG6DT TMZDDITISDT TMZDDOSTT TMzZDDPOSTT TMZAMPMSHT TMzZAIMMSHT TMZALMSLT TMZALM3LT 4j PTO PWM PTO 0 pro1 Variable Parameter Type Value Default Val Enumeration of BYTE
3. 2 Interface Mame Vendor Magelis HMI go Manager J HMI Centric POU J Magelis HMI XBTGT2000 Series Text List fj XBTGK Series XBTGT2330 B visualization J xBTGT2000 Series t XBTGT2110 Schneider Electric t XBTGT2120 Schneider Electric e ick on Open i XBTGT2130 Schneider Electric t XBTGT2220 Schneider Electric H xBrGT2330 Schneider Electric 3 XBTGT4000 Series Display all versions for experts only A device object configures a hardware device TN The new XBTGT2330 is now listed under the project in the fig MyPLC CTMZSBLFDC24DT Devices browser 1 8raT2330 xBTG T2330 fo HMI Application Note When a Magelis HMI is added to a project the HMI designing environment Vijeo Frame opens in a new window and you can start designing HMI screens See the HMI Chapter Optimized HW M238 SUG ENG doc schneider Electric Communication To configure the communication Settings gateway double click on x me e ia PLC PC MyPLC in the Devices browser E PLC Logic Select Gateway 1 and click on mu Scan network j wyeic Communication Settings Applications PLC settings Services Status Information N ote Select the network path to the controller P Gateway 1 Confirm that the PLC is EM i Jie Gateway 1 Node name connected to the PC via the EN H M s l Add device Edit Delete Prompt network path at login Connect
4. Nat used m Acceleration Deceleration PTO PM Ms e Frequency Generator Schneider Electric 43 Add Toolbox Library By default the PTO 0 output of the M238 controller is mapped to a Variable called PTOOO In this application the PTO 0 default settings are used In this example application the function block MOT2D18S is used to manage the forward and reverse control of the ATV11 ATV31 and LXM05 drives This function block is in the Toolbox library The current libraries in the project can be viewed in the Library Manager Double click on Library Manager in the Devices browser to open the Library Manager Optimized HW M238 SUG ENG doc PTOO PTO1 Variable lProo0 Parameter 5g PTO PWM lt PTOOO Mode Output Mode Acceleration Deceleration Acc Dec Unit Acc max Dec max Dec Emergency stop Frequency v L4 v Start Stop Maximum 9 Input Filter 99199992629 Mode of usage ALIX Man Lac FwdLac RevLoc LocStop sFwd amp ut L_ RevAut _xFwdF bck _xRevF bck 4i xLock Er amp Ackn strPara dwLtrl Type Default val Enumeration of BYTE PTO Mot u Enumeration of BYTE PulsejDirection PulsejDirecl Enumeration of BYTE WORD 20 65000 WORD 20 65000 WORD 20 32500 DWORD D 65535 DWORD D 65535 DWORD 1 100000 100000 Enumeration of BYTE Not used Summarize
5. 3 PowerSuite ATV31 ATV31 HarcdWire Terminal Configuration File Display Configuration Tools f Inputs Outputs L Modified parameters Fast settings Inputs summary FH Adjustments H f Motor control E Terminal Configuration puts Outputs ff Control command Application functions gt Fault Management s Communication Select Freq reference reached in the R2 list box CFG Macro configuration Factory settings r Type of command TCC 2 wire ar 3 wire control Wire control TT Type of 2 wire control Edge triggered FAS Reverse Logic input Li D scaling CALS Value for low speed Ala m ao l LRH3 Value for high speed Ala m 20 0 ADTT Configuration of 401 Configuration D 20 m utput parameters DO amp O0C AUV assignment Not assigned H1 Relay H1 Dire Fault H2 Relay R2 Select Application functions Preset speeds choice O Modified parameters O Fast settings 3 oO Inputs summary E Adjustments E Motor control E Terminal Configuration E Control command Application functions Summing inputa JOG Hamps configuration Current limitation Preset speeds choice Preset speeds values DC injection Optimized HW M238 SUG ENG doc schneider Electric 86 Select Not assigned in the PS2 and PS4 list box Select Fault Management Fault behaviour 17 Select Logic input LI3 in the RSF list box Save your settings
6. Lexiunm 65 Manual Controls F amp ESIT K H Dba REV GFF xt ddmm yy Schneider Optimized HW M238 cE fuaiting Signal From PLC TO HAL SYSTEM COMFICURATION Schneider Electric 72 Introduction General Stop the CoDeSys Gateway Devices This chapter describes the steps required to initialise and configure the different devices required to attain the described system function The Altivar and Lexium drives can be configured using the operator s control panel on the device itself or by using the PowerSuite configuration software Using the PowerSuite software tool has its advantages e Saving the configuration onto a hard drive and duplicating it e Printing out the configuration for documentation and filing purposes e Testing and optimising the parameters online except for ATV11 Before starting the PowerSuite software tool to configure the drives the CoDeSys Gateway SysTray running under Windows must be stopped The following section describes how to stop this gateway Right click on the CoDeSys Gateway SysTray icon red box in the task list and select A Stop Gateway in the pop up atop Gateway menu Start rete vien Exit Gateway Contral The colour of the CoDeSys Gateway SysTray icon changes from red to black to indicate that it has been stopped Optimized HW M238 SUG ENG doc schneider Electric 73 Altivar 11 ATV11 The ATV11 parameters can be entered or modified using the control panel o
7. This document is based on European standards and is not valid for use in U S A Optimized HW M238 System User Guide EIO0000000276 00 Schneider uns P Electric Contents IMPORTANT ANTORIMAU ON axcccitess e a AES 2 BCONe VOU BEIN ec 3 BENTO CUUIG WO IN acacia arses tapas X 5 PAD DFC VIALION S sa aaa Eaa Aaa aaa R Aa a AEEA EREA TEER 6 GIOS SIY e ceca elell 7 Application Source COC esseistinen aa Gana E das rece duran a duds qur av Sante decane 8 TY DIG AL APDPUCQUOINS eA 9 Lil eet ME 10 ATCDIOCIUEGB cssc Imma a REAA EE I depu pu dE IA CAPE IA IA DRILL SCA LED LED LACE ED 10 HIYS FAN APIO MM RUE ETT E CER 13 HardWare Fe 17 SONWANE RE E m 31 COMMUNICATION etc 32 TTC IIS AR AUIONN eene ee e S 35 CommMu NCAUOM eer PER 37 Hop M M 38 zer ite 63 DEVICES Ne Ic n T3 nr cR s 74 Yigg e 82 Lexim Ei 92 APPENA dcm a a EE 101 Detailed Component LSU iss haces tenets teccineetarcteeetewccagetesciyendasetedateestagstasstne deceit 101 Component Protection ClaSSes scccssseccseseecenseccenseecenseecenseceesseeceseeeenssesoaseeseasssoes 104 COMPONENT Fealll 6S ciis atia etu ENa aeai dea iuus 105 ONT CU sac
8. 3 Onhimzaec HW MESE Project MyPLC TM238LFDC24DT EMI PLC Logic 3 gt agr Application A cu Til Library Manager 8 Task Configuration N Embedded Functions Serial Line 1 Serial Line 2 CAN bus TH2DDI160T TMZDDILI6DT TH2DDG8TT TMZDDOSTT TMZAMPMSHT TMZAMIMSHT TMZALMSLT TMZALM3LT Schneider Electric 44 To add the Toolbox library click on Add library in the Library Manager editor In the Add library dialog on the Library tab select Application Common Toolbox And click on OK to insert the Toolbox library into the Library Manager The new library can now be seen in the Library Manager editor list More information on the Toolbox library its modules and other Schneider Electric libraries can be found in the SoMachine Help under the Help menu Optimized HW M238 SUG_ENG doc i Library Manager MyPLC PLC Logic Application 4bx Name Mamespace IoStandard 3 1 3 2 IoStandard 85 Standard 3 0 1 0 System Standard Util 3 1 2 0 System Util 85 M238 PLCSystem 1 0 1 1 Schneider Electric SEC ar ar System M238 HSC 1238 PTOPWM 1 0 1 0 Schneider Electric 9 PLCCommunication 1 0 1 6 Schneider Electric Add library Library repository x Add Library im poca Company All companies PL Copen Lib For ATV31 ATV71 PLCopen Lib for ILx1F 4 PLCopen Lib For LXM05 5D328 2 0 0 2 Schneider E 49 Standa
9. General Input Mode Color visibility Advanced at the end of the Variable field to choose the variable that Name NumericDisplayO1 style ooo26 v should be linked to the display Variable Ehz Suppress Enable Input Mode In Display Digits you can set Display Digits 6 O VI Display Zeros Data Type Float the maximum number of digits Format Dec C Digit Grouping to be displayed for the integral my and fractional part of the value Font Resource Use Local Settings ag Language Font Vijeo Modern 8x13 Font width 8 Font Style Normal Font Height 13 123456 E z Optimized HW M238 SUG ENG doc schneider Electric The created numeric display is XBTGT2330 Paneli Languagel X now visible on the work frame Example The main page of the HMI is Screens called Home and displays a WEE Preferred Implementation picture of the complete Optimized HW M236 architecture The System page has two functions um dd mn uu Schneider Optimized HW M238 bss 1 To display the overall status for all devices To select between LOCAL or MANUAL operation mode Altivar 31 DalLexium 05 Ret RFM EE 9e Det m T Optimized HW M238 SUG ENG doc schneider Electric 70 The Alarm page displays the status of the system alarms mx dd mm yy y Schneider Optimized HW M238 MR and logs them chronologically wmai ting Signal From M Page Sa
10. Switch Settings General Color Label visibility Advanced Mode Switch Switch with Lamp Category Primitive v el 00001 v Mame SwitchO1 State Up Lamp o C Reverse On Touch when Touch While Touch When Release Operation Bit v x t Bit Set Application GYL i xSe Style Operation Set O Reset O Toggle Momentary ON Momentary OFF Destination Application GVL i xSelSwcSysLocF Q Schneider Electric 67 In the tab Label select Static as the Label Type and enter a text that should appear on the switch e g FWD If you wish you can modify the label s Font attributes Style Width Height and Alignment When you are satisfied with the switch settings click on OK 7 The new switch can now be seen on the work frame Optimized HW M238 SUG ENG doc Switch Settings General Color Label visibility Advanced Label Type Static v Font Vijeo Modern 28x50 ww Font Width 28 Font Style Normal v Font Height 50 Alignment Schneider Electric 68 Create a Click on the Numeric Display Numeric icon in the toolbar Display Click on the panel where you wish to position the numeric display and then drag the object to its required size Then press enter In the Numeric Display Settings dialog on the tab Numeric Display Settings General click on the bulb icon
11. resistance value is used to control the motor Altivar 31 Press the downwards arrow V once and you see yES Press ENT Telemecanique Auto tuning may take 1 to 2 Gia Altivar 31 seconds Do not interrupt the tuning wait for the display to change to dOnE or nO Note During auto tuning the motor operates at nominal current Optimized HW M238 SUG ENG doc schneider Electric 90 When the display changes to dOn_E the stator resistance measured by the auto tuning function is used to control the v motor Altivar 31 Press ESC three times to return to the drive status display Altivar 31 Optimized HW M238 SUG ENG doc schneider Electric 91 Lexium 05 LXM05 The LXMO5 parameters can be entered or modified via the control panel on the Control front of the device This section describes how to set up the drive using this control Panel panel Once the drive has been wired up the drive has to be configured The Lexium 05 offers the possibility to do this via the integrated HMI You do not need a PC connection for the following three steps LEDs for fieldbus ESC exit a menu or parameter return from the displayed to the last saved value ENT call a menu or parameter save the displayed value to EEPROM Down arrow switch to next menu or parameter reduce the displayed value Up arrow switch to previous menu or parameter increase the displayed value Red LED on DC bus u
12. E ky Inspector 2 Panel Fanell Mew Variable Import Variables Export Variables Variable Reference amp Reports New Variables From Equipment Schneider Electric 63 In the dialog New Variables From Equipment select either the variables that you require by checking their respective boxes or click the Select All button Select Variables that keep the same name and click on Add If the length of the variable name exceeds 32 characters you are notified that the variable name s have been truncated to 32 letters Click on OK Note The naming convention in Vijeo Designer is limited to 32 characters Optimized HW M238 SUG_ENG doc New Variables From Equipment Equipment SOM_MypPLe v Linked file Ln Filtered Bu Mame dt Address Description LM Application GVL q x Application GV When TRUE syste LM Application GVtL i s Application GVL i xSel amp weSvysLacF wid 1 Application GvL q Application GV Selected 3 When adding variables Create as Elements in equipment folder C2 Variables that combine equipment and name 9 Variables that keep the same name Add ta Scan Group Rename Variables The following names are changed Fram To Application 3vL 1 xSel5weSpsbo Application VL i s amp SeleweSusL Schneider Electric 64 Communication Settings HMI PLC In the dialog New Variables From Equipment the variables that have been added
13. HMI Magelis XBTGT 5 7 touch display XBTGT2330 Optimized HW M238 SUG ENG doc Part Number Schneider Electric Rev Vers 101 Automation Components Drives and Power Sensor Hardware Components Pos Ame Deserpton h5 Fatum Vern ers Modicon M238 PLC 14 Digital Inputs TM238LFDC24DT NE 10 Digital Outputs 5 2 1 Digital input extension module 16 TM2DDI16DT Sink Source inputs 24VDC m memet umm Source outputs 24VDC 5 4 1 Analogue extension module 2 IN 1 TM2AMMSHT OUT 0 10V 4 20mA 1 Analogue extension module 2 IN Pt TM2ALM3LT 100 and Thermocouple K J T 1 OUT 0 10V 4 20mA Hardware Components Rev Vers kW 200 240V IE21 kW 380 500V IE15 200 240V IEO2 6000rpm 0 54kW 6 1 6 2 6 3 O1 6 4 1 5 7 TeSys U standard control unit LUCL12BL TeSys U auxiliary contact block LUFN20 Motor circuit breaker 2 5A for GV2L07 upstream ATV31 i upstream LXMO5 i circuit breaker 4kW 24VDC Power cable for Lexium 05 3m VW3M5101R30 Encoder cable for Lexium 05 3m VW3M8101R30 12 6 13 6 15 USIC adapter for Pulse Dir interface VW3M3102 to PLC USIC LXM05 Cable 1 5m VW3M8209R15 USIC PLC Cable 1 5m VW3M8210R15 Coupling relay as an interface module ABS2ECO1EB between ATV11 and PLC 24VDC Hardware Components 6 16 D D D o NI gt 6 18 Vers OsiSwitch Limit Switch XCKP2118P16 DU Optimized HW M238 SUG E
14. HW M238 SUG ENG doc schneider Electric 13 Notes M238 I O Connections The components designed for installation in a cabinet i e the PLC safety module circuit breakers contactors motor circuit breakers power supply TeSysU motor starters and M238 I O modules can be mounted on a 35 mm top hat rail Master switches solid state relays Lexium 05 servo drives and Altivar variable speed drives are installed directly onto the mounting plate Alternatively the Altivar 31 and Lexium 05 can be mounted on a top hat rail if an adapter is used The emergency stop button and the pushbutton housing for the display and acknowledgement indicators are designed for on wall mounting in the field All switches can also be installed directly in a cabinet e g in the cabinet door without special housings There are two options for installing XB5 pushbuttons and indicator lamps They can be installed either a 22 mm hole cut into the front door of the control cabinet or mounted in an XALD type housing suitable for up to 5 pushbuttons or indicator lamps The XALD pushbutton housing is designed for backplane assembly or direct wall mounting 400VAC 3 phase or 230VAC 1 phase wiring for the motion and drive circuitry LXMO5 ATV31 ATV11 TeSysU 230VAC wiring for the power supply 24VDC wiring for control circuits and the PLC power supply I O modules and the HMI The individual components must be interconnected in accordance with the detailed c
15. Open POLI Input Assistant Move Up Move Down In the Input Assistant dialog select Programs Project in Input Assistant the Categories list and select Categories ens the POU in the Items list E MM In this application the POU is Application Main Click on OK to confirm v Insert with arguments v Structured view v Show documentation Note POUS that are added to the peade MAST task are called every alaaa Mala cycle The POU is now included in the MAST task E MAST MyPLC PLC Logic Application Task Configuration ab x Configuration The Type of task can be modified Priority 0 31 5 For this project select Interval e g t 200ms 20 ms Freewheeling Freewheeling LItaLitc Time e g t200ms 100 Sensitivity p POLIS Add POU l Comment Application Main Remove POLI Open POLI Input Assistant Optimized HW M238 SUG ENG doc Schneider Electric 51 Configure The object Symbol configuration PLC HMI is used to link the variables m MyPLC 17M238LFDC24D7 Data between the controller and the f PLcLogic HMI Exchange To add a Symbol configuration right click on Application in the Devices browser and select MEER Add Object in the pop u Applicatio menu aia H H Task Confi 5 Delete 4 amp Embedded Functio Properties H S Serial Linei Serial Line t Add Object 2 CANopen Bus Copy Select Symbol configuration in
16. Secure online mode Node name EET Add gateway Edit Delete Connect gateway Scan network 1bx Communication Settings Applications Files Log PLC settings Users and Groups Access Rights Stat gt Select the network path to the controller Gateway 1 0631 4001 de Gateway 1 Wo 0288 H Yo fox M foxy Yo feet o Room4711 09F0 o 5620 009 0759 o SG DT374 079C gt WXDE1931N3JL 073C WXDEIVGMZ2JD 0231 WXDE62WCR3JD 0653 WXDEG3NX43JL 0511 WXDEGLVZM3JD 067E DeC aD aD aD uu uu Prompt network path at login Don t save network path in project Secure online mode jj XBTGT2330 Node name XBTGT2330 Target Type 1631000 Address 0631 4001 Device Name CoDeSys SP for VxWorks Target ID 16 101480F3 Vendor 35 Smart Software Solutions GmbH Target Version 1 0 0 0 Set active path Add gateway Add device Ed Delete Resolve address EE 1b x Communication Settings Applications Files Log PLC settings Users and Groups Access Rights Stat gt Select the network path to the controller Gateway 1 0631 4001 Y Set active path ghe Gateway 1 Wo 0288 Bo 022H Ty E D 4 UG Y o XBTGT2330 0631 4001 active laptop Ub o Room4711 09F0 e 56620 009 0759 e SG DT374 079C e WXDE1931N3JL 073C o WXDE1VGMZ2JD 0231 WXDE62WCR3ID
17. control loop 250 us for speed control loop and 250 us for position control loop e Operating modes Point to point positioning relative and absolute electronic gears speed profile soeed control and manual operation for straightforward setup e Control interfaces CANopen Modbus or Profibus DP Analog reference inputs with 10 V Logic inputs and outputs e The PowerSuite dialog tool enables the Lexium 05 servo drive to be configured set and tested Optimized_HW_M238 SUG ENG doc Schneider Electric 107 TeSys Model U LU2B12BL One power base Control unit 0 15 to 32 A e Only 6 setting ranges up to 32A e Only 4 voltage ranges up to 240 V AC DC e 3 versions Standard Extended Multifunctional Overall width 45 mm Complete reversing contactor combination 0 15 to 32A Auxiliary switches and function modules e Integrated Motor circuit breaker auxiliary contact 1 NC with connectors e Integrated Contactor auxiliary contacts 1 NO 1 NC freely available e Option Auxiliary switch module with 2 contactor state contacts Option Error and Selector switch position signal contact Alarm thermal overload function module Motor load display function module 0 to 10 V 4 to 20 mA Differentiated error display function module under development Communication modules e Parallel wiring with plug in connection cables up to eight motor controls can be supplied on one distribution module Modbus RTU pr
18. following types o Discrete TM2 DDI DDO DMM DRA o Analog TM2 AMI ALM ARI AMO AVO AMM o High speed counter TM200 HSC210DT DF Altivar 11 Variable Speed Drive ATV11PU18M2E The Altivar 11 is a variable speed drive for 3 phase squirrel cage asynchronous motors rated between 0 18 kW and 2 2 kW There are three types of power supply 100 V to 120 V single phase 200 V to 240 V single phase 200 V to 230 V 3 phase The Altivar 11 incorporates specific features for local markets Europe range America range Asia range and has functions suitable for the most common applications including Horizontal materials handling small conveyors etc Ventilation pumping access control automatic doors Special machines mixers washing machines centrifuges etc Altivar 11 drives are supplied with either a heat sink for normal environments and ventilated enclosures or on a base plate for mounting on a machine frame when the size of the frame enables dissipation of the heat Optimized HW M238 SUG ENG doc schneider Electric 106 Altivar 31 Variable Speed Drive ATV31H037N4 The Altivar 31 drive is a variable speed drive for 3 phase squirrel cage asynchronous motors The Altivar 31 is robust compact easy to use and conforms to EN 50190 IEC EN 61800 2 IEC EN 61800 3 standards UL CSA certification and to CE marking It incorporates functions that are suitable for the most common applications inclu
19. gateway Don t save network path in project F Secure online mode Scan network During the scan the Scan E network button is inactive 7 i rwn Communication Settings Applications PLC settings Services Status Information 1 Ini elect the network path to the controller When the scan is finished the ee EETA Scan network button becomes ys ER Node namer active again and the devices oe ara eee EA listed under Gateway 1 that have been detected are E fox nd RUN a RETE Device Name es Room4711 09F0 les Delete SG620 009 0759 Target ID SG DT374 079C 16210140101 Resolve address WXDE1931N3JL 073C Vendor o WXDE1VGMZ2JD 0231 Schneider Electric Select the PLC that is being used and click on Set active path WXDE62WCR3ID 0653 o WXDE63NX43JL 0511 Met e iaiia WXDEGLVZM3JD 067E WXDE6TKQQ3ID 07C3 3 3 3 3 3 3 3 3 3 3 Prompt network path at login Don t save network path in project Secure online mode The PLC is now shown in bold m and marked active vic Communication Settings Applications PLC settings Services Status Information Select the network path to the controller Gateway 1 0631 0001 m Set active path ghe Gateway 1 Node name M238 SN 274 sz Ww Bo 0286 Add gateway H o 0227 Target Type H o 03 16 1000 Add device ud Address 9 o M238 SN 274 0631 0001 active 0631 0001 C D y
20. material A qualified person is one who has skills and knowledge related to the construction and operation of electrical equipment and the installation and has received safety training to recognize and avoid the hazards involved 2008 Schneider Electric All Rights Reserved Optimized_HW_M238 SUG ENG doc schneider Electric Before You Begin Do not use this product on machinery lacking effective point of operation guarding Lack of effective point of operation guarding on a machine can result in serious injury to the operator of that machine A WARNING UNGUARDED MACHINERY CAN CAUSE SERIOUS INJURY e Do not use this software and related automation products on equipment which does not have point of operation protection e Do not reach into machine during operation Failure to follow these instructions can cause death serious injury or equipment damage This automation equipment and related software is used to control a variety of industrial processes The type or model of automation equipment suitable for each application will vary depending on factors such as the control function required degree of protection required production methods unusual conditions government regulations etc In some applications more than one processor may be required as when backup redundancy is needed Only the user can be aware of all the conditions and factors present during setup operation and maintenance of the machine therefore only the use
21. standards B O devices based on CANopen Modbus Serial Line B Connectivity via Magelis HMI which supports more than 30 specific communication drivers Siemens Rockwell Automation Mitsubishi Elau Optimized HW M238 SUG ENG doc Schneider Electric 109 PowerSuite Software Workshop for PC VW3A8104 e The PowerSuite software workshop is a user friendly tool designed for setting up control devices for the following devices Altivar variable speed drive Lexium05 servo drive TeSys model U motor controls Altistart soft starter e Awide range of functions are integrated for the various application phases e g Preparing the configurations for PC Commissioning for PC and Pocket PC Maintenance for PC and Pocket PC e During the start up phase the device is connected to a PC and can be used To transfer the configuration that has been made To make settings For monitoring New functions have now been added for this option such as the Oscilloscope function For control To save the final configuration Optimized HW M238 SUG ENG doc schneider Electric Contact Telephone E Mail 49 6182 81 2555 cm systems de schneider electric com Schneider Electric Automation GmbH Solution Offer Development amp Support Schneider Electric Automation GmbH As standards specifications Steinheimer Strasse 117 and designs change from D 63500 Se
22. the Add Object dialog Add Object Name Application C ck on O pe n Data Server Symbol configuration DUT Global Variable List 5 Image Pool 2 Interface T Persistent Variables pou d POLIs For implicit checks n Recipe Manager t Symbol configuration f Visualization Manager Visualizationinstance Remote access symbol configuration cm In the opened Symbol CO nf i g u rat i on t ab cl ick on J 4 3 Symbol configuration MyPLC PLC Logic Application Refres h Available variables Selected variables Available Items Access Rights Selected Items Access Rights Variables Variables m The refresh invokes a compile S Data Types Data Types of the program Display iipownload bles Instance Path Copy Instance Path Optimized HW M238 SUG ENG doc schneider Electric Check the Messages box for the compilation results and correct any alerts To locate the alert double click on the message Messages v 1X There are no alerts In this Description Project Object Position proj ect Build started Application MyPLC Application The application is up to date Compile complete 0 errors 0 warnings Note The Symbol configuration cannot be refreshed when there are alerts in the program All Variables created in the user program are shown in 4 Symbol configuration MyPLC PLC Logic Application the Variables list Available variables Refresh S
23. to program and start up the system to achieve the application functions as listed below Function Start up and functional description 1 Switch on all fuses and contactors 2 Reset the emergency stop 3 Switch on at master switch 4 Acknowledge the emergency stop by pressing the blue illuminated push button 5 Wait for the red and blue lights of the illuminated push buttons to turn off 6 On the HMI screen called SYSTEM choose to operate between local or manual mode 7 Manual Mode Using the screens ATV11 ATV31 and LXMO5 the user can control the drives individually via the buttons FWD REV STOP and RESET The user can also adjust the individual manual speeds 8 Local Mode Control the drives from the selector switch that is mounted on the outside of the cabinet Reset drive detected faults by acknowledging the red illuminated push button Using the screens ATV11 ATV31 and LXMO5 adjusts the individual local drive speeds 9 Use the SYSTEM SAFETY and ALARM screens to monitor the status of the system including the individual drives the E Stop and logged system alarms 10 Use the XBTGT screen to configure the HMI Functional Layout Magelis XBT GT Protocol on RS485 Modicon M238 amit o OsiSwitch LOB Optimized HW M238 SUG ENG doc schneider Electric 35 Course of Star Action Function Clearly Defined SoMachine Programming Import Vanables from SoMachine to Vijeo Frame Vijea Frame Scr
24. wish to continue Click OK to continue Optimized HW M238 SUG ENG doc schneider Electric In the main window you will see all the ATV data e g the ese detent Dh tb uae oarrte firmware version Swern ATV31_HardWire Version mriProQram version Werder name Note If the drive has an integrated reference potentiometer on the front of the drive ATV11eeeeeeA and ATV11eeeeeeE327 models configure the drive to operate in 2 wire control with analog input Al1 as its speed reference by going to Application functions Command type inside the configuration dialog and selecting 2 wire control in the TCC list box and Terminal reference in the LSR list box Optimized HW M238 SUG ENG doc schneider Electric 81 ATV31 Control Panel Altivar 31 The ATV31 parameters can be entered or modified via the control panel on the front of the device This section describes how to set up the drive using this control panel The drive parameters are set manually using the control buttons on the device First use the control buttons to navigate to the Settings menu SEt to set the motor thermal protection ItH to the motor nominal current as stated on the motor nameplate In the Motor control menu drC set the motor nominal voltage frequency current speed and cos phi respectively in the parameters UnS V FrS Hz nCr A nSP rom and COS according to the motor nameplate In the I O menu I O assign t
25. 0 SE product name for a mid range PLC family SE product name for a family of HMI and Graphic Controller Devices Micro SE product name for a middie range family of PLCs Modbus A Communications protocol Nm 6E productname fora Network Interface Module Osiswitch SE product name for a family of position switches Ositrack SE product name for an Identification system Premium SE product name for a middle range family of PLCs SoMachine SE product name fora PLC programming software Zeo SE productname for a low range PLG family ZelioSoft SE product name for a PLC programming software Optimized HW M238 SUG ENG doc schneider Electric 7 Application Source Code Introduction Examples of the source code and wiring diagrams used to attain the system function as described in this document can be downloaded from our website 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 FileType Software Tool Required cx UntPr Die Device independent Bitmap Syon DOC Document file Microsoft Word Project File Magelis XBTL 1000 EISCUOIE Data Sheet Device Definition TOSS standard EF Spore PTO EDS file Geraete Stamm Datei Pe Probus defiions fie SyCon_ PDF Portable Document Format document Adobe Acrobat PRO Projectile PSi731 CopeSys P3 Eene PowerSui
26. 0653 e WXDE63NX43IL 0511 WXDEGLVZM3JD 067E WXDESTKQQ3JD 073 WXDEBEXZP3JD 06561 COL EL GL GC GL GC EL GL a Prompt network path at login Don t save network path in project Secure online mode Schneider Electric Node name XBTGT2330 Target Type 1631000 Address 0631 4001 Device Name CoDeSys SP For VxWorks Software Solutions GmbH Target ersion 1 0 0 0 Add gateway Add device Edit Delete Resolve address ES Save the To save the project click Project File Save Project To save the project under a different name click File Save Project As In the Save Project dialog that opens after clicking on Save Project As enter the new File name and click on Save Build To build the application click on Application i Build Build Application MyPLC PLC Logic Note To build the whole project both HMI and PLC click Build all After the build the Messages box indicates whether the build was successful or not If the build was not successful the compilation alerts are listed in the Messages box Optimized HW M238 SUG_ENG doc Optimized HW M238_ Project pre Edit wiew Project Build niin I Mew Project Ctrl M 2 Open Project Chrl 0 Close Project L2 Save Project Ctrl 5 Save Project 45 Project Archive Save Project Save in SoMachine Projects t gx A My Recent Doc
27. 2N4 T4 D28F1 T3 DM2 TA par pai Pee rcr umprrpuri al GA Lexium05 LXMO05 AD10 M2 D42M3X T4 T5 ufus peer eee Pe pr furans D57N4 T5 Power connections Description PE Earth connection protective earth R L1 S L2 N R L1 S L2 T L3 Mains connection 3 phase devices PA DC bus PBi Braking resistor internal Mains connection single phase devices PBe Braking resistor external PC DC bus U T1 V T2 W T3 Motor connections Servo Drive Lexium05 LXM05 AD10 M2 Motor Connection Power Cable Connection to Motor Length 3m Motor wiring diagram here without holding brake Terminal Description Colour VW3 M5101 R30 Optimized HW M238 SUG_ENG doc U T1 V T2 W T3 FE 1 Motor lead Motor lead Motor lead Protective conductor Holding brake connection cable For motors with holding brake Schneider Electric black L1 BK black L2 BK black L3 BK green yellow GN YE white WH grey GR 26 Servo Drive Lexium05 LXM05AD10M2 Control Panel Overview of the Signal Connectors Servo Drive Lexium05 LXM05AD10M2 Signal Connectors CN1 and CN3 The connection of the following terminals are mandatory CN1 Terminal 31 32 34 39 CN3 Terminal 41 CN3 Terminal 43 Optimized HW M238 SUG_ENG doc Connection switch CN1 CN2 CN3 CN4 CNS S1 OFF Overview of the signal connections Assignments Analogue inputs 10V pin 11 to 14 CANopen pin 21 23 Digit
28. Delete Cut Shortcut Paste Modify Connect 9 Upload me Download You are notified that you will overwrite the actual data of 3 Warning the drive Any data in the drive will be overwritten Warning vou are about to transfer local data ta the drive Do vou wish to continue Click OK to continue Cancel Optimized HW M238 SUG ENG doc schneider Electric In the Main window you will see all the ATV data e g the Ee Acton Qvi Tk ib firmware version C SC ARS EE ATV31_HardWire Note If the drive has an integrated reference potentiometer on the front of the drive ATV31eeeA model configure the drive to operate in terminal block control by selecting 2 wire control in the TCC list box in Terminal Configuration Inputs Outputs and Analog input AI in the FR1 list box in Control command Control command inside the configuration dialog Auto tuning It is essential that all the motor parameters UnS FrS nCr nSP COS are configured ATV31 correctly before performing auto tuning Auto tuning is only performed if no command has been X activated Press ENT y RAUWN CAN ERR once and you see drC Press ENT Press the downwards arrow V Optimized HW M238 SUG ENG doc Schneider Electric 89 Press the downwards arrow V seven times and you see tUn Then press ENT Altivar 31 nO here indicates that auto tuning has not been preformed and that the default stator
29. K Optimized HW M238 SUG ENG doc Input Assistant Categories ahaLCanstan Sea eones Embedded Function Local Variables E PLC Logic MyPLC IoConfig_Globals MyPLC Ai C5ystem 5 SYSFILE zysfile 3 0 2 7 system SYSPROCESS zysprocess 3 0 2 0 system vISU INTERFACES visuinterfaces 3 2 0 0 system lt Iv v Structured view Iv Show documentation Documentation bAta Ctrl HOTZD15 Aut Man Lac 4xFwdLac xHevLac xLac5top xFwd amp ut Hev amp ut BWL SelSweSvsLocFwd fb tv31 Ctrl MOT2D1S e Aut q xut i Man q Man Auto Declare Scope Name VAR GLOBAL v g xSysAutAcEv pooL Yl Object Initialization Address GVL MyPLC PLC Logic Applic a Flags Comment CONSTANT When TRUE system is operating in Automatic Mode RETAIN cen PERSISTENT Schneider Electric 49 Configure Task The VAR_GLOBAL variables are located in the GVL folder All variables located in this folder are globally accessible and can be accessed throughout the application If the variables are located in the POU they can only be accessed by the POU local variables The Task Configuration in the Devices browser defines one or several tasks for controlling the processing of an application program To start working with a new POU it has to be called within a Task In this application all POUs are implemented b
30. Lexium 05 Optimized HW M238 SUG ENG doc schneider Electric 99 Auto tuning may take1 to 2 minutes Do not interrupt wait for the display to change to Telemecanique don E Lexium 05 If the Auto tuning is interrupted the default values are imported When the display changes to donE the calculated values are accepted immediately without an additional save Lexium 05 Press ESC three times to return to the drive status display Lexium 05 Optimized_HW_M238_ SUG _ENG doc Schneider Electric 100 Appendix Detailed Component List Hardware Components Pos Amt pesenpnon Pa Nib Sarel Cabinet Cabinet light ENNLA6000 Lo 4 Cabinet light cable ENNLA6001 EE Wiring diagram pocket ENN21322 od Thermostat 1NC 0 60 C ENN17562 fl Fan with filter 230V 46W ENN17903 NEED Air filter for cabinet 250x250 ENN17912 I 1 7 Switch cabinet and mounting plate ENN83359 EN Hardware Components Pos Amt Description Part Number Mains Switch Mains switch 25A 3pin flush mounting VCDO E Auxiliary contact block NZ S 2 3 Power supply plug 3P N PE 6008648 BED Hardware Components we Am pesornpnon ar mb Power Supply Power supply 230V 24VDC 5A ABL8REM24050 DES 120W Circuit breaker C60 1P 2A C 23726 DS Circuit breaker C60N 2P C 23747 D Circuit breaker C60H 3A D 24518 D Circuit breaker C60L 1P 2A Z 26135 NM Circuit breaker C60N 2P 10A C 23756 i 3 7 Earth disconnect terminal 5711016550 i Hardware Components
31. M238LFDC24DT 14 Digital Inputs incl 8 Fast Inputs 10 Digital Outputs incl 4 Fast Outputs Modicon M238 Modicon M238 Module TM2DDI16DT 16 Digital Inputs 24VDC Sink Source Removable Screw Terminal Block Optimized HW M238 SUG ENG doc CTUTTIIET T qu am s Epil oe me ea agree ao 1 Sink inputs positive logic 2 Source inputs negative logic r Fast Ouputs LEN a Source inputs negative logic b Sink inputs positive logic Schneider Electric 19 Modicon M238 Module TM2DDO8TT 8 Digital Source Outputs 24VDC Removable Screw Terminal Block Modicon M238 Module TM2AMM3HT 2 Analog Inputs 0 10V 4 20mA 1 Analog Output 0 10V 4 20mA Modicon M238 Module TM2ALM3LT 2 Analog Inputs Thermocouple K J T and PT 100 Temperature Probe 1 Analog Output 0 10V 4 20mA HMI Touch Screen Display Magelis XBTGT2330 24VDC Input TFT Colour LCD 320 x 240 Pixels 65536 Colours 16 MB Application Flash EPROM with Built in Ethernet Optimized HW M238 SUG ENG doc USB interface Serial interface COM1 Power supply connector Serial interface COM2 RJ45 Polarisation Switch Schneider Electric 20 Motor Circuit Breaker Short Circuit Protected GV2L07 and GV2L14 Used together with auxiliary contact GVAE11 Motor Starter TeSys U LU2B12BL Reversing power base Used together with auxiliary contact LUFN20 Optional si
32. NG doc Schneider Electric 102 Hardware Components E Stop Mushroom push button red XB5AS844 yellow E Stop XPSAC5121 ZB5AZ141 Circular legend for E Stop mushroom ZBY8330 head pushbutton 90mm diameter Hardware Components Rev Vers Safety E Stop 8 1 OO sad od RE Awn Description Part Number bald ers Display and 9 1 Assembly housing for 1 Style 5 button XALDO1 Indicators 2 Assembly housing for 2 Style 5 XALDO2 buttons Three position selector switch XB5AD33 Signal lamp white LED XB5AVB1 Illuminated pushbutton with red LED XB5AW34B5 1NC 1NO Illuminated pushbutton with blue LED XB5AW36B5 1 NC Software Components wlwolo O O1 amp Go on erem ponnn trs Software Tools MSDCHNSFUV10 V1 0 Software USB to USB SubD9 to RJ45 10 5 PowerSuite PC AItivar Lexium VW3A8106 Connection kit Optimized HW M238 SUG ENG doc Schneider Electric 103 Component Protection Classes Cabinet ProtectionClass 1 1 01 1 1 IP54 IP65 IP55 IP65 Mains Switch with or without undervoltage protection and X integrated indicator Emergency Stop switch housing XALK X Preventa module XPSAC5121 X Single Double switch housing X Control switch 3 positions X Buttons with LED 1 switch 1S all colours complete Phaseo Power Supply 24 V DC 5 A Modicon M238 PLC TM2 I O Expansion Modules Magelis HMI Display XBTGT Lexium 05 Servo Drive BSH Servo Motor Altiva
33. OVDC FAULT PWM OUT ENABLE OUT DIR OUT PULSE OUT 0VDC STEP2 INV OUT STEP2 INV OUT PWM OUT ENABLE OUT DIR OUT PULSE OUT JO0 Cc Oro 4 2 00 O rog 0906060609099 90990292292 o 999999 IMPORTANT The Yellow Resistor Figure 4 3 puma Network that IS Signal CN1 Signal CN2 Colour Meaning VO VO connected on CN5 of c aa ao PULSE PULSE_OUT white Motor step O USIC must be removed PULSE PULSE OUT brown Motor step inverted n KKK X XX X X ul SEIU DIR DIR_OUT green Direction of rotation l DIR OUT yellow Direction of rotation inverted ENABLE_OUT grey Enable signal ENABLE OUT pink Enable signal inverted zw PHM ovr blue Current reduction PWM PNM OUT red Current reduction inverted sTEP2 Inv STEP2 INV OUI black Angular resolution transfer O OjJOjOJ O J O O O O STEP2 INV STEP2 INV OUT purple Angular resolution transfer inverted ACTIVE2 OUT ACTIVE2 red blue 0 Power amplifier is enabled o 1 Power amplifier is locked FAULT OUT239 FAULT white green 0 Normal operating status Oo 1 Error message 0VDC IVDC white yellow ground NC JVDC grey pink ground NC JVDC brown green ground 1 Information on colour refers to the wires available as accessories 2 Pins are not assigned with all power amplifiers 3 At Twin Line the signal is called FUNCT_OUT Optimized HW M238 SUG ENG doc schneider Electric Modicon M238 T
34. SUG ENG doc Schneider Electric 82 PowerSuite The parameters for the ATV31 can also be set using the PowerSuite configuration with ATV31 software This section describes the PowerSuite procedure Before carrying out the steps described below you must ensure that beginning of this chapter Use the Connect option in the Action menu or the equivalent icon in the tool bar to establish a connection with the device Note Prior to this you must have plugged in the connection cable from the PC to the ATV Read the functional safety information and follow the instructions Once you have checked it is safe to do so you can press ALT F PowerSuite attempts to connect to the ATV PowerSuite recognises that it is a new device Click on Create Optimized HW M238 SUG ENG doc The PowerSuite configuration software is installed on your PC The variable speed drive is connected to the power supply The PC is connected to the variable speed drive via the communication cable The CoDeSys Gateway SysTray is stopped refer to the General section at the a PowerSuite File Action Display Tools Help seslesr te ZO amp OPTIMIZED Hin M238 a Warning _ WARNING AN UNINTENDED EQUIPMENT OPERATION machine controlled by this software may be prone to unintended operation The user must have a hard wired STOP device or disconnect switch bo ensure it is possible to stop the equipment The user must ensure g
35. SUG ENG doc M238 PLC Outputs M238 PLC Power Supply TM2DDI16DT Digital Inputs Module TM2DDI16DT Digital Inputs Module Power Supply TM2DDOSTT Digital Outputs Module TM2DDOSTT Digital Outputs Module Power Supply TM2AMMSHT Analogue Mixed Module Inputs USIC Pin 1 of CN1 PULSE Signal USIC Pin 2 of CN1 DIR Signal Not used reserved for fast outputs Not used reserved for fast outputs USIC Pin 3 of CN1 ENABLE Signal Red signal lamp of Push Button Blue signal lamp of Push Button ATV11 LI1 Forward Run Command ATV11 LI2 Reverse Run Command ATV11 LIS Alarm Reset Command OV DC reference potential OV DC reference potential OV DC reference potential OV DC reference potential OV DC reference potential 24V DC OV DC reference potential 24V DC OV DC reference potential 24V DC OV DC reference potential TeSys U LUFN N O Auxiliary Contact ATV11 Alarm Relay RA ABS2ECO 1EB Coupling Relay Terminal 14 ATV31 MCB N O Auxiliary Contact ATV31 Relay R1A Alarm ATV31 Relay R2A Speed Reached LXMO05 MCB N O Auxiliary Contact LXMO5 Pin 31 of CN1 NO_FAULT OUT LXMO5 Pin 32 of CN1 ACTIVE1 OUT Reserve Reserve Reserve Reserve Reserve Reserve Reserve OV DC reference potential OV DC reference potential OV DC reference potential OV DC reference potential ATV31 Ll1 Forward Run Command ATV31 LI2 Reverse Run Command ATV31 LI3 Alarm Reset Command Preventa Safety Rela
36. Terminal 34 24VDC LXM05 CN3 OV DC reference potential 24V DC Schneider Electric 16 Hardware Master Switch for Door Mounting Vario VCD 0 3 Pole 400V Rotary Switch Power Supply Phaseo ABL 8RPS24050 Primary 200 500 VAC Secondary 24 VDC 120W 5A Universal Signal Interface Converter USIC VW3 M3 102 Fer A etse 2222102202220 2 lc Universal adapter for a T k EEECTEELELE Pulse Direction AB is the Resistor g a ococoo00 gt A The PLC is connected to d dadih CN1 of USIC using the CN of USIC is Network connected to the PLC Resistor on PLC USIC cable VW3 24V Source Outputs CN5 must be M8 21 0 H30 Eon ee M 4 men VW3 M8 210 R30 CN2 of USIC i 5 o 5 Th XM05 i _ connected to CN5 of e S y M3 LXMO05 using the connected to CN of s t i f Pretartcated cable USIC using the LXMO05 Moooooooocoo2o0 USIC cable gt Bl BJ Lele lel 2 e ojo n a VW3 M8 209R30 hoe be Optimized HW M238 SUG ENG doc schneider Electric MODICON Universal Signal Interface Converter Minimum cabling required as follows PLC lt gt USIC CN1 QO PULSE White Q1 DIR Green Q4 ENABLE Grey USIC CN1 lt gt OV Pin9 PULSE Brown Pin10 DIR Yellow Pin11 ENABLE Pink Pin15 OVDC White Yellow PREFABRICATED CABLE USIC CN4 lt gt Power eee Supply Pin1 24 VDC Ping OV e e ACTIVE2 OUT NC STEP2 INV STEP2 INV OVDC
37. accept the new selection The Value of the Enumeration of BYTE for the Scope of QWO is set to Customized with a Minimum of 0 and a Maximum of 1500 Press Enter to accept each modification Optimized HW M238 SUG ENG doc 3 Onhimzec MW MESE Project fig MyPLC TMZSBLFDC24DT Ell PLC Logic H S Embedded Functions Serial Line 1 amp Serial Line 2 amp CANbus I THM2DDI160T TMZDDILISDT T TM2 DDOSTT TMZDDOSTT fe TMZAMM3HT TMZAMIMSHT fe TMZALM LT CTMZALMSET _ gj TM2AMM3HT 4 bx I O Configuration Extension Bus I O Mapping Status Information Parameter Inputs gj Outputs Qw qe Type Enumeration of BYTE Not used d till Parameter Description o f TM2AMM3HT Ij O Configuration Extension Bus IO Mapping Status Information Parameter Inputs jg Outputs WO a Type Enumeration of BYTE 0 10 v Scope Enumeration of BYTE Minimum INT Maximum IMT 1500 ll Schneider Electric 41 Map IO Module Variables to Existing Variables On the Extension Bus I O Mapping tab it is possible to map the data of QWO to a variable There are two ways of Mapping V Create a new variable d 4 Mapping to an existing variable In this project Map to existing variable was used i e the output is mapped to an existing variable that is located in the folder Application GVL GVL stands for Global Variables List which ca
38. al inputs outputs pin 31 39 Motor encoder Hiperface Sensor 24V PELV controller supply voltage PC peripheral operating terminal Modbus CANopen RJ45 ESIM A B l out PULSE DIR in encoder signals A B in Switch for fieldbus terminating resistor 1 depending on the First Setup Schneider Electric 2 Servo Drive Lexium05 LXM05AD10M2 Signal Connectors CN2 A Encoder Cable Connection to Motor Length 3m VW3 M8101 R30 Signal Motor pin SHLD SIN REFSIN cos REFCOS Data Data ENC_OV TMOT_OV T MOT ENC 10V OUT 10 n c Colour white brown green yellow grey pink blue red black purple grey pink red blue Motor sensor wiring diagram Pair 1 1 2 2 3 3 4 4 5 5 6 6 Description Shielding braid Sine signal Reference for sine signal 2 5 V Cosine signal Reference for cosine signal 2 5V Receive and transmit data Receive and transmit data inverted sensor reference potential encoder 0 5mm A not assigned 0 5mm Reference potential for T MOT not assigned temperature sensor PTC E 10 Vpc power supply for sensor max 150 mA A not assigned 1 Colour data is based on the prefabricated cables fr I z un D E a CH L Servo Drive nenaaoanamanmaan JL TL HE TE 3 l ie see sae ee ee see AAAA Lexium05 LXM05AD10M2 Figure 6 21 Wining diagram PULSE a Signal Connectors CN5 Signal Description vo Motor step Pulsa R am
39. ar to upload the configuration from the device Note Prior to this you must have plugged in the connection cable from the PC to the ATV Read the functional safety information and follow the instructions Pa Warning 5 lx WARNING N UNINTENDED EQUIPMENT OPERATION machine controlled by this software may be prone to Once you have checked it is safe to do so you can press ALT F PowerSuite uploads the configuration from the ATV to the PC and displays a progress bar Optimized HW M238 SUG_ENG doc unintended operation The user must have a hard wired STOP device ar disconnect switch bo ensure it is possible to stop the equipment The user must ensure guards are in place so that unintended operation will not cause injury ta personnel or damage ta equipment The user 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 AlECF Cancel Schneider Electric 19 In the New name dialog give the drive a name and click on OK PowerSuite uploads the current drive data To open the configuration dialog double click on the configuration file that was created PowerSuite prepares to open the configuration The configuration dialog opens Opti
40. by clicking on the disk icon in the toolbar Optimized HW M238 SUG ENG doc PS16 Enable 2 preset speeds Enable 4 preset speeds Mot assigned Enable 8 preset speeds Not assigned Enable 15 preset speeds Not assigned PowerSuite ATV31 ATV31 HardWire File Display Configuration Tools O Modified parameters 0 Fast settings eo Inputs summary ffr Adjustments Motor control din Configuration Control command Application functions OO Management Fault behavi OT Stop on fault made og Communication ATR Automatic restart Ho E FAA Mar duanan of restart 5 antes v STP Ctrid stop on power loss Freewheel FLA Catch on fly Mn DAN Derating for undervoltage Mn RSF Fault reset ETF External Fault LET E xfernal faul eonig Siale T m parameterz LAC Fact allie Schneider Electric 87 19 Use the Close option in the File menu or the system exit a PowerSuite ATV31 ATV31 HardWire icon to close the configuration Eile Display Configuration Tools 2 dialog g Lj Save Crlt s Save as Crlt Shitt S 8 Print Ctrl F Print preview Ctr Shift P Page setup Shift P Export Capture Cre Cro H f Communication To download the data to the drive right click on the drive P Powersuite and select Download E File Action Display Tools Help ase etes My devices SS OPTIMIZED Hw M238 ER ATv3 Harndwire S ATV31_Hardy Rename Y Modbus net Copy
41. c HevLac LocStop To connect a variable to an input place an input element from the ToolBox on the input side of the FB and connect the input box to an FB input by clicking on the red end and dragging it to the input of the FB Man Lac FwdL ac xHevLac LacStap 4Fwd amp ut To open the Input Assistant i Revut dialog xFwidFbck HevF bck Click on in the input box xLock and press F8 Er Ackn strPara dwCtrl Or alternatively Click on the white box that appears at the end of the field l EYLUL LocStop 4Fwid amp ut Hiev ut imei Optimized HW M238 SUG ENG doc Schneider Electric In the Input Assistant dialog select Global Variables in the Categories list In the Items section select MyPLC Pic Logic Application GVL and then the variable In this project the variable is a three position selector switch that is mapped to a global variable Click on OK This image shows the FB with the connected input Connecting a variable to an output is done similar to the input but here a new variable is created Click on the in the output field type in a name for the variable and then press Enter In the Auto Declare dialog that opens select the Scope and Type and confirm the variable Name In this example select VAR GLOBAL and BOOL from the Scope and Type list box respectively When finished click on O
42. ct POU and enter a Name Select Program as the Type and CFC as the Implementation language It is possible to select any of the IEC languages and to generate functions and function blocks Click on Open to continue Optimized HW M238 SUG ENG doc m MyPLC TMZ38LFDC24DT PLC Logic 3 Application Embedded Functio Serial Line 1 Serial Line 2 CANbus l TMZDD116DT TMZ 7 Delete Properties oa Lae ka Add Object Add Object Mame ATY CONTROL Type Program j C Function Block T Persistent Variables By pou ja d POLIs For implicit checks Iu n Recipe Manager EA Symbol configuration ES ES Method implementation language C Function Al Visualization Manager Return type 4 Visualizationinstance Implementation lanquage Continuous Function Chart CFC Y create a new POU Program Organization Unit cm Schneider Electric The new POU ATV_CONTROL is now visible in the Devices browser under the Application entry The tab ATV_CONTROL is opened in the Editor It is divided into the following sections Declaration section Programming section ToolBox use drag and drop to place programming elements in the programming section Begin by placing a box element in the programming section Then click on the field Type in a name for the function or function block When you start to type a hint list opens In
43. dicon M238 USB to USB cable XBTZG935 SubD9 HMI to RJ45 M238 cable XBTZ9008 PC XBTGT PC connection cable XBTZG935 Cable for the connection between a SoMachine equipped PC and XBTGT Optimized HW M238 SUG ENG doc Schneider Electric 32 XBTGT M238 PLC HMI connection cable XBTZ9008 Cable for the connection between a XBTGT and a M238 PLC Altivar 11 ATV 31 PowerSuite V2 0 0 Altivar 31 LXM 05 PowerSuite V2 2 0 Lexium 05 PC connection cable VW3A8106 Cable for the connection between a PowerSuite equipped PC and Altivar Lexium05 PowerSuite PowerSuite Optimized HW M238 SUG ENG doc Schneider Electric Altivar 11 Altivar 31 Lexium 05 Modbus Network The RJ45 interface features a Modbus port for establishing a PC and PowerSuite software connection 2 288 R1C R2C C R2A O O ax wm CRE a C lt Pood oooog us C us O C Li6 us O 2 CLI 24V LI2 LI3 Control Board O DODODOOOOOOOOOOODOO So s eo Se oe eee ae a S s d HH 81 OFF p Control Board Bide cti nal ans rca Sugnal HAS krel Bide cti nal Warem h Sxnal d HAS kerel 10 V power supply man 150 m Output Flalorence potential forsoD 10Y OUT Output Optimized HW M238 SUG ENG doc Schneider Electric Implementation Introduction The implementation chapter describes all the steps necessary to initialise to configure
44. ding Materials handling small conveyors hoists etc Packing and packaging machines Specialist machines mixers kneaders textile machines etc Pumps compressors fans Altivar 31 drives communicate on Modbus and CANopen industrial buses These two protocols are integrated as standard into the drive Altivar 31 drives are supplied with a heatsink for normal environments and ventilated enclosures Multiple units can be mounted side by side to save space Drives are available for motor ratings between 0 18 kW and 15 KW with four types of power supply 200 V to 240 V single phase 0 18 kW to 2 2 kW 200 V to 240 V 3 phase 0 18 kW to 15 kW 880 V to 500 V 3 phase 0 37 kW to 15 kW 525 V to 600 V 3 phase 0 75 kW to 15 kW Lexium 05 Servo Drive LXM05AD10M2 e Voltage range Single phase 100 120 V AC or 200 240 V AC Three phase 200 240 V AC or 380 480 V AC e Power 0 4 to 6 kW e Rated torque 0 5 to 36 Nm e Rated speed 1500 to 8000 rpm e The compact design allows for space saving installation of the drive in control cabinets or machines e Features the Power Removal Safe Stop functional safety function which prevents the motor from being started accidentally Category 3 with machine standard EN 954 1 e Lexium 05 servo amplifiers are fitted with a brake resistor as standard an external brake resistor is optional e Quick control loop scan time 62 5 us for current
45. e TMZALM3LT TM24LM3LT H xBTaT2330 xBTGT2330 ET HMI Application T ATV CONTROL PRG E ACT HJ LXM CONTROL PRG EA ACT SYSTEM STATUS PRG i Application_Main PRG SET NEW TARG FB SYSTEM CONTROL PRG Schneider Electric 62 HMI Introduction This application uses a Magelis XBT GT2330 HMI This device communicates with the PLC using SoMachine protocol on RS485 The Magelis is programmed using the software tool Vijeo Designer Delivered with SoMachine that is described in brief in the following pages For the connection between the PLC and the HMI the cable XBTZ9008 is used NOTE The Vijeo Frame is invoked via SoMachine For more information see chapter PLC Add Vijeo Designer HMI Setting up the HMI is done as follows e Main Window Import the SoMachine variables Communication Settings HMI gt PLC Create a Switch Create a Numeric Display Example Screens Main Window After creating a Vijeo Designer HMI program in SoMachine the main window of Vijeo Designer is displayed Vijeo Designer has the following components Navigator InfoViewer Toolchest Property Inspector Feedback Zone Graphic List Import the To import the variables right SoMachine click on Variables in the Lil variables Navigator and select New Open Optimized HW M238 SUG ENG doc Variables From Equipment i the pop up menu ijeo Manager
46. e to close to the results window Optimized HW M238 SUG_ENG doc Multiple Download Please select the applications For download y MyPLC Application y XBTGT2330 HMI Application Online change options If the application in the project differs From the application already present on the PLC then behave as Follows Try to perform an online change If this is not possible perform a full download Force an online change If this is not possible cancel the operation C Always perform a Full download IF an application is not yet present on the PLC a full download is always performed Additional operations v Delete all applications on the PLC which are not part of the project v Start all applications after download or online change cea Description generate global initializations generate code initialization generate relocations Size of generated code 56916 bytes Size of global data 7578 bytes b Total memory size required 63860 bytes Build complete 0 errors O warnings ready Far dovnload ss Precompile ok Multiple Download Result MyPLC Application Not changed Multiple Download Result eR MyPLC Application Downloaded Schneider Electric 60 Once the download to the PLC is finished the HMI application file download starts Messages Vijea Designer The result of the HMI Description e Started downloading HMI application s downl
47. ed using the PowerSuite configuration software Manu Motor control def Manu Motor contro r Menus i Menu Application funcbons f g Menu Display Parameter Value or assignment Next parameter Note If the drive has an integrated reference potentiometer on the front of the drive ATV11eeeeeeA and ATV11eeeeeeE327 models configure the drive to operate in 2 wire control with analog input Al1 as its speed reference by setting the parameter Act in the Type of control function tCC to 2C and parameter LSr to tEr in the Application functions menu Fun Schneider Electric 74 The parameters for the ATV11 can also be set using the PowerSuite configuration software This section describes the PowerSuite procedure PowerSuite with ATV11 Before carrying out the steps described below you must ensure that The PowerSuite configuration software is installed on your PC The variable speed drive is connected to the power supply The PC is connected to the variable speed drive via the communication cable The CoDeSys Gateway SysTray is stopped refer to the General section at the beginning of this chapter Auto tuning Auto tuning is not required for the ATV11 ATV11 Upload Use the Upload option in the Configuration Action menu or the PowerSuite File Action Display Tools Help Sof es a aS My devices Upload a configuration from the device to the PC Ew OPTIMIZED HW M238 equivalent icon in the toolb
48. eens Designing Finish Begin Start Up Optimized HW M238 SUG ENG doc Altivar 11 Parameterization Drive Parameterization via PowerSuite Configuration Taal Altivar 31 Farameterization save and Download Drive Settings from PowerSuite to Drive Altivar 31 Auto Tuning Schneider Electric L exium 5 Parameterization Lexium 05 AutoTuning 36 Communication Introduction This chapter describes the data passed via the communications bus e g CANopen or Ethernet 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 described architecture is a hardwired system There is no communication bus system This application uses the SoMachine protocol on RS485 for the data exchange between the PLC and HMI The SoMachine protocol connects Magelis Panel XBT GT Modicon M238 PLC General The PLC example program uses different hardware discrete and memory words The Addressing following list contains keys to aid the understanding of the addressing system used Digital Inputs Sel Xby x Digital inputs are hardware orientated by as byte number x as bit number E g Emergency Stop response at IX0 1 Digital Outputs QXby x Digital outputs are hardware orientated by as byte number x as bit number E g Lamp Indicator at QX0 1 Analog Inputs Joe
49. elected variables Available Items Selected Items Access Rights Variables C3 Variables In this project as all variables i iil ano cono Ex are global variables they are gt die g_xSysAutActy SOO located in the GVL folder i xSelSucSysLocFwd 00 q wAtv3lSpdRef ORO 8 IoConfig_Globals Data Types To link the variables from the sis PLC to the HMI select GVL and click on gt The right frame now lists the Selected variables that have been linked and can be used ee in the HMI S Bi oma a cn P ou u ypsAulAcdy iaSelSacSyslouFad POI Pd ntelsreSysblotFen 77 Pa wll Spiel q wALv315pURel IS mo Dala Types EB aoii bak 6S naa Types Display mead variablez Optimized HW M238 SUG ENG doc schneider Electric 53 Add Magelis To add a Magelis HMI unit to HMI the project right click on the 3l Optimized HW M238_ Project project name and select MyPLC TM238LFDC24pT d Cut H PLCLogic fy Copy Add Object 3 2 Application A cu from the pop up menu l Library Manai 5 Delete Hf ATV CONTR Application Wi hal ranti t i Add Object Optimized HW M238 Project a Symbol config H Add Object BB Task Configu Add Device H A Embedded Functions In this project the selection is In the Add Object dialog select Device and select Schneider Add Object Electric as Vendor C xternal File evices Click on i List dd Image Pool Vendor Schneider Electric
50. evice Update device Device Vendor lt All vendors x Name vendor Version r Schneider Electric 1 0 1 2 Schneider Electric 1 0 1 2 A TM2DAISDT Schneider Electric 1 0 1 2 9 Tm2pp116DK Schneider Electric 1 0 1 2 Ei Schneider Electric 1 0 1 2 d TM2DDI32DK Schneider Electric 1 0 1 2 j TM2DD18DT Schneider Electric 1 0 1 2 jj TM2DDO16TK Schneider Electric 1 0 1 2 H TM2DD016UK Schneider Electric 1 0 1 2 jj TM24RI18LT G TM2AvozHT Display all versions For experts only Information J Name TM2DDI16DT Vendor Schneider Electric Groups Version 1 0 1 2 Model Number TM2DDI16DT Descrintinn Fxnansinn modiile with 16 24v DC Append selected device as last child of MyPLC e You can select another target node in the navigator while this window is open Add Device Close p Gotinged HM MPSE Project wm MyPLC TM238LFDC24DT Ell PLC Logic H A Embedded Functions Serial Line 1 H A Serial Line 2 W CANbus I TH2DDI160T TMZDDILTSDT 1 TMZDDOSTT TMZDDOSTT Je TMZAMMAHT TMZAMM3HT je TMZALMSLT TMZALM3LT Schneider Electric 40 Configure IO Expansion Modules To configure an expansion module double click on it in the browser Here we will configure the analog output of the expansion module TM2AMMSHT In the I O Configuration tab the Value of the Enumeration of BYTE for the Type of QWO is changed to 0 10V Press Enter to
51. fety displays the fth merdan mE ddm uy status of the emergency stop Schneider Optimized HW M238 ERN relay Auaiting Signal From PLC Page ATV11 is for setting the speed references of the ATV11 drive and controlling the drive when the system is operating in Manual mode It also displays Altivar 11 Status Sains the status of the drive E E E Altivar 11 Speed Reference CERPR LOCAL 1234 MANUAL 1234 LE Optimized HW M238 SUG ENG doc schneider Electric Page ATV31 is for setting the speed references of the ATV31 drive and controlling the drive when the system is operating in Manual mode It also displays the status of the drive Page LXMO5 is used for setting the speed references of the LXMO5 drive and controlling the drive in either speed or position mode when the system is operating in Manual mode It also displays the status of the drive g Page XBTGT allows you to access to the HMI system configuration Optimized HW M238 SUG ENG doc lam dd mm uu Schneider Optimized HW M238 AR wmai ting Signal Froma PLC Altivar 31 Status ACB RUN STATE STATE Biel 5555 fAltivar 31 Speed Reference Eu LOCAL 1234 AANUAL 1234 fAltivar 31 Manual Controls SPEED REACHED Auaiting Signal From PLC Lexium 65 Status ACB RUH STATE STATE STATE MN cnore Core 5 42 Lexiunm 65 Positioning 1234557H 17345678 TARGET POS ACTUAL POS FAULT 1234 TARGET RPM ACTUAL RPM
52. gnalling contact LUA1C20 forward running S1 lt 4 Stop li reverse running TeSys U Motor Starter LUCL12BL Control Unit Magnetic control unit for the protection of variable speed controllers and soft starter units Optimized HW M238 SUG ENG doc Schneider Electric 21 Motor Starter TeSys U LU2B12BL amp LUCL12BL amp LUFN20 amp LUA1C20 POWER BASE Contactor TeSysD LC1DO9BD Circuit Breaker Multi 9 23726 23747 24518 26135 and 23756 Optimized HW M238 SUG ENG doc Schneider Electric 22 Variable Speed Drive Altivar 11 ATV11 PU18 M2E 1 phase 230VAC 0 75kW To ensure that the logic inputs can be energized using PLC transistor outputs Connect the 0 V terminal of the ATV11 directly to the OV DC reference potential Note Connecting the ATV11 O V terminal to the COM terminal of the Analogue Output module does not guarantee that the 0 V terminal of the ATV11 is connected to the OV DC reference potential Optimized HW M238 SUG ENG doc Speed rederence E v potentiometer 2 210 10 ka External 0 10V Analogue Signal as Speed Reference 100 120 V 50 60 Hz and 200 240 V 50 60 Hz extemal power supply Alarm relay contact for remote signalling of drive status Internal 15 V If an external 24 V supply is used connect the 0 V on the external supply to the O V terminal do not use the 15 terminal on the drive and connect the common
53. grated to fulfil an industrial application 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 Optimized HW M238 SUG ENG doc Schneider Electric 5 Abbreviations Abbreviation Signification Alternating Current CB CmwitBreer O Circuit Breaker Continuous Function Chart a programming language based on DI function chart Digital Input DO CS Digital Output DFB DervedFuncionBloks Electronic Data Sheet FBD Function Block Diagram an EC 61131 programming language HM Huma Mechmeltefacs p Internet Protocol MB PlCopenMotonFundionBlok mr ea rente mme Il Factory and SoMachine PDO jProcessDataObjet CANope 10 00 PS Power Supply RFID JRadioFrequenoylDentfication SE jSchnederElecric SO SeveeDaaObe SRS PLCRackSlotAddressngsysteminELOP Il Factory UDP jUserDaaProoco Optimized HW M238 SUG ENG doc Schneider Electric 6 Glossary Expression Signification Haw PIMA product name for safey remote TOs IcIA ICLA SE product name for a compact drive Lexium LXM SE product name for a family of servo drives Lexium Motion SE product name for a multi axis controller Controller LMC M340 Modicon M34
54. guration in the EEPROM of the drive You are notified that saving to EEPROM is about to begin Click OK to continue Optimized HW M238 SUG ENG doc A Warning When selecting the position interface note the wiring ABinput PDinput input ESIMnutput output Do vou wish to continue DEVemdinterf IODevice M Pom rj Start up operating mode for Local control mode 32E siege ETT woe rl LiM maxHalt Current limitation for Halt 8 43 CTRL n max Specification of the control made IOposlnterfac IO defaultMade Signal selection position interface IOLogicT ype Logic type of digital inputs outputs CTRL max LlM maxQSTP Current limitation for Quick Stop Current limitation Speed limitation 9000 lt a PowerSuite Lexium05 LXMO5 HardWire File Command Display Configuration Tools O Lexium 5 O Modified parameters f Simply start Basic configuration In Speed control 10 In Current control 17 109 Configuration Settings e Motion Et Communication Datasheet GEAR ratio Selection of special gear ratios GEAR num Mumerator af gear ratio GEARdenom Denominator of gear ratio ESiMscale Encoder simulation setting of resolution 4096 EJ Inc O Lexium 5 Modified parameters Warning EEPROM saving is about to begin Do you wish to continue Schneider Electric 97 You will receive a confirmation that saving to EEPROM was successful Click OK t
55. he Relay R2 parameter r2 to SrA In the Application functions menu FUn disable the Preset speeds function PSS by setting both its parameters PS2 and PS4 to nO In the Fault menu FLt assign the Fault reset parameter rSF to LI3 Alternatively these parameters can also be configured using the PowerSuite configuration software Note Returns lo tee priiis _ ae ail l Goes io ihe nexi menu or ai Red LED Be DC bus ON EH j En 32 CANO pen satus LEDS Four 7 segment displays B B B B p HEB Lisa i P ESC 3 Exits a menu oF parameter or clears Uwe displayed value Da return 15 te previous shored value menu ar parameter or increases tme dispbned SE a i Enters a men ar a parameter parameter or decreases i NEF OF sadywes the dspliyed Ihe displayed walue i X i parameter or v lue Power up Displays the drive status Ez Motor frequency the factory setting is only visible 4 the first time the drive is powered up The display flashes when a value is stored Example Menu Parameter Value or assignment 1 flash save Next parameter If the drive has an integrated reference potentiometer on the front of the drive ATV31eeeA model configure the drive to operate in terminal block control by setting the parameter tCC in the I O menu I O to 2C and the parameter Fr1 in the Control menu CtL to AI Optimized HW M238
56. hitecture The PLC in this application is a Modicon M238 The user can control and monitor the application using the Magelis HMI device The drives which are hardwired to the PLC are the Altivar 11 Altivar 31 and Lexium 05 As a functional safety option the example application includes a tamper free emergency stop function monitored by a Preventa safety module Magelis XBT GT Harmony vano VCD 0 SoMachine Protocol an RS485 Modicon M238 OsiSwitch Cam o Optimized HW M238 SUG ENG doc schneider Electric 10 Components Quantities of Components Degree of Protection Technical Data Functional Safety Notice EN954 1 Hardware e Vario Switch Disconnector VCDO e Phaseo ABL8 Power Supply Unit 230VAC 24VDC e USIC Universal Signal Interface Converter 24VDC 5VDC e Modicon M238 PLC with integrated Modbus interface e Magelis XBT GT Colour Graphics Touch Screen Display Terminal e Motor Circuit Breaker GV2 L Short Circuit protected for the motor drives e TeSys U Motor Starter with LUCL Control Unit for use with VSDs e TeSys D LC1D Contactors e Variable speed drives Altivar 11 and Altivar 31 e Servo drive Lexium 05 with Servo Motor e Multi 9 Circuit Breaker e Harmony Emergency Stop Button XALK e Harmony Illuminated Push Buttons XB5 e OsiSwitch Limit Switches e Preventa E Stop Safety Relay Software e SoMachine V1 0 e PowerSuite V2 50 For a complete and detailed list of componen
57. identification that it is connected to PowerSuite recognises that the drive is still in First Setup state Click on OK to continue You are reminded that the drive must be re restarted after it has been configured Click OK to continue PowerSuite reads the actual drive data Optimized HW M238 SUG_ENG doc New name Enter a new name LM 05 Hardwird TUM Please wait Reading identification a Lancel 4A Drive is in state First Setup Please use the parameter group Simply start for the first settings Save the first settings to EEPROM and power up again Please wait Reading trom device CER RR ERR 8x Lancel Schneider Electric 95 The configuration dialog opens Select Simply start Basic configuration p O LexiumO5 Modified parameters f Simply start CREDERE L0 ease configuration o 0 In Spe ral 109 j 7 In Current control 77 1087 2 In Pulse control In Position control ff Configuration Settings ff Motion ff Communication i ff Datasheet eres m c D 44060 1524 Select lODevice in the DEVcmdinterf list Dox DEVcmdinterf Specification of the control mode lOposlnterfac Signal selection position interface ODevice lOdefaultMode Start up operating mode for Local control mode CANopenDevice ModbusDevice 7 lOLogicType Logic type of digital inputs outputs 4 CTRL max Curre
58. indicates that the runtime versions do not match Start the download of the new version by clicking on Yes The actual status of the download is displayed ina progress bar After the runtime download change the Download connection in the Property Inspector back to SoMachine To download the application to the PLC and the HMI click Online Download all Optimized HW M238 SUG_ENG doc YDPLoad Runtime version does not match or Ehe runtime is unknown Download will install Ehe current version of the runtime system Continue Installing Runtime File Transfer Progress 3 2 MAIN S YS Property Inspector Target Mame ABTGTz330 Description Type ABTGOTZ000 Series TargetColor 64K Colors hal Model ABTGTZ330 320x w InitialPanielID Startup Opl Buzzer Enabled Online Debug Watch Tools Window o Login to Application MvPLC PLC Log Create boot application Far Applicatio Download all Schneider Electric 99 Check the boxes for the PLC MyPLC Application and the HMI XBTGT2330 HMI Application and click on OK Before the download starts a build of the complete project is done The result of the build is displayed in the Messages box The results of the download to the PLC are displayed in the Multiple Download Result window Here are two examples In the first dialog there was no change In the second dialog the application was downloaded Click on Clos
59. ircuit diagram in order to ensure that they function correctly SoMachine cables are installed for the communication link between the PLC and the HMI The HALT input of the LXMO5 Pin 36 of CN1 must be connected and supplied with 24VDC to enable the LXMO5 to run in the selected operating mode A coupling relay is used between the DO output of ATV11 and the sink transistor input of the PLC Pin 9 10 11 and 15 of USIC CN1 are connected to the same grounding terminal The modules and I O listed here are a representative cross section of the modules and indicators required to implement the application as defined in this document and may differ from your own specific application M238 PLC Not used reserved for fast counters Inputs Not used reserved for fast counters Not used reserved for fast counters Not used reserved for fast counters Not used reserved for fast counters Not used reserved for fast counters Not used reserved for fast counters Not used reserved for fast counters Preventa Safety Relay Terminal Y44 Position 1 of 3 Position Selector Switch Position 2 of 3 Position Selector Switch N C Contact of Red Illuminated Push Button Reverse Limit Switch Forward Limit Switch Optimized HW M238 SUG ENG doc Schneider Electric 14 M238 I O Connections M238 Wiring TM2DDI16DT I O Connections TM2DDI16DT Wiring TM2DDO8TT I O Connections TM2DDO8TT Wiring TM2AMM3HT I O Connections Optimized HW M238
60. l Wx Analog inputs are hardware orientated x as word number E g Actual Motor Drive Speed at IW1 Analoge Outputs 9eQWx Analog outputs are hardware orientated x as word number E g Motor Drive Speed Target at QW1 Optimized HW M238 SUG ENG doc schneider Electric PLC Introduction The PLC chapter describes the steps required for the initialisation and configuration and the source program required to fulfil the functions Requirements The following is required to proceed e SoMachine is installed on your PC e The M238 PLC is switched on and running e The PLC is connected to the HMI with the programming cable XBTZ9008 PLC to HMI e he HMI is connected to the PC via the cable XBTGZ935 HMI to PC Setting up the PLC is conducted as follows e Create a New program e Add IO Expansion Modules Configure IO Expansion Modules Map IO Module Variables to Existing Variables Configure PTO Function for LXMO5 Add Toolbox Library Add POU Configure Task Configure PLC HMI Data Exchange Add Magelis HMI Communication Settings PLC PC Communication Settings PLC HMI Save the Project Build Application Download the PLC and HMI program Login to the PLC POU overview Create a New To create a new project select program Zit SoMachine File New Project 7 Edit view Project Build Onlin 18 Mew Project Ctrl h In the New Project dialog box select the TM238LFDC 1G New Project Project template icon and uem RUPEE en
61. ligenstadt time to time please ask for Germany confirmation of the information given in this publication Optimized HW M238 SUG ENG doc 111
62. mized HW M238 SUG ENG doc New name Enter a new name s 1 Harty ird TU Upload in deed m Reading from device nit 45 File Action Display Tools Help asgcieost x Hy devices SS OPTIMIZED Hw XBTGC fA ATV11_Hardwire ATV11 HardWWwire Please wait Initializing CODE miii 57 PowerSuite ATV11 ATV11 HardWire amp nj xj File Display Configuration Tools d Acceleration Deceleration E ast setti ngs z 2 ACC Acceleration ramp time s 30 iz f Motor control DEC Deceleration ramp time s 30 ES Application functions Supply frequency BFR Std motor frequency 50 Hz LSP Low Speed Hz o 0 E HSP High Speed Hz 50 0 E Thermal protection ITH Motor Thermal Current amp 3 5 E V Standard profile len Not connected Ai Schneider Electric 76 select PowerSuite ATV11 ATV11 HardWire Motor control File Display Configuration Tools 7 Motor characteristics d ATV11 Te Modified parameters O Fast settings 0 Inputs summary zi diei control m D A Frequency range Thermal protection Optimization Current limitation Speed loop l ff Application functions Enter the data indicated on the nameplate for the motor which is connected to the drive Nominal motor voltage Vv Nominal motor frequency Hz Nominal motor curre
63. n be accessed throughout the Application folder The GVL is opened by double clicking on GVL in the Devices browser In this application q wAtv31SpdhRef is declared as a WORD variable in the application s GVL Application GVL q wAtv31S pdRef prior to mapping the data QWO to it To map the output to an existing variable double click on the output Variable field then click on the button that appears at the end of the field In the Input Assistant dialog that opens locate the variable inside the Global Variables category and select it Then click on OK Optimized HW M238 SUG ENG doc a TMaAMMaHT I O Configuration Extension Bus I Mapping Status Information Channels Variable Mapping Channel Address Inputs Qutputs Always update variables MyPLC TMZSBLFDCZADT HI PLC Logic Application ab su Til Library wlanager C GYL MyPLC PLC Logic Application i VAR GLOBAL ky w tv3lspdRef W RD a END VAR Hg TM2ZAMM3HT I O Configuration Extension Bus IO Mapping Status Information Channels Variable Mapping Channel Address 9 Inputs Outputs Fa e WORD E I e Create new variable Always update variables T7 d Map to existing variable Input Assistant ateanries Items Global Variables ire MyPLC SeT TEE Ell PLC Logic MyPLC Programs Project 03 Application MyPLC PLC Logic Programs Libraries
64. n the Control front of the device This section describes how to set up the drive using this control Panel panel Exis amenu er parameter or aborts the displayed ymlue 1o retur ta zhe The drive parameters are set manually using the control buttons on the device e a waber cr saves the T rii j displayed parameter or v Returns to the previous manu or A i parameter or mcreases the displayed value First use the control buttons to navigate to the 1 level adjustment parameters to set the motor thermal current ItH to the motor nominal current as stated on the motor nameplate In the Analog input menu Alt set the Scale of analog input Al1 parameter ACt to 10U to am T die configure the drive s speed reference as a 0 10V voltage In the Motor control menu drC set the motor nominal Displays the drive status 1at level adjustment OO c parameters px z Menu Analog input Optimized HW M238 SUG ENG doc voltage frequency current and cosine respectively in the parameters UnS V FrS Hz nCr A and COS according to the motor nameplate In the Application functions menu FUn disable the Preset speeds function PS2 by setting both parameters LIA and LIb to nO Also in the Application functions menu FUn assign the Fault reset parameter rSF to LI3 and the Analog logic output DO function dO to SrA via its Assignment parameter ACt Alternatively these parameters can also be configur
65. n the switch and then drag the object to its required size Then press Enter Optimized HW M238 SUG ENG doc SoMachine Metwork Equipment Jie E PLC Configuration Connection Optimization Time Out Retry Count TCP FIP Configuration Gateway P Address 127 U 4217 jj MyPLC Communication Settings Applications PLC settings Services Status Information Select the network path to the controller Gateway 1 0631 0001 wae Gateway 1 H Wo 0286 t Qo 0327 H Bo 03H de fo ITE ono active Bom TEST 4001 al a Switch 6 Radio Button Schneider Electric 66 In the Switch Settings dialog under the tab General click on the bulb icon at the end of the Destination field to select the variable that should be linked to the switch In the Variables List dialog that opens select the appropriate variable and click on OK After the variable has been selected as the switch s Destination click on Add gt Optimized HW M238 SUG_ENG doc Switch Settings General Color Label Visibility Advanced Mode Switch Switch with Lamp ii Primitive Name SwitchO1 Nee v be i 00001 Lamp 1 Reverse On Touch When Touch while Touch When Release Operation Bit i x t Operation O Reset O Toggle O Momentary ON O Momentary OFF Destination Variables List Ej B A a gun w A
66. nce you have checked it is safe to do so you can press ALT F PowerSuite tries to connect to the LXMO5 PowerSuite recognises that it is a new device Click on Create Optimized HW M238 SUG ENG doc The PowerSuite configuration software is installed on your PC The variable speed drive is connected to the power supply The PC is connected to the variable speed drive via the communication cable The CoDeSys Gateway SysTray is stopped refer to the General section at the a PowerSuite File Action Display Tools Help seslesr te ZO amp OPTIMIZED Hin M238 a Warning _ WARNING AN UNINTENDED EQUIPMENT OPERATION machine controlled by this software may be prone to unintended operation The user must have a hard wired STOP device or disconnect switch bo ensure it is possible to stop the equipment The user must ensure guards are in place so that unintended operation will not cause injury ta personnel or damage ta equipment The user 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 Al F COM S600 ATU EVEN mm bi m 23 3 Warning Schneider Electric 94 In the New name dialog give the drive a name and click on PowerSuite reads the LXM05
67. nder power Status display Optimized HW M238 SUG ENG doc schneider Electric The HMI has a menu system The picture shows the menu structure For the connection via PowerSuite the Modbus parameters have to be checked CoM is MbAd 1 and Mbbd 19 2 If the drive was started for the first time or after a reset to the factory settings all functions are blocked You have to go through the First Setup To configure the drive to operate in PULSE DIR device control the following have to be specified Device Control Type io Type of Position Interface Pd Operating Mode for local control mode GEAr Logic Type Sou Once complete save the configuration and power up the drive The HMI will display rdy Optimized HW M238 SUG ENG doc Power On not done j First Setup First Setup done dEUL Rae Modb Schneider Electric 93 PowerSuite The parameters for the Lexium 05 can also be set using the PowerSuite configuration with LXM05 software This section describes the PowerSuite procedure Before carrying out the steps described below you must ensure that beginning of this chapter Use the Connect option in the Action menu or the equivalent icon in the tool bar to establish a connection with the device Note Prior to this you must have plugged in the connection cable from the PC to the LXMO5 Read the functional safety information and follow the instructions O
68. nt amp Nominal motor slip Hz Motor power factor Motor control Thermal protection E ATV11 me Modified parameters Ze Fast settings e Inputs summary E Motor control 0 Motor characteristics me Accel Decel O Frequency range Thermal protection i Enter the nominal current of the motor indicated on the nameplate of the motor which is connected to the drive 1 is cold 2 1s hot ITH Motor Thermal Current A Optimized HW M238 SUG ENG doc Schneider Electric 77 Select V4 PowerSuite ATV11 4TV11 HardWire Application functions File Display Configuration Tools F Preset speeds E ATVT1 0 Modified parameters e Fast settings D Inputs summary B Motor control E Chretien functions Command type Switching made DC injection Ml s leken Select NO in the PS2 and PS4 list box Enable 2 preset speeds Enable 4 prezet speeds Frezef speed 2 Hr Presei speed 3 Hr Frezef xpeed d Hr Select Application functions Inputs Outputs L ATY 11 Q Modified parameters Fast settings Ze Inputs summary E Motor control ee voles functions Command type Switching made Preset speeds C injection Pl regulator 2nd ramp Wisin ss MM Optimized HW M238 SUG ENG doc schneider Electric Select At speed reference in the DO list box and 0 10V in the AIT list box DO ADC ZALD assignment At speed reference YO Woro feg fveshoty Hz CU dolo coven defecion A AlT AIT a
69. nt limitation LiM maxQSTP Current limitation for Quick Stop LiM masHalt Current limitation for Halt e A in Ib fate fal CTRL n max Speed limitation You are notified that the newly configured device control is a xl val id on ly after th e N The selected type of device control is accepted when the system is switched off and on again CO nfi g ur at ion h as b een sav ed Save the configuration in the EEPROM before the drive is switched off and on Do you wish to continue in the EEPROM and the drive has been re powered Click OK to continue Select PDinput in the lOposinterfac list box DEVemdinterf Specification of the control mode 10Device l poslnterfac Signal selection position interface ABinput Y lOdefaultMode Start up operating mode for Local control mode mas Dinput lOLogicT ype Logic type of digital inputs outputs CTRL mas Current limitation LlM maxQSTP Current limitation for Quick Stop LiM maxHalt Current limitation for Halt CTRL n max Speed limitation Optimized HW M238 SUG ENG doc Schneider Electric You are notified about the wiring differences between the three position interfaces Click OK to continue Select ElectronicGear in the lOdefaultMode list box 17 Select Simply start In Pulse control Select 200 in the GEARratio list box Use the Save to EEPROM option in the Configuration menu or the equivalent icon in the tool bar to save the current confi
70. o continue Save your settings by clicking on the disk icon in the toolbar Use the Close option in the File menu or the system exit icon to close the configuration dialog In the Main window you will see all the LXMO5 data e g the firmware version Note Ll Save Ccrlt s Save as Ctrl Shift sS Print Ctrl F Print preview Ctrl Shift P Page setup ShifttF Export Capture CtrH k De Acton Qwouawv Joos ted aes 6a Fp LXMOS_HardWire Characteristics Configuration s Name LM0s_Wardyire Somwere release 7830 10 V1 SIE The LXMO05 only works with the new device control i e IODevice once a power cycle on off on has been carried out Optimized HW M238 SUG_ENG doc Schneider Electric 98 Auto tuning Auto tuning determines the friction torque an ever present load torque and takes it LXM05 into account in the calculation of the moment of inertia of the total system External factors such as a load on the motor are taken into account Note The HALT input of the LXM05 Pin 36 of CN1 must be connected and has to be supplied with 24VDC to enable the LXMO5 to perform auto tuning Otherwise auto tuning will not succeed Auto tuning is only performed if no command has been activated Telemecanique Press ENT Lexium 05 Press the downwards arrow VW three times and you see tun Press ENT Lexium 05 When Strt is displayed press ENT to start the auto tuning Telemecanique
71. oad is displayed in the Messages box vijeo Designer Description Started downloading HMI application s amp The project was transfered successfully into the HMI target SBTGTZ330 Login to PLC To login to the PLC click Online BDebug Watch Tools Window Help Login to Application DE Login to Application MyPLC PLC Logic Alt F8 MyPLC PLC Logic SoMachine displays a message according to the state of the PLC you are trying to log in to Here are two examples SoMachine In the first dialog there is no program in the device In the second dialog the PLC program is different to the program on the PC In both cases you are asked to confirm whether to proceed with the download of the PC program into the PLC If you do not wish to overwrite the PLC program skip to step 6 otherwise click Yes to confirm the download The actual download status is displayed at the bottom left of Sending download info Downloading 43 of 70 KByte 6192 the main window Here you can choose to create a boot project if you wish A boot project is stored in EPROM so that a power loss on the PLC does not mean you have to repeat the download before re starting SoMachine Select Yes to create a boot application The actual creation status is displayed at the bottom left of Sending download info Downloading 13 of 13 KByte 100 the main window Optimized_HW_M238 SUG ENG doc Schneider Electric POU
72. of the LI inputs to the 24 V of the external supply DO output can be configured as an analog or a logic output Internal voltage 15 V or external 24 V Galvanometer or low level relay Braking module VW3 A11701 if braking resistor VW3 A587ee is used Schneider Electric 23 Variable Speed Drive FR en n E ATY 31 control terminals uM W i Altivar 31 a A i T j ATV31 H037 N4 3 phase 400VAC 0 37kW External 0 10V Analogue Signal as Speed Reference Variable Speed Drive Altivar 31 KM A RIC 13 Line choke single phase or three phase Alarm relay contacts for remote signalling of the drive status Connection of the common for the logic inputs depends on the position of the switch Optimized HW M238 SUG ENG doc schneider Electric Variable Speed Drive Altivar 31 ATV31 H037 N4 Control Panel To ensure that the logic inputs can be energized using PLC transistor outputs Toggle the logic input configuration switch to CLI position Connect the CLI terminal to the OV DC reference potential Servo Drive Lexium05 LXM05 AD10 M2 Single phase 230VAC 0 75kW Optimized HW M238 SUG ENG doc Logic input configuration switch C E Nah NU SE Ne M RJ45 connector COM CLI Schneider Electric Control terminals 25 LXMO5e Servo Drive D10F1 T1 D10M2 T1 D10M3X T2 D14N4 T4 D17F1 T3 Power Connection T1 D17M2 T4 D17M3X T4 D2
73. oth the machine operator and the machine by immediately stopping the dangerous movement on receipt of a stop instruction from the operator or on detection of a fault in the safety circuit itself Power Supply Phaseo ABL8RPS24100 Single or two phase connection 100 120V and 200 500V input 24VDC output 10A output Diagnostic relay Protected against overload and short circuits Optimized HW M238 SUG ENG doc Schneider Electric Magelis Display Terminal XBT GT2330 e Sensor screen STN Technology with 24V DC power supply e Brightness and Contrast adjustment e Communication via Uni Telway and Modbus Communication via Ethernet TCP IP is also available in specific models Flat Profile Memory expansion for application program Temperature range 0 50 C Certificates UL CSA Modicon PLC M238 The M238 is powered with 24 VDC offer e 14x 24 Vdc inputs including 8 fast inputs dedicated to special functions such as HSC high speed counting e 10x24 Vdc solid state outputs including 4 fast outputs dedicated to special functions such as counting PWM and PTO e An HS 232 RS 485 serial link ASCII or Modbus protocol e A Modbus RS 485 serial link mainly dedicated to connection of a Human Machine interface terminal link providing a 5 V power supply for a Magelis Small Panel XBT NPO00 R400 RT500 e Extension of the number of I O by the addition to the right of the base of 7 extension modules maximum that can be the
74. otocol AS Interface CANopen Gateway FIPIO Modbus DeviceNet Modbus Profibus DP Modbus Optimized HW M238 SUG ENG doc schneider Electric 108 SoMachine OEM Machine Programming Software MSD CHNSFUV10 SsoMachine is the OEM solution software for developing SS configuring and commissioning the entire machine in a single software environment including logic motor control HMI and col related network automation functions e Features all IEC 61131 3 languages integrated fieldbus configurators expert diagnostics and debugging as well as outstanding capabilities for maintenance and visualisation including Java scripting e Flexible Control platforms that include B HMI Controller XBTGC B Programmable logic controller Modicon M238 B HMI Magelis graphic panels XBT GT XBT GK e HMI functionality through the integrated Vijeo Designer working environment which is a user friendly interface that includes advanced functions such as multimedia support e One software package one project file one cable connection one download e Dedicated OEM Libraries B PLCOpen Motion libraries for CANopen support of the following devices ATV31 ATV71 Icla range SD3 Lexium05 B Special application libraries for the following applications Packaging Conveying e Openness for the integration of 3 party products via recognised and open
75. overview To start running the application in the PLC choose Online Start Application MyPLC PLC Logic If there are no detected alerts the devices and folders are marked in green otherwise they are marked in red The picture on the right shows the structure of the program The function block MOT2D1S that is used in this application in POU ATV_CONTROL and LXM CONTROL has its own entry in the structure and require an action indicated with an A on the icon These actions are for example used to manage the changeover delay from a forward to a reverse command etc Optimized HW M238 SUG ENG doc Online Debug Watch Tools Window Help OM Logout From Application MyPLC PLC Logic Ctrl Shift F8 Create boot application For Application MyPLC PLC Logic Download all Download Application MyPLC PLC Logic Online Change Application MvPLC PLC Logic Source Download Start Application MyPLC PLC Logic h Cbrl F5 Reset warm Application MyPLC PLC Logic Reset cold Application MvPLC PLC Logic Reset origin Application MyPLC PLC Logic m MyPLC connected TM238LFDC24DT EMI PLC Logic amp Embedded Functions 37 10 10 Fin HSC HSC FT PTO PwM PTO_PWM h Serial Line 1 5 Serial Line 2 f t SoMachine Nebwark manager SoMachine Mebwork Manager 3 CANbus ese Tm2pb116D7 TM2001160T s rwezpboarr TM2ppoarrT e rwzAMM3HT TM24MM3HT es
76. p S422 input signal Motor step Pulse inverted RSda input signal direchon of rotation DIR R5422 input signal direction of rotation Dir inverted RS422 input signal HS422 input signal RS422 input signal Open collector A Pulse Dir Cable Connection to USIC Length 1 5m Enable signal Enable signal inverted Drrye ready Hederence potential Emu gp mm ajj P DL Dom VW3M8209R15 EJ o Servo Motor BSH0552T02A2A Connected to Motor Terminals and CN2 of LXMOS5 using cables VW3 M5101 R30 and VW3 M8101 R30 respectively Optimized HW M238 SUG ENG doc schneider Electric Safety Module Preventa XPS AC5121 Limit Switch OsiSwitch XCK P2118P16 Emergency Stop Harmony XB5AS844 B5AZ141 Incl E STOP Label ZBY8330 Illuminated Pushbutton Harmony Style 5 XB5 Optimized HW M238 SUG ENG doc Schneider Electric 29 Interface Module ABS2ECO1EB For Digital Signals Used as a coupling relay between the ATV11 DO terminal and the PLC s Digital Input Optimized HW M238 SUG ENG doc Schneider Electric 30 Software General The main programming work lies in the programming of the Modicon M238 PLC the configuration of the variable speed drives and creating the screens for the HMI display SoMachine software is used to program the Modicon M238 PLC Vijeo Designer software which is integrated in SoMachine is used to develop the HMI screens for Magelis XBTGT 2330 HMI Altho
77. r 31 Variable Speed Drive Altivar 11 Variable Speed Drive Optimized HW M238 SUG ENG doc Schneider Electric 104 Component Features Components Vario Switch Disconnector VCD 0 Vario rotary switch disconnectors from 12 to 175 A are suitable for on load making and breaking of resistive or mixed resistive and inductive circuits where frequent operation is required They can also be used for direct switching of motors in utilisation categories AC 3 and DC 3 specific to motors e 3 pole rotary switch disconnectors 12 to 175 A e Padlockable operating handle padlocks not supplied e Degree of protection IP 65 Preventa Safety Module XPSAC5121 Main technical characteristics For monitoring Emergency stop Max category accord EN954 1 3 No of safety circuits 3 N O No of additional circuits 1 Solid State Indicators 2 LED Power supply AC DC 24V Response time on input opening 100 ms AC 15 breaking capacity C300 DC 13 breaking capacity 24V 2A L R 50ms Minimum voltage and current 17V 10mA Dimensions mm 114 x 22 5 x 99 Connection Captive screw clamp terminals Degree of protection IP20 terminals IP40 casing Safety modules XPS AC are used for monitoring Emergency stop circuits conforming to standards EN ISO 13850 and EN 60204 1 and also meet the functional safety requirements for the electrical monitoring of switches in protection devices conforming to standard EN 1088 ISO 14119 They provide protection for b
78. r can determine the automation equipment and the related safeties and interlocks which can be properly used When selecting automation and control equipment and related software for a particular application the user should refer to the applicable local and national standards and regulations A National Safety Council s Accident Prevention Manual also provides much useful information In some applications such as packaging machinery additional operator protection such as point of operation guarding must be provided This is necessary if the operator s hands and other parts of the body are free to enter the pinch points or other hazardous areas and serious injury can occur Software products by itself cannot protect an operator from injury For this reason the software cannot be substituted for or take the place of point of operation protection Ensure that appropriate safeties and mechanical electrical interlocks for point of operation protection have been installed and are operational before placing the equipment into service All mechanical electrical interlocks and safeties for point of operation protection must be coordinated with the related automation equipment and software programming NOTE Coordination of safeties and mechanical electrical interlocks for point of operation protection is outside the scope of this Function Block FB START UP AND TEST Before using electrical control and automation equipment for regular operation after ins
79. rd 2 0 0 1 Schneider Electric 3 0 1 0 5yszfem d i tis 249 Toolbox 0 10 5 0 Schneider Electric l Solution 2 Cuctam Mame H A IoStandard 3 1 3 2 System J A Standard 3 0 1 0 System fe Util 3 1 2 0 System Util i i M258 PLCSvstem 1 0 1 1 Schneider Electric ug M238 HSC 1 0 1 0 Schneider Electric i fta 1238 PTOPWIM 1 0 1 0 Schneider Electric B PLCCommunication 1 0 1 6 Schneider Electric Mamespace IoStandard Standard Toolbox 0 10 5 0 Schneider Electric Toolbox Window Help SoMachine Help Ctrl Shifk F1 Cobesys Help Wijeo Designer Help Register Product About Schneider Electric 45 Add POU 7 Information on System libraries and their modules can be found in the CoDeSys Help under the Help menu Ga ToStandard 3 1 3 2 ToSkandard H Standard 3 0 1 0 Svstem Standard ofa Util 3 1 2 0 Svstem Lil zu 238 PLOSystem 1 0 1 1 Schneider Electric SEC ial M238 HSC 1 0 1 0 Schneider Electric M238 HSC J A M238 PTOP WM 1 0 1 0 Schneider Electric M238 _PTOP WM aia PLOCommunication 1 0 1 6 Schneider Electric SEN Window Help SoMachine Help Ctrl Shift Fi CobeSyvs Help he vijen Designer Help Register Product About E Repeat steps 2 to 4 to add more libraries To add a POU to the project right click on Application in the Devices browser and select Add Object in the pop up menu In the Add Object dialog sele
80. ssignment MOL O Oge zelecion COL A in Heference A xg LAA AAATae Aeference A 26 Select Application functions Fault behaviour O ATW if Modified parameters O Fast settings Inputs summary t ff Motor control EL Application functions Command type Switching made Preset speeds DC injection Pl regulator 2nd ramp Freewheel stop Inputs Outputs Select LI3 in the RSF list box Ctrld stop on power loss Freewheel Fault reset Catch on fly Auwamaric resia Save your settings by clicking on the disk icon in the toolbar Optimized HW M238 SUG ENG doc schneider Electric Use the Close option in the File menu or the system exit 3 PowerSuite ATV11 ATV11 HardwWire icon to close the configuration Eile Display Configuration Tools alee save Crs Save as Crlt Shift sS 46 Print Ctrl F Print preview Ctrl Shitt P Page setup Shiftt P Export Capture Ctr ri To download the data to the drive right click on the drive P PowerSuite and select Download i File Action Display Tools Help ass eins ES Hy devices aS OPTIMIZED Hw M238 ER ATY11_Hardwiire g ks ATY11_Hardwire E Modbus network Rename Copy Delete Cut Shortcut Paste Modify Se Connect x Upload Download You are notified that you will overwrite the actual data of 3 Warning the drive Any data in the drive will be overwritten f Warning vou are about to transfer local data ta the drive Do vou
81. tallation the system should be given a start up test by qualified personnel to verify correct operation of the equipment It is important that arrangements for such a check be made and that enough time is allowed to perform complete and satisfactory testing Optimized HW M238 SUG ENG doc Schneider Electric 3 Ay CAUTION EQUIPMENT OPERATION HAZARD e Verify that all installation and set up procedures have been completed e Before operational tests are performed remove all blocks or other temporary holding means used for shipment from all component devices e Remove tools meters and debris from equipment Failure to follow these instructions can result in injury or equipment damage Follow all start up tests recommended in the equipment documentation Store all equipment documentation for future reference Software testing must be done in both simulated and real environments Verify that the completed system is free from all short circuits and grounds except those grounds installed according to local regulations according to the National Electrical Code in the U S A for instance If high potential voltage testing is necessary follow recommendations in equipment documentation to prevent accidental equipment damage Before energizing equipment e Remove tools meters and debris from equipment Close the equipment enclosure door e Remove ground from incoming power lines Perform all start up tests recommended by the manufac
82. te SPA Schneider Product Archive TwidoSute STX Project mx Pestis TwnineConi Tus Project ie b Projsciis wentoos L2 Projectile Zeloso Optimized HW M238 SUG ENG doc Schneider Electric 8 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 medium sized automated machines e De centralised automated sub systems serving as components in large or medium sized machines Machines e Packaging machines and box folders e Palette wrappers Food amp Pharmaceuticals e Drying plants e Conveyor ovens Application Description Wage Packaging machines or These machines are often used as box folders feeder components in larger confectioning and filling systems Wrappers for palettes These machines wrap palettes so that the layers of goods are securely held on the palette These stand alone machines can be integrated into production lines Drying plants and Used as Components in larger conveyor ovens system where products need to be dried Optimized HW M238 SUG ENG doc schneider Electric Introduction General Layout System The system chapter describes the architecture the dimensions the quantities and different types of components used within this system Arc
83. ter a name for the project in cB p J eneric Implementations c5 oO oO the Name box LI Conveying Implementations Empty library Empty project TM238LDD2 f TM238LFDC Packaging Implementations Project Project CA In the Location box you can Q dO g enter the path for saving the lUProject T UProject T U Project project file or click on the browse button to search for a suitable folder 4 project containing one M238 controller 2410 24VDC with 2 serial line 1 CanOpen master one applice Click OK to confirm and close th e d ialo box x Location C Documents and SettingsiSTOOYMy Documents SoMachine Applications x5 g een Optimized HW M238 SUG ENG doc schneider Electric 38 The new SoMachine Workspace appears The SoMachine user interface has the following components 1 Title bar 2 Menu bar 3 Toolbar 4 Devices browser 5 POUs browser 6 Editor 7 ToolBox window 8 Messages box 9 Information and status line 10 Status bar Using the M238 Project template the PLC M238 controller is automatically added into the project The Devices browser displays the M238 controller with the name MyPLC Optimized HW M238 SUG_ENG doc pi rT FE pra T Pie DES ee Feed Hk Cerne Dehay Wahf Tod Kids 05 Ju i a E 73 nte ie A Art APL TPL A a eee o ade E nanmi oma om E MEN CELA RR Pe ee wet nn B ra Application M cur fii Library Manager Task Config
84. this project the MOT2D1S FB is used for controlling the forward and reverse commands of the drives Select MOT2D1S from the list and press Enter twice To instantiate the FB click on 22 at the top of the template Type in a name for example fbAtv31Ctrl and press Enter Optimized HW M238 SUG ENG doc fig MyPLC TM238LFDC2407 Ell PLC Logic Application ce Til Library Manager Fil ATV CONTROL PRG t PE Task Configuration A Embedded Functions 2 ATV CONTROL MyPLC PLC Logic Application 4bx ToolBox 3 1 PROGRAM ATV CONTROL a FC 2 VAR R Pointer END VAR Input Output iT Box gt Jump zx Label Return AIT Composer HE Selector c Comment ZF Input Pin Cunt Din i lr Hf Monostable Valve ir MOT1D15 MOTiD25 n K gal MOVE_DINT_ARDINT MOWE_INT_ARINT MOVE_INT_ARINT_16 MOVE_INT_ARINT 20 MOVE_INT_ARINT_38 Schneider Electric 47 The Auto Declare dialog opens Auto Declare A variable comment can be Scope Name Type added in the Comment box C nnn pc zdl Object Initialization Address a ATV CONTROL MyPLC PLCL Ej Click OK to create the instance cem em CONSTANT RETAIN PERSISTENT The new FB MOT2D 1S is instantiated in the declaration gj ATY CONTROL MyPLC PLC Logic Application section of the ATV CONTROL PROGRAM ATY CONTROL i VAR fbAtv3lCtrl MOT2ZD13 EHD VAR fatwa Ctrl FwdLa
85. tive Reverse Test stop Reset COF Ba lo S Standard profile len Connected Go to PowerSuite ATV31 ATV31_HardWire Adjustments i File Display Configuration Tools 7 Thermal protection Se Modified parameters 0 Fast settings 0 Inputs summary a A Accel Decel Frequency range IT hermal protection Optimisation Speed loop Detection Threshold BI Poe control E Terminal Configuration H Control command E Application functions amp f Fault Management E y Communication Optimized HW M238 SUG ENG doc schneider Electric 84 Enter nominal current for the motor as shown on the nameplate of the motor which Is connected to the drive 1 1s cold 2 1s hot ITH Motor Thermal Current Select Motor control Motor characteristics Modified parameters of Fast settings oO Inputs summary H j Adjustments Motor contro Ls f Terminal Configuration j Control command Application functions Fault Management f Communication E H E B H Enter the data indicated on the nameplate for the motor which is connected to the drive Nominal motor voltage W Nominal motor frequency Hz Nominal motor current A Motor power factor Nominal motor speed tr min Cold stator resistance mohm Automatic tuning Optimized HW M238 SUG ENG doc schneider Electric an 0 6 O79 1340 Inactive Mot assigned 85 select
86. to Vijeo Designer are shown as inactive Click on Close to close the dialog Click on Variables in the Navigator to view the list of variables that have been imported When these variables are added from the PLC application Vijeo Designer creates a new equipment entry called SOM_MyPLC under SoMachineNetwork01 for the communication with the PLC Double click on SOM MyPLC Optimized HW M238 SUG ENG doc New Variables From Equipment Equipment Linked file Bowea Filtered Bu Address Description Selected When adding variables Create as Elements in equipment folder C2 Variables that combine equipment and name Variables that keep the same name Add ta Scan Group XBTGT2330 Variable Editor x i A aja ah E ia i e a Ak BS Name Data Type Data Source Scan Group LI Application GVL g x5SysAutAckv BOOL External SOM MyPLC LM Application GVL i xSelSwcSvsLocF BOOL External SOM MyPLC wf Application GVL q wAtv31SpdRef UINT External SOM MyPLC La zl IO Manager ni SaMachineMekworkO1 WEE SOM_MyPLC SOM XBTGT2330 Schneider Electric 65 Create a Switch Enter the PLC node name in the Equipment Address field Then click on OK Note The node name of the PLC is displayed in the Communication Settings tab in MyPLC of SoMachine In this project it is M238 SN 274 Click on the Switch icon in the toolbar Click on the panel where you wish to positio
87. ts 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 400V AC Power requirement 3 kW Drive power rating 1x 0 37 kW 2x 0 75 kW Motor brake none Connection 5x 2 5mm L1 L2 L3 N PE Functional Safety Level Cat 2 optional Optimized HW M238 SUG ENG doc Schneider Electric 11 Dimensions The dimensions of the individual devices used PLC Drive Power supply etc require a housing cabinet size of at least 1000x600x400mm WxHxD The HMI display illuminated indicators such as SYSTEM ON SYSTEM OFF or ACKNOWLEDGE EMERGENCY OFF as well as the emergency stop switch itself can be built into the door of the housing Optimized_HW_M238 SUG ENG doc schneider Electric 12 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 Assembly jC E a Ts L n yi mf aE u 7 GEN H PEN Optimized
88. turer OPERATION AND ADJUSTMENTS The following precautions are from NEMA Standards Publication ICS 7 1 1995 English version prevails e Regardless of the care exercised in the design and manufacture of equipment or in the selection and rating of components there are hazards that can be encountered if such equipment is improperly operated e t is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe operation Always use the manufacturer s instructions as a guide for functional adjustments Personnel who have access to these adjustments should be familiar with the equipment manufacturer s instructions and the machinery used with the electrical equipment e Only those operational adjustments actually required by the operator should be accessible to the operator Access to other controls should be restricted to prevent unauthorized changes in operating characteristics Optimized HW M238 SUG ENG doc schneider Electric 4 Introduction Intention This document is intended to provide a quick introduction to the described System It is not intended to replace any specific product documentation On the contrary it offers additional information to the product documentation for installing configuring and implementing the system The architecture described in this document is not a specific product in the normal commercial sense It describes an example of how Schneider Electric and third party components may be inte
89. uards are in place so that unintended operation will not cause injury ta personnel or damage ta equipment The user 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 Al F COM S600 ATU EVEN mm bi m 23 3 Warning Schneider Electric 83 In the New name dialog give the drive a name and click on a New name OK A Enter a new name E EET ard ird PowerSuite reads the actual drive data Please wait Heading from device HILL 8x Lancel opens A Powersuite arvar arvai Hardwire O OOOO File Display Configuration Tools M ast settings m Supply frequency oO Inputs summary BFR Std motor frequency 50 Hz x e To H 5 Motor control Acceleration Deceleration f Terminal Configuration ACC Acceleration ramp time s 30 ES f Control command i e Application functions DEC Deceleration ramp time s 30 E EE Fault Management ra Communication Frequency range LSP Low Speed Hz o 0 HSP High Speed Hz 50 0 ES m Thermal protection ITH Motor Thermal Current amp 1 5 HSP commend Rotation nme BH FAULT Stop Active j Forward 0 p zs LL Les E l r 6564 E FLT Inac
90. ugh the variable speed drives can be configured using the front panel on the drives it is recommended to use the PowerSuite tool PowerSuite offers more flexibility when configuring Schneider Electric ATV drives It also allows the user to save and archive as well as test and make online adjustments to the configuration To use the software packages your PC must have the appropriate Microsoft Windows operating system installed e Windows XP Professional The software tools have the following default install paths SoMachine e SoMachine C Program Files Schneider Electric SoMachine SO Schneider e Vijeo Designer Installed with SoMachine C Program Files Schneider Electric Vijeodesigner e PowerSuite C Program Files Schneider Electric PowerSuite Optimized HW M238 SUG ENG doc schneider Electric 31 Communication General The Modicon M238 and the Magelis HMI communicates via the SoMachine protocol on RS485 The download from the PC to the M238 and to the HMI is conducted over one connection The PC has to be connected to the HMI and then via this connection the data is also sent across to the M238 PowerSuite used for configuring the drive parameters uses the Modbus port on the Drives PC o XBTGT M238 The download direction is from the PC to the HMI and via the HMI to the M238 Note For a direct connection to the PLC the BMXXCAUSBH045 cable can be used r3 ca ra nd ct a HMI XBT GT Mo
91. uments e j jj File name Optimized HW M238_ Project x aces Save as type Project files Cancel Project project SoMachine Build Online Debug Watch Tools Window Help Build all Ctrl B Description Build started Application My PLC Application typify code Compile complete 0 errors 0 warnings si Schneider Electric 57 Download the PLC and HMI projects Note If it is the initial download of an application to the HMI a download of the latest runtime version to the HMI using Vijeo Designer will be required prior to downloading the application file This first download is described in the following steps If this is not the first download go directly to step 7 In Vijeo Designer select the target name in the Navigator to display its properties in the Property Inspector In the Property Inspector select Download via USB Note The PC must be connected to the HMI via the cable XBTZG935 Select Build Download all Optimized HW M238 SUG ENG doc Navigator Cl e y 53 Property Inspector Target Mame SBTGT2Z330 Description Type ABTGTZO000 Series TargetColor 64k Colors hal Model SBT T2330 320x24 InitialPanelTD Startup Opti Buzzer Enabled Build HMI Arrange Variable Clean All Validate All Build All Fa Validate Target Build Target 35 Simulation Download All S MEI Download Taraet Schneider Electric 58 The VDPLoad dialog
92. uo tu 5 Edit o laptop 0613 evice Name EL NN TM238LFDC24DT o Room4711 09F0 0 Delte 5620 009 0759 Target ID VERDE o SG DT374 079C 16 101A0101 _Resolve address WXDE1931N3JL 073C Vendor WXDE1VGMZ2JD 0231 Schneider Electric WXDE62WCR3ID 0653 WXDE63NX43JL 0511 SENE WXDEGLVZM3JD 067E Je UD GL UD EL GC GL GC 6D Prompt network path at login Don t save network path in project Secure online mode Optimized HW M238 SUG ENG doc schneider Electric To configure the communication gateway double click on Communication Settings HMI PC fig MyPLC TMZSBLFDC24DT E tt MBTGT2330 ABT GT 2330 XBTGT2330 HMI Application Select Gateway 1 and click Scan network j XBTGT2330 1b x Communication Settings applications Files Log PLC settings Users and Groups Access Rights 4 gt Note Confirm that the HMI is connected to the PC During the scan the Scan network button is inactive When the scan is finished the Scan network button becomes active again and the devices that have been detected are listed under Gateway 1 Select the HMI that is being used and click on Set active path The HMI is now shown in bold and marked active Optimized HW M238 SUG_ENG doc jj XBTGT2330 Select the network path to the controller Gateway 1 gue Gateway 1 Prompt network path at login Don t save network path in project
93. uration Se MAST zi amp Embedded Functions eG IO IO LP HSC HSC TL PTO PWM PTO PM Serial Line 1 AGE t Modbus manager Maodbus Manager Serial Line 2 n i SoMachine Metwork manager SoMachine Network_Manager a CANbus Schneider Electric 39 Add IO Expansion Modules To add expansion modules to the PLC right click on MyPLC in the Devices browser and click on Add Device In the Add Device dialog select the required I O expansion modules and click on Add Device For this project the following modules are added 1x TM2DDI16DT 1x TM2DDO8TT 1x TM2AMMSHT 1x TM2ALM3LT When you have finished adding the modules click on Close The added expansion modules can now be seen at the end of the device list in the browser Note The sequence of the modules has to be consistent with the sequence of the actual hardware i e in this application the TM2DDI16DT module is attached to the expansion module interface of the M238 PLC and the TM2DDO8TT module to the expansion interface of the TM2DDI16DT module Optimized HW M238 SUG ENG doc i ej MyPLC TMZ38LFOC240T W cu lll PLE Logic f5 Application Copy a cu iiti Library Manag m Delete Task Configur 2 MAST Properties amp Embedded Functions 8 IO IO Gij LT HSC HSC Add Object Add Device ii Add Device Mame TM2DDI18DT Ac C tion Append device Insert device Plug d
94. y Terminal 13 LXMO5 Pin 34 of CN1 FAULT RESET Reserve Reserve Reserve 24V DC OV DC reference potential Reserve Reserve Reserve Reserve Schneider Electric 15 TM2AMMSHT Wiring TM2ALM3LT I O Connections TM2ALM3LT Wiring Wiring Motor Drives Optimized HW M238 SUG ENG doc TM2AMMSHT Analogue Mixed Module Outputs TM2AMMSHT Analogue Mixed Module Power Supply TM2ALMS8LT Analogue Mixed Module Inputs TM2ALMS8LT Analogue Mixed Module Outputs TM2ALMS8LT Analogue Mixed Module Power Supply ATV11 ATV31 LXMO05 CN1 COM INO IN1 COM IN2 IN3 COM OUTO COM OUT1 ATV11 Al1 Terminal ATV11 OV Terminal ATV31 Al1 Terminal 24V DC OV DC reference potential Reserve Reserve ATV11 OV Terminal ATV31 COM Terminal Reserve Reserve Reserve Reserve ATV31 Al1 Terminal ATV31 COM Terminal 24V DC OV DC reference potential M238 Q7 M238 Q8 M238 Q9 TM2DDI16DT l1 24V DC ABS2ECO1EB Coupling Relay Terminal A2 TM2AMMSHT OUT TM2AMMS3HT OUT and OV DC reference potential TM2DDOSTT QO TM2DDOSTT Q1 TM2DDOSTT Q2 OV DC reference potential TM2DDI16DT l4 24V DC TM2DDI16DT 15 24V DC TM2ALMSLT OUT TM2ALM3LT OUT TM2DDI16DT I7 NO FAULT OUT TM2DDI16DT I8 ACTIVE1 OUT Reserve REF TM2DDOSTT Q4 FAULT RESET Reserve ENABLE Reserve HALT Preventa Safety Relay Terminal 33 PWRR_A LXMO5 Pin 37 of CN1 PWRR B Preventa Safety Relay
95. y the POU Application_Main which is added to the MAST task To do this first add a POU called Application_Main and call the POUS from here In this application the POU called is ATV CONTROL Double click on MAST task Optimized HW M238 SUG ENG doc _ E Application Main MyPLC PLC Logic Application GYL MyPLC PLC Logic Application i VAR GLOBAL Z i xSelSuwcSysLocFwd BOOL q vAtv3lSpdRef WURD 4 When TRUE system is operating in Automatic Mode q xSys ut ctv BOOL EHD YAR Global Variables Application Specific p AT _CONTROL MyPLC PLC Logic Application 4 P x PROGRAM ATV CONTROL a VAR fbatv3lCtrl M TZD18 END VAR Local Variables POU Specific e MyPLC TM238LFDC24D7 ll PLC Logic Til Library Manager H ATV_CONTROL PRG Task Configuration PROGRAM Application Main T 1 e haw T a m Tm men t 13 arns 243 iMplemenc nere FOULS GQEJEDIICOQLIOI VAR END VAR MyPLC TM238LFDC24DT S E PLC Logic Application A cun Hi Library Manager H ATV_CONTROL PRG E Application Main PRG 5 Task Configuration Schneider Electric 50 In the MAST tab click on Add POU MAST MyPLC PLC Logic Application Task Configuration 4 P x Configuration Priority 0 31 X H5 Type Cyclic Interval e g Ext200ms 20 watchdog W Enable Time e g t amp z00ms ho 0 e Sensitivity BO POLIS Comment Remove POL
Download Pdf Manuals
Related Search
Related Contents
maxjoint elastic Fédération Française du Sport Universitaire P/N 45-25193 GENUINE SUZUKI ACCESSORIES Description Philips Scart cable SWV2085W Philips shaving heads HQ9/50 Bestimmung und Einflussgrößen der Brückenbildung イレウスチューブ ISTRUZIONI PER L`USO Componenti di manipolazione Unità High Speed Data Logger Module User`s Manual(Hardware) Copyright © All rights reserved.
Failed to retrieve file