Home
ACS355 and AC500-eCo application guide
Contents
1. Hardware S500 System Description E Installation AC500 Control Builder AC500 Remote Programming sd AC5O0 Webserver E Na Function Block Libraries AC500 E System Technology 2 Release Notes on P5501 Control Builder Software HR OPC f 2 Preconditions for the Use of the ACS Drives Be 2 Special Characteristics of the ACS Drives Base 2 Components of the ACS Drives Base Library Function Blocks 9 Overview of the ACS Drives Base Compon 2 ACS_DRIVES_CTRL_ENG Engineering In 2 ACS_DRIVES_CTRL_STANDARD Contra 2 ACS_MOD_READ_N_PRM Read N Parar www infoPLC net 16 Customization Getting help on a specific function block In CoDeSys select the title of the function block and ERETON press F1 ACS3xXx_DRIVESLCTRL BASIC The library view also contains information on the function blocks and their inputs and outputs Press Alt Enter to enter the library view Configuring the Modbus settings of the AC500 You can change the Modbus settings but they have to be identical in the drive and the AC500 1 In CoDeSys in the left pane select the Resources tab Click PLC Configuration In the middle pane under AC500 expand Interfaces FIX Click COM1 MODBUS SLOT oo ge Se IS In the right pane Module parameters configure the following parameters ee We Address Note For AC500 PLCs with firmware version 2 0 or higher use ABB Control Builder to set up the bus param
2. 0005 FB BASIC CONTROL ACS3XX DRIVES CTRL BASIC Basic control function block a modbus RTU communication function block network1 y l Connection to the ACS355 ModbusRTU connetion function block l ACS3Xx_COM_MOD_RTU FB COM AFSPOEL COM MOD RTU x Online DK awACT PARAMETERS on block including scaling and initial reset network Control of ACS355 Basic control function block ACS3Xx_DRIVES CTRL_ BASIC FB_BASIC_CONTROL network3 F generation of speed reference according to switches and limits from driv Logic to generate the speed reference value www infoPLC net Function blocks and program structure 25 D ri ve Ref ACS3XX_COM_MOD_RTU The DriveRef DRIVE DATA variable must be connected to tinerorencomt LINE TOKEN all function blocks of the drive to exchange data 1 SLAVE Drivet DRIVE_DATA ACS3XX_DRIVES CTRL BASIC START STOP RESET ALARM SPEED_REF ACT_SPEED DRIVE_DATA Main components of the example program Modbus RTU communication function block FB_COM FB COM is a communication function block for rous rts communication function blo Modbus RTU It controls the communication to FB COM the drive and cyclically reads the status word wake ee actual speed and up to seven more parameters 1 COM from the drive When there are changes in the soit beeen control word or the speed reference values the eee Reap EE AE ES function block writes the new values in th
3. 0010 awACT PARAMETERS ARRAY 1 9 OF WORD 9 0 7 0011 OO12JEND VAR fan 2 The new drive program appears in the POUS tab 3 Double click the new drive in the POUS tab 4 match that of the new drive 5 Inthe POUs tab double click PLC_PRG PRG 6 Right click the gray bar with 0001 on it see the picture and click Copy 7 Right click again and click Paste The copied instance of the program appears below the first one 8 Double click the name of the new block and change it to PRG Drive2 9 Click Project gt Rebuild all 10 Click Online gt Login 11 Click Online gt Create boot project Information on LineCom1 as a global qmodbus RTU communication function 1 block FB_COM ACSSKX COM MOD FTU In the modbus RTU communication function block change the SLAVE number to File Edit Project Insert Extras Online Window Help alzlal alelsdasElR slee F OOOTPROGRAK PLC_PRG n GEE 5 OOOAVAR OOOSIEND VAR E PRG_Drivel PRG Raad H PRG_Drive2 PRG E POUS 4 call program of first drive 6 PRG Drivel J Sl variable The LineCom1 variable which must be connected to all LINE TOKEN inputs of all AGS3XX COM MOD_RTU function blocks in all programs must be declared as a global variable This is already done in the example program and can be seen below www infoPLC net Customization 19 1 Open the Resources tab 2 Select Global Variables 3 See declar
4. 2 Configuration What this chapter contains SESSE SE SS SS ee eens 9 ACS355 drive configuration 0 cc eee eens 10 Installing ABB Control Builder AC500 ene 11 Installing PS553 DRIVES libraries SES SS SE aaa eee 11 Configuring communication parameters naaa aaaea e 12 Opening the example project EES eee eee 12 Installing the TK504 cable EE EE EE SE SE SE EE es es ee es es es ee ee 12 Checking the COM port of TK504 ESE es 13 Setting new communication parameter to COMx for TK504 13 Connecting to the PLC ESE ES ESE ES tenes 13 3 Customization What this chapter contains SES ES ESE SS ee eee eens 15 Geld hel ase oes ERENS eo ed eee EE ee eee gee renee ees ees 15 Using the online help in CoDeSys 0 0 ES EE SE ES eee 15 Getting started AC500 eens 15 AC500 ACS Drives Libraries topics ES EES ES SE SE SE es 15 Getting help on a specific function block SES SS SS ee 16 Configuring the Modbus settings of the AC500 0 0 ee 16 Configuring the slave address of the drive SS ES SS ee 17 Adding another drive 0 ccc eee eee eens 17 Copying the program for another drive 2 0 0 0 ce ees 18 Information on LineCom1 as a global variable 0 0 0c cee eee 18 Creating a visualization for a copied drive program 0 cee ee eee 19 Using VISUAIIZANONG OE OE ER EE EE SERE EG 20 Controlling the dri
5. Drive3 DRIVE_DATA ACS3XX DRIVES CTRL BASIC ACS3XX DRIVES CTRL BASIC ACS3XX DRIVES CTRL BASIC START START START STOP STOP STOP RESET ALARM RESET ALARM RESET ALARM SPEED REF ACT SPEED SPEED REF ACT SPEED SPEED REF ACT SPEED DRIVE DATA DRIVE DATA DRIVE DATA FMBA 01 Slave ID 1 A S FMBA 01 FMBA 01 Modbus RTU serial Slave ID 2 Slave ID 3 Baudrate 19200 Parity none Data bits 8 Stop bits 1 RTS control telegram www infoPLC net 18 Customization Copying the program for another drive The instructions below outline how to copy the program of a drive in CoDeSys for a second drive 1 Inthe left pane in the POUS tab right click PRG_Drive1 PRG and click Copy Object A Copy Object dialog opens 2 Change the name if necessary and click OK 9 POUS WA PLC_PRG PRG n PAG Drivel PRG Add Object Rename Object Edit Object Copy Object x PRG_D rivel PRG_Drive2 _ Cancel Old POU New POU name Baal aelsdasEa seels Fi NA ER E m e ese ese wel Sp O001 PROGRAN PRG_Drive2 lt a POUs JOOD VAR eH PLC_PRG PRG 0003 FB COM ACS3XX_COM_MOD_RTU oe a PRG_Drivel PRG DriveRef ACS_DRIVE_DATA_TYPE be E PRG_Drive2 PRG 3 FB_BASIC_CONTROL ACS3XX_DRIVES_CTRL_BASIC C rRefSpeed REAL speed reference in rpm c rActSpeed REAL actual speed in rpm if AC 0009 xOnlineOk BOOL Online connection estat
6. parameters to be read from the drive The ACS3XX COM MOD RTU function block can read up to 8 parameters from the ACS3xx drive The ACS3xx drive parameters 53 10 53 17 determine which parameters are read from the drive Give the values in the format XXYY where XX is the parameter group and YY is the parameter index of the parameter to be read For example the value 104 corresponds to parameter 01 04 CURRENT Set parameter 53 10 to either 101 calculated motor speed or 103 calculated drive output frequency You can freely choose which parameters to map to parameters 53 11 53 17 For instructions on how to set parameter values see ACS355 user s manual SAUA0000066143 English If more than three parameters are configured to be read change the value of NVAR READ in the AGS3XX COM MOD_RTU function block as instructed below 1 In CoDeSys go offline by clicking Online gt Logout 2 Inthe ACS3XX_COM MOD_RTU function FB COM block change the value of NVAR READ to ae RR correspond to the number of parameters E read 1 the number includes the status 1000 word we PES wi RNEER 3 Go back online by clicking Online gt Login ia ee aM An Online Change dialog opens 4 Click Yes The visualization is updated to reflect the changes made 5 To keep the changes for the next reboot click Online gt Create boot project Configuration example In this example six parameters are configured to be read from an ACS355 dr
7. 00 00 SAVE e To save the new value press S LOC U PARAMETERS Jo cancel the new value and keep the original press ACS500 MODBUS 9903 MOTOR TYPE 9904 MOTOR CTRL MODE EXIT 00 00 EDIT The AC500 Modbus application macro default drive parameters correspond to the ABB standard macro for ACS355 with the following changes Parameter 1001 EXT1 COMMANDS COMM 10 1102 EXT1 EXT2 SEL COMM 8 1103 REF1 SEL COMM 8 1604 FAULT RESET SEL COMM 8 www infoPLC net Configuration 11 e ewsmmowo p C CO en ee C ABB DRV FULL 2 Installing ABB Control Builder AC500 This section describes how to install the Control Builder and a driver for the TK503 504 cable Note For more information on the cable driver installation see CD_AC500 Driver TK503_TK504 TK503_TK504_Driver_Installation pdf on the installation CD 1 Insert the installation CD of ABB PS501 Control Builder The CD automatically starts the installation program A new window opens 2 Click Installation PS501 The installation begins 3 Follow the steps in the installation wizard Once the installation is finished you return to the main menu 4 Click Tools 5 Click TK503 TK504 cable driver The TK503_TK504 programming cable Driver Installer window opens 6 Click Install The installation begins Installing PS553 DRIVES libraries Ee Control Builder Patch 2 0 1 FIRMWARE CP5553 DRIVES Note ABB PS50
8. 1 Control Builder must be installed first 1 Remove the SD memory card from the AC500 eCo and insert it in the memory card reader of the PC a _Setup dll CD data1 cab E data1 hdr CD data2 cab 3 IS5Setup dll layout bin DCARDIN Enee setup ini Ed setup inx 2 Inthe root directory of the SD memory card open setup exe 3 Follow the steps of the setup wizard Libraries examples and the online help are copied to the hard drive of the PC www infoPLC net 12 Configuration Configuring communication parameters The below instructions demonstrate how to configure communication parameters with the example project Opening the example project 1 Inthe Windows Start menu open the CoDeSys programming tool by clicking Programs gt 3S Software gt CoDeSys V2 3 gt CoDeSys V2 3 The CoDesys program opens 2 Click File gt Open 3 Browse to the folder C Program Files ABB ABB Configurator Projects Examples Drives PS553 DRIVESVACS355 PM554 ModbusRTU and open ACS355 PM554 ModbusRTU pro A dialog opens asking if you want to save the current empty project 4 Click No The project opens and the PLC_VISU window and the PRG_DRIVE1 window are displayed File Edit Project Insert Extras Online Window Help jsx meae J ick 1 ere wel Sp olsd 0001 PROGRAM PRG_Drive1 alle oelsdas ES Leak etc vrein POU EA PLC_PRG PRG Ed PRG_Drivel PRG FB COM ACS
9. 3XK COM MOD RTU Communicat DriveRef ACS DRIVE DATA TYPE Drive referem FB BASIC CONTROL ACS3XX_DRIVES_CTRL_BASIC Basic control rRefSpeed REAL speed reference in rpm or 0 1Hz deper rActSpeed REAL actual speed in rpm ifACS355 Parame XOnlineOK BOOL Online connection established one re awACT_PARAMETERS ARRAY 1 9 OF WORD 9 0 actual Param 2 actual s PEER LastReadErno H OM M sw Ts agen s TSAA Actvalued Actvalued Actvalues fetvalue FR Kets Hewes aie Seks KORRE ST eines For dor NEE Installing the TK504 cable Plug the TK504 cable in a USB port on the PC An installation wizard for the TK504 cable opens Follow the instructions in the wizard to automatically install the cable www infoPLC net Configuration 13 Checking the COM port of TK504 2 x System Restore Automatic Updates Remote 1 In Windows Start menu go to Settings gt General Computer Name Hardware Advanced Control Panel gt System r Device Manager 2 Select the Hardware tab and click Device EE ee M ana g er properties of any device 3 Expand Ports COM amp LPT and check to which COM port TK503_504 programming cable is assigned The COM port is shown in parentheses ES Ports COM amp LPT F Bluetooth Kommunikationsanschluss COMS Bluetooth Kommunikationsanschluss COM6 Communications Port COM2 ECP Printer Port LPT1 Pr nd f dn ALA erial Port C TK503_TK50
10. 4 programming cable COM4 A Drivers Setting new communication parameter to COMx for TK504 1 In CoDeSys click Online gt Communication Parameters Communication Par sters New Channel The Communication Parameters window opens 2 Click New The Communication Parameters New Channel window opens type a name ABB SST Tcp lpLe 35 Tcp lp driver 35 Serial RS232 driv 35 Serial RS 232 div choose the di communication type TepAplLevel2 Serial Modem 3 In the Name field enter a name ae u corresponding the COM port such as COM In the Device field select Serial R 232 Click OK to close the window ferai 232 7 Change the following values RE Concel e Port the corresponding COM port Pot Si No N New e Baudrate 19200 Remove e Motorola byteorder Yes EG then use arrow keys ENE 7 Click OK to exit a ee Sonia to white space Update Connecting to the PLC Click Online gt Login www infoPLC net 14 Configuration The status of the function blocks is displayed CoDeSys ACS355_PM554_ModbusRTU pro File Edit Project Insert Extras Online Window Help alzlul aelssas sal sales allele TT ro j A PLC_PRG PRG o PRG_Drivel PRG Ee rRefSpeed 0 EN foone EE ER FASE N ERNO xOnlineoK IG E awACT_PARAMETERS d ier ase fact speeD om modbus RTU communication function block AC
11. S3XK_COM_MOD_RTU xOnlineOK awACT PARAMETERS DriveRef control function block including scaling and initial reset FB_BASIC_CONTROL ACS3XX_DRIVES_CTRL_BASIC xOnlineOK GEN DONE DI STARTHSTART ERR DI COAST STOP HSTOP COAST ERNO DI RESET RESET SCALING DONE rRefSpeed 04SPEED_REF OPERATING DriveRef 4DRIVE_DATA t TRIPPED ALARM Check Status ie ONLINE COMA SIM RUNNING BP FORCE OV READ www infoPLC net Customization What this chapter contains Customization 15 This chapter describes how to add more drives customize the program further in CoDeSys and work with visualizations Getting help Using the online help in CoDeSys To open the online help click Help gt Contents See the sections below for more detailed information on AC500 help topics Getting started AC500 In the Contents tab expand Target System gt AC500 500 gt Introduction gt Getting Started and open Getting started AC500 AC500 ACS Drives Libraries topics In the Contents tab expand Target System gt AC500 500 gt ACS Drives Libraries Under ACS Drives Libraries you can see the help topics related to the ACS Drives Libraries Contents Index Search A ACS00 500 B J Introduction MIN Getting started AC500 Getting Started S500 FBP Examples E3 For 4C1131 experts Your Tasks Documentation from the User s point of vi H Hardware AC5OO
12. ation of LineCom1 of type ACS MOD TOKEN TYPE CoDeSy s AC5355 PM554 ModbusRTU pro Global_ Yariables h Fie Edit Project Insert Extras Online Window Help alelu Bl eo a 2 Sx4a eea JOOO1VAR GLOBA U VAR ao 0002 A E Global Variables OOO3 E i i 0004 ie amp Variable_Configuration MAR CONFIG E library lecsfe lib 13 4 06 14 51 28 global variables 0006 H E library PS553 DRIVE SMACSDrivesBase ACBO0 V EDE 4 O er POUs 4 Data types Visualizat ga Resources Creating a visualization for a copied drive program You can copy the visual elements of a drive for another drive to enable monitoring each drive through the visualization 1 Open the Visualization tab and double click the PLC_VISU element to open the visualization 2 Copy paste the elements of the first drive ie right click and Copy then right click and Paste each of them 3 Arrange the copied elements for example next to the original ones 4 Double click a copied element 5 With Category Visualization selected click Placeholder The Replace placeholders window opens 6 Inthe Replacement tab change the name eg PRG Drive2 FB BASIC CONTROL 7 Click OK and OK to accept the changes START ERR STOP_COAST_ WERNO S DEP Er EE EG isualization Text variables Colorvariables Line width Motion absolute Cancel 8 Repeat the previous steps for other copied elem
13. e drive Hoe N TOES DriveRef ADRIVE DATA t Refer to the online help for a detailed description of the function block and its inputs and outputs For additional instructions see the below sections in this manual e You can set the slave address as described in Configuring the slave address of the drive on page 77 e f more than one drive is used the LineCom1 variable in the LINE TOKEN input must be declared as global See nformation on LineCom1 as a global variable on page 18 e Fora description of the DRIVE DATA variable DriveRef see DriveRef on page 25 e f more parameters are to be read from the drive adjust NVAR_READ and set the parameters 53 10 53 17 in the drive See Configuring parameters to be read from the drive on page 27 Basic control block FB BASIC CONTROL The FB BASIC CONTROL function block is use d f or b a si c contr ol O f th e d riv e in clu din g contral function block including scaling and initial reset speed scaling of the actual speed and reference value to rom or 0 1 Hz PA ENA SEMI ACSIXX DRIVES CTRL BASIC The FB_ BASIC CONTROL function block is MEE ER the default control block in the example DCO EE od ET project It is interchangeable with the function DI_RESET RESET blocks presented in Other control blocks Sei ei n below A drive may have one active control block See the online help for detailed information on the inputs and outputs of the function block See Using the
14. eed reference according to switches and limits from drive rRefSpeed 405 RetSpeed 405 Other control blocks You can use the following two control blocks as alternatives for the basic control block ACS CTRL ABB DRV PROFILE If advanced control is needed the Se cscs save ACS_DRIVES_CTRL_STANDARD function block can be used srorEwcv RAMP instead of the FB_ BASIC CONTROL function block Refer to z the online help for a detailed description of the function block ei MED ie LOCAL _CTRL ACS DRIVES CTFL STANDAFD DRIVE DATA t EXT CTRL LOC ACT ACT SPEED ACT VALLIE2 www infoPLC net Function blocks and program structure 27 ACS DRIVES CTRL ENG For system applications the engineering block AGS DRIVES CTRL_ENG can be used Refer to the online help for a detailed description of the function block ACS_DRIVES_CTRL_ENG www infoPLC net 28 Function blocks and program structure www infoPLC net www infoPLC net Contact us ABB STOTZ KONTAKT GmbH ABB Oy Note P O Box 101680 Drives We reserve the right to make technical D 69006 Heidelberg Germany P O Box 184 changes or modify the contents of this Telephone 49 0 6221 701 0 FlI 00381 HELSINKI document without prior notice With O Fax 49 0 6221 701 240 FINLAND regard to purchase orders the agreed LO E Mail plc support de abb com Telephone 358 10 22 11 particulars shall prevail ABB AG does Fax 358 10 22 22681 not accept any responsibility a www abb com plc
15. ents www infoPLC net 20 Customization Using visualizations The visualization of a project can be used to monitor states in the function blocks and errors and actual values See the image below START State of the Function Black FALSE sa da SCALING DON FB _BASIC_ CONTROL n amaran in Programm PRG Drivel OPERATING EE FALSE FALSE ACT SPEED default rpm ACS355 Par 53 10 101 O 1H2 if ACS355 Par 53 10 103 ex bone i em JERR O Fase WE 2 sum Bur Fase DRIVE TYPE ONLINE EE wee o ReadErr Cnt i LastkeadErna O actual values 1 Bare mapped Poi in ACSIKX in Par 53 10 5317 Betales 18 O Betas O n m NVAR_READ input has to be set etvalued 0 to number of read values min 3 e EG e ET TN NN WEN aetvslue Controlling the drive with the visualization To use the visualization to control the drive disconnect all inputs of the function block to be controlled with the visualization in the program cast aie See For example to control START STOP_COAST RESET and SPEED_REF through the visualization disconnect them from the FB BASIC CONTROL function block control function block including scaling and initial reset Once disconnected you can set the input values directly in the visualization element In this example START STOP_COAST RESET and SPEED REF can be set through the visualization www infoPLC net Customization 21 Configuring
16. eters To open ABB Control Builder go to the Windows Start menu and open Programs gt ABB gt ABB Control Builder E g acsoo 2 J2 Resources eee Module parameters Hesse P FI E _ Global Variables a is Mao g E library lecsfc lib 13 4 06 14 51 28 global variables nig t PASASE H E library PS553 DRIVESSACS DrivesBase_AC500_V20 lib Be Ha Digital Inputs 0 7 F 9 E E library PS553 DRIVES ACSDrivesComModRTU_AC5O a Digital Outputs 0 5 F Ix H E library SysLibMem lib 14 4 10 09 51 32 global variables i Ee A PMF l i SAri i a ome Telegram ending value 3 3 a library SysLibs SysLibPLCConfig lib 14 4 10 09 51 32 g Ee a Fast counter FIx 11 Baudrate 19200 a library SysLibTime lib 14 4 10 09 51 32 global variables O VO Bus FIx 3 Bal pre wj even i F F F4 99 ata bits j 3 C library SysTasklnfo lib 14 4 10 09 51 32 global variable Interfaces FIX 14 Stop bits 1 Fl library Uil lb 18 5 10 14 14 28 global variables P aama Mano iee ani 3 Operation mode xj None Address ET Tock 7 T de arr tart area et NG 3 ODOOODDO OOODODOO i GR Besa O Disab ZMBU pr AY Alarm configuration m i Disable ones i6 ZMB to oe vil Library Manager IT BI gay Etnernetlf lx Disable read to MBO from Be Ea Log 20 Disable read to MBO to ESSIE c P Briers PLC Configuration 2 4 Sampling Trace Target Settings Ed Task configuration m Q Watch and Recipe Manager 3 in BP Wo
17. ive by the function block The following values are given to parameters 53 10 53 16 Parameter set Value Parameter read from Function in the drive the drive 53 10 101 01 01 SPEED amp DIR Calculated motor speed in rpm A negative value indicates reverse direction 53 11 104 01 04 CURRENT Measured motor current 1 0 1 A 53 12 305 03 05 FAULT WORD 1 A 16 bit data word that indicates faults in the drive 53 13 110 01 10 DRIVE TEMP Measured IGBT temperature in 1 0 1 C 53 14 114 01 14 RUN TIME R Elapsed drive running time in hours 53 15 105 01 05 TORQUE Ratio of calculated motor torque to the motor nomi nal torque 1 0 1 of the nominal torque www infoPLC net 22 Customization The value of the NVAR READ input is changed accordingly Because there are six parameters to be read OK COM MOD RTU plus one for the status word NVAR READ is changed EN oon FALSE 1 Jeaw FASE to 7 as instructed above Once the program is back mm AE el s EE GEE SLAVE o Busy oO FALSE online the visualization changes to show the values of a orme TYPE ONLINE the parameters read from the drive eee a Resderront oo LastReaderno o INWARD ewoo O n 19 702 Using the read parameters in the program The parameters read from the drive appear as variables named awACT_PARAMETERS 1 9 in CoDeSys The first gm index in the array corresponds to the status word and PEP rActSpeed 702 indexes 2 9 corres
18. ivery includes the following manuals Quick installation guide which describes the mechanical and electrical installation of the starter kit ACS355 user s manual which describes the ACS355 drive System description AC500 which contains the safety instructions for the AC500 eCo PLC PM554 and PM564 installation instructions which describes the installation of the AC500 eCo PLC The online help in the CoDeSys program see Using the online help in CoDeSys on page 75 FMBA 07 users manual which describes the FMBA 01 Modbus adapter module For a complete list of related manuals see the inside of the front cover www infoPLC net Configuration 9 Configuration What this chapter contains This chapter describes how to install ABB PS501 Control Builder on your computer and how to configure the ACS355 drive and AC500 eCo PLC for use The instructions in this chapter are intended to be used after the mechanical and electrical installation has been completed as explained in AC500 eCo and ACS355 quick installation guide Instructions for optional configuration and customization are given in chapter Customization www infoPLC net 10 Configuration ACS355 drive configuration The AC500 Modbus application macro makes the necessary changes to parameter default values for use in the starter kit To activate the macro set parameter 9902 APPLIC MACRO to AC500 MODBUS 10 as shown below The macro is available in ACS355 d
19. of using function blocks is that it is easy to control drives and there is no need to master the details of the ABB Drives profile Function block programming also allows for a modular design and customization for the requirements of the application in question The ACS Drives Base Library in the starter kit features several types of control blocks for both basic and advanced applications www infoPLC net 24 Function blocks and program structure Program structure Main program In the example project the main program is named PLC_PRG The main program includes a call to PRG Drive1 see below If there are multiple drives add a program for each additional drive see Adding another drive on page 17 As EI9ledasE SR 3 25 ce Sala 23 0002 VAR OOOSIEND VAR NN a Y call program of first driv c Meg Drive d Loading library C Program Fil Loading library C Program Fil Loading library C Program Fil HE Data Visua b Reso PRG_Drive1 program PRG Drive1 contains the function blocks for the drive The image below shows the main components of PRG_Drive1 FB COM FB BASIC CONTROL and speed reference and their functions ala 22 Si Sat 75 gt ft EA m e gt mal 5 0001 PROGRAM PRG_Drive1 4 POUs Declaration part a a PLC_PRG PRG ACS3XX_COM_MOD_RTU _ of variables and tion blot la FEN PRG Divet PRG function block instances jle Mus
20. online help in CoDeSys on page 15 for information on the use of the online help The function block functions only with the ABB Drives profile www infoPLC net 26 Function blocks and program structure Speed reference generation In the example program speed reference is generated according to the dip switches DI FASTER DL SLOWER and DI REVERS and the maximum reference limit The maximum reference limit is read from the drive parameter 11 05 REF1 MAX at the first start of the ACS3XX_DRIVES_CTRL_BASIC function block and is stored in config iRefScaleMax a sub element of the DriveRef variable The limit depends on the selected motor control mode There are two possible motor control modes detailed below Drive parameter 99 04 Motor Control Mode determines the mode used e Scalar mode The default mode is the scalar mode The default value for the drive parameter REF1 MAX is 500 which corresponds to 50 Hz e Vector mode In the vector mode the drive paramter REF1 MAX is set to the maximum speed given in rpm eg 1500 If you change the motor control mode the scaling parameter has to be read again by reseting EN of ACS3XX DRIVES CTRL BASIC This can be done by powering off and on again the 24V DC of the AC500 DI FASTER DIL SLOWER and DI REVERS are used in the example project as shown in the below image See the quick installation guide for the dip switch settings in the ACS355 and AC500 eCo starter kit generation of sp
21. pond to the parameters mapped to be OE read For example if parameter 53 13 is set to 110 01 10 J awACT_PARAMETERSII 4818 DRIVE TEMP awAGCT PARAMETERSJ5 gets the value of wa Ee ERER the parameter ees awACT_PARAMETERS 6 3 awACT PARAMETERSI7 102 aWACT PARAMETERSIE 0 awACT PARAMETERSI8 0 FB COM ACSSKX COM MOD FTU WEEN COM 2 ISLAVE 4000 4TIMEOUT _ACS355DRIVE_TYPE 7 INVAR READ LINE TOKEN t riveRef DRIVE DATA t Word to integer conversion for variables with negative values The data type word of the READ VALUE output values in the ACS3XX COM MOD RITU function block permits only WORDTOINT non negative values but it is possible to use a word to evar parsers E integer conversion to enable also negative values In the following example awACT PARAMETERSJ 7 is converted to a new variable iTorque which represents the torque and direction of motor rotation Declare the iTorque variable as integer iTorque INT The value is then converted into an integer as shown below The negative value represents reverse direction in this example WORD TO INT awACT_PARAMETERS 7 65433 iTorque 103 www infoPLC net Function blocks and program structure 23 Function blocks and program structure What this chapter contains This chapter presents an overview of the function blocks of the ACS Drives Libraries Function block programming overview The main advantage
22. rives with software version 503C or above Go to the Main menu by pressing w if you are in the LOC MAIN MENU 1 Output mode otherwise by pressing repeatedly wa until PJN a you get to the Main menu ASSISTANTS CHANGED PAR EXIT 00 00 ENTER Go to the Parameters mode by selecting PARAMETERS LoOC UPAR GROUPS OL on the menu with keys CA and SY 7 and pressing ENTER 03 FB ACTUAL SIGNALS T 04 FAULT HISTORY 10 START STOP DIR 11 REFERENCE SELECT EXIT 00 00 SEL Select the appropriate parameter group with keys CAS ILOC UPAR GROUPS 99 and vw 99 START UP DATA OL OPERATING DATA 03 FB ACTUAL SIGNALS 04 FAULT HISTORY 10 START STOP DIR EXIT 00 00 SEL LOC PARAMETERS orere APPLIC MACRO 9903 MOTOR TYPE 9904 MOTOR CTRL MODE EXIT 00 00 EDIT Select the appropriate parameter with keys AS and LOC PARAMETERS v_ The current value of the parameter is shown 9901 LANGUAGE 9902 APPLIC MACRO below the selected parameter ABB STANDARD 9903 MOTOR TYPE 9904 MOTOR CTRL MODE EXIT 00 00 EDIT EDIT Press 7 LOC UPAR EDIT 9902 APPLIC MACRO ABB STANDARD 1 Ma 00 00 SAVE Specify a new value for the parameter with keys AS LOC UPAR EDIT and SY 7 Pressing the key once increments or decrements the value Holding the key down changes the value faster Pressing the keys simultaneously replaces the displayed value with the default value 9902 APPLIC MACRO AC500 MODBUS 10 CANCEL
23. rkspace al om 2 POUS 4 Data types 45 Visualizatio www infoPLC net Customization 17 Configuring the slave address of the drive The default slave address of the drive is 2 but if several drives are used the address must be unique in each drive On the drive side you can choose the slave address in ACS3xx drives with parameter 53 02 EFB STATION ID You can use the control panel for changing the parameter value For instructions see chapter Control panels in ACS355 user s manual 3AUA0000066143 English To configure the slave address in CoDeSys follow the instructions below 1 In CoDeSys in the left pane select the POUS tab 2 Click PRG Drive PRG wus RTU communication function block FB COM ACS3XX_COM_MOD_RTU 3 Inthe modbus RTU communication function block change SLAVE to match the Modbus slave number For the update to take effect follow the steps below ee LineCom1 4 Click Project gt Rebuild all reier IDEE DATA n 5 Click Online gt Login Adding another drive The below instructions detail how to copy the program and the visualizations for another drive The below image shows what the structure of the function blocks looks like when there are multiple drives AC500 eCo ACS3XX_COM_MOD_RTU ACS3XX_COM_MOD_RTU ACS3XX_COM_MOD_RTU COM1 1 COM 1 COM 1 COM 1 SLAVE 2 SLAVE 3 SLAVE LineToken LINE TOKEN LINE TOKEN LINE TOKEN Drive1 DRIVE_DATA Drive2 DRIVE_DATA
24. ter kit overview The ACS355 and AC500 eCo starter kit is designed for controlling up to seven ACS355 drives connected through a Modbus link The maximum total length of the Modbus link is 50 meters 160 feet Compatibility This manual is intended to be used with the ACS355 and AC500 eCo starter kit Safety instructions Follow all safety instructions delivered with the starter kit e Read the complete safety instructions for the ACS355 drive before you install commission or use the drive The complete safety instructions are given at the beginning of the ACS355 user s manual 3AUA0000066143 English e Read all safety instructions of the AC500 eCo PLC See System description AC500 2CDC125015M0201 English or the online help in CoDeSys Help gt Contents gt Target System gt AC500 S500 gt Introduction gt Overview gt Regulations Reader The manual is intended for people responsible for configuring and using the starter kit www infoPLC net 8 About the manual Contents The manual consists of the following chapters Configuration describes how to install and configure the software needed for using the ACS355 drive with the AC500 eCo PLC Customization describes optional configuration and customization options Function blocks and program structure describes the principles of ACS Drives Libraries function blocks and the structure of the example program Related manuals In addition to this manual the del
25. ve with the visualization SE SS SS SS ee ee 20 Configuring parameters to be read from the drive 0 ee eee 21 Configuration example 0 0 0 ccc ee eee eens 21 Using the read parameters in the program 2 000 cee eee 22 Word to integer conversion for variables with negative values 22 4 Function blocks and program structure What this chapter contains SESSE ES SS ES eee eens 23 Function block programming OvervieW SS SS ES ES eee se 23 www infoPLC net 6 Program structure SS SE SS ee ee eee eee 24 Wiel ia folio ele io EE ET EO ued Ge Recah eo nes ER N EE eete eens OE 24 PRG Drive1 program SS SS SS SS ee ee eee ee 24 Bi si REEN N ETTER AE EE OE OE EE EE 25 Main components of the example program 0 ce ee ee 25 Modbus RTU communication function block FB GOM 25 Basic control block FB BASIC CONTROL SS SS SE SE Se es es eee 25 Speed reference generation SEE SE SE SE eee Es ee 26 Other control DICKS eo eb AE ER He RA RR EE EE DE eke ees eee eee ee 26 ACS CTRL_ABB DRV PROFILE SS SE SE EE SE SE 00 es es es ee es 26 ACS DRIVES CTRL ENG cc cece cee ccc eee eeeeeeeeeeeeunnneey 27 www infoPLC net About the manual 7 About the manual What this chapter contains The chapter describes the contents of the manual It also contains information on the compatibility safety and intended reader Star
26. www abb com drives whatsoever for potential errors or Q possible lack of information in this s document g We reserve all rights in this document Z and in the subject matter and D illustrations contained therein Any E reproduction disclosure to third parties or utilization of its contents in whole or in parts is forbidden without prior written consent of ABB AG 2011 ABB All rights reserved Copyright Power and productivity AL HD HD for a better world PA HE EE
27. www infoPLC net AGS355 and AC500 eCo Power and productivity AL ae aE for a better world PA ae Ee List of related manuals Drive and PLC hardware manuals and guides ACS355 user s manual AC500 eCo and ACS355 quick installation guide System description AC500 PM554 and PM564 installation instructions AC500 online help Option manuals and guides FMBA 01 Modbus adapter module user s manual 1 Delivered as a printed copy with the starter kit www infoPLC net Code English 3AUA0000066143 2CDC125145M0201 2CDC125015M0201 2CDC125122M6801 3AFE68586704 2 Delivered on the SD memory card in the folder PS553 DRIVES Documentation 3 Can be accessed through the CoDeSys program See Using the online help in CoDeSys on page 15 1 2 2 3 1 www infoPLC net Application guide ACS355 and AC500 eCo 2011 ABB All Rights Reserved 2CDC125152M0201 Rev A EN EFFECTIVE 2011 01 21 www infoPLC net www infoPLC net 5 Table of contents List of related Manuals sees 0 026 Ed PRE BE oes seb EE EER GE di dents ER EE RE N 2 1 About the manual What this chapter contains SESSE ES EE SS ee SE se ee T Starter kit overvieW aaaa anaana ana a eee eens T COMPANOUNY besaccgatdoneheuetanesensectadsdeeoececeudad E OE RE T Safety instructions cee eee naaa a T SG el OE et E E EE ee E E E EE E T Bo si ORR EE E OE OE EE EE E E E EEEE EE 8 Related manuals 0 0 0 cc eee eens 8
Download Pdf Manuals
Related Search
Related Contents
G1-715 - Gateway 4-Light - Gribi AG Belp UR12 Operation Manal TSI Alnor HM685 Hydronic Manometer User Manual 電子取扱説明書「電子取説」( HTML版) Manuel d`instruction Bedienungsanleitung Communication Speed for TaxWise Online (TWO) Browser Settings spider manual ver1 Copyright © All rights reserved.
Failed to retrieve file