While every precaution has been taken in the preparation of this document,
Schneider Electric SA assumes no liability for any omissions or errors it may contain,
nor for any damages resulting from the application or use of the information herein.
The products and options described in this document may be changed or modified at
any time, either from a technical point of view or in the way they are operated.
Their description can in no way be considered contractual.
Before you begin_____________________________________________________________________________________________ 4
Receipt _________________________________________________________________________________________________ 7
Installing the card in the drive________________________________________________________________________________ 7
Connection to the bus______________________________________________________________________________________ 8
Recommendations ________________________________________________________________________________________ 9
Controlling the address and speed of the bus __________________________________________________________________ 18
LEDs__________________________________________________________________________________________________ 18
Control-signal diagnostics__________________________________________________________________________________ 19
Communication faults _____________________________________________________________________________________ 22
Card fault ______________________________________________________________________________________________ 22
Software setup of DPv1 messaging _____________________________________________________________________________ 23
Profibus DPv1 protocol____________________________________________________________________________________ 23
Indirect access (use of SLOT 1 only) _________________________________________________________________________ 24
Direct access (using the SLOT INDEX) _______________________________________________________________________ 25
Software setup of DPv0 messaging _____________________________________________________________________________ 26
Software setup using PL7_____________________________________________________________________________________ 30
Example with SIMATIC Manager (STEP7)________________________________________________________________________ 31
AAV52935 10/20093
Before you begin
Read and understand these instructions before performing any procedure with this drive.
DANGER
HAZARDOUS VOLTAGE
• Read and understand this manual before installing or operating the drive. Installation, adjustment, repair, and
maintenance must be performed by qualified personnel.
• The user is responsible for compliance with all international and national electrical standards in force concerning
protective grounding of all equipment.
• Many parts in this variable speed drive, including printed wiring boards, operate at line voltage. DO NOT TOUCH.
Use only electrically insulated tools.
• DO NOT touch unshielded components or terminal strip screw connections with voltage present.
• DO NOT short across terminals PA and PC or across the DC bus capacitors.
• Install and close all covers before applying power or starting and stopping the drive.
• Before servicing the variable speed drive:
- Disconnect all power
- Place a "DO NOT TURN ON" label on the variable speed drive disconnect
- Lock the disconnect in the open position
• Disconnect all power including external control power that may be present before servicing the drive. WAIT 15
MINUTES for the DC bus capacitors to discharge. Then follow the DC bus voltage measurement procedure given
in the Installation Manual to verify that the DC voltage is less than 45 Vdc. The drive LEDs are not accurate indicators
of the absence of DC bus voltage.
Electric shock will result in death or serious injury
CAUTION
DAMAGED EQUIPMENT
Do not operate or install any drive that appears damaged.
Failure to follow this instruction can result in equipment damage.
4AAV52935 10/2009
Documentation structure
Installation manual
This manual describes:
• How to assemble the drive
• How to connect the drive
Programming manual
This manual describes:
• The functions
• The parameters
• How to use the drive display terminal (integrated display terminal and graphic display terminal)
Communication parameters manual
This manual describes:
• The drive parameters with specific information (addresses, formats, etc.) for use via a bus or communication network
• The operating modes specific to communication (status chart)
• The interaction between communication and local control
• Configuration of the communication-specific parameters via the integrated display terminal or the graphic display terminal
• Diagnostics
• Software setup
• The communication services specific to the protocol
ATV58-58F/ATV71 compatibility manual
This manual describes the differences between the Altivar 71 and the Altivar 58/58F.
It explains how to replace an Altivar 58 or 58F, including how to replace drives communicating on a bus or network.
AAV52935 10/20095
Introduction
Presentation
The Profibus DP communication card (catalog number VW3A A3 307 S371) is used to connect an Altivar 61 / 71 drive to a Profibus DPv1
bus.
Data is exchanged in order to make use of all the Altivar 61 / 71 functions:
• Configuring functions
• Uploading adjustment parameters
• Control-signaling
• Monitoring
• Diagnostics
The card has a 9-pin female SUB-D connector for connection to the Profibus DPv1 bus.
The connector and cable for connection to the Profibus DPv1 bus must be ordered separately.
Notation
Drive terminal displays
The graphic display terminal menus are shown in square brackets.
Example:
[1.9 COMMUNICATION].
The integrated 7-segment display terminal menus are shown in round brackets.
Example: (COM-).
Parameter names are displayed on the graphic display terminal in square brackets.
Example:
Parameter codes are displayed on the integrated 7-segment display terminal in round brackets.
Example: (LFF).
[Fallback speed]
Formats
In this manual, hexadecimal values are written as follows: 16#.
6AAV52935 10/2009
Hardware setup
LEDs1
2
Addressing switches, also used to adjust
the drive process data exchange mode
3 9-pin female SUB-D connector
Receipt
• Check that the card catalog number marked on the label is the same as that on the delivery note corresponding to the purchase order.
• Remove the option card from its packaging and check that it has not been damaged in transit.
Presentation
Installing the card in the drive
See the Installation Manual.
AAV52935 10/20097
Hardware setup
Pin 5
Pin 1
Pin 6Pin 9
9-pin female SUB-D
Profibus DP communication module: TSX-PBY100
TSX PREMIUM PLC
Altivar 61 / 71Altivar 61 / 71
Connector with line
terminator
490 NAD 911 03
Profibus DP connection cable
TSX PBS CA
p00
(100 or 400 m)
Intermediate
connectors
490 NAD 911 04
Connection to the bus
Connector pinout
The transmission interface conforms to the RS 485 standard and is electrically isolated from the drive.
PinSignalPinSignalPinSignal
1Not connected4Not connected7Not connected
2Not connected5DGND (Ground) 8RxD/TxD-P
(Reception/Transmission +)
3RxD/TxD-N
(Reception/Transmission -)
6VP (5 volts)9Not connected
Connection accessories
Profibus DP bus connection elements
DescriptionUsedCatalog number
ConnectorsWith line terminator490 NAD 911 03
Intermediate connection490 NAD 911 04
Intermediate connection and
connector port
Profibus DP bus connection cables
DescriptionLengthCatalog number
Profibus DP connection cables100 mTSX PBS CA 100
400 mTSX PBS CA 400
Example of connection:
490 NAD 911 05
8AAV52935 10/2009
Hardware setup
Recommendations
• The user can select the data rate from a range of 9.6 kbps to 12 Mbps. This selection, made when starting up the network, applies to all
the bus subscribers.
• The maximum segment length is in inverse proportion to the data rate.
Data rate (kbps)9.619.293.75187.550015003000600012000
• The bus ends with a line terminator at each end of the segment.
• Do not connect more than 32 stations per segment without a repeater, or more than 127 with a repeater.
• Keep the bus away from the power cables (clearance of at least 30 cm).
• If it is necessary for power cables to cross each other, be sure they cross at right angles.
AAV52935 10/20099
Configuration
Configuring the switches
Note:
A new configuration of the switches (address and mode) will only be applied after the next power on of the drive.
Selecting the operating mode
The switch furthest to the left is used to determine the type of cyclic exchanges performed by the drive:
• Switch 0 (OFF): Altivar 61 / 71 mode
• Switch 1 (ON): Altivar 58 compatibility mode
This manual only describes Altivar 61 / 71 mode. To find out about Altivar 58 compatibility mode, refer to the ATV58-58F/ATV71 migration
manual.
10AAV52935 10/2009
Configuration
Coding the drive address
An Altivar 61 / 71 is identified on the bus by its address, coded between 0 and 126.
The address corresponds to the binary number given by position 0 (up/OFF) or 1 (down/ON) of the 7 switches on the right of the card.
The least significant bits are on the right.
The table below indicates the positions of the switches for all configurable addresses:
• Addresses 0 and 1 are usually reserved for the Profibus DPv1 masters and must not be used to configure the Profibus DPv1 address on
an Altivar 61 / 71.
• It is not advised to use address 126, which is incompatible with SSA service (Set Slave Address) and with some network configuration
softwares (Sycon, ...).
Examples:
Address 23
Address 89
The address can be checked via the display terminal (see Diagnostics section).
AAV52935 10/200911
Configuration
Control-signal configuration
There are a number of possible configurations. For more information, refer to the programming and communication parameters manuals.
The configurations below are just some of the possibilities available.
Control via Profibus DPv1 in I/O profile
The command and the target come from Profibus DPv1.
Control is in I/O profile.
Configure the following parameters:
ParameterValueComment
ProfileI/O profileThe run command is simply obtained by bit 0 of the command word.
Target 1 configurationNetwork card The target comes from Profibus DPv1.
Command 1 configurationNetwork card The command comes from Profibus DPv1.
Configuration via the graphic display terminal or the integrated display terminal:
Control via Profibus DPv1 or via the terminals in I/O profile
The command and the target both come from Profibus DPv1 or the terminals. Input LI5 at the terminals is used to switch between
Profibus DPv1 and the terminals.
Control is in I/O profile.
Configure the following parameters:
ParameterValueComment
ProfileI/O profileThe run command is simply obtained by bit 0 of the command word.
Target 1 configurationNetwork cardTarget 1 comes from Profibus DPv1.
Target 1B configurationAnalog input 1 on the terminals Target 1B comes from input AI1 on the terminals.
Target switchingInput LI5Input LI5 switches the target (1
Command 1 configurationNetwork cardCommand 1 comes from Profibus DPv1.
Command 2 configurationTerminalsCommand 2 comes from the terminals.
Command switchingInput LI5Input LI5 switches the command.
Target 1B is connected to the functions (summing, PID, etc.) that remain active, even after switching.
Configuration via the graphic display terminal or the integrated display terminal:
Control via Profibus DPv1 or the terminals in Drivecom profile
The command and the target both come from Profibus DPv1 or the terminals. Input LI5 at the terminals is used to switch between
Profibus DPv1 and the terminals.
Control is in Drivecom profile.
from the same channel.
Configure the following parameters:
ParameterValueComment
ProfileCombined Drivecom profileThe run commands are in Drivecom profile, the command and the target
Target 1 configurationNetwork cardTarget 1 comes from Profibus DPv1.
Target 2 configurationAnalog input 1 on the terminalsTarget 2 comes from input AI1 on the terminals.
Target switchingInput LI5Input LI5 switches the target (1
Configuration via the graphic display terminal or the integrated display terminal:
Control in Drivecom profile via Profibus DPv1 and target switching at the terminals
The command comes from Profibus DPv1.
The target comes either from Profibus DPv1 or from the terminals. Input LI5 at the terminals is used to switch the target between Profibus
DPv1 and the terminals.
Control is in Drivecom profile.
Configure the following parameters:
ParameterValueComment
ProfileSeparate Drivecom profileThe run commands are in Drivecom profile, the command and the target
Target 1 configurationNetwork cardTarget 1 comes from Profibus DPv1.
Target 1B configurationAnalog input 1 on the terminals Target 1B comes from input AI1 on the terminals.
Target switchingInput LI5Input LI5 switches the target (1
Command 1 configurationNetwork cardCommand 1 comes from Profibus DPv1.
Command switchingChannel 1Channel 1 is the command channel.
Target 1B is connected to the functions (summing, PID, etc.) that remain active, even after switching.
Configuration via the graphic display terminal or the integrated display terminal:
PZDs are configured by configuring the communication scanner.
The 8 periodic output variables are assigned by means of parameters nCA1 to nCA8. They are configured using the graphic display terminal
[1.9 - COMMUNICATION] (COM-) menu and [COM. SCANNER OUTPUT] (OCS-) submenu.
via the
Note:
[COM. SCANNER OUTPUT] (OCS-) submenu defines the data (parameters nCA1 to nCA8) from the PLC to the drive.
p parameter with a value of zero does not designate any parameter in the drive. These 8 words are described in the table below:
An nCA
Parameter nameProfibus variableDefault assignment
[Scan. Out1 address] (nCA1) PZD1Command word (CMD)
[Scan. Out2 address] (nCA2) PZD2Speed target (LFRD)
[Scan. Out3 address] (nCA3) PZD3Not used
[Scan. Out4 address] (nCA4) PZD4Not used
[Scan. Out5 address] (nCA5) PZD5Not used
[Scan. Out6 address] (nCA6) PZD6Not used
[Scan. Out7 address] (nCA7) PZD7Not used
[Scan. Out8 address] (nCA8) PZD8Not used
The 8 periodic input variables are assigned by means of parameters nMA1 to nMA8. They are configured using the graphic display terminal
[1.9 - COMMUNICATION] (COM-) menu and [COM. SCANNER INPUT] (ICS-) submenu.
via the
Note:
[COM. SCANNER INPUT] (ICS-) submenu defines the data (parameters nMA1 to nMA8) from the drive to the PLC.
An nMA
p parameter with a value of zero does not designate any parameter in the drive. These 8 words are described in the table below:
Parameter nameProfibus variableDefault assignment
[Scan. In1 address] (nMA1)PZD1Status word (ETA)
[Scan. In2 address] (nMA2)PZD2Output speed (RFRD)
[Scan. In3 address] (nMA3)PZD3Not used
[Scan. In4 address] (nMA4)PZD4Not used
[Scan. In5 address] (nMA5)PZD5Not used
[Scan. In6 address] (nMA6)PZD6Not used
[Scan. In7 address] (nMA7)PZD7Not used
[Scan. In8 address] (nMA8)PZD8Not used
Example of configuring PZDs via the graphic display terminal:
RDYNET+0.00Hz0ARDYNET+0.00Hz0A
COM. SCANNER INPUT COM. SCANNER OUTPUT
Scan. In1 address: 3201Scan. Out1 address: 8501
Scan. In2 address: 8604Scan. Out2 address: 8602
Scan. In3 address: 0Scan. Out3 address: 0
Scan. In4 address: 0Scan. Out4 address: 0
Scan. In5 address: 0Scan. Out5 address: 0
CodeQuickCodeQuick
Scan. In6 address: 0Scan. Out6 address: 0
Scan. In7 address: 0Scan. Out7 address: 0
Scan. In8 address: 0Scan. Out8 address: 0
Note:
All modifications to parameters nMA1 ... nMA8 or nCA1 ... nCA8 must be made with the motor stopped.
The master PLC program should be updated to take account of this modification.
AAV52935 10/200915
Configuration
Configuring communication fault management
The response of the drive in the event of a Profibus DPv1 communication fault can be configured.
RDYNET+0.00Hz0A
COM. FAULT MANAGEMENT
Configuration can be performed using the graphic display terminal or
the integrated display terminal via the
parameter in the
[COM. FAULT MANAGEMENT] (CLL- ) submenu).
(
The values of the [Network fault mgt](CLL) parameter, which trigger a drive fault [Com. network](CnF), are:
- has been assigned to an unknown address (e.g., 3200)
- has been assigned to a protected parameter
- has not been assigned
the value displayed in the
[COMMUNICATION MAP] screen will be "-----" (see "Diagnostics" section).
AAV52935 10/200917
Diagnostics
1.1
1.2
1.3
1.4
1.5
2.1
2.2
2.3
2.4
2.5
ST
DX
Controlling the address and speed of the bus
From the terminal, select the [1.9 - COMMUNICATION](COM-) menu ([PROFIBUS DP](PbS-) submenu) to display both
parameters:
[Address] (Adrc): Drive address on the bus configured on the switches
-
[Bit rate] (bdr): Bus speed imposed by the Profibus DPv1 master
-
These parameters cannot be modified.
LEDs
The Profibus DPv1 card has two LEDs, ST and DX, visible through the window on the cover of the Altivar 61 / 71:
• The status of the Profibus DPv1 card is indicated by the red ST (status) LED: LED 2.1.
• The status of the Profibus DPv1 communication link is indicated by the green DX (data exchange) LED: LED 2.2.
The table below gives the meaning of the various states of these two LEDs:
Red ST
LED
(LED 2.1)
Green DX
LED
(LED 2.2)
MeaningCorrective actions in the event of malfunction
The card has been configured and its
parameters set correctly by the master.
The card is in Idle state, awaiting
configuration.
The card is in Wait_Prm or Wait_Cfg state.Check the connection to the Profibus DPv1 bus,
The card is in ILF fault mode.Check the connection between the Profibus DPv1 card and the
The card is in the "data exchange" state,
and error-free data exchange is taking place.
No communication on the bus,
no data is being exchanged.
Enter a value between 1 and 126 using the switches on the option
card.
start up the PLC and, if the drive has a communication card fault
(CnF), reset it.
drive.
Check the connection to the Profibus DPv1 bus, start up the PLC.
LED states
LED offSlow flashing (0.5 s)
LED onQuick flashing (0.1 s)
18AAV52935 10/2009
Diagnostics
Control-signal diagnostics
On the graphic display terminal, the [1.2 - MONITORING] menu ([COMMUNICATION MAP] submenu) can be used to display
control-signal diagnostic information between the Altivar 61 / 71 drive and the Profibus DPv1 master:
• Active command channel
• Value of the command word (CMD) from the active command channel
• Active target channel
• Value of the target from the active target channel
• Value of the status word
• Values of four parameters selected by the user
•In the
•In the
•In the
•In the
Example of the display of communication diagnostic information
[COM. SCANNER INPUT MAP] submenu: PZD input values
[COM SCANNER OUTPUT MAP] submenu: PZD output values
[CMD. WORD IMAGE] submenu: Command words from all channels
[FREQ. REF. WORD MAP] submenu: Frequency targets from all channels
RUNNET+50.00Hz80A
COMMUNICATION MAP
Command channel: Com. card
Cmd value: 000F
Channel ref. a ct iv e: Co m. card
Frequency ref: 500.0
Status word: 8627
CodeQuick
W3204: 53
W3205: 725
W7132: 0000
W0: -----
COM. SCANNER INPUT MAP
COM SCANNER OUTPUT MAP
CMD. WORD IMAGE
FREQ. REF. WORD
MAP
MODBUS NETWORK DIAG
MODBUS HMI DIAG
CANopen MAP
PROG. CARD SCANNER
Hex
Hz
Hex
Hex
Hex
AAV52935 10/200919
Diagnostics
Displaying the command word
The [Command channel] parameter indicates the active command channel.
The
[Cmd value] parameter indicates the hexadecimal value of the command word (CMD) used to control the drive.
The
[CMD. WORD IMAGE] submenu is used to display the hexadecimal value of the command word produced by Profibus DPv1:
• Command word CMD3 .......... communication card channel .......... field
Displaying the frequency target
The [Channel ref. active] parameter indicates the active target channel.
The
[Frequency ref] parameter indicates the value (in 0.1 Hz units) of the frequency target (LFR) used to control the drive.
The
[FREQ. REF. WORD MAP] submenu is used to display the value (in 0.1 Hz units) of the speed target produced by
The [Status word] parameter indicates the value of the status word (ETA).
[Com card cmd.]
Displaying parameters selected by the user
The four [W····] parameters indicate the value of the four words selected by the user.
The address and display format of these parameters can be configured in the
[6.3 - CONFIG. COMM. MAP] submenu) (see "Configuration" section on page 10).
(
The value of a monitored word equals "
- Monitoring has not been activated (address equals W0)
- The parameter is protected
- The parameter is not known (e.g., W3200)
-----" if:
[6 - MONITORING CONFIG.] menu
20AAV52935 10/2009
Diagnostics
Displaying PZDs (communication scanner)
In the [1.2 - MONITORING](SUP-) menu:
[COM. SCANNER INPUT MAP] (ISA-) submenu is used to display the value of the 8 input PZDs (communication scanner
- The
input parameters NM1 to NM8).
[COM SCANNER OUTPUT MAP] (OSA-) submenu is used to display the value of the 8 output PZDs (communication
- The
scanner output parameters NC1 to NC8).
Configuration of these periodic parameters is described in the "Configuration" section.
Example of displaying PZDs on the graphic display terminal:
RUNNET+50.00Hz80ARUNNET+50.00Hz80A
COM. SCANNER INPUT MAP COM SCANNER OUTPUT MAP
Com Scan In1 val.: 34359Com Scan Out1 val.: 15
Com Scan In2 val.: 600Com Scan Out2 val.: 598
Com Scan In3 val.: 0Com Scan Out3 val.: 0
Com Scan In4 val.: 0Com Scan Out4 val.: 0
Com Scan In5 val.: 0Com Scan Out5 val.: 0
CodeQuickCodeQuick
Com Scan In6 val.: 0Com Scan Out6 val.: 0
Com Scan In7 val.: 0Com Scan Out7 val.: 0
Com Scan In8 val.: 0Com Scan Out8 val.: 0
In this example, only the first two parameters have been configured (default assignment).
[Com Scan In1 val.]
[Com Scan In2 val.]
[Com Scan Out1 val.]
[Com Scan Out2 val.]
=
=
=
=
[34343]
[600]
[15]
[598]
Status word = 34359 = 16#8637
Output speed = 600
Command word = 15 = 16#000F
Speed target = 600
V
V
V
V
Drivecom status "Operation enabled",
reverse operation, speed reached.
600 rpm
"Enable operation" (Run) command
598 rpm
AAV52935 10/200921
Diagnostics
Communication faults
Profibus DPv1 communication faults are displayed by the red RD indicator of the Profibus DPv1 card.
In factory settings, a Profibus DPv1 communication fault triggers a resettable drive fault
The response of the drive in the event of a Profibus DPv1 communication fault can be changed (see "Configuring communication fault
management"):
-Drive fault
- No drive fault (stop, maintain, fallback).
The fault management is described in the user’s manual "Communication parameters", chapter "Communication monitoring":
• After initialization (power up), the drive checks that at least one of the command or target parameters has been written once via
Profibus DPv1.
• Then, if a Profibus DPv1 communication fault occurs, the drive reacts according to the configuration (stop, maintain, fallback ...).
The origin of the last Profibus DPv1 communication fault can be displayed by the parameter
ValueDescription of the values of the parameter[Com. network] (CnF)
The parameter
FAULT INFO] (AFI-) submenu.
[Com. network] (CnF) (freewheel stop, stop on ramp, fast stop or DC injection stop).
0No faultt
1
2Identification error between the Profibus DPv1 card of the drive and the Profibus DPv1 master.
3Identification error of the Profibus DPv1 card of the drive (hardware problem).
Time out on the reception of the periodic variables addressed to the drive. This time out is adjustable by the network
configuration software..
[Com. network] (CnF) is displayed on the display terminal (graphic only): [1.10 DIAGNOSTICS] (DGT-) menu, [MORE
[Com. network] (CnF) and a freewheel stop.
[Com. network] (CnF) :
Card fault
The [Option int link](ILF) fault appears when there are serious problems:
- Hardware problem on the Profibus DPv1 card itself.
- Dialog faults between the option card and the drive.
It is not possible to configure the behavior of the drive in the event of a [Option int link](ILF) fault, the drive stops in freewheel.
This type of fault cannot be reset.
Two parameters display the origin of the last [Option int link](ILF) faults :
• [Internal link fault 1](ILF1) displays the error that occurred on option card no. 1 (directly mounted on the drive),
• [Internal link fault 2](ILF2) displays the error that occurred on option card no. 2 (mounted on the option card no. 1),
The parameter [Internal link fault 1](ILF1) and [Internal link fault 2] (ILF2) are displayed on the display terminal (graphic only):
ValueDescription of the values of the parameter Internal link fault 1](ILF1) and [Internal link fault 2](ILF2)
0No fault
1Loss of internal communication with the drive
2Hardware malfunction detected
3Error in the EEPROM checksum
4Faulty EEPROM
5Faulty Flash memory
6Faulty RAM memory
7Faulty NVRAM memory
8Faulty analog input
9Faulty analog output
10Faulty logic input
11Faulty logic output
101Unknown card
102Dialog faults between the option card and the drive
103Dialog time out between the option card and the drive
22AAV52935 10/2009
Software setup of DPv1 messaging
Profibus DPv1 protocol
Data is exchanged according to the master-slave principle.
Only the master can initialize communication. The slaves behave like servers responding to requests from masters.
Several masters can coexist on the same bus. In this case, the slave I/O can be read by all the masters. However, a single master has write
access to the outputs. The number of data items exchanged is defined at the time of configuration.
A GSD file contains the configuration information for the Altivar 61 / 71 with Profibus DPv1. This file is used by the PLC during the
configuration phases.
The GSD file is unique to the whole Altivar 61 / 71 range. It does not describe the drive parameters, just the communication information.
This file appears on the CD-ROM supplied with the drive.
The Profibus DPv1 card for Altivar 61 / 71 drives only supports supports types 3, 4, 5 and 8 PPO format (Parameter-Process Data-Object)
cyclic frames.
PKW length (word)PZD length (word)
123412345678910
PPO type 1
PPO type 2
PPO type 3
PPO type 4
PPO type 5
PPO type 6
PPO type 7
PPO type 8
PPO cyclic frames contain the periodic variables that are used for 2 types of service:
- I/O exchanges (PZD)
- Aperiodic exchanges (PKW) for parameter setting, configuration and diagnostics
PKW aperiodic exchanges are included in the cyclic frames and do not require special frames. An aperiodic exchange is used to read or
write a parameter. The Altivar 61 / 71 PKW service does not conform to Profidrive.
AAV52935 10/200923
Software setup of DPv1 messaging
Several types of DPv1 master can currently be used:
• Some masters require the exclusive use of slot 1, which requires an indirect access mechanism.
• Others allow the data to be accessed directly using direct access.
Indirect access (use of SLOT 1 only)
To use Profibus DPv1 messaging the following sequence must be used:
Step 1: The Profibus DPv1 master must firstly give the slave the modbus offset of the parameter to be read or written:
FunctionSlotIndexLengthDataData
0x5F0x010xE90x02OffsetOffset
Example with ACC
(offset 9001)
Step 2 (read): The Profibus DPv1 master must give the length to be read starting from the offset indicated in step 1:
Example with ACC
(length 1 word: length = 0x2 bytes)
0x5F0x010xE90x020x2329
FunctionSlotIndexLengthDataData
0x5E0x010xEA<0x3C
0x5E0x010xEA0x02
The response to this request contains the data to be read.
Step 2 (write): The Profibus DPv1 master must give the value to be written at the offset indicated in step 1:
FunctionSlotIndexLengthDataData
0x5F0x010xEA0x02ValueValue
Example with ACC
(write at 1.6 s)
To check what offset has been configured, it is possible to interrogate the slave:
0x5F0x010xEA0x020x0010
FunctionSlotIndexLengthDataData
0x5E0x010xE90x02OffsetOffset
24AAV52935 10/2009
Software setup of DPv1 messaging
Direct access (using the SLOT INDEX)
Direct access is available from slot 2 on:
Read
FunctionMSB slotLSB indexLengthDataData
Example with ACC
(offset 9001 = Ox2329)
The response to this request contains the data to be read:
Value read0x5E0x230x290x02Value
Write
Example with ACC
(offset 9001 = Ox2329)
0x5E0x230x290x02
FunctionMSB slotLSB indexLengthDataData
FunctionMSB slotLSB indexLengthDataData
0x5F0x230x290x040x0011
Irrespective of the type of access used (direct or indirect)
Read report:
FunctionSlot IndexLengthData Data
0xDF0x800xXX0xYY0
Write report:
FunctionSlot IndexLengthData Data
0xDE0x800xXX0xYY0
With error types:
0xXX - 0xYYType of errorMeaning
0xC2 - 0x00ResourceSAP not available (in use)
0xB7 - 0x00AccessIncorrect length (= 0 or > 60)
0xA0 - 0x00ApplicationRead failed (time out, etc)
AAV52935 10/200925
Software setup of DPv0 messaging
Output PZDs
The first eight bytes contain an aperiodic request (PKW) to write or read a parameter.
The remaining 20 bytes contain the output PZDs (written from the Profibus master), of which only PZD1 to PZD8 are significant.
1234567891011121314
PKWPZD1PZD2PZD3
PKE0R/W PWENC1NC2NC3
1516171819202122232425262728
PZD4PZD5PZD6PZD7PZD8PZD9PZD10
NC4NC5NC6NC7NC8Not usedNot used
PKW request:
PKEParameter logic address
RIWRequest code
PWEFor a read request: Not used
0: No request
1: Read
2: Write
For a write request: Parameter value
Cyclic control and adjustment parameters:
PZD1: Communication scanner output word 1 (NC1)
PZD2: Communication scanner output word 2 (NC2)
PZD3: Communication scanner output word 3 (NC3)
PZD4: Communication scanner output word 4 (NC4)
PZD5: Communication scanner output word 5 (NC5)
PZD6: Communication scanner output word 6 (NC6)
PZD7: Communication scanner output word 7 (NC7)
PZD8: Communication scanner output word 8 (NC8)
The default assignment of the periodic output data is:
• PZD1 = Command word
• PZD2 = Speed target
• PZD 3 to PZD 10 = Not used
12 3 4 5 67891011121314
PKWPZD1PZD2PZD3
PKE0R/WPWECommand wordSpeed targetNot used
1516171819202122232425262728
PZD4PZD5PZD6PZD7PZD8PZD9PZD10
Not usedNot usedNot usedNot usedNot usedNot usedNot used
The assignment of PZDs is described in the Configuration section.
How to display the value of the PZDs is described in the "Diagnostics" section.
26AAV52935 10/2009
Software setup of DPv0 messaging
Input PZDs
The first eight bytes contain the response (PKW) to the aperiodic read/write request.
The remaining 20 bytes contain the input PZDs (read mode), of which only PZD1 to PZD8 are significant.
The default assignment of the periodic input data is:
• PZD1 = Status word (ETA)
• PZD2 = Output speed (RFRD)
• PZD 3 to PZD 10 = Not used
1234567891011121314
PKWPZD1PZD2PZD3
PKE0R/WPWEStatus wordOutput speedNot used
1516171819202122232425262728
PZD4PZD5PZD6PZD7PZD8PZD9PZD10
Not usedNot usedNot usedNot usedNot usedNot usedNot used
The assignment of PZDs is described in the Configuration section on page 11
How to display the value of the PZDs is described in the "Diagnostics" section.
AAV52935 10/200927
.
Software setup of DPv0 messaging
PKW aperiodic service
The PKW service, consisting of PKE, R/W, R/W/N, and PWE, enables aperiodic access to Altivar 71 parameters in read and write mode.
Output PKWs
PKE
Parameter logic address
R/W
0: No request
1: Read
2: Write
One-off read and write requests can be triggered continuously while R/W equals 1 or 2.
Note:
Values other than 0, 1 and 2 should not be used. In particular, the values 16#0052 and 16#0057 must not be used, as these are reserved
for compatibility with the Altivar 58/58F.
PWE
If write: Value to be written
Input PKWs
PKE
Copies the output PKE value
R/W/N
0: No request
1: Correct read operation
2: Correct write operation
7: Read or write error
PWE
• If correct read operation: Parameter value. This can be limited by the drive if the maximum value is exceeded by the write operation.
• If correct write operation: Value of the write PWE
• If there is an error:
0: Incorrect address
1: Write operation refused
Note:
The parameters in the output PZDs should not be changed by the PKW service.
Parameters linked to output PZDs should not be changed by the PKW service.
Example: The speed target and the frequency target.
28AAV52935 10/2009
Software setup of DPv0 messaging
Examples of PKW aperiodic exchanges
Example of aperiodic write operation: Acceleration time ACC (address 9001) = 10 s, unit 0,1s (values in hexadecimal format).
12345678etc.
2329000200000064etc.
ACC = 10 s
Write request
Address 9001 = 2329h
The positive response is identical to the write request, aperiodic part (bytes 1 to 8).
Example of negative response:
12345678
232900070000000
etc.
etc.
0 (incorrect address)
Negative response
AAV52935 10/200929
Software setup using PL7
Correspondence between cyclic data and PL7 PRO words
In PL7, cyclic exchanges between the Profibus DPv1 master (e.g., TSX Premium PLC + TSX PBY100 module) and the Altivar 61 / 71 take
the form of input words %IWxy.0.k and output words %QWxy.0.k, where "x" = number of the PLC rack and "y" = location of the
Profibus DPv1 module in the PLC rack.
ProfibusPL7 output word
PKW%QWxy.0PKEPKW%IWxy.0PKE
%QWxy.0.1R/W%IWxy.0.1R/W/N
%QWxy.0.2
%QWxy.0.3PWE%IWxy.0.3PWE
PZD1%QWxy.0.4NC1PZD1%IWxy.0.4NM1
PZD2%QWxy.0.5NC2PZD2%IWxy.0.5NM2
PZD3%QWxy.0.6NC3 PZD3%IWxy.0.6NM3
PZD4%QWxy.0.7NC4PZD4%IWxy.0.7NM4
PZD5%QWxy.0.8NC5PZD5%IWxy.0.8NM5
PZD6%QWxy.0.9NC6PZD6%IWxy.0.9NM6
PZD7%QWxy.0.10NC7PZD7%IWxy.0.10NM7
PZD8%QWxy.0.11NC8PZD8%IWxy.0.11NM8
PZD9%QWxy.0.12
PZD10%QWxy.0.13PZD10%IWxy.0.13
Default configuration of the periodic variables
Profibus
PKWPKE%QWxy.0PKWPKE%IWxy.0
R/W%QWxy.0.1R/W%IWxy.0.1
Not
used
PWE%QWxy.0.3PWE%IWxy.0.3
PZD1%QWxy.0.4Command word (CMD)PZD1%IWxy.0.4Status word (ETA)
• Add ATV71-PROFIBUS-DPV1-Modular to the Profibus address configured by the switch of the card.
• Select the PPO choosen.
• Write down the PLC memory address where ATV61 / 71 periodics are mapped (see figure above red circle).
This address area is used to setup DPv1 messaging.
AAV52935 10/200931
Example with SIMATIC Manager (STEP7)
Reading example
Writing example
Messaging example by indirect access:
Select a function bloc "SFC58" dedicated for DPv1 writing (indirect access - slot 1) and complete the fields. Follow the instructions given in
the section Indirect access page 24
LADR field must correspond to the PLC memory address where ATV61 / 71 periodics are mapped (16#100 corresponds to 256 in decimal).
RECNUM field corresponds to the index (0XE9 ou 0XEA) in accordance with indirect mecanism already described.
RECORD filed corresponds to the ATV61 / 71 memory offset.
.
32AAV52935 10/2009
ATV61/71_profibusdpv1_EN_AAV52935_02
AAV52935 10/2009
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.