Professional Documents
Culture Documents
Application guide
Fieldbus control with
FPBA-01 PROFIBUS DP adapter module and ABB AC500
ACS850 Drive Manuals
APPLICATION GUIDES
Safe Torque Off Function for ACSM1, ACS850 and ACQ810 Drives Application Guide – 3AFE68929814 (English)
System Engineering Manual – 3AFE68978297 (English)
ACSM1 Fieldbus Control with FPBA-01 PROFIBUS DP Adapter Module and ABB AC500 PLC; Application Guide
– 3AUA0000049359 (English)
OPTION MANUALS
AC500 manuals can be found in the CoDeSys online help. Press F1 in the CoDeSys software.
Fieldbus control with FPBA-01 PROFIBUS DP
adapter module and ABB AC500 PLC
Application guide
3AUA0000089372 Rev A
EN
EFFECTIVE: 2010-10-30
Table of contents
Table of contents
Communication profiles
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Communication profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
The PROFIdrive communication profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
The Control Word and the Status Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
References and scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
References in speed control mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
References in torque control mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Actual values and scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Actual values in speed control mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Actual values in torque control mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
The Control Word for the PROFIdrive communication profile . . . . . . . . . . . . . . . . . . . 27
The Status Word for the PROFIdrive communication profile . . . . . . . . . . . . . . . . . . . . 28
The general PROFIBUS state machine for all operating modes . . . . . . . . . . . . . . . . . 30
The ABB Drives communication profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
The Control Word and the Status Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
References and scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
References and scaling in speed control mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table of contents
6
Table of contents
7
Appendix A - How to find out the serial communication parameter values of your PC?
What this chapter contains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
How to find out the serial communication parameter values of your PC? . . . . . . . . . . . . . . . . . . . 155
Further information
Product and service inquiries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Product training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Providing feedback on ABB Drives manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Document library on the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Table of contents
8
Table of contents
9
Applicability
The manual is compatible with ACS850-04 drive modules of frame sizes from A to G.
Safety instructions
Follow the safety instructions given in ACS850-04 Drive Modules (1.1 to 45 kW)
Hardware Manual – 3AUA0000045496 (English). The main instructions are repeated
below.
WARNING! Ignoring the following instructions can cause physical injury or death, or
damage to the equipment.
• Only qualified electricians are allowed to install and maintain the drive.
• Never work on the drive, motor cable or motor when main power is applied.
After disconnecting the input power, always wait for 5 min to let the intermediate
circuit capacitors discharge before you start working on the drive, motor or
motor cable.
Always ensure by measuring with a multimeter (impedance at least 1 Mohm)
that:
1. voltage between drive input phases U1, V1 and W1 and the frame is close to
0 V.
2. voltage between terminals UDC+ and UDC- and the frame is close to 0 V.
3. voltage between terminals R+ and R- and the frame is close to 0 V.
• Do not work on the drive when the permanent magnet motor is rotating. Also,
when the supply power is switched off and the inverter is stopped, a rotating
permanent magnet motor feeds power to the intermediate circuit of the drive
and the supply connections become live. See the hardware manual for
precautions before installation and maintenance work on the drive.
• Do not work on the control cables when power is applied to the drive or to the
external control circuits. Externally supplied control circuits may cause
dangerous voltages inside the drive even when the main power on the drive is
switched off.
Target audience
This manual is intended for people who plan the drive application control,
commission, use, and service the drive with fieldbus communication. Read the
ACS850 firmware and hardware manuals before working on the drive.
You are expected to know the fundamentals of electricity, wiring and electrical
components as well as drive control methods, fieldbus communication concepts and
function block programming.
Related manuals
• ACS850-04 Drive Modules (1.1 to 45 kW) Hardware Manual (3AUA0000045496
[English])
• ACS850-04 Drive Modules (55 to 160 kW) Hardware Manual (3AUA0000045487
[English])
Standards
IEC 61131-3:2003, Programmable controllers – Part 3: Programming languages.
IEC 61158 Type 3, Industrial communication networks – Fieldbus specifications.
IEC 61784-5-3 Industrial communication networks – Profiles – Part 5-3: Installation of
fieldbuses – Installation profiles for CPF 3.
System overview
The drive can be connected to a fieldbus controller via a fieldbus adapter module.
The adapter module is connected to drive Slot 3.
ACS850
Fieldbus
controller
Fieldbus
Other
devices
Data Flow
Control Word (CW)
References
Process I/O (cyclic)
Status Word (SW)
Actual values
The drive can be set to receive all of its control information through the fieldbus
interface, or the control can be distributed between the fieldbus interface and other
available sources, for example digital and analogue inputs.
The drive can communicate with a fieldbus controller through a fieldbus adapter
using one of the following serial communication protocols:
– PROFIBUS DP (FPBA-01 adapter)
– CANopen (FCAN-01 adapter)
– DeviceNetTM (FDNA-01 adapter).
– Modbus/RTU (FSCA-01 adapter) or Modbus/TCP (FENA-01 adapter)
– LONWORKS® (FLON-xx adapter)
50.01 FBA ENABLE (1) ENABLE (1) ENABLE Initialises communication between drive
and fieldbus adapter module.
50.02 COMM LOSS (0) NO (1) FAULT Selects how the drive reacts in a fieldbus
FUNC (1) FAULT communication break.
(2) SPD REF SAFE
(3) LAST SPEED
50.03 COMM LOSS T 0.3…6553.5 s 0.3 Defines the time between communication
OUT break detection and the action selected
with parameter 50.02 COMM LOSS
FUNC.
50.04 FBA REF1 (0) RAW DATA (2) SPEED Selects the fieldbus reference FBA REF1
MODESEL (1) TORQUE scaling and the actual value, which is sent
(2) SPEED to the fieldbus (FBA ACT1).
50.05 FBA REF2 (0) RAW DATA (1) TORQUE Selects the fieldbus reference FBA REF2
MODESEL (1) TORQUE scaling and the actual value, which is sent
(2) SPEED to the fieldbus (FBA ACT2).
51.01 FBA TYPE Profibus DP Profibus DP Displays the type of the fieldbus adapter
module.
Application-
Parameter Setting for fieldbus control Function/Information
specific setting
51.02 NODE NUMBER 0...126 2 Each device on the Profibus network must
have an unique node number. This
parameter is used to define a node
number for the drive it is connected to.
51.03 BAUD RATE 12000 12000 This paremeter indicates the detected
6000 communication speed in kbit/s.
3000 12000 = 12 Mbit/s
1500 6000 = 6 Mbit/s
500 3000 = 3 Mbit/s
187 1500 = 1.5 Mbit/s
93 500 = 500 kbit/s
45 187 = 187.5 kbit/s
19 93 = 93.75 kbit/s
9 45 = 45.45 kbit/s
19 = 19.2 kbit/s
9 = 9.6 kbit/s
51.04 TELEGRAM TYPE (1) PPO 1 5 This parameter indicates the selected
(2) PPO 2 telegram type for the Profibus
communication. Telegram type is
(3) PPO 3
automatically detected.
(4) PPO 4
(5) PPO 5
(6) PPO 6
(7) ST1
51.05 PROFILE (0) PROFIdrive 1 This parameter is used to select which
(1) ABB Drives communication profile is used.
(2) Transparent 16
(3) Transparent 32
51.06 T16 SCALE 1...65536 100 Reference multiplier/actual value divisor
for the FPBA-01. The parameter is only
effective when Transparent 16 profile is
selected and the drive is using FBA/DCU
communication profile.
Application-
Parameter Setting for fieldbus control Function/Information
specific setting
51.31 D2FBA COMM – Displays the status of the fieldbus adapter
STA module communication.
51.32 FBA COMM SW – Displays the common program revision of
VER the adapter module.
51.33 FBA APPL SW – Displays the application program revision
VER of the adapter module.
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 1 or A for parameters
51.01…51.26.
52.01 FBA DATA IN1 ... 0 Not selected Defines the data transmitted from drive to
52.12 FBA DATA IN12 4 Status word (16-bit) fieldbus controller and further to the PLC.
Parameters are set according to the
5 Actual value 1 (16-bit)
virtual address area of the drive.
6 Actual value 2 (16-bit)
Note: If the length of the selected data is
14 Status word (32-bit) 32 bits, two parameters are reserved for
15 Actual value 1 (32-bit) the transmission.
16 Actual value 2 (32-bit)
101…9999 Drive pameters
(For example value 101
points to drive parameter
1.01)
52.01 FBA DATA IN1 4 Status word (16-bit)
52.02 FBA DATA IN 2 5 Actual value 1 (16-bit)
52.03 FBA DATA IN 3 6 Actual value 2 (16-bit)
53.01 FBA DATA OUT 1 0 Not selected Defines the data transmitted from fieldbus
… 53.12 FBA DATA OUT 1 Control word controller to drive.
12 Note: If the length of the selected data is
2 Reference 1 (16-bit)
32 bits, two parameters are reserved for
3 Reference 2 (16-bit)
the transmission.
11 Control word (32-bit)
12 Reference 1 (32-bit)
13 Reference 2 (32-bit)
1001…9999 Drive pameters
(For example value 1001
points to drive parameter
10.01)
Application-
Parameter Setting for fieldbus control Function/Information
specific setting
53.01 FBA DATA OUT 1 1 Control word
53.02 FBA DATA OUT 2 2 Reference 1 (16-bit)
53.03 FBA DATA OUT 3 3 Reference 2 (16-bit)
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 3 or C for parameters
52.01…52.12 and 2 or B for parameters 53.01…53.12.
51.27 FBA PAR (1) REFRESH Validates any changed adapter module
REFRESH configuration parameter settings.
After the module configuration parameters have been set, the drive control
parameters (see section Drive control parameters) must be checked and adjusted
when necessary.
10.01 EXT1 START (3) FBA EXT1 start and stop commands are taken from the fieldbus.
FUNC
10.04 EXT2 START (3) FBA EXT2 start and stop commands are taken from the fieldbus.
FUNC
12.03 EXT1 CTRL MODE (1) Speed Speed control. Torque reference is 03.09 TORQ REF SP CTRL.
12.05 EXT2 CTRL MODE (2) Torque Torque control. Torque reference is 03.12 TORQ REF SP LIM.
19.01 SPEED SCALING 1500 Defines the terminal speed value used in acceleration and the initial
speed value used in deceleration. Speed reference scaling is defined
by the used fieldbus profile (e.g. with ABB Drives Profile integer value
20000 corresponds to parameter 19.01 SPEED SCALING value).
Signal 01.01 MOTOR SPEED RPM is sent to the fieldbus as an
actual value.
21.01 SPEED REF1 SEL FBA ref1 Selects the source for speed reference 1.
24.01 TORQ REF1 SEL FBA ref2 Selects the source for torque reference 1.
16.07 PARAM SAVE (0) DONE Saves parameter value changes (including those made through
(1) SAVE fieldbus control) to permanent memory.
52.01/.../52.12
Cyclic communication
21.02/24.01
Acyclic communication
/24.02
See the manual of the fieldbus
adapter module.
Parameter
table
Actual values
Actual values (ACT) are 16/32-bit words containing information on selected
operations of the drive.
PPO Types
The PPO (parameter process data object) consists of parameter identification (PKW)
and process data (PZD). The PKW is used for reading and writing parameters. The
PZD is used for transmitting Control Word, Status Word, Reference values, Actual
values and other process data.
The PPO Type 1-6 defines the form of Process data object. Types 1,2 and 5 contain
parameter identification (PKW). PPO Type 1-6 defines the length of Process data,
the length is 4 bytes at minimum and 20 bytes at maximum.
Parameter
identification Fixed area Freely mappable area
channel
OUT area IND VALUE CW REF PZD3 PZD4 PZD5 PZD6 PZD7 PZD8 PZD9 PZD10
IN area ID IND VALUE SW ACT PZD3 PZD4 PZD5 PZD6 PZD7 PZD8 PZD9 PZD10
PKW PZD
Type 1 DP-V0
Type 2 DP-V0
Type 3 DP-V1
Type 4 DP-V1
Type 5 DP-V0
Type 6 DP-V1
State diagram
The following presents the state diagram for the FBA communication profile.
n(f)=0 / I=0
Power ON
READY TO
(FBA SW Bit 0 = 1) from any state
START
B C D E Emergency OFF
(FBA CW = xxxx xxxx xxxx xxx0 xxxx 1xxx 1xxx xx10) OFF2 (FBA CW Bit 2 = 1
and FBA CW Bit 0 = 1)
(FBA CW Bit 12 = 0)
OFF2
(FBA SW Bit 4 = 1)
ACTIVE
C D RUNNING (FBA SW Bit 3 = 1)
A
(FBA CW Bit 13 = 0) (FBA CW = xxxx xxxx xxxx xxx0 xxx0 1xxx 1xxx xx10)
D RFG: OUTPUT
ENABLED from any state
B Emergency stop
OFF3 (FBA CW Bit 3 = 1
(FBA CW Bit 14 = 0) (FBA CW = xxxx xxxx xxxx xxx0 xx00 1xxx 1xxx xx10) and FBA CW Bit 0 = 1)
OFF3
RFG: ACCELERATOR ACTIVE (FBA SW Bit 5 = 1)
ENABLED
C
n(f)=0 / I=0
(FBA CW = xxxx xxxx xxxx xxx0 x000 1xxx 1xxx xx10)
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 transmitting control commands (Control word,
Status word, references and actual values) between the master station (PLC) and
the slave station (Drive).
With the FPBA-01 module, the PROFIBUS network may employ either the
PROFIdrive profile or the ABB Drives profile. Both are converted to the FBA profile
(see chapter Fieldbus control description) by the FPBA-01 module. In addition, two
Transparent modes – for 16-bit and 32-bit words are available. With the Transparent
modes, no data conversion takes place.
Communication profiles
24
FPBA-01 Drive
PROFIdrive
Data conversion *
ABB Drives
Data conversion *
Select Select
PROFIBUS
Transparent16
CW
REF1
REF2 Optional reference/
16/32-
SW actual value scaling
bit
ACT1
ACT2
Group PROFIdrive positioning Group
A, Par. 5 A, Par. 5
Data conversion **
PROFIBUS Transparent32
PZDx
•
• 16/32-
• bit
•
PZD10
Note: The diagram is applicable only when PPO messaging is *FBA profile
used. If Standard Telegrams (ST) are used, the communication
profile is selected automatically. **PROFIdrive positioning is
not supported by ACS850
The following sections describe the Control word, the Status word, references and
actual values for the PROFIdrive and ABB Drives communication profiles. See FBA
communication profile on page 21 for more information on the FBA communication
profile.
Communication profiles
25
Communication profiles
26
Communication profiles
27
OFF1 0 Emergency OFF, stop by the selected deceleration ramp. Proceed to OFF1
ACTIVE; proceed further to READY TO SWITCH ON unless other interlocks
(OFF2, OFF3) are active.
5 1 Normal operation.
Proceed to RAMP FUNCTION GENERATOR: ENABLE ACCELERATOR.
7 RESET 0⇒1 Fault reset if an active fault exists. Proceed to SWITCH-ON INHIBIT.
Note: This bit is effective only if the fieldbus interface is set as the source for this
signal by drive parameters.
Communication profiles
28
0 OFF1 ACTIVE.
0 Disable operation.
3 TRIPPED 1 FAULT.
0 No fault.
0 OFF2 ACTIVE.
0 OFF3 ACTIVE.
7 ALARM 1 Warning/Alarm.
0 No Warning/Alarm.
Communication profiles
29
Communication profiles
30
SWITCH-ON
MAINS OFF INHIBIT (SW Bit6=1) PROFIBUS
Power ON OFF1 (CW Bit0=0) State Machine
CW = Control Word
NOT READY SW = Status Word
TO SWITCH ON (SW Bit0=0)
A B C D n = Speed
I = Input Current
(CW=xxxx x1xx xxxx x110) RFG = Ramp Function
(CW Bit3=0) Generator
f = Frequency
READY TO
OPERATION SWITCH ON (SW Bit0=1)
INHIBIT (SW Bit2=0) from any state
operation ON (CW=xxxx xxxx xxxx x111) Fault
inhibited
FAULT
READY TO Main contactor ON (SW Bit3=1)
from any state OPERATE (SW Bit1=1)
(CW Bit7=1)
OFF1 (CW Bit0=0)
(CW Bit4=0)
SPEED MODE ONLY
ENABLE
OPERATION (SW Bit2=1)
C D (CW Bit4,5,6=0)
A
E
(CW Bit5=0) (CW Bit4=1)
Jogging 1 or 2 ON
D RFG: ENABLE (CW Bit8=1 or Bit9=1)
OUTPUT
(CW Bit6=0) B JOGGING 1 or 2
(CW Bit5=1) ACTIVE
Jogging 1 or 2 OFF
RFG: ENABLE (CW Bit8=0 or Bit9=0)
state ACCELERATION
C Jogging pause
condition (CW Bit6=1)
Communication profiles
31
Communication profiles
32
Note: The scaling values of REF1 MAX and REF2 MAX for speed and torque are set
by drive parameters 19.01 and 24.05, respectively.
Fieldbus Drive
REFx MIN
0
-(REFx MIN)
Communication profiles
33
Note: The scaling values of REF1 MAX and REF2 MAX for speed and torque are set
by drive parameters 19.01 and 24.05 respectively.
Fieldbus Drive
REFx MIN
0
-(REFx MIN)
0 Force Ramp Function Generator output to zero. Drive ramps to stop (current
and DC voltage limits in force).
Communication profiles
34
7 RESET 0=>1 Fault reset if an active fault exists. Proceed to SWITCH-ON INHIBITED.
Note: This bit is effective only if the fieldbus interface is set as the source for
this signal by drive parameters.
8 to 9 Reserved.
0 OFF1 ACTIVE.
0 Operation inhibited.
3 TRIPPED 1 FAULT.
0 No fault.
0 OFF2 ACTIVE.
Communication profiles
35
0 OFF3 ACTIVE.
7 ALARM 1 Warning/Alarm.
0 No warning/alarm.
8 AT_ 1 OPERATION. Actual value equals reference = is within tolerance limits, i.e.
SETPOINT in speed control, speed error is 10% max. of nominal motor speed.
10 ABOVE_ 1 Actual frequency or speed equals or exceeds supervision limit (set by drive
LIMIT parameter). Valid in both directions of rotation.
Communication profiles
36
SWITCH-ON
MAINS OFF
INHIBITED (SW Bit6=1)
ABB Drives
Power ON (CW Bit0=0)
Communication
Profile
NOT READY TO
SWITCH ON (SW Bit0=0) CW = Control Word
A B C D
SW = Status Word
n = Speed
(CW=xxxx x1xx xxxx x110) I = Input Current
(CW Bit3=0) RFG = Ramp Function
READY TO Generator
OPERATION SWITCH ON (SW Bit0=1) f = Frequency
INHIBITED (SW Bit2=0)
from any state
operation (CW=xxxx x1xx xxxx x111)
inhibited Fault
READY TO
FAULT
from any state OPERATE (SW Bit1=1) (SW Bit3=1)
OPERATION
C D
ENABLED (SW Bit2=1)
A
(CW Bit5=0) (CW=xxxx x1xx xxx1 1111)
D RFG: OUTPUT
ENABLED
B
(CW Bit6=0) (CW=xxxx x1xx xx11 1111)
RFG: ACCELERATOR
state
ENABLED
C
(CW=xxxx x1xx x111 1111) condition
rising edge
OPERATION
(SW Bit8=1) of the bit
D
Communication profiles
37
Overview
This chapter presents the steps to take during the start-up of the FPBA-01
PROFIBUS DP Adapter Module and the ACS850 drive. This chapter presents
examples for different applications such as speed and torque control, sending
reference over fieldbus and scaling. For more detailed information, see PROFIBUS
DP Adapter Module FPBA-01 User’s Manual (3AFE68573271 [English]), ACS850
Standard Control Program Firmware Manual (3AUA0000045497 [English]) and
appropriate hardware manual, such as ACS850-04 Drive Modules (1.1 to 45 kW)
Hardware Manual (3AUA0000045496 [English]).
WARNING! Follow the safety instructions given in this manual and in the hardware
manual of the drive.
10.01 EXT1 START (3) FBA EXT1 start and stop commands are taken from the fieldbus.
FUNC
12.03 EXT1 CTRL MODE (1) Speed Speed control. Torque reference is 03.09 TORQ REF SP CTRL.
19.01 SPEED SCALING 1500 Defines the terminal speed value used in acceleration and the initial
speed value used in deceleration. Speed reference scaling is defined
by the used fieldbus profile (e.g. with PROFIdrive profile integer value
16384 (4000h) corresponds to parameter 19.01 SPEED SCALING
value). Signal 01.01 Motor speed rpm is sent to the fieldbus as an
actual value.
21.01 SPEED REF1 SEL FBA ref1 Selects the source for speed reference 1.
16.07 PARAM SAVE (0) DONE Saves parameter value changes (including those made through
(1) SAVE fieldbus control) to permanent memory.
Fieldbus parameters
The Application-specific setting column is a setup for speed control, using
PROFIdrive profile and PPO type 4.
Application-specific
Parameter Function/Information
setting
50.01 FBA ENABLE (1) ENABLE Initialises communication between drive and fieldbus
adapter module.
50.02 COMM LOSS FUNC (1) FAULT Selects how the drive reacts in a fieldbus
communication break.
50.03 COMM LOSS T OUT 0.3 Defines the time between communication break
detection and the action selected with parameter 50.02
COMM LOSS FUNC.
50.04 FBA REF1 MODESEL (2) SPEED Selects the fieldbus reference FBA REF1 scaling and
the actual value, which is sent to the fieldbus (FBA
ACT1).
51.01 FBA TYPE Profibus DP Displays the type of the fieldbus adapter module.
51.02 NODE NUMBER 2 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.
51.03 BAUD RATE 12000 Indicates the detected communication speed in kbit/
s;12000 = 12 Mbit/s
51.04 TELEGRAM TYPE 4 Indicates the selected telegram type for the Profibus
communication. 4 = PPO Type 4.
51.05 PROFILE 0 Selects which communication profile is used. 0 =
PROFIdrive.
51.06 T16 SCALE 0 Reference multiplier/actual value divisor for the FPBA-
01. The parameter is only effective when Transparent
16 profile is selected and the drive is using FBA
communication profile.
51.27 FBA PAR REFRESH 1 Validates any changed adapter module configuration
parameter settings.
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 1 or A for parameters
51.01…51.26.
Application-specific
Parameter Function/Information
setting
52.01 FBA DATA IN1 ... 52.12 Defines the data transmitted from drive to fieldbus
FBA DATA IN12 controller and further to the PLC. Parameters are set
according to the virtual address area of the drive.
Note: If the length of the selected data is 32 bits, two
parameters are reserved for the transmission.
52.01 FBA DATA IN1 4 Status word (16-bit). Mapping: PZD1
52.02 FBA DATA IN 2 5 Actual value 1 (16-bit). Mapping: PZD2
53.01 FBA DATA OUT 1 … 53.12 Defines the data transmitted from fieldbus controller to
FBA DATA OUT 12 drive.
Note: If the length of the selected data is 32 bits, two
parameters are reserved for the transmission.
53.01 FBA DATA OUT 1 1 Control word (16-bit). Mapping: PZD1
53.02 FBA DATA OUT 2 2 Reference 1 (16-bit). Mapping: PZD2
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 3 or C for parameters
52.01…52.12 and 2 or B for parameters 53.01…53.12.
51.27 FBA PAR REFRESH (1) REFRESH Validates any changed adapter module configuration
parameter settings.
The Control Word is used for sending commands from a master (PLC) to a slave unit
(Drive). Control Word and Status Word can be monitored from the PLC. The start
sequence for this example is given in the table below.
Step Instruction Control Word (Hex) Operation Status Word
1 Power up 0x0000 Fault active 0x0338
2 Reset fault (bit 7) 0x0480 Reset fault 0x0380
Remote command (bit 10)
3 OFF2 inactive (bit 1) 0x047e OFF1 active 0x0331
OFF3 inactive (bit 2) Ready to switch on
Operation enabled (bit 3)
Enable ramp function
generator (bit 4)
Enable ramp function (bit 5)
Force ramp function
generator input to zero
inactive (bit 6)
Remote command (bit 10)
4 Ready to operate (bit 0) 0x047f Operating 0x0337
OFF2 inactive (bit 1) Drive starts to modulate
OFF3 inactive (bit 2)
Operation enable (bit 3)
Enable ramp function
generator (bit 4)
Enable ramp function (bit 5)
Force ramp function
generator input to zero
inactive (bit 6)
Remote command (bit 10)
5 Set speed reference value to 0x047f Motor runs at reference 0x0337
200 speed
ABB DRIVES communication profile (Speed/Torque Control Mode) with PPO Type 5
The start/stop commands and reference are according to the ABB DRIVES profile
Speed Control Mode.
When Reference 1 (REF1) is used, a reference value of ±20000 (4E20h)
corresponds to 0 ... 100% of maximum reference. The speed scaling is defined by
the drive parameter 19.01 in the forward and reverse directions.
When Reference 2 (REF2) is used, a reference value of ±10000 (2710h)
corresponds to 0 ... 100% of maximum reference. The torque scaling is defined by
the drive parameter 24.05 in the forward and reverse directions.
Direction PZD1 PZD2 PZD3 PZD4 PZD5 PZD6
Out Control Word Speed reference Torque reference Not used
In Status Word Speed actual value Torque actual Not used
10.01 EXT1 START (3) FBA EXT1 start and stop commands are taken from the fieldbus.
FUNC
10.04 EXT2 START (3) FBA EXT2 start and stop commands are taken from the fieldbus
FUNC
12.01 EXT1/EXT2 SEL C.false External 1 / External 2 selection from fieldbus only (bit in the fieldbus
Control Word)
12.03 EXT1 CTRL MODE (1) Speed Speed control. Torque reference is 03.09 TORQ REF SP CTRL.
12.05 EXT2 CTRL MODE (2) Torque Torque control. Torque reference is 03.12 TORQ REF SP LIM.
19.01 SPEED SCALING 1500 Defines the terminal speed value used in acceleration and the initial
speed value used in deceleration. Speed reference scaling is defined
by the used fieldbus profile (e.g. with ABB Drives profile integer value
20000 (4E20h) corresponds to parameter 19.01 SPEED SCALING
value). Signal 01.01 MOTOR SPEED RPM is sent to the fieldbus as
an actual value.
21.01 SPEED REF1 SEL FBA ref1 Selects the source for speed reference 1.
24.01 TORQUE REF1 FBA ref2 Selects the source for torque reference 1.
SEL
16.07 PARAM SAVE (0) DONE Saves parameter value changes (including those made through
(1) SAVE fieldbus control) to permanent memory.
Fieldbus parameters
The Application-specific setting column is a setup for speed/torque control, using
ABB drives profile and PPO type 5.
Application-specific
Parameter Function/Information
setting
50.01 FBA ENABLE (1) ENABLE Initialises communication between drive and fieldbus
adapter module.
50.02 COMM LOSS FUNC (1) FAULT Selects how the drive reacts in a fieldbus
communication break.
50.03 COMM LOSS T OUT 0.3 Defines the time between communication break
detection and the action selected with parameter 50.02
COMM LOSS FUNC.
50.04 FBA REF1 MODESEL (2) SPEED Selects the fieldbus reference FBA REF1 scaling and
the actual value, which is sent to the fieldbus (FBA
ACT1). ABB Drives Profile integer value 20000
corresponds to parameter 19.01 SPEED SCALING
value. Signal 01.01 Motor speed rpm is sent to the
fieldbus as an actual value.
50.05 FBA REF2 MODESEL (1) TORQUE Selects the fieldbus reference FBA REF2 scaling and
the actual value, which is sent to the fieldbus (FBA
ACT2). ABB Drives Profile integer value 10000
corresponds to 100% torque value. Signal 01.06 Motor
torque is sent to the fieldbus as an actual value.
51.01 FBA TYPE Profibus DP Displays the type of the fieldbus adapter module.
51.02 NODE NUMBER 2 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.
51.03 BAUD RATE 12000 This paremeter indicates the detected communication
speed in kbit/s;12000 = 12 Mbit/s
51.04 TELEGRAM TYPE 5 This parameter indicates the selected telegram type for
the Profibus communication. 5 = PPO Type 5.
51.05 PROFILE 1 This parameter is used to select which communication
profile is used. 1 = ABB Drives profile.
Application-specific
Parameter Function/Information
setting
51.06 T16 SCALE 0 Reference multiplier/actual value divisor for the FPBA-
01. The parameter is only effective when Transparent
16 profile is selected and the drive is using FBA
communication profile.
51.27 FBA PAR REFRESH 1 Validates any changed adapter module configuration
parameter settings.
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 1 or A for parameters
51.01…51.26.
52.01 FBA DATA IN1 ... 52.12 Defines the data transmitted from drive to fieldbus
FBA DATA IN12 controller and further to the PLC. Parameters are set
according to the virtual address area of the drive.
Note: If the length of the selected data is 32 bits, two
parameters are reserved for the transmission.
52.01 FBA DATA IN1 4 Status word (16-bit). Mapping: PZD1
52.02 FBA DATA IN 2 5 Actual value 1 (16-bit). Mapping: PZD2
52.03 FBA DATA IN 3 6 Actual value 2 (16-bit). Mapping: PZD3
53.01 FBA DATA OUT 1 … 53.12 Defines the data transmitted from fieldbus controller to
FBA DATA OUT 12 drive.
Note: If the length of the selected data is 32 bits, two
parameters are reserved for the transmission.
53.01 FBA DATA OUT 1 1 Control word (16-bit). Mapping: PZD1
53.02 FBA DATA OUT 2 2 Reference 1 (16-bit). Mapping: PZD2
53.03 FBA DATA OUT 3 3 Reference 2 (16-bit). Mapping: PZD3
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 3 or C for parameters
52.01…52.12 and 2 or B for parameters 53.01…53.12.
51.27 FBA PAR REFRESH (1) REFRESH Validates any changed adapter module configuration
parameter settings.
The Control Word is used for sending commands from a master (PLC) to a slave unit
(Drive). The start sequence for speed control in this example is given in the table
below.
Step Instruction Control Word (Hex) Operation Status Word
1 Power up 0x0000 Fault active 0x1338
2 Reset fault (bit 7) 0x0480 Reset fault 0x0380
Remote command (bit 10)
3 OFF2 inactive (bit 1) 0x047e OFF1 active 0x1331
OFF3 inactive (bit 2) Ready to operate
Operation enabled (bit 3)
Enable ramp function
generator (bit 4)
Enable ramp function (bit 5)
Force ramp function
generator input to zero
inactive (bit 6)
Remote command (bit 10)
4 OFF1 inactive (bit 0) 0x047f Operating 0x1337
OFF2 inactive (bit 1) Drive starts to modulate
OFF3 inactive (bit 2)
Operation enable (bit 3)
Enable ramp function
generator (bit 4)
Enable ramp function (bit 5)
Force ramp function
generator input to zero
inactive (bit 6)
Remote command (bit 10)
5 Set speed reference value to 0x047f Motor runs at reference 0x1337
200 speed
The start sequence for torque control in this example is given in the table below.
Step Instruction Control Word (Hex) Operation Status Word
1 Power up 0x0000 Fault active 0x1338
2 Reset fault (bit 7) 0x0c80 Reset fault 0x0b80
Remote command (bit 10) External 2 for torque
External control location control selected
EXT2 selected (bit 11)
3 OFF2 inactive (bit 1) 0x0c0e Ready to operate 0x1b31
OFF3 inactive (bit 2)
Operation enabled (bit 3)
Remote command (bit 10)
External control location
EXT2 selected (bit 11)
4 Ready to operate (bit 0) 0x0c0f Operating 0x1b37
OFF2 inactive (bit 1) Drive starts to modulate
OFF3 inactive (bit 2)
Operation enabled (bit 3)
Remote command (bit 10)
External control location
EXT2 selected (bit 11)
5 Set torque reference value to 0x0c0f Motor runs at reference 0x1a37
2000 (Equals to 20.00%). torque. If speed limit is
met, motor runs at 3.12
TORQ REF SP LIM to
prevent motor rush
10.01 EXT1 START (3) FBA EXT1 start and stop commands are taken from the fieldbus.
FUNC
12.03 EXT1 CTRL MODE (1) Speed Speed control. Torque reference is 03.09 TORQ REF SP CTRL.
19.01 SPEED SCALING 1500 Defines the terminal speed value used in acceleration and the initial
speed value used in deceleration. Speed reference scaling is defined
by the used fieldbus profile (e.g. with PROFIdrive profile integer value
16384 (4000h) corresponds to parameter 19.01 SPEED SCALING
value). Signal 01.01 Motor speed rpm is sent to the fieldbus as an
actual value.
21.01 SPEED REF1 SEL FBA ref1 Selects the source for speed reference 1.
16.07 PARAM SAVE (0) DONE Saves parameter value changes (including those made through
(1) SAVE fieldbus control) to permanent memory.
Fieldbus parameters
The Application-specific setting column is a setup for speed control, using T16
profile and PPO type 5.
Application-specific
Parameter Function/Information
setting
50.01 FBA ENABLE (1) ENABLE Initialises communication between drive and fieldbus
adapter module.
50.02 COMM LOSS FUNC (1) FAULT Selects how the drive reacts in a fieldbus
communication break.
50.03 COMM LOSS T OUT 0.3 Defines the time between communication break
detection and the action selected with parameter 50.02
COMM LOSS FUNC.
50.04 FBA REF1 MODESEL (2) SPEED Selects the fieldbus reference FBA REF1 scaling and
the actual value, which is sent to the fieldbus (FBA
ACT1).
51.01 FBA TYPE Profibus DP Displays the type of the fieldbus adapter module.
51.02 NODE NUMBER 2 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.
51.03 BAUD RATE 12000 This paremeter indicates the detected communication
speed in kbit/s;12000 = 12 Mbit/s
51.04 TELEGRAM TYPE 5 This parameter indicates the selected telegram type for
the Profibus communication. 5 = PPO Type 5.
51.05 PROFILE 2 This parameter is used to select which communication
profile is used. 2 = Transparent 16.
51.06 T16 SCALE 1500 Reference multiplier/actual value divisor for the FPBA-
01. The parameter is only effective when Transparent
16 profile is selected and the drive is using FBA
communication profile. Reference value 0 to 65536
corresponds to scale 0 to 1500.
51.27 FBA PAR REFRESH 1 Validates any changed adapter module configuration
parameter settings.
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 1 or A for parameters
51.01…51.26.
Application-specific
Parameter Function/Information
setting
52.01 FBA DATA IN1 ... 52.12 Defines the data transmitted from drive to fieldbus
FBA DATA IN12 controller and further to the PLC. Parameters are set
according to the virtual address area of the drive.
Note: If the length of the selected data is 32 bits, two
parameters are reserved for the transmission.
52.01 FBA DATA IN1 4 Status word (16-bit). Mapping: PZD1
52.02 FBA DATA IN 2 5 Actual value 1 (16-bit). Mapping: PZD2
53.01 FBA DATA OUT 1 … 53.12 Defines the data transmitted from fieldbus controller to
FBA DATA OUT 12 drive.
Note: If the length of the selected data is 32 bits, two
parameters are reserved for the transmission.
53.01 FBA DATA OUT 1 1 Control word (16-bit). Mapping: PZD1
53.02 FBA DATA OUT 2 2 Reference 1 (16-bit). Mapping: PZD2
Note: In the User’s Manual of the fieldbus adapter module, the parameter group number is 3 or C for parameters
52.01…52.12 and 2 or B for parameters 53.01…53.12.
51.27 FBA PAR REFRESH (1) REFRESH Validates any changed adapter module configuration
parameter settings.
The Control Word is used for sending commands from a master (PLC) to a slave unit
(Drive). The start sequence for this example is given in the table below.
Step Instruction Control Word (Hex) Operation Status Word
1 Power up 0x0000 At setpoint. Zero speed. 0x2100
2 Reset fault (bit 8) 0x0900 Drive ready. 0x2101
Remote command (bit 11)
3 Start (bit 1) 0x0802 Drive ready. 0x2101
Remote command (bit 11)
4 Start (bit 1) 0x0882 Enabled. Running. 0x210f
Run enable (bit 7) Drive starts to modulate
Remote command (bit 11)
5 Set speed reference value to 0x0882 Motor runs at reference 0x010f
6553. Corresponds to speed speed
6553/65536*1500 =
150 (rpm)
Safety
WARNING! Follow the safety instructions given in this manual and in the drive
hardware manual.
Start-up flowchart
The steps of the start-up procedure are presented below. Perform the steps from first
to last.
ELECTRICAL INSTALLATION In this section, you wire the equipment used in this programming
example.
1 Connect the PC RJ-45 cable to ACS850-04 Drive Modules (1.1 to 45 kW) Hardware Manual
drive terminal X7. (3AUA0000045496 [English])
Page 61
2 Install the AC500 Control Builder Installing the AC500 Control Builder PS501 software, page 62
PS501 software.
PROGRAMMING In this section, you set up the communication between the drive
and the PLC and make the PLC program that controls the drive
through fieldbus.
1 Set the drive control program In this section you set the drive parameters needed for
parameters. communication with the FPBA-01 fieldbus adapter module.
Setting the drive control program parameters, page 65
2 Set up the communication. In this section, communication between the PLC and the drive is
configured.
Setting up the communication, page 69
• Create a new project, page 69
• Configure communication with the SYCON.net fieldbus
configurator, page 75
3 PLC main program introduction. In this section, PLC main program is introduced.
Introduction to the PLC main program, page 89
• Main program, page 89
• Local variables, page 91
• Global variables, page 91
• How to add function blocks, page 92
6 Run and test the program. In this section, you run and test the program that you have made.
Running and testing the program, page 107
• How to download the program to the controller and run the
program, page 107
• ABB Drives profile; Run at reference speed, page 110
• ABB Drives profile; Stopping, page 116
• ABB Drives profile: Run at reference torque, page 120
• ABB Drives profile; Parameter handling (PKW 1-4 Read/Write)
Reading a parameter, page 124
• ABB Drives profile; Parameter handling (PKW 1-4 Read/Write)
Writing a parameter, page 126
• Parameter handling; mapping parameters to the cyclic process
data (PZD) communication channel, page 127
• How to perform online monitoring, page 129
Connections
PC:
- DriveStudio
- AC500 Control Builder PS501
ACS850-04
COM
6 7 8 9
5
FPBA-01
1 2 3 4
3 Analog potentiometer
4 Digital switches
5 Programming port
3. Click the Read me for installation button and read the instructions.
4. Click the Step 1: Installation Control Builder PS501 button. Follow the
instructions.
5. Click the Step 2: Installation Fieldbus Configuration SYCON.net button.
Follow the instructions.
6. Click the Installation GSD and ESD files button. Follow the instructions.
7. Click the Opt. 1: Installation CoDeSys Service Tool.
Note: Under Manual, you can also download FPBA-01 Profibus DP Adapter
Module User's Manual
4. Unzip the GSD files and copy them into following folder on your PC:
C:\Program Files\Hilscher GmbH\SYCONnet\ABBPBGenericSlaveDTM\GSD
1. Open the AC500 Control Builder PS501 programming tool by double-clicking the
icon:
Installation path:
C:\Program Files\3S Software\CoDeSys V2.3\Codesys.exe
2. Select from the File menu New. Dialog box Target settings opens.
3. In the Configuration: box, select your CPU type (example: AC500 PM571 V1.2).
Click OK.
5. The programming view opens. Open the Resources field by clicking its tab.
7. In the PLC Configuration dialog box, click the plus sign to open the AC500 folder.
9. In the Interfaces [FIX] folder, right-click the FBP-none[SLOT] file and select
Replace element and FBP - Slave.
11. In the Couplers[FIX] folder, right-click the Internal - none[SLOT] file and select
Replace element and PM5x1-ETH - Internal-Ethernet.
13. From the File menu, select Save as and name the project. Click Save.
4. From the Network menu, select the Device Catalog… command. Click the
Reload button. PROFIBUS options appear in the ABB Oy folder. Click OK.
10. In the Navigation area, click Configuration / Bus Parameters. In the Bus
Parameters dialog box, set the Baud Rate. If there is warning sign, click the Adjust
button and set the other timing parameters.
Note: You can name all signals here and they will be automatically declared in the
Control Builder.
16. Check that the PLC is in the Stop state (Stop in the display).
Note: The downloading is not possible if the PLC is in the Run state.
18. When the downloading is completed, right-click the CM572-DPM icon and then
click Disconnect.
19. Save the project with the Save command under the File menu.
20. Close the SYCON.net tool.
Global variables
Global variables are located under the Resources tab. The Declare Variable
assistant writes variables to the local or global variable list based on your selection.
All global variables used in project ABB_Drives_PB_demo.pro are shown below.
3. Replace the default text AND with text “any function block”. The CoDeSys program
recognizes the function block and the block appearance changes automatically.
Note: Function block descriptions and other relevant data are available in the
online help, click F1 to start.
5. The Declare Variable assistant appears. In the Class dialog box, select the desired
variable class. The content of the Type box is configured automatically according to
the function block type. Click OK.
Note: If you want to call the Declare Variable assistant again, click the desired
variable and press Shift+F2.
Note: When defining inputs, you can use the Input assistant. Click the desired input
and press F2.
2. Name the action and select the programming language (options below). Click OK.
• IL: Instruction list
• LD: Ladder diagram
• FBD: Function block diagram
• SFC: Sequential function chart
• ST: Structured text
• CFC: Continuous function chart
3. In the Category: dialog box, select Text. In the Text Content: dialog box, write a
name for the button.
With the button created you can switch the value of a global variable (in this case,
activate_scaling) between TRUE and FALSE.
1. Check that the AC500 PLC and ACS850 drive are switched on and connections are
made properly. See page 61.
If you get a communication error message, then the connection between the PC
and the PLC is not properly established.
Check the cables and connections. From the Online menu, select
Communication Parameters… and remove irrelevant communication
parameters. Configure the communication with the SYCON.net again and
download the configuration. To find out the communication parameter values of
your PC, see Appendix A - How to find out the serial communication parameter
values of your PC?
Bit 0: Stop along currently active decelarion ramp, ACS850 parameter 22.03 or
22.05. Proceed to OFF1 ACTIVE; proceed to READY SWITCH-ON, unless other
interlocks (OFF2, OFF3) are active. CW: 0x47e, SW: 0x1231.
5. Bit 4: Force ramp function generator output to zero. Current and DC- voltage limits
in force. CW: 0x46f, SW: 0x1237.
7. Bit 6: Force ramp function generator input to zero. Ramp function generator input is
zero. CW:43f, SW: 1337.
You can monitor the actual cyclic data flow over fieldbus in PZD 2-10 areas.
Note: To write hexadecimal values in CoDeSys start input with 16#. For example:
to write to a field OUT1, enter the input value 16#6013.
Note: To write hexadecimal values in CoDeSys start input with 16#. For example:
to write to a field OUT1, enter the input value 16#4014.
For example: to read output frequency, parameter value 52.04 is set to value 0103
(corresponding to parameter 01.03 Output frequency).
Note: When reading/writing 32-bit parameter two words are reserved, as in this
case parameters 52.04 and 52.05.
Parameter lenghts are found from the ACS850 hardware manual.
To write parameter 11.06 DC HOLD, parameter value 53.04 is set to 1106.
Note: Refresh with parameter 51.27.
Appendix A - How to find out the serial communication parameter values of your PC?
134
PM571
ACS850-04 AC500 CPU
Drive CM572
Profibus DP Master
FPBA-01
Profibus
Adapter
Appendix A - How to find out the serial communication parameter values of your PC?
135
Appendix A - How to find out the serial communication parameter values of your PC?
136
Appendix A - How to find out the serial communication parameter values of your PC?
137
Appendix A - How to find out the serial communication parameter values of your PC?
138
Appendix A - How to find out the serial communication parameter values of your PC?
139
Appendix A - How to find out the serial communication parameter values of your PC?
140
Appendix A - How to find out the serial communication parameter values of your PC?
141
Appendix A - How to find out the serial communication parameter values of your PC?
142
If you get a communication error message, then the connection between the PC
and the PLC is not properly established.
Check the cables and connections. From the Online menu, select
Communication Parameters… and remove irrelevant communication
parameters. Configure the communication with the SYCON.net again and
download the configuration. To find out the communication parameter values of
your PC, see Appendix A - How to find out the serial communication parameter
values of your PC?
Appendix A - How to find out the serial communication parameter values of your PC?
143
Appendix A - How to find out the serial communication parameter values of your PC?
144
Appendix A - How to find out the serial communication parameter values of your PC?
145
Appendix A - How to find out the serial communication parameter values of your PC?
146
Appendix A - How to find out the serial communication parameter values of your PC?
147
Appendix A - How to find out the serial communication parameter values of your PC?
148
Bit 0: Stop along currently active deceleration ramp, ACS850 parameter 22.03 or
22.05. Proceed to OFF1 ACTIVE; proceed to READY SWITCH-ON, unless other
interlocks (OFF2, OFF3) are active. CW: 0x47e, SW: 0x1231.
Appendix A - How to find out the serial communication parameter values of your PC?
149
Appendix A - How to find out the serial communication parameter values of your PC?
150
Appendix A - How to find out the serial communication parameter values of your PC?
151
Appendix A - How to find out the serial communication parameter values of your PC?
152
Appendix A - How to find out the serial communication parameter values of your PC?
153
Appendix A - How to find out the serial communication parameter values of your PC?
154
You can monitor actual torque from the Act 1 (PZD 3) field.
You can monitor the actual cyclic data flow over fieldbus in PZD 1-10 areas.
Appendix A - How to find out the serial communication parameter values of your PC?
155
Appendix A - How to find out the serial communication parameter values of your PC?
156
3. In the Ports (COM & LPT) folder, click Communications Port, which is connected to
AC500, in this case port (COM1).
Appendix A - How to find out the serial communication parameter values of your PC?
157
Appendix A - How to find out the serial communication parameter values of your PC?
158
Appendix A - How to find out the serial communication parameter values of your PC?
Further information
Product training
For information on ABB product training, navigate to www.abb.com/drives and select
Training courses.