ABB ACS355 Series Quick Start Up Manual

ABB ACS355 Series Quick Start Up Manual

Function blocks for siemens plc’s
Hide thumbs Also See for ACS355 Series:
Table of Contents

Advertisement

Quick start-up guide
ABB Drives function blocks for Siemens PLC's

Advertisement

Table of Contents
loading

Summary of Contents for ABB ACS355 Series

  • Page 1 Quick start-up guide ABB Drives function blocks for Siemens PLC’s...
  • Page 2 You can find manuals and other product documents in PDF format on the Internet. See section Document library on the Internet on the inside of the back cover. For manuals not available in the Document library, contact your local ABB representative.
  • Page 3 Quick start-up guide ABB Drives function blocks for Siemens PLC’s 3AXD50000037864 Rev B EFFECTIVE: 2018-02-07 © 2018 ABB Oy. All Rights Reserved...
  • Page 4: Table Of Contents

    Purpose of the manual ......................9 Limitations ..........................9 Contents of the manual ....................... 10 Related documents ......................10 SIMATIC Manager/TIA portal with ABB drives and PROFIBUS module setup ....10 Cybersecurity disclaimer ..................... 11 Disclaimer ........................... 11 Drive configuration Contents of this chapter ......................
  • Page 5 Configuring ACS580 drives ....................23 Starting ACS580 drives for PROFIBUS DP ..............23 ACS580 Minimum required parameter settings for PROFIBUS DP ......24 Starting ACS580 drives for PROFINET ............... 25 ACS580 Minimum required parameter settings for PROFINET ........26 ACS580 More parameters read from drive to PLC (optional) ........27 ACS580 More parameters written from PLC to drive (optional) ........
  • Page 6 Configuring S7-300 PLC ..................... 73 Installing GSD and GSDML file for S7-300 PLC ............79 PLC libraries for S7-300 ...................... 81 Adding ABB drives to PROFIBUS DP line ..............81 Adding ABB drives to PROFINET ................85 Downloading configuration to PLC ................89 Copying ABB drive libraries to S7-300 project .............
  • Page 7 Adding PLC tags to S7-1200 ..................122 FB500 ABB_DRIVE_CONTROL_FB ................. 123 Block variables and data types for FB500 ..............125 FB501 ACS_DRIVE_PARA ..................129 Block variables and data types for FB501 ..............130 FB502 ACS_DRIVE_PZD ..................135 Block variables and data types for FB502 ..............136 Further information Contact us...
  • Page 8: Introduction

    Introduction Contents of this chapter This guide describes how to configure ABB Drives function blocks for Siemens PLC’s. ABB specific ready-made function blocks from the ABB_DRIVES_LIB are used. Compatibility This guide applies to the following libraries. Libraries Supported PCL ABB supported...
  • Page 9: Target Audience

    PPO types without consistent data, example, PPO-06, 0 PKW + (2+2+2+2+2) PZD or PPO-06, 0 PKW +NoCons. 10 PZD are not supported by ABB_DRIVE_LIB.  The ABB_DRIVES_LIB can also be used for PROFINET control of ABB drives. When programming the function blocks, consider the drive as a PROFIBUS DP-V1 slave. ...
  • Page 10: Contents Of The Manual

    A list of related manuals is printed on the inside of the front cover. SIMATIC Manager/TIA portal with ABB drives and PROFIBUS module setup The figure below shows an example of SIMATIC Manager/TIA portal with ABB drives and PROFIBUS module setup. SIMATIC Manager/TIA...
  • Page 11: Cybersecurity Disclaimer

    Disclaimer ABB is not liable for personal injury, material damage or monetary losses due to non-functionality, incorrect behavior or misuse of application program and the function blocks created by ABB or third party.
  • Page 12: Drive Configuration

    ABB specific drives library ABB_DRIVE_LIB. Overview You can configure the drive for PROFIBUS DP or PROFINET control based on ABB specific drives library ABB_DRIVE_LIB. Set the drive parameters from the drive’s control panel or from drive-specific PC tool (DriveWindow Light for ACS355 and ACS550, DriveStudio for ACS850 and ACSM1, Drive Composer for ACS380, ACS580 and ACS880, and DriveWindow for ACS800).
  • Page 13: Configuring Acs355 Drives

    3. Set the FPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02 and the communication profile in 51.05 = 1 (ABB drives). 4. With parameter 30.18 COMM FAULT FUNC, select how the drive reacts to a fieldbus communication break.
  • Page 14: Starting Acs355 Drives For Profinet

    3. Set the FENA configuration parameters in group 51. At the minimum, set parameters 51.01 FBA A type as Ethernet, 51.02 Protocol/Profile as PNIO ABB Pro (11), 51.04 IP configuration as Static, and required IP address from parameter 51.05 to parameter 51.08 and 51.09 Subnet CDR as 24.
  • Page 15: Acs355 Minimum Required Parameter Settings For Profinet

    COMM PROT EXT FBA Activates fieldbus module 51.01 FBA A type Ethernet Fieldbus type 51.02 Protocol/Profile PNIO ABB Pro (11) Communication profile ABB drives 51.04 IP Configuration Static (0) 51.05 ... IP address 192.xxx.xx.xx or any other 51.08 required IP address.
  • Page 16: Acs355 More Parameters Written From Plc To Drive (Optional)

    5. Select application-specific values for the rest of the parameters in group 50, starting from 50.04. 6. Set the FPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02 Node address and the communication profile in 51.05 Profile = 1 (ABB drives).
  • Page 17: Acs380 Minimum Required Parameter Settings Profibus Ds

    51.02 NODE [PB NODE] PROFIBUS DP node address of the drive ADDRESS 51.05 PROFILE Communication profile ABB drives 52.02 FBA data in2 Act1 16bit (5) Actual speed as Data Word 2 from the drive 53.02 FBA data out2 Ref1 16bit (2) Speed reference as Data Word 2 to the drive 51.27...
  • Page 18: Starting Acs380 Drives For Profinet

    5. Select application-specific values for the rest of the parameters in group 50, starting from 50.04. 6. Set the FPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02 Node address and the communication profile in 51.05 Profile = 1 (ABB drives).
  • Page 19: Acs380 More Parameters Read From Drive To Plc (Optional)

    20.01 Ext 1 commands Fieldbus A Fieldbus interface as source for start and stop 22.11 Ext1 speed ref1 FB A ref1 Fieldbus interface as source for speed reference 31.11 Fault reset selection P.06.01 bit 7 Fieldbus interface as source for fault reset (46.01) Speed scaling [Scale max]...
  • Page 20: Configuring Acs550 Drives

    Configuring ACS550 drives Starting ACS550 drives for PROFIBUS DP 1. Power up the drive. 2. Enable the communication between the adapter module and the drive by setting parameter 98.02 COMM PROT SEL to EXT FBA. 3. Set the RPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02.
  • Page 21: Starting Acs550 Drives For Profinet

    3. Set the FENA configuration parameters in group 51. At the minimum, set the 51.01 FBA A type as Ethernet, 51.02 Protocol/Profile as PNIO ABB Pro(11), 51.04 IP configuration as Static, and required IP address from parameter 51.05 to parameter 51.08 and 51.09 Subnet CDR as 24.
  • Page 22: Acs550 More Actual Values Or Parameters To Be Read From Drive To Plc (Optional)

    11.03 REF1 SELECT COMM Fieldbus interface as source for speed reference 16.04 FAULT RESET COMM Fieldbus interface as source for fault reset (11.05) REF1 MAX [Scale max] Max speed/frequency scaling value (used in function block/visualization input SPEED_REF_MAX). Must be less or equal to drive parameter max speed/frequency.
  • Page 23: Configuring Acs580 Drives

    5. Select application-specific values for the rest of the parameters in group 50, starting from 50.04. 6. Set the FPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02 Node address and the communication profile in 51.05 Profile = 1 (ABB drives).
  • Page 24: Acs580 Minimum Required Parameter Settings For Profibus Dp

    51.02 NODE [PB NODE] PROFIBUS DP node address of the drive ADDRESS 51.05 PROFILE Communication profile ABB drives 52.02 FBA data in2 Act1 16bit (5) Actual speed as Data Word 2 from the drive 53.02 FBA data out2 Ref1 16bit (2) Speed reference as Data Word 2 to the drive 51.27...
  • Page 25: Starting Acs580 Drives For Profinet

    6. Set the FENA configuration parameters in group 51. At the minimum, set the 51.01 FBA A type as Ethernet, 51.02 Protocol/Profile as PNIO ABB Pro(11), 51.04 IP configuration as Static, and required IP address from parameter 51.05 to parameter 51.08 and 51.09 Subnet CDR as 24.
  • Page 26: Acs580 Minimum Required Parameter Settings For Profinet

    50.01 FBA A Enable Enable Activates fieldbus module 51.01 FBA A ype Ethernet Filedbus type 51.02 Protocol/Profile PNIO ABB Pro (11) Communication profile ABB drives 51.04 IP Configuration Static (0) 51.05 ... IP address 192.xxx.xx.xx or 51.08 any other required IP address.
  • Page 27: Acs580 More Parameters Read From Drive To Plc (Optional)

    ACS580 More parameters read from drive to PLC (optional) Parameter Description Setting Comment 52.03 … Actual value or GGii GG = parameter group, ii = parameter index 52.12 parameter of drive Example, 0107 = actual current; 3501 = motor est. temp 51.27 FBA PAR...
  • Page 28: Acs800 Minimum Required Parameter Settings For Profibus Dp

    Parameter Description Setting Comment 98.02 COMM. FIELDBUS Activates fieldbus module MODULE LINK 98.07 COMM Communication profile ABB drives PROFILE DRIVES 51.02 NODE [PB NODE] PROFIBUS DP node address of the drive ADDRESS 51.21 DP MODE [DP MODE] 1 for DPV1, 0 for DPV0 51.27...
  • Page 29: Starting Acs800 Drives For Profinet

    3. Set the FENA configuration parameters in group 51. At the minimum, set parameters 51.01 FBA A type as Ethernet, 51.02 Protocol/Profile as PNIO ABB Pro (11), 51.04 IP configuration as Static, and required IP address from parameter 51.05 to parameter 51.08 and 51.09 Subnet CDR as 24.
  • Page 30: Acs800 Minimum Required Parameter Settings For Profinet

    Description Setting Comment 98.02 COMM. FIELDBUS Activates fieldbus module MODULE LINK 98.07 COMM ABB DRIVES Communication profile ABB drives PROFILE 51.01 FBA A ype Ethernet Filedbus type 51.02 Protocol/Profile PNIO ABB Pro (11) Communication profile ABB drives 51.04 IP Configuration Static (0) 51.05 ...
  • Page 31: Acs800 More Parameters Read From Drive To Plc (Optional)

    6. Set the FPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02 and the communication profile in 51.05 = 1 (ABB drives). 7. Define the process data transferred to and from the drive in the FBA-01 configuration parameter groups 52 and 53.
  • Page 32: Acs850 Minimum Required Parameter Settings For Profibus Dp

    6. Set the FENA configuration parameters in group 51. At the minimum, set parameters 51.01 FBA A type as Ethernet, 51.02 Protocol/Profile as PNIO ABB Pro (11), 51.04 IP configuration as Static, and required IP address from parameter 51.05 to parameter 51.08 and 51.09 Subnet CDR as 24.
  • Page 33: Acs850 Minimum Required Parameter Settings For Profinet

    Fba enable Enable Activates fieldbus module 51.01 FBA A type Ethernet Fieldbus type 51.02 Protocol/Profile PNIO ABB Pro (11) Communication profile ABB drives 51.04 IP Configuration Static (0) 51.05 ... IP address 192.xxx.xx.xx or any other 51.08 required IP address.
  • Page 34: Acs850 More Parameters Read From Drive To Plc

    6. Set the FPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02 Node address and the communication profile in 51.05 = 1 (ABB drives). 7. Define the process data transferred to and from the drive in FBA-01 configuration parameter groups 52 and 53.
  • Page 35: Acs880 Minimum Required Parameter Settings For Profibus Dp

    Activates fieldbus module. 51.02 NODE ADDRESS [PB NODE] PROFIBUS DP node address of the drive. 51.05 PROFILE Communication profile ABB drives. 52.02 FBA data in2 Act1 16bit (5) Actual speed as Data Word 2 from the drive. 53.02 FBA data out2 Ref1 16bit (2) Speed reference as Data Word 2 to the drive.
  • Page 36: Starting Acs880 Drives For Profinet

    6. Set the FENA configuration parameters in group 51. At the minimum, set parameters 51.01 FBA A type as Ethernet, 51.02 Protocol/Profile as PNIO ABB Pro (11), 51.04 IP configuration as Static, and required IP address from parameter 51.05 to parameter 51.08 and 51.09 Subnet CDR as 24.
  • Page 37: Acs880 Minimum Required Parameter Settings For Profinet

    FBA A Enable Enable Activates fieldbus module. 51.01 FBA A ype Ethernet Filedbus type. 51.02 Protocol/Profile PNIO ABB Pro (11) Communication profile ABB drives. 51.04 IP Configuration Static (0) 51.05 ... IP address 192.xxx.xx.xx or any other 51.08 required IP address.
  • Page 38: Acs880 More Parameters Written From Plc To Drive (Optional)

    6. Set the FPBA-01 configuration parameters in group 51. At the minimum, set the required node address in parameter 51.02 and the communication profile in 51.05 = 1 (ABB drives). 7. Define the process data transferred to and from the drive in the FBA-01 configuration parameter groups 52 and 53.
  • Page 39: Acsm1 Minimum Required Parameter Settings For Profibus Dp

    51.02 NODE ADDRESS [PB NODE] PROFIBUS DP node address of the drive. 51.05 PROFILE Communication profile ABB drives. 52.01 FBA DATA IN1 Status word as Data Word 1 from the drive. 52.02 FBA DATA IN2 Actual speed as Data Word 2 from the drive.
  • Page 40: Starting Acsm1 Drives For Profinet

    6. Set the FENA configuration parameters in group 51. At the minimum, set parameters 51.01 FBA A type as Ethernet, 51.02 Protocol/Profile as PNIO ABB Pro (11), 51.04 IP configuration as Static, and required IP address from parameter 51.05 to parameter 51.08 and 51.09 Subnet CDR as 24.
  • Page 41: Acsm1 Minimum Required Parameter Settings For Profinet

    FBA ENABLE Enable Activates fieldbus module. 51.01 FBA A ype Ethernet Filedbus type. 51.02 Protocol/Profile PNIO ABB Pro (11) Communication profile ABB drives. 51.04 IP Configuration Static (0) 51.05 ... IP address 192.xxx.xx.xx or any other 51.08 required IP address.
  • Page 42: Acsm1 More Parameters Read From Drive To Plc (Optional)

    ACSM1 More parameters read from drive to PLC (optional) Parameter Description Setting Comment 52.03 … Actual value or GGii GG = parameter group, ii = parameter index 52.12 parameter of drive Example, 0104 = actual current; 0117 = motor temp 51.27 FBA PAR REFRESH...
  • Page 43: Simatic Manager

    SIMATIC Manager Contents of this chapter This chapter provides the examples for configuring S7-300 series PLC using SIMATIC Manager.
  • Page 44: Setting Pg/Pc Interface

    Setting PG/PC interface Set PG/PC interface for online connection between PC and PLC (Ethernet connection is used in this example). For Ethernet connections, set the IP address of the PC within the same subnet as the PLC. Default IP address of a Siemens PLC is 192.168.0.1, so set the IP address of your Ethernet port between 192.168.0.2 and 192.168.0.255 (or change the IP address of the PC).
  • Page 45: Hardware Configuration

    Hardware configuration In this example, a CPU 319F-3 PN/DP with integrated PROFIBUS DP and PROFINET IO interface is used. An ABB ACS850 drive with FPBA-01 PROFIBUS DP module is connected to the PLC via the PROFIBUS DP interface. Starting a new project 1.
  • Page 46: Adding Rack And Cpu To The Hardware

    Adding Rack and CPU to the hardware 1. Use mouse drag and drop function to add a Rail for the SIMATIC station. Figure 6 Rail 2. Similarly, drag and drop actual CPU type to slot 2 of the rack. Figure 7 CPU type...
  • Page 47 3. In the Ethernet interface pop-up window, click New (1) and then click OK (2) → OK (3) to activate the Ethernet connection. Figure 8 Ethernet interface If the PROFIBUS interface window pops up, press New (1) and then click OK (2) → OK (3) to activate the PROFIBUS connection.
  • Page 48 For PLCs where the PROFIBUS interface window does not appear automatically, double-click MPI/DP (or DP). In the pop-up window, change Interface to PROFIBUS. A new pop-up window opens. Click New to activate the PROFIBUS DP connection and then click OK until all pop-up windows are closed. Figure 10 MPI/DP...
  • Page 49: Installing Gsd Files For Abb Drives

    Installing GSD files for ABB drives GSD files for ABB drives can be found in www.abb.com/drives or from this package. Install the GSD files (Options → Install GSD File). Find the catalog where the GSD files are placed by clicking the Browse button, highlight the GSD file(s) and click Install.
  • Page 50 Select the drive/PROFIBUS DP node (1), drag and drop desired PPO type (2) to slot 1 of the module (3). Note: Only PPO types with consistent data, example, PPO-06, 0 PKW + 10 PZD are supported. PPO types without consistent data, example, PPO-06, 0 PKW + (2+2+2+2+2) PZD or PPO-06, 0 PKW +NoCons.
  • Page 51 The drive automatically receives peripheral memory areas for data input and output (Process data that will be sent between the PLC and the drive). In this example, the 20 byte long peripheral memory area starts from 256. If required, double-click PPO-XX of actual drive and change the peripheral memory area. Figure 14 PPO type of actual drive If required, right-click the drive (1), choose Object Properties, and change name (2) of the node.
  • Page 52: Adding Drives To Profinet

    Adding drives to PROFINET After installing GSDML file, a new drive PROFINET modules appear in the hardware library. 1. Drag and drop FENA-11 according to your actual fieldbus module type to the PROFINET. Figure 17 FENA-11 2. Double-click FENA drive to set the IP address. 3.
  • Page 53 4. Select the PROFINET drive and then drag and drop the desired PPO type (6) to the slot 1 of the module. Figure 19 PPO type The drive automatically receives peripheral memory areas for data input and output (Process data that will be sent between the PLC and the drive).
  • Page 54: Downloading Hardware Configuration

    Downloading Hardware configuration 1. In the main menu, navigate to PLC → Download. Figure 20 Download 2. Select your target module (actual PLC) and click OK. Figure 21 Target module 3. Select the node address of the PLC (the IP address in case of Ethernet connection) and click OK. Figure 22 Downloading hardware configuration...
  • Page 55 If the PLC is in RUN mode, the application displays a Stop Target Modules message. Click OK and then click Yes in the Download pop-up window to set the PLC in RUN mode. Verify that the PLC is in RUN mode, by checking that the CPU RUN led is green. Figure 23 Download...
  • Page 56: Plc Libraries For S7-300

    PLC libraries for S7-300 Copying ABB_DRIVES_LIB blocks to the project You can retrieve the ABB drives function block library ABB_DRIVE_LIB from SIMATIC Manager. 1. In the SIMATIC Manager main menu, navigate to File → Retrieve. 2. Browse your zipped library file.
  • Page 57: Symbol Editor

    Symbol Editor Open the Symbol Editor from SIMATIC Manager and create symbols that you connect to block inputs and outputs. In this example, some of the block inputs are left out since those values are set to fixed values. Note: The variables are also created in a separate Data Block. Figure 28 Symbol editor...
  • Page 58: Fb500 Abb_Drive_Control_Fb

    FB500 ABB_DRIVE_CONTROL_FB FB500 is used to control the drive (start, stop, reset, emergency stop, speed reference, etc.). Note: The following descriptions are just an example, there are different ways to use the control function block. 1. Open OB1, the default Start/Main block in Siemens CPUs. 2.
  • Page 59 4. Create a unique Data Block for the control of your drive by writing DBXXX in the field over the block (DB101 has been chosen in this example, the available number of Data blocks vary with actual CPU model). Drive status and more are stored in this Data Block. Since it is a new Data Block, you have to generate it by clicking Yes in the following pop-up window.
  • Page 60: Block Variables And Data Types

    Block variables and data types Block variable Data type Comment BOOL Enabling block. FALSE = block code is not executed. TRUE or unconnected = block code is executed. PPO_TYPE The PPO type. 1, 2, 3, 4, 5 or 6; 0 = not allowed. ADAPTER_TYPE PROFIBUS module type: FPBA-01 PROFIBUS DP module connected in the drive.
  • Page 61: Setting The Drive In Standby Mode

    RUNNING BOOL FALSE = Drive is not running, TRUE = Drive is running and following the speed reference value. FAULT BOOL FALSE = No drive fault active, TRUE = Drive fault active. WARN BOOL FALSE = No drive warning active, TRUE = Drive warning active. EXT_RUN_ENABLE BOOL FALSE = No external run enable signal received in the drive, TRUE =...
  • Page 62: Setting The Drive In Run Mode

    Setting the drive in run mode Set the drive to the standby mode, COAST_STOP = FALSE and START = TRUE to start the drive. Set the desired reference value and the drive accelerates according to used acceleration ramp time to the set reference value.
  • Page 63: Downloading A Program And Setting Plc In Run Mode

    Downloading a program and setting PLC in run mode 1. Open the block view in SIMATIC Manager. 2. Select all blocks and choose Download from the PLC menu. Figure 36 Downloading PLC 3. Set the physical dip switch of the PLC in position RUN. 4.
  • Page 64: Vat Table

    VAT table To get an overview of your connected parameters, create a Variable Table. 1. In the SIMATIC Manager Blocks view, choose Insert New Object and click Variable Table. Figure 39 Variable table 2. In the Properties – Variable Table window, give the table a suitable name and click OK. Figure 40 Properties - Variable table 3.
  • Page 65: Fc501 Acs_Drive_Pzd (Optional)

    FC501 ACS_DRIVE_PZD (optional) FC501 is used to send additional process data between the PLC and the drive. Insert a new Empty Box to your program and name FC501 (FC501 ACS_DRIVE_PZD is included in the ABB drives library ABB_DRIVE_LIB). Figure 42 PLC logic - FC501 Depending on actual PPO type, a certain number of data words (PZDs) are exchanged.
  • Page 66: Block Variable And Data Types For Fc501

    Block variable and data types for FC501 Block variable Data type Comment PZD3_OUT Write PZD3 value to the drive PZD4_OUT Write PZD4 value to the drive PZD5_OUT Write PZD5 value to the drive PZD6_OUT Write PZD6 value to the drive PZD7_OUT Write PZD7 value to the drive PZD8_OUT...
  • Page 67 In the example below, the Instance Data Block of FB500 ABB_DRIVE_CONTROL_FB has been named DRIVE1 and an ACS800 with RPBA-01 PROFIBUS module has been used. Figure 43 Data blocks of FB500 If you need to scale Process Data values, set the scaling values in the program before calling the FC501 ACS_DRIVE_PZD block.
  • Page 68: Scalable Variables And Data Types

    Scalable variables and data types Scalable Data type Variable to which the scaling value is entered variable “DRIVE1”.INTERNAL_PZD.SCALE.PZD2_SCALE PZD2 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD3_SCALE PZD3 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD4_SCALE PZD4 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD5_SCALE PZD5 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD6_SCALE PZD6 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD7_SCALE PZD7 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD8_SCALE PZD8 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD9_SCALE PZD9 REAL “DRIVE1”.INTERNAL_PZD.SCALE.PZD10_SCALE PZD10...
  • Page 69: Fc500 Acs_Drive_Para (Optional)

    FC500 ACS_DRIVE_PARA (optional) FC500 is used to read/write extra parameters between the PLC and the drive. Insert a new Empty Box to your program and name it FC500 (FC500 ACS_DRIVE_PARA is included in the ABB drives library ABB_DRIVE_LIB). Figure 46 PLC logic - FC500 Connect the FC500 block inputs and outputs.
  • Page 70 BUSY BOOL FALSE=No operation active, TRUE=Operation active. PARAM_NUM_OUT DINT Handled parameter number: 3 numbers = group, 2 numbers = index; for example, Par 20.06 = 2006. VALUE_OUT DINT Read parameter value. In the example below, the Instance Data Block of FB500 ABB_DRIVE_CONTROL_FB is named as DRIVE1 and an ACS800 with RPBA-01 PROFIBUS module has been used.
  • Page 71: Tia Portal

    TIA portal Contents of this chapter This chapter provides the examples for configuring S7-300 and S7-1200 series PLC. You can configure S7-300, S7-400, S7-1200 and S7-1500 series PLC using TIA portal. Configuring PC IP address To configure PC IP address, follow these steps: Navigate to Control Panel →...
  • Page 72 2. In the Properties window, select the required Internet Protocol Version (for example, Internet Protocol Version 4) and click Properties. Figure 49 Internet protocol 3. Assign the required IP address and click OK. Figure 50 Assign IP address...
  • Page 73: Configuring S7-300 Plc

    Configuring S7-300 PLC To configure TIA Portal with the PLC and ABB Drive libraries, follow these steps: 1. Launch TIA Portal V11. Click Create new project, enter the project name and path and then click Create. Figure 51 New project In the Start options, click Configure a device.
  • Page 74 Select Add new device in the left pane and select the required PLC and then click Add. Figure 53 Adding new device New PLC is added to hardware configuration. device Figure 54 PLC device...
  • Page 75 In the Device view, select PLC_1 (PROFINET interface). In the General tab, select Ethernet addresses and click Add new subnet to add the subnet and then set IP Address in the IP protocol. Figure 55 Assign IP...
  • Page 76 A new subnet and IP protocol is added. Figure 56 IP added...
  • Page 77 6. In the Device view, select PLC_1 (MPI/DP interface) which is highlighted. Figure 57 Selecting MPI DP 7. In the General tab, select MPI address and in the Parameters Interface type drop-down list, select PROFIBUS as interface to assign PROFIBUS address. Figure 58 MPI PROFIBUS address change...
  • Page 78 8. In the PROFIBUS address option, click Add new subnet to add the interface network. Figure 59 Adding new PROFIBUS subnet 9. After configuring PROFINET and PROFIBUS interfaces in TIA portal, click Network view to view the PLC connections. Figure 60 PLC connections...
  • Page 79: Installing Gsd And Gsdml File For S7-300 Plc

    Installing GSD and GSDML file for S7-300 PLC In the TIA portal main menu, click Options and then click Install general station description files (GSD). Figure 61 Installing general station description file 2. Browse and select the required GSD files for PROFIBUS or GSDML files for PROFINET and click Install.
  • Page 80 After GSD file is installed, system prompts to close TIA portal, click Close TIA Portal. Figure 64 Restart TIA portal...
  • Page 81: Plc Libraries For S7-300

    1. Launch TIA portal and click Open the project view in the Start options. Note: After installing GSD files, ABB drives are added to the hardware catalog of TIA portal. 2. In the Project tree pane, double-click Device & networks.
  • Page 82 5. Select the ABB drive (Slave_1) and click Device view to configure PROFIBUS address. Figure 68 Configure address 6. In the Hardware catalog pane, double-click the required PPO type. The selected PPO type is displayed in the Device overview. Figure 69 PPO type added 7.
  • Page 83 The selected PLC is assigned to the ABB drive. Figure 71 PLC assigned 8. In the Project tree pane, select PLC_1 and then click to compile. Figure 72 Compile Note: Before downloading the configuration to PLC, check the PC IP address. For more...
  • Page 84 9. Click to download the configuration to PLC. Figure 73 Download to device...
  • Page 85: Adding Abb Drives To Profinet

    Adding ABB drives to PROFINET Note: After installing GSDML files, ABB drives are added to the hardware catalog of TIA portal. 1. Select Network view, and then from the hardware catalog pane, drag and drop the required ABB Drive to the PLC PROFINET network.
  • Page 86  In the General tab, click General to add the device name. Figure 76 Configuring device name  In the PROFINET interface [X1], click Ethernet address to add Subnet and IP address. Figure 77 Ethernet address...
  • Page 87 4. In the Hardware catalog pane, double-click the required PPO type. The selected PPO type is displayed in the Device overview. Figure 78 PPO type 5. In the Network view, click Not assigned and select PLC_1.PROFINET interface_1 to assign PLC to the ABB drive. Figure 79 Assigning PLC PROFINET...
  • Page 88 The selected PLC is assigned to the ABB drive. Figure 80 PLC 6. In the Project tree pane, select PLC_1 and then click Save project and click to compile.
  • Page 89: Downloading Configuration To Plc

    Downloading configuration to PLC 1. Click to download the configuration to PLC. 2. In the Extended download to device window, select PG/PC interface and Connection to subnet from the drop-down list and click Load. Figure 81 Extended download to device The Load preview window is displayed with the PLC ready for loading.
  • Page 90: Copying Abb Drive Libraries To S7-300 Project

    2. Select the required ABB drive library in the file system and click OK. Figure 85 File system After selecting ABB drive library, on the right side of the TIA portal window, the application displays Libraries pane with the selected library.
  • Page 91 4. In the Project tree pane, right-click Program blocks and click Paste. Figure 87 Program blocks ABB drive libraries are copied to PLC. Figure 88 Copied libraries to PLC Similarly, you can copy other ABB drive libraries and paste it in the Program blocks.
  • Page 92 5. In the Libraries pane, expand ABB_Drives_Global_Library → Master copies and right-click DRIVE (data types) and click Copy. Figure 89 Drive 6. In the Project tree pane, right-click PLC data types and click Paste. Figure 90 Data types...
  • Page 93: Adding Plc Tags To S7-300

    Adding PLC tags to S7-300 1. In the Project tree pane, expand PLC tags and double-click Add new tag table to create symbols. Figure 91 New tag table 2. Add tag Name, Data type and Address to connect block inputs and outputs. Figure 92 PLC tags For information on Data types of tags, see sections Block variables and data types...
  • Page 94: Fb500 Abb_Drive_Control_Fb

    FB500 ABB_DRIVE_CONTROL_FB FB500 is used to control the drive (start, stop, reset, emergency stop, speed reference, etc.). Note: The following description is an example, there are different ways to use the Control function block. 1. In the Program blocks, double-click Main [OB1] and create memory bits for Logic true and Logic false.
  • Page 95 4. Create a unique Data block for the control of the drive by enabling Manual option and by selecting the Number. Figure 96 FB500 DB1 Drive status and more will be stored in this Data block. Since it is a new Data block, you have to generate it by clicking OK in the Call options window.
  • Page 96: Adding Watch And Force Tables

    6. Click Save to save to the project. Figure 98 Save project Adding watch and force tables 1. In the Project tree, expand Watch and force tables and double-click Add new watch table and provide a suitable name and click OK. Figure 99 Watch and force tables 2.
  • Page 97: Fc501 Acs_Drive_Pzd

    FC501 ACS_DRIVE_PZD FC501 is used to send additional process data between the PLC and the drive. Depending on actual PPO type, a certain number of data words (PZDs) are exchanged. PPO types 1 and 3 have only 2 PZDs in each direction, so FC501 (ACS_DRIVE_PZD) is not useful for those types. PPO types 2 and 4 have 6 PZDs in each direction, so a part of FC501 (PZD3 to PZD6) is useful here.
  • Page 98 If you want to scale Process Data values, set the scaling values in the program before calling FC501 ACS_DRIVE_PZD block. See example below where PZD3 is scaled with the value 100. Figure 103 Scaling process data values For more information on mapping fieldbus process data parameters of the drive according to the application, see section Scalable variables and data types (page...
  • Page 99: Fc500 Acs_Drive_Para

    1. Right-click in the next free network and choose Insert empty box. 2. Write FC500 in the block field to create an instance of FC500 (FC500 ACS_DRIVE_PARA is included in the ABB library ABB_DRIVE_LIB). Figure 104 FC500 3. Connect the FC500 block inputs and outputs. All block inputs and outputs need to be connected.
  • Page 100 4. In the Project tree, right-click PLC_1 (CPU) and select Properties for executing read/write parameter value (0 → 1 (executed on positive edge). Figure 106 Clock memory properties...
  • Page 101 5. In the PLC_1 (CPU) window, click Clock memory and enable Clock memory, assign memory address (example, 600) and click OK. Figure 107 Clock memory...
  • Page 102: Error Codes For Fb500 And Fc500

    Error codes for FB500 and FC500 DP-V0 error table Task cannot be executed, you can follow by error number. Error no. Description Illegal parameter number Parameter value cannot be changed Lower or upper limit violated Erroneous subindex No array Incorrect data type Setting not allowed (can only be reset) Descriptive element cannot be changed Descriptive data not available...
  • Page 103 Cannot change mode to TORQUE (frequency is used) Internal buffer overflow Internal communication error DP-V1 error table Error no. Meaning Used at Impermissible parameter number Access to unavailable parameter Parameter value cannot be changed Change access to a parameter value that cannot be changed Low or high limit exceeded.
  • Page 104 Parameter address impermissible Illegal value or value that is not supported for the attribute, number of elements, parameter number or sub-index, or a combination Illegal format Write request: Illegal format or format of parameter data that is not supported. Number of values inconsistent Write request: Number of values of parameter data does not match number of elements at the parameter address.
  • Page 105: Configuring S7-1200 And S7-1500 Plc

    Configuring S7-1200 and S7-1500 PLC In the following example, S7-1200 PLC is configured. Similarly, you can configure S7-1500 PLC. To configure TIA Portal with the PLC and ABB Drive libraries, follow these steps: 1. To configure S7-1200 PLC, follow steps 1…3 in Configuring S7-300 PLC.
  • Page 106 3. Select the required slot in the rack and drag-and-drop the PROFIBUS module from the Hardware catalog to the slot. Figure 110 PROFIBUS configuration PROFIBUS module is added to the slot. Figure 111 PROFIBUS module...
  • Page 107 Note: The user can select the desired version of the PROFIBUS module in the information pane. Figure 112 PROFIBUS module version info In the Device view, select PLC_1 (PROFINET interface) and in the General tab, select Ethernet addresses and click Add new subnet to add the subnet and then set IP Address in the IP protocol.
  • Page 108: Installing Gsd File For S7-1200 Plc

    5. In the Device view, select PLC_1 (DP interface). I n the General tab, select PROFIBUS ssign PROFIBUS address. address and click Add new subnet to add the subnet and then a Figure 114 DP interface 6. After configuring PROFINET and PROFIBUS interfaces in TIA portal, click Network view to view the PLC connections.
  • Page 109: Plc Libraries For S7-1200

    1. Launch TIA portal and click Open the project view in the Start options. Note: After installing GSD files, ABB drives are added to the hardware catalog of TIA portal. 2. In the Project tree pane, double-click Device & networks.
  • Page 110 5. Double-click on the required PPO type in the catalog to add in the Device overview. Figure 119 PPO type 6. Click Slave_1 and in the General tab, select PROFIBUS address and select the already configured PROFIBUS interface and then set PROFIBUS address for slave. Figure 120 PROFIBUS address 7.
  • Page 111 8. In the ABB drive, click Not assigned and select PLC_1.CM 1243-5.DP interface to assign PLC to the ABB drive. Figure 122 Assign PLC to ABB drive The selected PLC is assigned to the ABB drive. Figure 123 PLC assigned to ABB drive 9.
  • Page 112: Adding Abb Drives To Profinet

    1. Follow steps 1 and 2 of Adding ABB drives to PROFIBUS DP line. 2. From the hardware catalog pane, drag and drop the required PROFINET ABB Drive to the PLC. Figure 125 FENA drive 3. In the ABB drive, connect PLC to the PROFINET interface.
  • Page 113 4. Select the ABB drive (FENA) and click Device view to configure PROFNET IP address and device name.  In the General tab, click General to add the device name. Figure 127 Device name  In the PROFINET interface [X1], click Ethernet address to add Subnet and IP address.
  • Page 114 5. In the Hardware catalog pane, double-click the required PPO type. The selected PPO type is displayed in the Device overview. Figure 129 PPO type 6. In the Network view, click Not assigned and select PLC_1.PROFINET interface_1 to assign PLC to the ABB drive. Figure 130 PROFINET interface...
  • Page 115 The selected PLC is assigned to the ABB drive. Figure 131 PROFINET module 7. In the Project tree pane, select PLC_1 and then click Save project and click to compile.
  • Page 116: Downloading Configuration To S7-1200 Plc

    Downloading configuration to S7-1200 PLC 1. Click to download the configuration to PLC. Figure 132 Download 2. From the Extended download to device window, select PG/PC interface and Connection to subnet from the drop-down list and click Load. Figure 133 Load...
  • Page 117 3. Select the required PLC device and click Load. Figure 134 Load preview 4. In the Load results window, select Start all and click Finish. Figure 135 Load results...
  • Page 118: Copying Abb Drive Libraries To S7-1200 Project

    Prerequisites: Check for the ABB Drive libraries available in the user PC. → → 1. In the TIA portal main menu, navigate to Options Global libraries Open library. Figure 136 Global libraries 2. Select the required ABB Drive library in the file system and click Open. Figure 137 File system...
  • Page 119 After selecting ABB drive libraries, a Libraries pane is displayed with the selected libraries at the right side of the TIA portal window. Figure 138 Global libraries pane Following are the libraries available for S7-1200 series:  ABB_DRIVE_CONTROL_FB (FB500) ...
  • Page 120 4. In the Project tree pane, right-click Program blocks and click Paste. Figure 140 Program blocks Similarly, you can copy other ABB drive libraries and paste it in Program blocks. Figure 141 ABB drive libraries 5. In the Libraries pane, expand ABB_Drives_TIA_Global_Library → Master copies and right- click DRIVE (data types) and click Copy.
  • Page 121 6. In the Project tree pane, right-click PLC data types and click Paste. Figure 143 PLC data types Note: After copying the libraries, right-click and click Close library in the global libraries pane. Figure 144 Closing library...
  • Page 122: Adding Plc Tags To S7-1200

    Adding PLC tags to S7-1200 1. In the Project tree pane, expand PLC tags and double-click Add new tag table to create symbols. Figure 145 New tags table for S7-1200 2. Add tag Name, Data type and Address to connect block inputs and outputs. Figure 146 Symbols For information on Data types of tags, see sections Block variables and data types for FB500...
  • Page 123: Fb500 Abb_Drive_Control_Fb

    FB500 ABB_DRIVE_CONTROL_FB FB500 is used to control the drive (start, stop, reset, emergency stop, speed reference, etc.). Note: The following description is an example, there are different ways to use the Control function block. 1. In the Program blocks, double-click Main [OB1] and create memory bits for logic True and logic False.
  • Page 124 3. Write FB500 in the block field to create an instance of FB500. Figure 149 Instance of FB500 4. Create a unique Data block for the control of the drive by enabling Manual option and by selecting the Number. Figure 150 FB500 DB1 Drive status, inputs and outputs of the function block are stored in this Data block.
  • Page 125: Block Variables And Data Types For Fb500

    Block variables and data types for FB500 Block variable Data type Comment BOOL Enabling block. FALSE = block code is not executed. TRUE or unconnected = block code is executed. PPO_TYPE The PPO type. 1, 2, 3, 4, 5 or 6; 0 = not allowed. ADAPTER_TYPE PROFIBUS module type: FPBA-01 PROFIBUS DP module connected in the drive.
  • Page 126 RESET BOOL FALSE = No operation, TRUE = Reset drive fault. After fault reset, a new rising edge of START is needed before next start. DONE BOOL FALSE = Block execution not finished, TRUE = Block execution finished. BOOL FALSE = No error, TRUE = Error occurred during block execution. ERNO Error code when ERR=TRUE, see SIMATIC online help for SFC14 or SFC15.
  • Page 127 Example 1: The Instance Data Block of FB500 ABB_DRIVE_CONTROL_FB has been named ABB_DRIVE_CONTROL_FB_DB_1 and an ACS355 with FPBA-01 PROFIBUS module in DP-V0 mode has been used. Figure 151 Example FPBA-01...
  • Page 128 Example 2: The Instance Data Block of FB500 ABB_DRIVE_CONTROL_FB has been named ABB_DRIVE_CONTROL_FB_DB and an ACS880 with FENA-11 PRONET module has been used. Figure 152 Example FENA-11 6. Click Save to save to the project. Figure 153 Save project After saving and compiling, download the program to a PLC. To set the drive in standby mode and run mode, see sections Setting the drive in standby mode (page...
  • Page 129: Fb501 Acs_Drive_Para

    1. Right-click in the next free network and choose Insert empty box. 2. Write FB501 in the block field to create an instance of FB501 (FC500 ACS_DRIVE_PARA is included in the ABB library ABB_DRIVE_LIB). Figure 154 FB501 3. Create a unique Data block by enabling Manual option and by selecting the Number.
  • Page 130: Block Variables And Data Types For Fb501

    Block variables and data types for FB501 Block variable Data type Comment ADR_IN HW_IO Hardware ID of the module from which the data is to be read. The hardware ID can be found in the properties of the module in the device view or system constants (PLC tags →...
  • Page 131 To configure ADR_IN and ADR_OUT inputs in DP-V0, user has to provide the hardware ID of the PPO type which is configured. Figure 156 ADR_IN input in DP-V0 Figure 157 System constants For further information, see the examples below.
  • Page 132 Example 1: The Instance Data Block of FB500 ABB_DRIVE_CONTROL_FB has been named ABB_DRIVE_CONTROL_FB_DB_1 and instance data block of FB501 ACS_DRIVE_PARA has been named ACS_DRIVE_PARA_DB_1 and ACS355 with FPBA-01 PROFIBUS module in DP-V0 mode has been used. Figure 158 Example FB501 DP-V0 Figure 159 Example FB501 DP-V0...
  • Page 133 Example 2: The Instance Data Block of FB500 ABB_DRIVE_CONTROL_FB has been named ABB_DRIVE_CONTROL_FB_DB and instance data block of FB501 has been named ACS_DRIVE_PARA_DB and ACS355 with FENA-11 PROFINET module has been used. Figure 160 FB501 PROFINET Note: Using one instance of this block, you can either read or write a single parameter from or to the drive.
  • Page 134 6. In the PLC_1 (CPU) window, click System and clock memory and enable Enable the use of clock memory byte, assign memory address (example, 600) and click OK. Figure 162 Clock memory After saving and compiling, download the program to a PLC.
  • Page 135: Fb502 Acs_Drive_Pzd

    FB502 ACS_DRIVE_PZD FB502 is used to send additional process data between the PLC and the drive. Depending on actual PPO type, a certain number of data words (PZDs) are exchanged. PPO types 1 and 3 have only 2 PZDs in each direction, so FB502 (ACS_DRIVE_PZD) is not useful for those types. PPO types 2 and 4 have 6 PZDs in each direction, so a part of FB502 (PZD3 to PZD6) is useful here.
  • Page 136: Block Variables And Data Types For Fb502

    Block variables and data types for FB502 Block variable Data type Comment PZD3_OUT Write PZD3 value to the drive PZD4_OUT Write PZD4 value to the drive PZD5_OUT Write PZD5 value to the drive PZD6_OUT Write PZD6 value to the drive PZD7_OUT Write PZD7 value to the drive PZD8_OUT...
  • Page 137 In the example below, the Instance Data block of FB500 ABB_DRIVE_CONTROL_FB has been named ABB_DRIVE_CONTROL_FB_DB_1 and instance Data block of FB502 has been named ACS_DRIVE_PZD_DB_1 and ACS355 with FPBA-01 PROFIBUS module is been used. Figure 165 Example FB502 If you want to scale Process Data values, set the scaling values in the program before calling FB502 ACS_DRIVE_PZD block.
  • Page 138: Further Information

    Product and service inquiries Address any inquiries about the product to your local ABB representative, quoting the type designation and serial number of the unit in question. A listing of ABB sales, support and service contacts can be found by navigating to www.abb.com/searchchannels.
  • Page 139 Contact us www.abb.com/drives www.abb.com/drivespartners 3AXD50000037864 Rev B (EN) 2018-02-07...

Table of Contents