Professional Documents
Culture Documents
Capitulo 7
Capitulo 7
Communication profiles 81
Communication profiles
What this chapter contains
This chapter describes the communication profiles used in the communication between the PROFIBUS network, the adapter module and the drive.
Communication profiles
Communication profiles are ways of conveying control commands (Control word, Status word, references and actual values) between the master station and the 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 native profile (eg, DCU or FBA) by the adapter module. In addition, two Transparent modes for 16-bit and 32-bit words respectively are available. With the Transparent modes, no data conversion takes place.
82 Communication profiles
Drive
ABB Drives
Select
Data conversion
1)
Select
Transparent16
Optional reference/actual value scaling Group A Par. 05 Group A Par. 05 1)
16/32 -bit
PROFIdrive positioning
Data conversion
Transparent32
1)
Note: The diagram is applicable only when PPO messaging is used. If standard telegrams (ST) are used, the communication profile is selected automatically.
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 native profiles.
Communication profiles 83
OFF2
1 0
OFF3
84 Communication profiles STATE/Description Speed control mode Positioning mode Emergency stop, stop according to fastest possible deceleration mode. Proceed to OFF3 ACTIVE; proceed further to SWITCH-ON INHIBIT. Warning: Ensure motor and driven machine can be stopped using this stop mode. Proceed to ENABLE OPERATION. Inhibit operation. Proceed to OPERATION INHIBIT. Normal operation. Proceed to RAMP FUNCTION GENERATOR: ENABLE OUTPUT. Stop according to selected stop type. Normal operation. Proceed to RAMP FUNCTION GENERATOR: ENABLE ACCELERATOR. Halt ramping (Ramp Function Generator output held). Normal operation. Proceed to OPERATING. Note: This bit is effective only if the fieldbus interface is set as the source for this signal by drive parameters. Force Ramp Function Generator input to zero. Normal operation. Do not reject traversing task.
Bit
Name
Value 0
1 0 1
0 1
Intermediate stop
Activate traversing task (0 > 1). This is a toggle bit; each rising edge of signal enables a traversing task or a new set point.
Bit 7
Name RESET
Value
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. 0 (Continue normal operation) Jogging 1 (Not supported by all drive types) Jogging 2 (Not supported by all drive types) 1 0 Fieldbus control enabled Control word <> 0 or reference <> 0: Retain last Control word and reference. Control word = 0 and reference = 0: Fieldbus control enabled. Vendor-specific bit as defined by PROFIdrive parameter 933. Start homing procedure. Stop homing procedure.
8 9 10
11
1 0
12 13 14 15
Vendor-specific bit as defined by PROFIdrive parameter 934 Vendor-specific bit as defined by PROFIdrive parameter 935 Vendor-specific bit as defined by PROFIdrive parameter 936 Vendor-specific bit as defined by PROFIdrive parameter 937
86 Communication profiles
Status word contents The table below shows the contents of the Status word for the PROFIdrive communication profile (PROFIdrive parameter 968). The upper case boldface text refers to the states shown in the state machine on page 88.
Bit 0 1 2 3 4 5 6 7 8 Name RDY_ON RDY_RUN RDY_REF TRIPPED OFF_2_STA OFF_3_STA SWC_ON_INH IB ALARM AT_SETPOINT Value 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 STATE/Description Speed control mode Positioning mode READY TO SWITCH ON NOT READY TO SWITCH ON READY TO OPERATE OFF1 ACTIVE ENABLE OPERATION DISABLE OPERATION FAULT No fault OFF2 inactive OFF2 ACTIVE OFF3 inactive OFF3 ACTIVE SWITCH-ON INHIBIT ACTIVE SWITCH-ON INHIBIT NOT ACTIVE Warning/Alarm No Warning/Alarm OPERATING. Actual value equals reference value (= is within tolerance limits). Actual value differs from reference value (= is outside tolerance limits). Drive control location: REMOTE Drive control location: LOCAL
0 9 REMOTE 1 0
Communication profiles 87 STATE/Description Speed control mode Positioning mode Actual frequency or speed value equals or is greater than supervision limit. Actual frequency or speed value is within supervision limit. Vendor-specific bit as defined by PROFIdrive parameter 939 Vendor-specific bit as defined by PROFIdrive parameter 940 Vendor-specific bit as defined by PROFIdrive parameter 941 Target position reached
Bit 10
Name
Value 1
11
Homing procedure was executed and is valid. No valid home position available Traversing task acknowledgement (0 > 1) Drive stopped. Drive moving. Traversing task is executed (n <> 0).
0 12 1 0 13 1 0
14 15
Vendor-specific bit as defined by PROFIdrive parameter 942 Vendor-specific bit as defined by PROFIdrive parameter 943
88 Communication profiles
State machine for all operating modes The general PROFIdrive state machine for all operating modes is shown below.
MAINS OFF Power ON SWITCH-ON INHIBIT (SW Bit6=1)
A B C D
(SW Bit0=0)
(CW=xxxx x1xx xxxx x110) (CW Bit3=0) OPERATION INHIBIT READY TO SWITCH ON (SW Bit2=0) (SW Bit0=1)
operation inhibited from any state OFF1 (CW Bit0=0) OFF1 ACTIVE (SW Bit1=0) Enable operation (CW Bit3=1) F
ON (CW=xxxx x1xx xxxx x111) READY TO OPERATE Main contactor ON (SW Bit1=1)
(CW Bit7=1)
n(f)=0 / I=0
from any state from any state Emergency stop Emergency stop OFF3 (CW Bit2=0) OFF2 (CW Bit1=0) OFF3 ACTIVE OFF2 (SW Bit5=0) ACTIVE (SW Bit4=0) Main contactor OFF
n(f)=0 / I=0
E Jogging 1 or 2 ON (CW Bit8=1 or Bit9=1) JOGGING 1 or 2 ACTIVE Jogging 1 or 2 OFF (CW Bit8=0 or Bit9=0) Jogging pause n=0 or f =0 and I=0 and pause expired
state
C
Communication profiles 89
State machine for positioning mode The PROFIdrive state machine for the positioning mode is shown below.
F
(SW Bit10,13=1)
(CW Bit11=1)
(SW Bit10,13=0)
(SW Bit10,13=0)
(SW Bit10,13=0)
In the Operating state of the general state machine: SW bits 0, 1 and 2 = 1 SW bit 6 = 0.
90 Communication profiles
References
ABB drives can receive control information from multiple sources including analog and digital inputs, the drive control panel and a communication module (for example, FPBA-01). In order to have the drive controlled through PROFIBUS, the communication module must be defined as the source for control information, for example, reference. References in speed control mode In the speed control mode, references are 16-bit or 32-bit words containing a sign bit and a 15-bit or 31-bit integer. A negative reference (indicating reversed direction of rotation) is formed by calculating the twos complement from the corresponding positive reference. A 16-bit speed reference (REF or NSOLL_A) in hexadecimal (04000h) corresponds to 0100% of Maximum Reference (as defined with a drive parameter). A 32-bit speed reference (NSOLL_B) in hexadecimal (04000 0000h) corresponds to 0100% of Maximum Reference (as defined with a drive parameter). References in positioning mode (ACSM1 only) In the 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 twos complement from the corresponding positive reference. For a 32-bit position reference (XSOLL_A), the unit and scaling are defined with drive parameters (for example, POS UNIT, POS2INT SCALE and FEED CONST). For a 32-bit velocity reference (VELOCITY_A), the unit and scaling are defined with drive parameters (for example, POS SPEED UNIT and POS SPEED2INT).
Communication profiles 91
Actual values
Actual values are 16-bit or 32-bit words containing information on the operation of the drive. The functions to be monitored are selected with a drive parameter. Actual values in speed control mode The scaling of 16-bit actual speed values (ACT or NIST_A) in hexadecimal (04000h) corresponds to 0100% of Maximum Reference (as defined with a drive parameter). The scaling of 32-bit actual speed values (NIST_B) in hexadecimal (04000 0000h) corresponds to 0100% of Maximum Reference (as defined with a drive parameter). Actual values in positioning mode (ACSM1 only) For a 32-bit actual position value (XIST_A), the unit and scaling are defined with drive parameters (for example, POS UNIT, POS2INT SCALE and FEED CONST).
92 Communication profiles
OFF2_ CONTROL
1 0
OFF3_ CONTROL
1 0
Communication profiles 93 Bit 3 Name INHIBIT_ OPERATION Value 1 STATE/Description Proceed to OPERATION ENABLED. Note: Run enable signal must be active; see drive documentation. If the drive is set to receive the Run enable signal from the fieldbus, this bit activates the signal. Inhibit operation. Proceed to OPERATION INHIBITED. Normal operation. Proceed to RAMP FUNCTION GENERATOR: OUTPUT ENABLED. Force Ramp Function Generator output to zero. Drive ramps to stop (current and DC voltage limits in force). Enable ramp function. Proceed to RAMP FUNCTION GENERATOR: ACCELERATOR ENABLED. Halt ramping (Ramp Function Generator output held). Normal operation. Proceed to OPERATING. Note: This bit is effective only if the fieldbus interface is set as the source for this signal by drive parameters. Force Ramp Function Generator input to zero.
0 4 RAMP_OUT_ ZERO 1
RAMP_HOLD
0 6 RAMP_IN_ ZERO 1
0 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. 0 Continue normal operation.
89
Reserved
94 Communication profiles Bit 10 Name REMOTE_ CMD Value 1 0 STATE/Description Fieldbus control enabled Control word and reference not getting through to the drive, except for CW bits OFF1, OFF2 and OFF3. Select External Control Location EXT2. Effective if control location parameterized to be selected from fieldbus. Select External Control Location EXT1. Effective if control location parameterized to be selected from fieldbus.
11
EXT_CTRL_ LOC
12 15
Status word contents The table below shows the contents of the Status word for the ABB Drives communication profile. The upper case boldface text refers to the states shown on page 96.
Bit 0 1 2 3 4 5 6 Name RDY_ON RDY_RUN RDY_REF TRIPPED OFF_2_STA OFF_3_STA SWC_ON_ INHIB Value STATE/Description 1 0 1 0 1 0 1 0 1 0 1 0 1 0 READY TO SWITCH ON NOT READY TO SWITCH ON READY TO OPERATE OFF1 ACTIVE OPERATION ENABLED OPERATION INHIBITED FAULT No fault OFF2 inactive OFF2 ACTIVE OFF3 inactive OFF3 ACTIVE. SWITCH-ON INHIBITED
Communication profiles 95 Bit 7 8 Name ALARM AT_SETPOINT Value STATE/Description 1 0 1 Warning/Alarm No warning/alarm OPERATING. Actual value equals reference (= is within tolerance limits, ie, in speed control, speed error is 10% max. of nominal motor speed). Actual value differs from reference (= is outside tolerance limits). Drive control location: REMOTE (EXT1 or EXT2) Drive control location: LOCAL Actual frequency or speed equals or exceeds supervision limit (set by drive parameter). Valid in both directions of rotation. Actual frequency or speed within supervision limit External Control Location EXT2 selected External Control Location EXT1 selected External Run Enable signal received No External Run Enable signal received
Drive-specific (For information, see the drive documentation.) FBA_ERROR 1 0 Communication error detected by fieldbus adapter module Fieldbus adapter communication OK
96 Communication profiles
State machine The state machine for the ABB Drives communication profile is shown below.
MAINS OFF
Power ON
SWITCH-ON INHIBITED
(SW Bit6=1)
(CW Bit0=0)
A B CD
(SW Bit0=0)
OPERATION INHIBITED
operation inhibited from any state
READY TO SWITCH ON
(SW Bit2=0)
(SW Bit0=1)
READY TO OPERATE
(SW Bit1=1)
FAULT
(SW Bit3=1)
OFF1 ACTIVE
(CW Bit7=1)
n(f)=0 / I=0
from any state from any state Emergency stop Emergency OFF OFF3 (CW Bit2=0) OFF2 (CW Bit1=0)
B C D (CW Bit4=0) C D
OFF3 ACTIVE
(SW Bit5=0)
OFF2 ACTIVE
(SW Bit4=0)
n(f)=0 / I=0
OPERATION ENABLED
A
(SW Bit2=1)
OPERATION
D
(SW Bit8=1)
Communication profiles 97
References
References are 16-bit words containing a sign bit and a 15-bit integer. A negative reference (indicating reversed direction of rotation) is formed by calculating the twos complement from the corresponding positive reference. ABB drives can receive control information from multiple sources including analog and digital inputs, the drive control panel and a communication module (for example, FPBA-01). In order to have the drive controlled through the fieldbus, the module must be defined as the source for control information, for example, reference. Scaling References are scaled as shown below. Note: The values of REF1 MAX and REF2 MAX are set with drive parameters. See the drive manuals for further information. In ACSM1, ACS850, ACQ810 and ACS880, the speed reference (REFx) in decimal (020000) corresponds to 0100% of the speed scaling value (as defined with a drive parameter, eg, ACS880 parameter 46.10 Speed scaling.) In ACS355, drive parameter REFx MIN may limit the actual minimum reference.
Fieldbus REF2: 10000 REF1: 20000 Drive REFx MAX / Speed scale
98 Communication profiles
Actual values
Actual values are 16-bit words containing information on the operation of the drive. The functions to be monitored are selected with a drive parameter. Scaling Actual values are scaled as shown below. Note: The values of REF1 MAX and REF2 MAX are set with drive parameters. See the drive manuals for further information.
Fieldbus ACT2: 10000 ACT1: 20000 Drive REFx MAX
-(REFx MAX)