- DL manuals
- ABB
- Control Unit
- FPBA-01 PROFIBUS DP
- User Manual
ABB FPBA-01 PROFIBUS DP User Manual
Summary of FPBA-01 PROFIBUS DP
Page 1
Abb drives user’s manual profibus dp adapter module fpba-01.
Page 3: User’S Manual
Profibus dp adapter module fpba-01 user’s manual 3afe68573271 rev c en effective: 09.01.2009 © 2009 abb oy. All rights reserved..
Page 5: Safety Instructions
Safety instructions 5 safety instructions overview this chapter states the general safety instructions that must be followed when installing and operating the fpba-01 profibus dp adapter module. The material in this chapter must be studied before attempting any work on, or with, the unit. In additio...
Page 6
Safety instructions 6.
Page 7: Table of Contents
Table of contents 7 table of contents safety instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 general safety instructions . . . . ....
Page 8
Table of contents 8 parameter setting examples – acs350 . . . . . . . . . . . . . . . . . . . . . . . . . . 23 parameter setting examples – acsm1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 parameter setting examples – acs850 . . . . . . . . . . . . . . . . . . . . . . . . . . 33 mechan...
Page 9
Table of contents 9 communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 profibus dp . . . . . . . . . . . . . . . . . . . . . . . ....
Page 10
Table of contents 10
Page 11: Introduction
Introduction 11 introduction intended audience the manual is intended for the people who are responsible for commissioning and using an fpba-01 profibus dp adapter module. The reader is expected to have a basic knowledge of electrical fundamentals, electrical wiring practices and how to operate the ...
Page 12
Introduction 12 drive configuration explains how to program the drive before the communication through the adapter module can be started. Master configuration explains how to program the profibus master before the communication through the adapter module can be started. Communication profiles descri...
Page 13
Introduction 13 terms used in this manual communication module communication module is a name for a device (e.G. A fieldbus adapter) through which the drive is connected to an external communication network (e.G. A fieldbus). The communication with the module is activated with a drive parameter. Fpb...
Page 14
Introduction 14 providing feedback on abb drives manuals your comments on our manuals are welcome. Go to www.Abb.Com/drives and select document library – manuals feedback form (lv ac drives)..
Page 15: Overview
Overview 15 overview overview this chapter contains a short description of the profibus standard and the fpba-01 adapter module, and a delivery checklist. Profibus standard profibus is an open serial communication standard that enables data exchange between all kinds of automation components. There ...
Page 16
Overview 16 the fpba-01 profibus dp adapter module the fpba-01 profibus dp adapter module is an optional device for abb drives which enables the connection of the drive to a profibus network. The drive is considered as a slave on the profibus network. Through the fpba-01 profibus dp adapter module, ...
Page 17
Overview 17 figure 1. The construction of the profibus link and the fpba-01 adapter module. Compatibility the fpba-01 is compatible with all master stations that support the profibus dp protocol. Note: the profibus dp-v1 protocol is supported from fpba-01 sw version 2.00a onwards. Bus connector x1 (...
Page 18
Overview 18 delivery check the option package for the fpba-01 profibus dp adapter module contains: • profibus dp adapter module, type fpba-01 • this manual..
Page 19: Quick Start-Up Guide
Quick start-up guide 19 quick start-up guide overview this chapter presents the steps to take during the start-up of the fpba-01 profibus dp adapter module with an acs350, acsm1 or acs850 drive. For more detailed information, see the chapters mechanical installation , electrical installation , and d...
Page 20
Quick start-up guide 20 • select the fail safe mode and enter a failsafe timeout value..
Page 21
Quick start-up guide 21 • set the message type, baud rate and node number..
Page 22
Quick start-up guide 22 mechanical and electrical installation • insert the fpba-01 into its specified slot in the drive. • fasten the screw. • plug the fieldbus connector to the module. Drive configuration • power up the drive. • the detailed procedure of activating the drive for communication with...
Page 23
Quick start-up guide 23 parameter setting examples – acs350 profidrive communication profile with ppo type 1 the start/stop commands and reference are according to the profidrive profile. (see the profibus state machine on page 61 .) the reference value ±16384 (4000h) corresponds to parameter 1105 r...
Page 24
Quick start-up guide 24 the table below gives the recommended drive parameter settings. Abb drives communication profile with ppo type 4 from the plc programming point, the abb drives profile is similar to the profidrive profile as shown in the first example. The start/stop commands and reference ar...
Page 25
Quick start-up guide 25 when reference 2 (ref2) is used, a reference value of ±10000 (decimal) corresponds to the reference set by parameter 1108 ref2 max in the forward and reverse directions. The minimum and maximum 16-bit integer values that can be given through the fieldbus are -32768 and 32767 ...
Page 26
Quick start-up guide 26 parameter setting examples – acsm1 profidrive communication profile (speed control mode) with ppo type 1 the start/stop commands and reference are according to the profidrive profile speed control mode. (see the profibus state machine on page 61 .) the reference value ±16384 ...
Page 27
Quick start-up guide 27 profidrive communication profile (positioning mode) with ppo type 4 the start/stop commands and reference are according to the profidrive profile positioning mode. The position setpoint and velocity reference are defined as 32-bit integer values; both are scaled as defined by...
Page 28
Quick start-up guide 28 10.01 ext1 start func fba external 1 control source selection 22.01 speed fb sel enc1 speed** speed feedback selection 34.02 ext1 mode 1/ 2sel p.Fba main cw.26 external 1 control mode selection. Selection is done by start_homing bit (bit 11 in profibus control word). Mode 1: ...
Page 29
Quick start-up guide 29 *read-only or automatically detected/set note: by default, fieldbus is not the only control source. See actual signal 2.12 fba main cw in acsm1 motion control program firmware manual for details. 66.05 pos enable c.False position reference generator is enabled by fieldbus onl...
Page 30
Quick start-up guide 30 the position setpoint is scaled as follows: **example the position setpoint and actual values are scaled with the above example values as follows: example for velocity setpoint scale: **example the velocity setpoint and actual values are scaled with the above example values a...
Page 31
Quick start-up guide 31 pay attention to the following parameters: the start sequence for above parameter example is given below: control word: 406h (1150 decimal) => ready to switch on 40fh (1039 decimal) => operating 43fh (1087 decimal)=> operating (do reject traversing task with no intermediate s...
Page 32
Quick start-up guide 32 the table below gives the recommended drive parameter settings. Drive parameter name setting description 50.01 fba enable enable communication enable between the drive and the fieldbus module 50.04 fba ref1 modesel speed fieldbus reference 1 mode selection 50.05 fba ref2 mode...
Page 33
Quick start-up guide 33 *read-only or automatically detected/set **example the start sequence for the parameter example above is given below. Control word: 47eh (1150 decimal) => ready to switch on 47fh (1151 decimal) => operating (speed mode) c7fh (3199 decimal)=> operating (torque mode). Parameter...
Page 34
Quick start-up guide 34 the table below gives the recommended drive parameter settings. Drive parameter setting 50.01 fba enable enable 50.04 fba ref1 modesel speed 10.01 ext1 start func fba 21.01 speed ref1 sel fba ref1 51.01 fba type 1 = fpba-xx profibus dp adapter module* 51.02 node address 3 51....
Page 35: Mechanical Installation
Mechanical installation 35 mechanical installation warning! Follow the safety instructions given in this manual and the drive documentation. Mounting the fpba-01 is to be inserted into its specific position in the drive. The module is held in place with plastic pins and one screw. The screw also pro...
Page 36
Mechanical installation 36.
Page 37: Electrical Installation
Electrical installation 37 electrical installation overview this chapter contains: • general cabling instructions • instructions for setting module node address number and bus termination • instructions for connecting the module to the profibus dp network. Warning! Before installation, switch off th...
Page 38
Electrical installation 38 profibus connection the bus cable is connected to connector x1 on the fpba-01. The connector pin allocation described below follows the profibus standard. X1 description 1 shld alternate cable shield connection. Connected to connector housing. 2 not used 3 b data positive ...
Page 39
Electrical installation 39 it is recommended to use a profibus-approved d-sub 9 connector. These connectors have a built-in termination network and inductors for station capacitance compensation. The cable should be connected to the d-sub connector as follows: figure 2. Connector wiring 1a 1b 2a 2b ...
Page 40
Electrical installation 40 bus termination bus termination is required to prevent signal reflections from the bus cable ends. The fpba-01 module is not equipped with internal bus termination. Therefore, the d-sub connectors at the first and last modules of the bus must have built-on termination swit...
Page 41: Drive Configuration
Drive configuration 41 drive configuration overview this chapter gives information on configuring the drive for communication through the fpba-01 profibus dp adapter module. Profibus connection configuration after the fpba-01 profibus dp adapter module has been mechanically and electrically installe...
Page 42
Drive configuration 42 table 1. Fpba-01 configuration parameters – group a note: set also the extended parameter data (see sap 61 in the chapter communication) to ensure proper operation of the fpba-01 with the drive. 1 fba type this parameter shows the fieldbus adapter type as detected by the drive...
Page 43
Drive configuration 43 2 node address each device on the profibus network must have a unique node number. This parameter is used to define a node number for the drive it is connected to. Recommended node numbers are 3 to 125 inclusive. 3 baud rate this parameter indicates the detected communication ...
Page 44
Drive configuration 44 more information on the communication profiles can be found in the chapter communication profiles . 6 t16 scale reference multiplier/actual value divisor for the fpba-01. The parameter is effective only when the transparent 16 profile is selected and the drive is using the dcu...
Page 45
Drive configuration 45 table 2. Fpba-01 configuration parameters – group b 1 data out 1 this parameter represents data word 1 received by the drive over the profibus network. The content is defined by a decimal number in the range of 0 to 9999 as follows: par. No. Parameter name alternative settings...
Page 46
Drive configuration 46 the virtual address area of the drive control is allocated as follows: when the profidrive profile or profidrive positioning mode (see parameter group a, parameter number 5 “ profile ” on page 42 ) is used with an acsm1 drive, the virtual addresses shown virtual address descri...
Page 47
Drive configuration 47 below are recommended. (fba refx mode is selected with acsm1 drive parameter 50.04/50.05.) the information in the table is applicable only if ppo messaging is used (see parameter group a, parameter number 4 “telegram type” on page 42 ). If standard telegrams (stx) are used, vi...
Page 48
Drive configuration 48 table 3. Fpba-01 configuration parameters – group c 1 data in 1 this parameter represents data word 1 sent by the drive over the profibus network. For the contents, see configuration parameter group b, parameter 1 (data out 1) on page 45 . 2 to 12 data in 2 to data in 12 see p...
Page 49
Drive configuration 49 control locations abb drives can receive control information from multiple sources including digital inputs, analogue inputs, the drive control panel and a communication module (e.G. Fpba-01). Abb drives allow the user to separately determine the source for each type of contro...
Page 50
Drive configuration 50
Page 51: Master Configuration
Master configuration 51 master configuration overview this chapter gives information on configuring the profibus master station for communication through the fpba-01 profibus adapter module. Configuring the system after the fpba-01 profibus dp adapter module has been mechanically and electrically in...
Page 52
Master configuration 52.
Page 53: Communication Profiles
Communication profiles 53 communication profiles overview this chapter describes the communication profiles used in the communication between the profibus network, the fpba-01 module, and the drive. Communication profiles communication profiles are ways of conveying control commands (control word, s...
Page 54
Communication profiles 54 the following sections describe the control word, the status word, references and actual values for the profidrive and abb drives communication profiles. Refer to the drive manuals for details on the dcu communication profile. Fpba-01 drive fpba-01 profile selection: data c...
Page 55
Communication profiles 55 the profidrive communication profile the control word and the status word the control word (profibus parameter 967) is the principal means for controlling the drive from a fieldbus system. It is sent by the fieldbus master station to the drive through the adapter module. Th...
Page 56
Communication profiles 56 references in positioning mode (with an acsm1 drive only) in positioning mode, references are 16-bit or 32-bit words. A 32-bit reference contains a sign bit and a 31-bit integer. A negative reference (indicating reversed direction of rotation) is formed by calculating the t...
Page 57
Communication profiles 57 table 4. The control word for the profidrive communication profile (profibus parameter 967). The upper case boldface text refers to the states shown in figure 4. Bit name value proceed to state/description speed control mode positioning mode 0 on 1 proceed to ready to opera...
Page 58
Communication profiles 58 5 1 normal operation. Proceed to ramp function generator: enable accelerator. Normal operation. No intermediate stop. 0 halt ramping (ramp function generator output held). Intermediate stop. 6 1 normal operation. Proceed to operating. Note: this bit is effective only if the...
Page 59
Communication profiles 59 table 5. The status word for the profidrive communication profile (profibus parameter 968). The upper case boldface text refers to the states shown in figure 4. 13 vendor-specific bit as defined by profidrive parameter 935. 14 vendor-specific bit as defined by profidrive pa...
Page 60
Communication profiles 60 8 at_setpoint 1 operating. Actual value equals reference value (i.E. Is within tolerance limits). 0 actual value differs from reference value (= is outside tolerance limits). 9 remote 1 drive control location: remote. 0 drive control location: local. 10 1 actual frequency o...
Page 61
Communication profiles 61 figure 4. The general profibus state machine for all operating modes ‘n=0 or f =0’ and ‘i=0’ and pause expired jogging 1 or 2 off (cw bit8=0 or bit9=0) mains off power on off1 (cw bit0=0) switch-on inhibit (sw bit6=1) not ready to switch on (sw bit0=0) ready to switch on fr...
Page 62
Communication profiles 62 figure 5. The profibus state machine for positioning mode state condition e f (sw bit10,13=1) (cw bit4,5=1 and cw bit6 edge 0 ⇒ 1) cw = control word sw = status word profibus state machine for profidrive positioning mode (cw bit11=1) (sw bit10,11,13=0) basic state: operatin...
Page 63
Communication profiles 63 the abb drives communication profile the control word and the status word the control word is the principal means for controlling the drive from a fieldbus system. It is sent by the fieldbus master station to the drive through the adapter module. The drive switches between ...
Page 64
Communication profiles 64 scaling references are scaled as shown below. Note: the values of ref1 max and ref2 max are set by drive parameters. See the drive documentation for further information. Refx min -(refx min) refx max -(refx max) 0 ref2: -10000 ref1: -20000 ref2: 10000 ref1: 20000 drive fiel...
Page 65
Communication profiles 65 actual values actual values are 16-bit words containing information on the operation of the drive. The functions to be monitored are selected by a drive parameter. Scaling actual values are scaled as shown below. Note: the values of ref1 max and ref2 max are set by drive pa...
Page 66
Communication profiles 66 table 6. The control word for the abb drives communication profile. The upper case boldface text refers to the states shown in figure 4. Bit name value state/description 0 off1_ control 1 proceed to ready to operate. 0 stop along currently active deceleration ramp. Proceed ...
Page 67
Communication profiles 67 5 ramp_hold 1 enable ramp function. Proceed to ramp function generator: accelerator enabled. 0 halt ramping (ramp function generator output held). 6 ramp_in_ zero 1 normal operation. Proceed to operating. Note: this bit is effective only if the fieldbus interface is set as ...
Page 68
Communication profiles 68 table 7. The status word for the abb drives communication profile. The upper case boldface text refers to the states shown in figure 6. Bit name value state/description 0 rdy_on 1 ready to switch on. 0 not ready to switch on. 1 rdy_run 1 ready to operate. 0 off1 active. 2 r...
Page 69
Communication profiles 69 10 above_ limit 1 actual frequency or speed equals or exceeds supervision limit (set by drive parameter). Valid in both directions of rotation. 0 actual frequency or speed within supervision limit. 11 ext_ctrl_ loc 1 external control location ext2 selected. 0 external contr...
Page 70
Communication profiles 70 figure 6. State machine, abb drives communication profile mains off power on (cw bit0=0) (sw bit6=1) (sw bit0=0) from any state (cw=xxxx x1xx xxxx x110) (sw bit1=1) n(f)=0 / i=0 (sw bit2=0) a b c d (cw bit3=0) operation inhibited off1 (cw bit0=0) (sw bit1=0) (sw bit0=1) (cw...
Page 71: Communication
Communication 71 communication overview this chapter describes the profibus messaging used in the communication with the drive, and profibus slave device configuration messages. Profibus dp the fpba-01 module supports the profibus dp (dp-v0) protocol according to the iec 61784 and en 50170 standards...
Page 72
Communication 72 communication start-up the following service access points (saps) are used to initiate dp communication: sap no. Short name name default sap (0) data_exch cyclical data exchange (write_read_data) 58 global_control global control service 59 get_cfg read configuration data 60 slave_di...
Page 73
Communication 73 profibus sd2 telegram for default sap (0) and sap 58-62 profibus typically uses sd2 telegrams for dp communication. The structure of an sd2 telegram is shown below. Figure 7. Profibus sd2 telegram for default sap (0) and sap 58-62 dp header dp trailer sd le ler sd da sa fc *dsap *ss...
Page 74
Communication 74 default sap (sap 0) (data_exchange) allows the master to send output data to a slave station and to simultaneously request input data from the same station. In addition to default sap, any master can read the i/o data of any slave at any time using the “read_inputs” (sap 56) and “re...
Page 75
Communication 75 sap 58 (global_control) this sap is used to send special commands addressed to a single slave, a special group of slaves, or all slaves at once (broadcast). Global_control type: octet string - length: 2 du byte description 0 gc_command 1 group_select 0 to 255. The value must match t...
Page 76
Communication 76 sap 61 (set_prm) this sap is used in the parameterisation of the drive. Prm_data (parameter data standard) type: octet string total length: 37 – prm_data length: 14 – user_prm_data length: 23 du byte value description 0 b8h (recom- mended default value) station_status 1 - 2 wd_fact_...
Page 77
Communication 77 7 dpv1_status_1 (dp-v1 only) x 0 x 0 0 x x x dis_start_control (disable stop-bit control) 0 = start bit monitoring in receiver enabled 1 = start bit monitoring in receiver disabled msb lsb wd_base (watchdog time base) 0 = 10 ms 1 = 1 ms dis_stop_control (disable stop-bit control) 0 ...
Page 78
Communication 78 8 dpv1_status_2 (dp-v1 only) (not supported) 9 dpv1_status_3 (dp-v1 only) x x x x x x 0 x chk_cfg_mode 0 = chk_cfg according to en 50170 (default state) 1 = user-specific evaluation of chk_cfg msb lsb enable_update_alarm 0 = enable_update_alarm disabled 1 = enable_update_alarm enabl...
Page 79
Communication 79 10 1bh (default) structured_length length of the structured prm telegram. (user parameter length is 23 bytes + 4 header bytes.) 11 81h structure_type 129: user_prm_data 12 0 slot_number set to 0. 13 0 reserved. User_prm_data (parameter data extended) type: octet string - length: 23 ...
Page 80
Communication 80 the extended parameter data bytes are configured via the profibus network configuration tool. The functions are defined in the gsd file. 31 - 32 0-65536 fail-safe, pzd8 33 - 34 0-65536 fail-safe, pzd9 35 - 36 0-65536 fail-safe, pzd10
Page 81
Communication 81 sap 62 (chk_cfg) with this telegram, the master will send the selected data exchange (write_read_data) telegram type code to slave sap 62. The table below gives the typical hexadecimal values (du byte 0…n) that are sent to the drive in order to select the ppo type or standard telegr...
Page 82
Communication 82 the default codes for the ppo types in the table above defines data consistency over the message as follows: also data non-consistent over the entire message is supported by the fpba-01. The cyclical frame types supported by the module are defined in the gsd file. X x x x x x x x le...
Page 83
Communication 83 sap 60 (slave_diag) this sap gives diagnostic information on the slave station. Diag_data (diagnostic data) type: octet string - length: 6 (standard) + 2 (extended diagnosis) (dp-v0 mode) + 5 (extended diagnosis) (dp-v1 mode) note: during initialisation, the module only sends the st...
Page 84
Communication 84 1 station_status_2 2 station_status_3 3 diag.Master_add the address of the master that parameterised this slave 4 - 5 ident_number (for fpba-01: 0959h) 6** ext_diag_data (0x02) (dp-v0 only) the number of bytes (including this byte) reserved for extended diagnosis 6* header byte (dp-...
Page 85
Communication 85 7** communication diagnostic (dp-v0 only) 7* status type = status message (0x81) (dp-v1 only) 8* slot number (0x00) (dp-v1 only) slot number (0 to 244). 9* specifier (0x00) (dp-v1 only) 10* communication diagnostic (dp-v1 only) *the fpba-01 is operated in dp-v1 mode. The diagnostics...
Page 86
Communication 86 other saps for dp-v1 communication master class master sap slave sap short name meaning c1 51 51 server sap read, write, alarm c1 51 50 alarm sap alarm c2 50 49 resource mgmt. Sap req pdu c2 50 48..0 communication sap abort, read/write, data_transfer c2 62 55 set_slave_add change st...
Page 87
Communication 87 cyclical message types ppo types figure 8. Ppo message types type 1 type 2 type 3 type 4 type 5 parameter process data cw ref pzd3 pzd4 pzd5 pzd6 pzd7 pzd8 pzd9 pzd10 value ind identification pzd3 sw act pzd4 pzd5 pzd6 pzd7 pzd8 pzd9 pzd10 fixed area freely mappable area out area – ...
Page 88
Communication 88 standard telegram (st) types figure 9. Standard telegram types (dp-v1) note: for the contents of the control word, the status word, references, and actual values, see the chapter communication profiles . St1 pzd1 pzd2 out area stw1 control word 1 nsoll_a speed setpoint a in area zsw...
Page 89
Communication 89 parameter handling in cyclic communication (dp) in cyclic profibus dp communication, parameter data is transferred in ppo message types 1, 2 and 5 (see figure 8. ). The parameter identification part consists of eight bytes (see below). The request label is used by the master when tr...
Page 90
Communication 90 response label (acknowledgement from slave to master) ackn. Function 0 no response 1 transfer parameter value (word) 2 transfer parameter value (double word) 3 transfer description element 4 transfer parameter value (array word) 5 transfer parameter value (array double word) 6 trans...
Page 91
Communication 91 the allocation of drive control/actual words, drive parameters and profidrive parameters to the parameter identification part of the ppo type is shown below. The index column corresponds to the parameter number (pnu) in the id part of parameter identification. The sub-index column c...
Page 92
Communication 92 the complete profidrive parameter list for the fpba-01 can be found as a separate chapter elsewhere in this manual. Note: continuous (cyclic) writing of profidrive parameters should be avoided as the values of these parameters are stored in the flash memory of the fpba-01. The estim...
Page 93
Communication 93 parameter data transfer examples note: only the ‘data unit’ part of the telegram is presented in the examples. See figure 7 on page 73 . Example 1: reading a drive parameter (or data set) to determine the parameter number and subindex for drive parameter reading, convert the drive p...
Page 94
Communication 94 example 2: writing a drive parameter (or data set) to determine the parameter number and subindex for drive parameter writing, convert the drive parameter group number and the parameter index number to hexadecimal. The index number is the subindex (ind), and the group number is the ...
Page 95
Communication 95 example 3: reading a profidrive parameter (word) in this example, profibus parameter 918 is used to read the station number of the slave. The slave returns its station number (2). Read: request dp header 13 96 00 00 00 00 00 00 04 7f 34 15 dp trailer response 13 96 00 00 00 00 00 02...
Page 96
Communication 96 example 4: writing a profidrive parameter (word) in this example, current parameter settings are saved to the flash memory of the drive. This is done by setting the value of profibus parameter 971 (3cbh) to 1. Note that the drive always observes the control word (cw) and reference (...
Page 97
Communication 97 example 5: reading a profidrive parameter (array) in this example, profibus parameter 947 is used to read the code of the latest acknowledged fault. As shown on page 125 , parameter 945 is of the array type with subindexes 1, 9, 17 and 25. The slave returns the code of the latest ac...
Page 98
Communication 98 example 6: configuring the process data written to the drive profibus parameter 915 can be used to define which data is written cyclically to a drive parameter as application-specific process data. In the example below, the value of drive parameter 12.02 (0ch.02h) is selected to be ...
Page 99
Communication 99 example 7: configuring the process data read from the drive profibus parameter 916 can be used to define which data is read cyclically from the drive as application-specific process data. In the example below, drive parameter 1.04 (01h.04h) is selected to be transmitted by the drive...
Page 100
Communication 100 dp-v1 read/write request sequence a read/write service on a drive parameter is illustrated below. The messaging employs dp-v1 data units. The profidrive parameter request is contained within the dp-v1 request as data. Likewise, the dp-v1 response contains the profidrive parameter r...
Page 101
Communication 101 request will be repeated by the master until the fpba-01 has the profidrive response data ready. If the write request is invalid, a negative response is returned with a dp-v1 error code (see table 10 )..
Page 102
Communication 102 profibus sd2 telegram for sap 51 the read/write service uses a variable-length profibus sd2 telegram shown below. Figure 10. Profibus sd2 telegram for sap 51 dp header dp trailer sd le ler sd da sa fc dsap ssap du fcs ed 68h x x 68h xx xx x xx xx x… xx 16h sd = start delimiter le =...
Page 103
Communication 103 table 8. Dp-v1 function numbers table 9. Dp-v1 error response table 10. Dp-v1 error response: error codes value meaning 0x48 idle req, res 0x51 data transport req, res 0x56 resource manager req 0x57 initiate req, res 0x58 abort req 0x5c alarm req, res 0x5e read req, res 0x5f write ...
Page 104
Communication 104 table 11. Profidrive request header 10 (0x0a) application 0 = read error 1 = write error 2 = module failure 3 … 7 = reserved 8 = version conflict 9 = feature not supported 10 … 15 = user-specific 11 (0x0b) access 0 = invalid index 1 = write length error 2 = invalid slot 3 = type co...
Page 105
Communication 105 table 12. Profidrive response header drive object id to be set to 0 or 1. 0 … 255 byte no. Of parameters number of parameters that are present in the request. 1 … 37 byte attribute type of object being accessed. Note: “description” and “text” are not supported. Value (10h) descript...
Page 106
Communication 106 table 13. Data types for format field drive object id to be set to 1. 0 … 255 no. Of parameters number of parameters that are present in the response. 1 … 37 format* see table 13 . See table 13 number of values* number of values following. 0 … 234 values* the values of the request....
Page 107
Communication 107 table 14. Profidrive parameter request error codes 0x44 error 0x45 … 0xff (reserved) error # meaning used at 00h impermissible parameter number access to unavailable parameter 01h parameter value cannot be changed change access to a parameter value that cannot be changed 02h low or...
Page 108
Communication 108 15h response too long the length of the current response exceeds the maximum transmittable length 16h 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 17h illegal for...
Page 109
Communication 109 96h internal buffer buffer overflow a0h internal communication communication error between module and drive.
Page 110
Communication 110 parameter data transfer examples the following examples show how parameter data is transferred using the dp-v1 mechanisms read and write. Note: only the “data unit” part of the sd2 telegram is presented in the examples. See figure 10 on page 102 . Example 1a: reading a drive parame...
Page 111
Communication 111 positive read response to dp-v1 read request: negative response to profidrive read request: dp header 5e 01 2f 08 05 01 01 01 42 01 05 64 dp trailer dp-v1 response profidrive v3 parameter channel dp header 5e 01 2f 08 05 81 01 01 44 01 00 14 dp trailer dp-v1 response profidrive v3 ...
Page 112
Communication 112 example 1b: reading 3 drive parameters (multi-parameter) in this example, three parameters (12.04, 20.08 and 30.19) are read using one telegram. Dp-v1 write request (read parameter value): dp header 5f 01 2f 16 06 01 01 03 10 01 00 0c 00 04 ••• dp-v1 command profidrive v3 parameter...
Page 113
Communication 113 positive read response to dp-v1 read request: the values 190h (400), 1f4h (500) and 1eh (30) are returned. Dp header 5f 01 2f 10 06 01 01 03 42 01 01 90 ••• dp-v1 response profidrive v3 parameter channel ••• 42 01 01 f4 ••• (par. Channel cont’d) ••• 42 01 00 30 dp trailer (par. Cha...
Page 114
Communication 114 example 2a: writing a drive parameter (one array element) drive parameters are addressed so that the drive parameter group corresponds to the parameter index (pnu), and the drive parameter number within that group corresponds to the subindex (ind). In the following example, a value...
Page 115
Communication 115 example 2b: writing 2 drive parameters (multi-parameter) in this example, the values 300 (12ch) and 500 (1f4h) are written to drive parameters 12.02 (0c.02h) and 20.08 (14.08h) respectively using one telegram. Dp header 5f 01 2f 14 08 02 01 02 10 01 00 0c 00 02 ••• dp-v1 command pr...
Page 116
Communication 116 example 3: reading a profidrive parameter in this example, profibus parameter no. 918 (396h) is used to read the station number of the slave. Dp-v1 write request (reading a profidrive parameter): dp header 5e 01 2f 04 08 02 01 02 dp trailer dp-v1 response profidrive v3 parameter ch...
Page 117
Communication 117 dp-v1 read response the slave returns the code of the latest acknowledged fault (2300h). The fault codes are according to the drivecom standard. See also the user’s manual of the drive for drive specific fault codes. The implementation of the profidrive profile in the fpba-01 suppo...
Page 118
Communication 118 dp-v1 write request dp-v1 read response subsequently, the contents of pzd3 in each request frame are written to drive parameter 12.06 until a different selection is made. Dp header 5f 01 2f 0e 0a 02 01 01 10 01 03 93 00 03 42 01 0c 06 dp trailer dp-v1 command profidrive v3 paramete...
Page 119
Communication 119 example 5: determining the source of process data read from the drive profibus parameter no. 916 (394h) can be used to define which data is read cyclically from the drive as application-specific process data. In the example below, the parameter is used to determine which drive para...
Page 120
Communication 120
Page 121: Diagnostics
Diagnostics 121 diagnostics led indications the fpba-01 module is equipped with three bicolour diagnostic leds. The leds are described below. Name colour function host green connection to host ok blinking red establishing communication to host, or communication to host lost module green module statu...
Page 122
Diagnostics 122 network blinking green establishing network connection green network connection ok blinking red network connection lost name colour function.
Page 123: Profidrive Parameters
Profidrive parameters 123 profidrive parameters profidrive profile-specific parameters param- eter r/w * data type description 915 r/w array [10] unsigned16 assignment pzd1 to pzd10 in ppo-write 916 r/w array [10] unsigned16 assignment pzd1 to pzd10 in ppo-read 918 r/w unsigned16 node address. Writi...
Page 124
Profidrive parameters 124 927 r/w unsigned16 operator control rights (parameter identification, pkw). Value mode 0 parameters cannot be written, only read (927 can be written) 1 parameters can be written and read (default). 928 r/w unsigned16 control rights (process data, pzd). Value mode 0 pzd part...
Page 125
Profidrive parameters 125 934 r/w unsigned16 selection switch for control word, bit 12. (see parameter 933 for coding) 935 r/w unsigned16 selection switch for control word, bit 13. (see parameter 933 for coding) 936 r/w unsigned16 selection switch for control word, bit 14. (see parameter 933 for cod...
Page 126
Profidrive parameters 126 952 r/w unsigned16 number of faults occurred. Writing a zero clears the value. 953 r unsigned16 **last alarm 954 r unsigned16 **second last alarm 955 r unsigned16 **third last alarm 956 r unsigned16 **fourth last alarm 957 r unsigned16 **fifth last alarm 958 r unsigned16 si...
Page 127
Profidrive parameters 127 970 r/w unsigned16 load parameter record value description 0 no action 1 restore factory settings the parameter must do a zero-to-one transition and the motor must be stopped. 971 r/w unsigned16 save parameter record value description 0 no action 1 save the drive parameters...
Page 128
Profidrive parameters 128 i&m (identification & maintenance) records i&m records can be read e.G. With the dtm tool. The fpba-01 supports the mandatory i&m0 record as well as the optional i&m1 and i&m2 records. Call-req-pdu telegram for read/write access to i&m records: response structure for i&m0 (...
Page 129
Profidrive parameters 129 response structure for i&m1 (read/write) response structure for i&m2 (read/write) note: i&m1 and i&m2 are blank (0x20) by default. Contents size coding header manufacturer-specific 10 octets – i&m0 block tag_function 32 octets device function or task tag_location 22 octets ...
Page 130
Profidrive parameters 130
Page 131
Definitions and abbreviations 131 definitions and abbreviations profibus definitions acyclic communication communication in which messages are sent only once on request array parameter consisting of data fields of equal data type broadcast non-acknowledged message from master to all bus participants...
Page 132
Definitions and abbreviations 132 master control system with bus initiative. In profibus terminology, master stations are also called active stations. Multicast non-acknowledged message from master to one group of bus participants (compare broadcast) name symbolic name of a parameter nibble set of 4...
Page 133
Definitions and abbreviations 133 warning signal caused by an existing alarm which does not lead to tripping of the device profibus abbreviations the text in italics is the original german term. .Con confirmation .Ind indication .Req request .Res response act actual value istwert ak request label/re...
Page 134
Definitions and abbreviations 134 isw see act kr (kb) see cr pa process automation prozessautomatisierung pd process data prozessdaten pke parameter identification parameter-kennung pkw parameter identification value parameter-kennung-wert pnu parameter number parameternummer ppo parameter/process d...
Page 135: Technical Data
Technical data 135 technical data fpba-01 enclosure: mounting: into the option slot on the drive. Degree of protection: ip20 ambient conditions: the applicable ambient conditions specified for the drive in its manuals are in effect. Indicators: three bicolour leds (host, module, network) connectors:...
Page 136
Technical data 136 general: • estimated min. Lifetime: 100 000 h • all materials ul/csa-approved • complies with emc standards en 50081-2 and en 50082-2 • bus interface functionally isolated from drive.
Page 137
Technical data 137 profibus link compatible devices: all profibus-compliant devices medium: shielded twisted pair rs-485 cable (profibus- approved cable recommended) • termination: 220 ohms, or active termination circuitry at each end of trunk cable (termination not built in the fpba-01 module) • sp...
Page 138
Technical data 138.
Page 140
Abb oy ac drives p.O. Box 184 fin-00381 helsinki finland telephone +358 10 22 11 fax +358 10 22 22681 internet www.Abb.Com abb inc. Automation technologies drives & motors 16250 west glendale drive new berlin, wi 53151 usa telephone 262 785-3200 800-help-365 fax 262 780-5135 abb beijing drive system...