background image

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.  Open Watch table and add your required variables (for example, FB500 variables). It is possible 

to copy directly from the PLC tags. 

 

Figure 100 Watch table FB500 

3.  Click 

 to display the online values. 

4.  Click 

 to update modified values.  

 

Summary of Contents for ACS355 series

Page 1: ...Quick start up guide ABB Drives function blocks for Siemens PLC s...

Page 2: ...irmware manual 3AFE68848270 ACS550 01 Drives User s manual 3AUA0000001418 ACS800 Standard Control Program Firmware Manual 3AFE64527592 Option manuals and guides FPBA 01 PROFIBUS DP adapter module User...

Page 3: ...3 Quick start up guide ABB Drives function blocks for Siemens PLC s 3AXD50000037864 Rev B EN EFFECTIVE 2018 02 07 2018 ABB Oy All Rights Reserved...

Page 4: ...55 More parameters read from drive to PLC optional 15 ACS355 More parameters written from PLC to drive optional 16 Configuring ACS380 drives 16 Starting ACS380 drives for PROFIBUS DP 16 ACS380 Minimum...

Page 5: ...US DP 32 Starting ACS850 drives for PROFINET 32 ACS850 Minimum required parameter settings for PROFINET 33 ACS850 More parameters read from drive to PLC 34 ACS850 More parameters written from PLC to d...

Page 6: ...variables and data types for FC500 69 TIA portal 71 Contents of this chapter 71 Configuring PC IP address 71 Configuring S7 300 PLC 73 Installing GSD and GSDML file for S7 300 PLC 79 PLC libraries for...

Page 7: ...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...

Page 8: ...g libraries Libraries Supported PCL series ABB supported Drives SIMATIC Manager version 5 5 or later ABB_Drives_SIMACTIC_Library_3xx _4xx_PLC_V1 2 S7 300 S7 400 ACS800 ACSM1 ACS350 ACS355 ACS550 ACS85...

Page 9: ...programs while the drive is running to avoid damages to the drive Purpose of the manual This manual gives basic instructions to configure drive functional blocks with external PLCs The guide contains...

Page 10: ...C Manager provides the examples to configure S7 300 series PLC TIA portal provides the examples to configure S7 300 and S7 1200 series PLC Related documents A list of related manuals is printed on the...

Page 11: ...easures encryption of data installation of anti virus programs etc to protect the product the network its system and the interface against any kind of security breaches unauthorized access interferenc...

Page 12: ...l DriveWindow Light for ACS355 and ACS550 DriveStudio for ACS850 and ACSM1 Drive Composer for ACS380 ACS580 and ACS880 and DriveWindow for ACS800 Note All parameter settings are based on drive default...

Page 13: ...in parameters 55 01 and 55 02 7 Validate the settings made in parameter groups 51 54 and 55 by setting parameter 51 27 FBA PAR REFRESH to REFRESH 8 Set the relevant drive control parameters to control...

Page 14: ...s to a fieldbus communication break with parameter 30 18 COMM FAULT FUNC 5 Define the time between communication break detection and the selected action with parameter 30 19 COMM FAULT TIME 6 Define t...

Page 15: ...fieldbus settings groups 51 to 55 10 01 EXT1 COMMANDS COMM Fieldbus interface as a source for start and stop 11 03 REF1 SELECT COMM Fieldbus interface as a source for speed reference 16 04 FAULT RESE...

Page 16: ...03 FBA A comm loss t out define the time between communication break detection and the selected action 5 Select application specific values for the rest of the parameters in group 50 starting from 50...

Page 17: ...from the drive 53 02 FBA data out2 Ref1 16bit 2 Speed reference as Data Word 2 to the drive 51 27 FBA par refresh Configure Updates fieldbus settings groups 50 to 57 20 01 Ext 1 commands Fieldbus A Fi...

Page 18: ...ote The adapter module sets the Status word and Control word automatically in parameters 52 01 FBA A data in1 and 53 01 FBA data out1 8 Validate the settings made in parameter groups 51 52 and 53 by s...

Page 19: ...rameter max speed frequency ACS380 More parameters read from drive to PLC optional Parameter Description Setting Comment 52 03 52 12 Actual value or parameter of drive GGii GG parameter group ii param...

Page 20: ...settings made in parameter group 51 by setting parameter 51 27 FBA PAR REFRESH to REFRESH 8 Set the relevant drive control parameters to control the drive according to the application ACS550 Minimum r...

Page 21: ...group 51 Note The Status Word Actual Speed Control Word and Speed Reference are fixed in ACS550 and not necessary to set 7 Validate the settings made in parameter groups 51 54 and 55 by setting param...

Page 22: ...to be read from drive to PLC optional Parameter Description Setting Comment 51 06 51 08 51 20 Actual value or parameter of drive GGii GG parameter group ii parameter index Example 0104 actual current...

Page 23: ...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 No...

Page 24: ...from the drive 53 02 FBA data out2 Ref1 16bit 2 Speed reference as Data Word 2 to the drive 51 27 FBA par refresh Configure Updates fieldbus settings groups 50 to 57 20 01 Ext 1 commands Fieldbus A F...

Page 25: ...oup 50 starting from 50 04 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 S...

Page 26: ...k 255 255 255 0 51 27 FBA PAR REFRESH REFRESH Updates fieldbus settings groups 51 to 55 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 Spee...

Page 27: ...ve 2 Enable the communication between the adapter module and the drive by setting parameter 98 02 COMM MODULE LINK to FIELDBUS 3 Set the RPBA 01 configuration parameters in group 51 At the minimum set...

Page 28: ...the drive 51 21 DP MODE DP MODE 1 for DPV1 0 for DPV0 51 27 FBA PAR REFRESH REFRESH Updates fieldbus settings groups 51 to 55 10 01 EXT 1 STRT STP DIR COMM CW Fieldbus interface as source for start an...

Page 29: ...ubnet CDR as 24 4 With parameter 30 18 COMM FLT FUNC select how the drive reacts to a fieldbus communication break 5 With parameter 30 19 MAIN REF DS T OUT define the time between communication break...

Page 30: ...tatic 0 51 05 51 08 IP address 192 xxx xx xx or any other required IP address 51 09 Subnet CDR 24 24 For subnet mask 255 255 255 0 51 27 FBA PAR REFRESH REFRESH Updates fieldbus settings groups 51 to...

Page 31: ...k with parameter 50 02 Comm loss func Note This function monitors both communication between the fieldbus master and the adapter module and communication between the adapter module and the drive 4 Wit...

Page 32: ...ameter 50 02 Comm loss func Note This function monitors both communication between the fieldbus master and the adapter module and communication between the adapter module and the drive 4 With paramete...

Page 33: ...s 192 xxx xx xx or any other required IP address 51 09 Subnet CDR 24 24 For subnet mask 255 255 255 0 51 27 FBA PAR REFRESH REFRESH Updates fieldbus settings groups 51 to 55 10 01 Ext1 start func FB F...

Page 34: ...ction monitors both communication between the fieldbus master and the adapter module and communication between the adapter module and the drive 4 Define the time between communication break detection...

Page 35: ...from the drive 53 02 FBA data out2 Ref1 16bit 2 Speed reference as Data Word 2 to the drive 51 27 FBA par refresh Configure Updates fieldbus settings groups 50 to 57 20 01 Ext 1 commands Fieldbus A Fi...

Page 36: ...oup 50 starting from 50 04 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 configurati...

Page 37: ...ps 51 to 55 20 01 Ext 1 commands Fieldbus A Fieldbus interface as source for start and stop 22 11 Speed ref1 selection FB A ref1 Fieldbus interface as source for speed reference 31 11 Fault reset sele...

Page 38: ...adapter module and communication between the adapter module and the drive 4 With parameter 50 03 COMM LOSS T OUT define the time between communication break detection and the selected action 5 Select...

Page 39: ...a Word 2 from the drive 53 01 FBA DATA OUT1 1 Control word as Data Word 1 to the drive 53 02 FBA DATA OUT2 2 Speed reference as Data Word 2 to the drive 51 27 FBA PAR REFRESH REFRESH Updates fieldbus...

Page 40: ...ication specific values for parameters 50 04 50 11 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...

Page 41: ...Updates fieldbus settings groups 51 to 55 52 01 FBA DATA IN1 4 Status word as Data Word 1 from the drive 52 02 FBA DATA IN2 5 Actual speed as Data Word 2 from the drive 53 01 FBA DATA OUT1 1 Control...

Page 42: ...mple 0104 actual current 0117 motor temp 51 27 FBA PAR REFRESH REFRESH Updates fieldbus settings groups 50 to 53 ACSM1 More parameters written from PLC to drive optional Parameter Description Setting...

Page 43: ...43 SIMATIC Manager Contents of this chapter This chapter provides the examples for configuring S7 300 series PLC using SIMATIC Manager 3...

Page 44: ...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 See example below Windows 7 environment...

Page 45: ...Starting a new project 1 In the main menu navigate to File New to start a new project 2 Give name and location to the project Figure 3 New project 3 Right click on the project and navigate to Insert N...

Page 46: ...ding 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 ty...

Page 47: ...k 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 Otherwise...

Page 48: ...s 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 unti...

Page 49: ...PROFIBUS DP V0 ABB10959 gsd for FPBA 01 PROFIBUS DP V1 used in this example ABB_0812 gsd for RPBA 01 PROFIBUS DP V0 ABB10812 gsd for RPBA 01 PROFIBUS DP V1 GSDML V2 31 ABB FENA 20150120 xml for PROFIN...

Page 50: ...ent 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 10 PZD are not supported by ABB_DRIVE_LIB Note If you are...

Page 51: ...ral 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 Obje...

Page 52: ...rary 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 In the Properties window add Device name...

Page 53: ...ly 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 Chang...

Page 54: ...igate 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...

Page 55: ...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...

Page 56: ...in menu navigate to File Retrieve 2 Browse your zipped library file Figure 24 Retrieve library 3 Click Open and then choose a suitable folder to place the library and click OK Figure 25 Library locati...

Page 57: ...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 cre...

Page 58: ...ifferent ways to use the control function block 1 Open OB1 the default Start Main block in Siemens CPUs 2 Create memory bits for Logic TRUE and Logic FALSE The created memory bits are used later in th...

Page 59: ...new Data Block you have to generate it by clicking Yes in the following pop up window Figure 31 DB101 data blocks Note If you add more drives to the program make sure to create new unique Data blocks...

Page 60: ...STOP or after fault reset a new rising edge of START is needed before next start Drive start via fieldbus requires parameter setting in the drive EMCY_STOP BOOL FALSE Emergency stop according to emer...

Page 61: ...de EXT_CTRL_LOC2 BOOL Actual control place FALSE EXT1 TRUE EXT2 ACT_SPEED INT Drive actual speed 20000 to 20000 See chapter Drive configuration for scaling MSW WORD Drive main status word See actual f...

Page 62: ...he drive Set the desired reference value and the drive accelerates according to used acceleration ramp time to the set reference value When START is set to FALSE a restart is possible when the actual...

Page 63: ...from the PLC menu Figure 36 Downloading PLC 3 Set the physical dip switch of the PLC in position RUN 4 In the main menu navigate to PLC Operating Mode Figure 37 Operating mode 5 In the Operating Mode...

Page 64: ...9 Variable table 2 In the Properties Variable Table window give the table a suitable name and click OK Figure 40 Properties Variable table 3 Open the variable table and add your preferred variables it...

Page 65: ...ng 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...

Page 66: ...d PZD4 value from the drive the default scaling value is 1 no Scaling PZD5_SCALED REAL Read PZD5 value from the drive the default scaling value is 1 no Scaling PZD6_SCALED REAL Read PZD6 value from th...

Page 67: ...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_P...

Page 68: ...DRIVE1 INTERNAL_PZD SCALE PZD7_SCALE PZD8 REAL DRIVE1 INTERNAL_PZD SCALE PZD8_SCALE PZD9 REAL DRIVE1 INTERNAL_PZD SCALE PZD9_SCALE PZD10 REAL DRIVE1 INTERNAL_PZD SCALE PZD10_SCALE Map the fieldbus pro...

Page 69: ...output or 0 zero for DP V1 or PROFINET READ BOOL Read the parameter value 0 1 executed on positive edge WRITE BOOL Write the parameter value 0 1 executed on positive edge PARAM_NUM DINT Read written...

Page 70: ...ABB_DRIVE_CONTROL_FB is named as DRIVE1 and an ACS800 with RPBA 01 PROFIBUS module has been used Note The FB500 ABB_DRIVE_CONTROL_FB DPV_MODE variable defines the used protocol You must set this vari...

Page 71: ...LC 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 Network and Sharing...

Page 72: ...s 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...

Page 73: ...the PLC and ABB Drive libraries follow these steps 1 Launch TIA Portal V11 2 Click Create new project enter the project name and path and then click Create Figure 51 New project 3 In the Start option...

Page 74: ...4 Select Add new device in the left pane and select the required PLC and then click Add Figure 53 Adding new device New PLC device is added to hardware configuration Figure 54 PLC device...

Page 75: ...5 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...

Page 76: ...A new subnet and IP protocol is added Figure 56 IP added...

Page 77: ...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 ad...

Page 78: ...on 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 connecti...

Page 79: ...eral 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 Figure 62...

Page 80: ...After GSD file is installed system prompts to close TIA portal click Close TIA Portal Figure 64 Restart TIA portal...

Page 81: ...installing GSD files ABB drives are added to the hardware catalog of TIA portal 2 In the Project tree pane double click Device networks Figure 65 Devices and network 3 From the hardware catalog pane...

Page 82: ...nfigure 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 In the Network view click Not ass...

Page 83: ...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 informatio...

Page 84: ...9 Click to download the configuration to PLC Figure 73 Download to device...

Page 85: ...lect Network view and then from the hardware catalog pane drag and drop the required ABB Drive to the PLC PROFINET network Figure 74 PLC PROFINET 2 In the ABB drive connect PLC to the PROFINET interfa...

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: ...ck 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 th...

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: ...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 3 Select the requir...

Page 90: ...rary Figure 84 Global library 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...

Page 91: ...ne 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 past...

Page 92: ...aries 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 9...

Page 93: ...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...

Page 94: ...e 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 Figure 93 Logic TRUE FALSE 2 Right click in the n...

Page 95: ...generate it by clicking OK in the Call options window Note If you add more drives to the program make sure to create new unique Data blocks 5 Connect the block inputs and outputs to variables accordi...

Page 96: ...and double click Add new watch table and provide a suitable name and click OK Figure 99 Watch and force tables 2 Open Watch table and add your required variables for example FB500 variables It is pos...

Page 97: ...direction so the full range of FC501 is useful for those types 1 Right click in the next free network and choose Insert empty box 2 Write FC501 in the block field to create an instance of FC501 Figur...

Page 98: ...ling 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...

Page 99: ...All block inputs and outputs need to be connected For more information on block variables and data types see section Block variables and data types for FC500 page 69 In the example below the Instance...

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: ...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: ...eter changes rights 15 Text array not available 17 Task cannot be executed due to operating status e g parameter is currently read only 18 Other error 101 Vendor specific error 102 Request not support...

Page 103: ...set Change access with value unequal to 0 when this is not permitted 07h Description element cannot be changed Change access to a description element that cannot be changed 09h No description data ava...

Page 104: ...error Request cannot be completed because of communication error 6Eh Non volatile error Failure during write to non volatile memory 6Fh Time out error Request aborted because of timeout 78h PZD map fa...

Page 105: ...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 2 Select Add new device in the left pane and select the requir...

Page 106: ...ct 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...

Page 107: ...e information pane Figure 112 PROFIBUS module version info 4 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 sub...

Page 108: ...t and then assign PROFIBUS address Figure 114 DP interface 6 After configuring PROFINET and PROFIBUS interfaces in TIA portal click Network view to view the PLC connections Figure 115 PROFIBUS and PRO...

Page 109: ...drives are added to the hardware catalog of TIA portal 2 In the Project tree pane double click Device networks Figure 116 Devices and network for S7 1200 3 From the hardware catalog pane drag and dro...

Page 110: ...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 add...

Page 111: ...gn PLC to ABB drive The selected PLC is assigned to the ABB drive Figure 123 PLC assigned to ABB drive 9 In the Project tree pane select PLC_1 and then click to compile Figure 124 Compile Note Before...

Page 112: ...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...

Page 113: ...ice 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 Subne...

Page 114: ...k 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 th...

Page 115: ...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: ...o 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...

Page 117: ...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: ...heck 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 li...

Page 119: ...00 ACS_DRIVE_PARA FB501 ACS_DRIVE_PZD FB502 POKE FC1 supported block for FB501 and FB502 POKE_BLK FC2 supported block for FB501 and FB502 Note POKE and POKE_BLK are SCL language blocks used in FB501 a...

Page 120: ...0 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 copi...

Page 121: ...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 Clo...

Page 122: ...e 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...

Page 123: ...he 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 Fi...

Page 124: ...0 DB1 Drive status inputs and outputs of the function block are stored in this Data block Since it is a new Data block you have to generate it by clicking OK in the pop up window Note If you add more...

Page 125: ...witched off TRUE Drive control switched on SWITCH_ON also needs to be active TRUE for resetting drive faults START BOOL FALSE Ramp stop with deceleration time according to drive parameter TRUE Start A...

Page 126: ...T BOOL FALSE No drive fault active TRUE Drive fault active WARN BOOL FALSE No drive warning active TRUE Drive warning active EXT_RUN_ENABL E BOOL FALSE No external run enable signal received in the dr...

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...

Page 128: ...re 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 S...

Page 129: ...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 Figure 155 FB50...

Page 130: ...True in FB500 block READ BOOL Read the parameter value 0 1 executed on positive edge WRITE BOOL Write the parameter value 0 1 executed on positive edge PARAM_NUM DINT Read written parameter 3 numbers...

Page 131: ...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...

Page 132: ...L_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 Fig...

Page 133: ...dule 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 You can use multiple instances of this block for...

Page 134: ...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 p...

Page 135: ...here PPO types 5 and 6 have 10 PZDs in each direction so the full range of FB502 is useful for those types 1 Right click in the next free network and choose Insert empty box 2 Write FB502 in the block...

Page 136: ...Scaling PZD5_SCALED REAL Read PZD5 value from the drive the default scaling value is 1 no Scaling PZD6_SCALED REAL Read PZD6 value from the drive the default scaling value is 1 no Scaling PZD7_SCALED...

Page 137: ...Example FB502 If you want to scale Process Data values set the scaling values in the program before calling FB502 ACS_DRIVE_PZD block See example below where PZD3 is scaled with the value 100 Figure...

Page 138: ...tacts can be found by navigating to www abb com searchchannels Product training For information on ABB product training navigate to new abb com service training Providing feedback on ABB Drives manual...

Page 139: ...139 Contact us www abb com drives www abb com drivespartners 3AXD50000037864 Rev B EN 2018 02 07...

Reviews: