Professional Documents
Culture Documents
Operating Instructions: Fieldbus Module Type 2131
Operating Instructions: Fieldbus Module Type 2131
EDB2131UB
00408822
Operating Instructions
PROFIBUS-DP
24V DC
+-
2131
These Operating Instructions are valid for fieldbus modules with the following nameplate data:
2131 IB. 0x. 0x. PROFIBUS
Type
Design:
E = Enclosure IP20
IB = Module
Variant
Explanation
Important:
These Operating Instructions are only valid in combination with the Operating Instructions of the
controller 82XX, 8200 vector or 93XX.
Contents
4 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1 Connections of the fieldbus module 2131 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1.2 9 pole SubD pin connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.1.3 Plug-in terminal for 2 pole male plug (external supply voltage) . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.2 Mechanical installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.3 Electrical installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.3.1 Voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.3.2 Wiring to a host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
5 Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.1 Configuration of the host system for communication with the 2131 fieldbus module. . . . . . . . . . . . . . . . 5-1
5.1.1 Settings with COM-ET200 DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.1.2 Settings with COM-ET200 WIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.1.3 Program example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.2 Commissioning of the 2131 fieldbus module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.2.1 Drive control via PROFIBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.2.2 Enable controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
5.3 Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
5.4 Special features with 82XX, 8200 vector and 93XX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
BA2131EN i
Show/Hide Bookmarks
Contents
8 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1 Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.2 List of abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.3 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8.4 Table of keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
ii BA2131EN
Show/Hide Bookmarks
BA2131EN 1-1
Show/Hide Bookmarks
1-2 BA2131EN
Show/Hide Bookmarks
Safety information
2 Safety information
Qualified personnel
Qualified personnel are persons who - because of their education, experience, instructions, and knowledge about corresponding standards and regulations, rules for
the prevention of accidents, and operating conditions - are authorized by the person responsible for the safety of the plant to perform the required actions and who are
able to recognize potential hazards.
(Definition for qualified personnel to VDE 105 or IEC 364)
BA2131EN 2-1
Show/Hide Bookmarks
Safety information
Signal word
Note
2-2 BA2131EN
Show/Hide Bookmarks
Technical data
3 Technical data
BA2131EN 3-1
Show/Hide Bookmarks
Technical data
3.4 Dimensions
62
75
2131
18
28
Fig. 3-1 Dimensions of the 2131 fieldbus module (all dimensions in mm)
3-2 BA2131EN
Show/Hide Bookmarks
Technical data
BA2131EN 3-3
Show/Hide Bookmarks
Technical data
In the following table you will find a list of the processing times:
Processing step Max. processing time in ms
PE-inhibit = 0 Tolerance PE-inhibit = 1 Tolerance
Read parameter 55 + 48 55 +8
Control word or 27 + 48 27 +8
setpoint
Control word and 54 + 56 54 + 16
setpoint
Write parameter 108 + 32 - -
Status word and 200 + 40 200 -
actual value
Note:
A change of the setpoint signal results in writing the control word.
3-4 BA2131EN
Show/Hide Bookmarks
Installation
4 Installation
4.1.1 Overview
2131
2131
2131
8200 vector
82XX
93XX
BA2131EN 4-1
Show/Hide Bookmarks
Installation
Pos. Name/Meaning
1 Green bus LED the voltage supply of the fieldbus module 2131
ON:
1 2 ON: 2131 fieldbus module is supplied with voltage and is connected to the controller.
OFF:
2131 fieldbus module is not supplied with voltage; controller or external voltage supply is
3 switched off.
5 BLINKING:
4 2131 fieldbus module is supplied with voltage but is not connected to the controller
(controller is switched off, in initialization or not available).
2 4 V D C
+ -
7 2 Yellow bus LED for the communication of the fieldbus module 2131
ON:
6 2131 fieldbus module is initialized but does not communicate with the PROFIBUS-DP from
the master.
8 OFF:
2 1 3 1 2131 fieldbus module is not initialized yet.
BLINKING:
PROFIBUS-DP communication is active
2131pfb001
4.1.3 Plug-in terminal for 2 pole male plug (external supply voltage)
Name Input/output Explanation
+ Input
External voltage supply + 24 V DC/ 10 %, 60 mA
- Input GND; reference for external supply
4-2 BA2131EN
Show/Hide Bookmarks
Installation
Note!
The communciation of controllers 820X and 821X may be interfered by electromagnetic radiation.
If necessary, use an additional PE screen cable ( ( 4-2) , Fig. 4-2, pos. 9).
Note!
Internal voltage supply of the fieldbus module connected to a 8200 vector
Controllers with an extended AIF interface (front of the 8200 vector) can be internally supplied. The
part of the drawing highlighted with grey shows the jumper position.
In Lenze setting, the fieldbus module is not internally supplied.
For internal voltage supply, put the jumper in the position indicated below.
BA2131EN 4-3
Show/Hide Bookmarks
Installation
Warning!
An additional potential isolation must be installed if
l a 820X, 821X or 8200 vector controller will be connected to a host
and
l a safe electrical isolation (double basic insulation) to VDE 0160 is required.
For this, you can use an interface module for the host with an additional electrical isolation (see the
corresponding manufacturers information).
For wiring, the electrical isolation of the supply voltage must be taken into account. The supply
voltage is assigned to the same potential as the data bus.
4-4 BA2131EN
Show/Hide Bookmarks
Installation
Wiring features:
Features:
Communication medium RS485
Network topology without repeater: line
with repeater: line or tree
Possible number of controllers without repeater: 32
with repeater: 127
Maximum cable length 1200 m (depending on the baud rate and the cable type used)
Maximum baud rate 9.6-12000 kbit/s
The connection of the bus system PROFIBUS-DP is shown in the survey drawing. The required
accessories (e.g. connection cables) are listed in chapter 8.1.
1
2
8200 vector
82XX
93XX
1 Host
2 Bus-connector ( 4-6)
3 Bus cable ( 4-6)
Wiring
Warning!
l If the 2131 fieldbus module is no longer supplied with voltage, the bus system will continue
operation. However, the connected controller can no longer be accessed from the host.
l If single bus participants are to be disconnected, it must be ensured that the bus terminators
at the physical cable ends remain active.
l Only use cables which correspond to the listed specifications (see chapter 8.1).
l Observe the bus connector drawing. ( 4-6)
l Connect the controller using the bus connector.
Note: The bus system will not be interrupted if the bus connector is pulled off the controller.
l Connect a bus terminator to the physical bus ends. The bus terminator is integrated into the
bus connector and can be activated via a switch.
l Observe the wiring notes and the documentation for the control system.
BA2131EN 4-5
Show/Hide Bookmarks
Installation
Bus cable
2
Enter approx. 5 mm
Enter approx. 16 mm
Enter approx. 11 mm
4
4-6 BA2131EN
Show/Hide Bookmarks
Installation
BA2131EN 4-7
Show/Hide Bookmarks
Commissioning
5 Commissioning
Stop!
l Before switching on the mains voltage check the wiring for completeness, short circuit and
earth fault.
l Keep to the switch-on sequence!
(Chapter 5.1 to chapter 5.2.2)
Menu: Configure
Station type: Lenze 2131 Vxx
Configuration: User data with DP parameter-setting channel
0. = 115; 1. = 113 oder
0. = 115; 1. = 114
User data without DP parameter-setting channel
0. = 113 or
0. = 114
BA2131EN 5-1
Show/Hide Bookmarks
Commissioning
Menu: Configure
Station type: Lenze 2131 Vxx
Configuration: User data with DP parameter-setting channel
0. = 115; 1. = 113 oder
0. = 115; 1. = 114
User data without DP parameter-setting channel
0. = 113 or
0. = 114
82XX
1. For drive control with PROFIBUS, change the Lenze parameter operating mode (L-C0001)
from 0 to 3. (See chapter 6.6.1). This change can be carried out using the 8201BB keypad or
the PROFIBUS.
Examples for PROFIBUS Write (L-C0001=3)
Index = 5FFEhex
(results from 5FFFhex (L-C0001)hex; see Lenze code addressing ( 6-1)
5-2 BA2131EN
Show/Hide Bookmarks
Commissioning
Subindex: 0
Value: 30000dec (results from 3x104; see chapter 6.1.1)
2. Terminal 28 (controller enable) is always active and must be set to HIGH level during
PROFIBUS operation (see the corresponding Operating Instructions).
Otherwise the controller cannot be enabled by the PROFIBUS (DRIVECOM controller status
OPERATION ENABLED).
With 821X, 8200 vector and 822X the QSP function (quick stop) is always active. If QSP is
assigned to an input terminal (factory setting: not assigned), this terminal must be at HIGH
level during PROFIBUS operation (see the corresponding Operating Instructions).
The controller now accepts control and parameter data from the PROFIBUS.
93XX
1. For drive control via PROFIBUS set the Lenze parameter Signal Configuration (L-C0005) to a
value xxx3. This change can be carried out via the 9371BB keypad or directly via PROFIBUS.
Note!
We recommend the signal configuration C0005 = 1013 (speed control) for first commissioning.
Note!
With the signal configuration L-C0005=xx13, terminal A1 is switched as voltage output. Therefore,
only the following terminals must be connected via cable:
l X5.A1 with X5.28 (ctrl. enable)
l X5.A1 with X5.E1 (CW/QSP)
The controller now accepts control and parameter data from the PROFIBUS.
BA2131EN 5-3
Show/Hide Bookmarks
Commissioning
5.3 Diagnostics
If the initialization to the controller is not completed when using an external supply voltage for the
module (e.g. controller not switched on), the bit static diagnostics will be set (station status byte
2, bit 1).
This means that the module cannot provide valid user data. The master must then stop the user data
transfer and request diagnostics data until the bit static diagnostics will not be set any longer.
820X l Parameter setting (codes except process data) is only possible when the controller is inhibited (DRIVECOM controller status unequal
OPERATION ENABLED). Parameters are accepted when the controller is enabled, but they are not saved.
l A TRIP must only be reset through PROFIBUS:
If the controller is set to the status TRIP while being operated with PROFIBUS control (L-C0001 = 3) and if the TRIP is reset through terminal
28, the drive can start for a short time. When resetting a fault via PROFIBUS, this does not occur.
l After the command TRIP reset the 820X controller is basically initialized. During this time the controller does not accept any services.
l Always send the direction of rotation with a low setpoint before the new setpoint:
If the setpoint and the direction of rotation are changed at the same time via the DRIVECOM speed setpoint, the speed can change to the
wrong direction or rotation for a short time. This is because first the setpoint is sent as unipolar value to the controller and then the
information about the direction of rotation is sent.
821X, 822X l For first switch on, the automatic DC-injection brake must be activated in both parameter sets:
C0106 = 0
C2106 = 0
l If the automatic DC-injection brake (DCB) is activated (DCB holding time LC106 < > 0), the drive will automatically change from the status
OPERATION ENABLED to the status SWITCHED ON when reaching the speed 0 and after the DCB holding time. If the setpoint is > 0, the
drive automatically changes to the status OPERATION ENABLED.
8200 vector l Digital and analog input and output signals can be freely configured (see Operating Instructions for 8200 vector; codes C0410, C0412, C0417
and C0421)
l The change of the code L-C0001 to xxx3 starts the preconfiguration of the process data words in the controller
93XX l Set the signal configuration L-C0005 = xxx3 instead of the operating mode L-C0001.
l The change of the code L-C0005 to xxx3 starts the preconfiguration of the process data words in the controller
l Set the parameter L-C0142 = 0 (auto start lock), to avoid a short time start of the drive during the initialization phase.
5-4 BA2131EN
Show/Hide Bookmarks
Parameter setting
6 Parameter setting
The parameter setting of the 2131 module is subdivided into:
l Controller parameters, which can also be set with the 8201BB or 9371BB keypad.
l 2131 parameters, which can only be accessed via the 2131 fieldbus module.
Only the controller parameters are permanently saved in the corresponding controller.
In the following, you will only find parameters which are important for the serial communication. For
further information on parameter setting of the controllers see the Manual 93XX or the Operating
Instructions of the corresponding controller.
The PROFIBUS-DP transmits two different types of data between the host and the controllers.
l Parameter, e.g. operation parameters, diagnostic information, motor data.
In general, the transmission of parameters is not as time-critical as the transmission of the
second group of process data, but there is a larger data volume.
l Process data, e.g. setpoints and actual value, which must be exchanged within a minimum
of time.
The data volume is small (e.g. 2 words with DRIVECOM or Lenze), which are to transmitted
cyclically.
For these two different tasks the transmitted data is divided into two logical communication
channels:
l Parameter channel for the transfer of parameters
l Process-data channel for fast transfer of process data. Process data are cyclically
transferred. Thus, the latest input and output data are constantly exchanged between the
host and the controllers.
6.1 Parameters
The system distinguishes two parameter types: the Lenze parameters which are implemented into
the Lenze controllers, and the DRIVECOM parameters. This chapter gives a short description of the
two parameter types and their relation to each other.
Lenze codes
In these Operating Instructions Lenze codes are identified with L-Cxxxx, to ensure that they are not
mixed up with the DRIVECOM index (e. g. L-C0001 for the Lenze code C0001).
BA2131EN 6-1
Show/Hide Bookmarks
Parameter setting
6-2 BA2131EN
Show/Hide Bookmarks
Parameter setting
Independently of the selected operating mode (C0001), the controller can be inhibited under the
code C0040 via the PROFIBUS.
Please note that the operating mode C0001 is available in both parameter sets. Thus, C0001 must
be set identically in both parameter sets.
PROFIBUS control (C0001 = 3) is subject to the operating mode in parameter set 1. Terminal control
( C0001 <> 3) is subject to the operating mode in parameter set 1.
93XX controllers
The93XX controller does not provide an operating mode which can be changed by only one code.
The 93XX controller i operated via the control codes. By means of the control codes it is possible
to select the signal source valid for an input. The signal source can be a terminal, an internal signal
or a signal of a bus system.
For further information refer to the 93XX Manual.
BA2131EN 6-3
Show/Hide Bookmarks
Parameter setting
6-4 BA2131EN
Show/Hide Bookmarks
Parameter setting
Byte 1: Service
Job and response control for the DP parameter-channel.
Bit no. Meaning
0-2 Service
Job for the controller. The bits are set only by the master.
l 0 = no job
l 1 = read job (read data from the controller)
l 2 = write job (write data to the controller)
3 Reserved
4-5 Data length
Length of the data in the field data/error.
l 0 = 1 byte
l 1 = 2 byte
l 2 = 3 byte
l 3 = 4 byte
6 Handshake
Indicates a new job. The master changes this bit for every new job. The controller copies the bit to its response message.
7 Status
Status information from the controller to the master when sending acknowledgement. This bit informs the master whether the job
was carried out without faults.
l 0 = Job completed with fault.
l 1 = Job not completed. A fault occured. The data in the field Data/Error are interpreted as error message.
BA2131EN 6-5
Show/Hide Bookmarks
Parameter setting
Byte 2: Subindex
l The series 82XX do not have codes with subindex, the value is always 0.
l With the series 93XX it is necessary for many codes to address them additionally via a
subindex.
Example: Code C0039 subindex 3 adresses JOG 3
Please note, that these parameters must be multiplied by 10,000, e.g. the value 10 will be displayed
as value 100,000.
The data is filed according to the Motorola format, i.e. first high byte/high word, second low byte/low
word.
Byte 5 High byte 1 High
g word Double word
Byte 6 Low byte 1
Byte 7 High byte 2 Low word
Byte 8 Low byte 2
Error
Fault detection (for description see the following table).
l Byte 5: Error class
l Byte 6: Error code
l Byte 7: Additional code (high byte)
l Byte 8: Additional code (low byte)
6-6 BA2131EN
Show/Hide Bookmarks
Parameter setting
Read job
1. Determine the user data of the controller: i. e. determine the location of the DP user data in
the host.
2. Enter the address of the desired parameter in the field Index and subindex (DP output
data).
3. Job/service = Read job and the bit job/handshake must be changed (DP output data).
4. Check, whether the bit job/handshake is the same for the DP input data and the DP output
data. If the bit job/handshake is the same, the response has been received. You should
implement a time monitoring.
5. Check, whether the bit job/status is set. If the bit job/status is not set, the field
data/error contains the required parameter value. If the bit job/status is set, the reading
job is not executed properly and the field data/error contains an error information.
Write job
1. Determine the user-data range of the controller, i. e. determine the location of the DP
user-data in the host system.
2. Enter the address of the desired parameter in the field Index and subindex (DP output
data).
3. Enter the parameter value into the field Data/Error.
4. Job/Service = Write job and the bit job/handshake must be changed (DP output data).
5. Check, whether the bit job/handshake is the same for the DP input data and the DP output
data. If the bit job/handshake is the same, the response has been received. You should
implement a time monitoring.
6. Check, whether the bit job/status is set. If the bit job/status is not set, the job has not
been executed properly and the field data/error contains an error information. Otherwise,
the job has been executed without any faults.
BA2131EN 6-7
Show/Hide Bookmarks
Parameter setting
Task
The acceleration time C0012 of the controller is to be changed to 20 s.
SUBINDEX (byte 2)
Subindex = 0, as there is not subindex under code C0012.
INDEX (byte 3 + 4)
Index calculation:
Index = 24575 - code number
Index = 24575 - 12 = 24563 = 5FF3hex
DATA (byte 5 - 8)
Calculation of the value for the acceleration time
20 s x 10.000 = 200.000 = 00 03 0D 40hex
Response to drive
Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
Service Subindex Index Index Data 4 Data 3 Data 2 Data 1
High byte Low byte
0x11 0010 0 5F F3 00 03 0D 40
6-8 BA2131EN
Show/Hide Bookmarks
Parameter setting
Task
The heatsink temperature (value = 43 C) C0061 is to be read by the controller.
SUBINDEX (byte 2)
Subindex = 0, as there is not subindex under code C0061.
INDEX (byte 3 + 4)
Index calculation:
Index = 24575 - code number
Index = 24575 - 61 = 24514 = 5FC2hex
Response to drive
Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
Service Subindex Index Index Data 4 Data 3 Data 2 Data 1
High byte Low byte
0x11 0001 0 5F C2 00 00 00 00
BA2131EN 6-9
Show/Hide Bookmarks
Parameter setting
6-10 BA2131EN
Show/Hide Bookmarks
Parameter setting
AIF-IN.W1 to AIF-IN.W2 depend on the signal configuration selected under L-C0005 and are then
sensibly preassigned.
Signal configuration (L-C0005) AIF-IN.W1 AIF-IN.W2
Speed control NSET-N Not assigned
1003 Speed setpoint
1013
1113
Torque control MCTRL-MADD Not assigned
4003 Torque setpoint
4013
4113
DF master NSET-N Not assigned
5003 Speed setpoint
5013
5113
DF-slave bus DFSET-A-TRIM DFSET-N-TRIM
6003 Phase trimming Speed trimming
6013
6113
DF-slave cascade DFSET-VP-DIV DFSET-A-TRIM
7003 DF factor Phase trimming
7013
7113
Not equal to xxx3 (except own Not assigned Not assigned
configurations)
For detailed description of the 93XX signal configuration see the Operating Instructions for 93XX
(only the main configurations: 1000, 4000, 5000, etc.) or the Manual 93XX.
In the controller other signals can be assigned to AIF-IN.W1 to AIF-IN.W2. For this, the
function-block configuration - described in the Manual 93XX - is used. The function block AIF-IN
determines the input data of the controller as data interface for the 2131IB fieldbus module.
For more detailed information about the function block AIF-IN, see the Manual 93XX.
BA2131EN 6-11
Show/Hide Bookmarks
Parameter setting
A IF -IN * )
A IF -C T R L .B 3 Q S P D C T R L
A IF -C T R L .B 8 D IS A B L E
A IF -IN A IF -C T R L .B 9 C IN H
A IF -C T R L .B 1 0 T R IP -S E T
D C T R L A IF -C T R L .B 1 1 T R IP -R E S E T
A IF -C T R L .B 3 Q S P B it 0 A IF -C T R L .B 0
A IF -C T R L .B 8 D IS A B L E
A IF -C T R L .B 1
A IF -C T R L .B 9 C IN H A IF -C T R L .B 2
A IF -C T R L .B 1 0 T R IP -S E T A IF -C T R L .B 4
S te u e rw o rt
A IF -C T R L .B 1 1 T R IP -R E S E T A IF -C T R L .B 5
1 6 B it
A IF -C T R L .B 6
A IF -C T R L .B 0
A IF -C T R L .B 7
A IF -C T R L .B 1
B it 0 A IF -C T R L .B 1 2
A IF -C T R L .B 2 A IF -C T R L .B 1 3
A IF -C T R L .B 4 B it 1 5 A IF -C T R L .B 1 4
C o n tro l w o rd
A IF -C T R L .B 5
A IF -C T R L .B 1 5
1 6 B it A IF -C T R L .B 6
A IF -C T R L .B 7 C 0 1 3 6 /3
A IF -C T R L .B 1 2
B it 1 5 A IF -C T R L .B 1 3 B y te 3 ,4
A IF -IN .W 1
1 6 B it
A IF -C T R L .B 1 4
C 0 8 5 6 /1
A IF -C T R L .B 1 5 1 6 B it
L o w W o rd A IF -IN .D 2
1 6 B it
A IF -IN .W 1 C 1 1 9 7
B y te 3 ,4
1 6 B it H ig h W o r d
C 0 8 5 6 /1
X 1 A IF -IN .W 2
1 6 B it
A IF -IN .W 2 C 0 8 5 6 /2
1 6 B it
1 6 B it A IF -IN .W 3
X 1 C 0 8 5 6 /2
A IF -IN .W 3 C 0 8 5 6 /3
1 6 B it A IF -IN .B 0
C 0 8 5 6 /3
A IF -IN .B 0 C 0 8 5 5 /1 A IF -IN .B 2
B y te 5 ,6
C 0 8 5 5 /1 A IF -IN .B 2 1 6 b in a r y
...
B y te 5 ,6
1 6 b in a r y s ig n a ls
A IF -IN .B 1 4
...
s ig n a ls
A IF -IN .B 1 4 A IF -IN .B 1 5
A IF -IN .B 1 5 A IF -IN .B 1 6
A IF -IN .B 1 6 C 0 8 5 5 /2 A IF -IN .B 1 7
C 0 8 5 5 /2 A IF -IN .B 1 7 1 6 b in a r y
...
1 6 b in a r y s ig n a ls
A IF -IN .B 3 0
...
s ig n a ls
A IF -IN .B 3 0 A IF -IN .B 3 1
B y te 7 ,8
A IF -IN .B 3 1
B y te 7 ,8
1 6 B it
L o w W o rd
1 6 B it A IF -IN .D 1
L o w W o rd
A IF -IN .D 1 1 6 B it C 0 8 5 7
H ig h W o r d
1 6 B it C 0 8 5 7
H ig h W o r d
2111IBU003
For more detailed information about the function block AIF-OUT, see the Manual 93XX.
6-12 BA2131EN
Show/Hide Bookmarks
Parameter setting
A IF -O U T A IF -O U T * )
S T A T S T A T
B it 0 B it 0
S T A T .B 0 S T A T .B 0
C 0 1 5 6 /1 C 0 1 5 6 /1
D C T R L -IM P D C T R L -IM P
S ta tu s w o rd
S ta tu s w o rd
...
1 6 B it 1 6 B it
...
S T A T .B 1 4 S T A T .B 1 4
C 0 1 5 6 /6 C 0 1 5 6 /6
S T A T .B 1 5 S T A T .B 1 5
C 0 1 5 6 /7 C 0 1 5 6 /7
B it 1 5 1 6 B it B it 1 5
B it 0 A IF -O U T .D 2 L o w W o rd C 0 8 5 4 B it 0
C 1 1 9 5
1 6 B it
C 1 1 9 6 H ig h W o r d 0
A IF -O U T .W 1
B y te 3 ,4
A IF -O U T .W 1
B y te 3 ,4
C 0 8 5 0 /1 C 0 8 5 0 /1
3
C 0 8 5 8 /1 C 0 8 5 8 /1
A IF -O U T .W 2 A IF -O U T .W 2
C 0 8 5 0 /2 C 0 8 5 0 /2
C 0 8 5 8 /2 B it 1 5 C 0 8 5 8 /2 B it 1 5
C 0 8 5 0 /3
A IF -O U T .W 3
B it 0
X 1 C 0 8 5 0 /3
A IF -O U T .W 3
B it 0
X 1
C 0 8 5 2 C 0 8 5 2
C 0 8 5 8 /3 C 0 8 5 8 /3
0 0
F D O F D O
F D O -0 F D O -0
B y te 5 ,6
C 0 1 1 6 /1 1
B y te 5 ,6
C 0 1 1 6 /1 1
1 6 B it 1 6 B it
...
2
...
2 F D O -1 5
F D O -1 5 L o w W o rd C 0 1 1 6 /1 6 L o w W o rd
C 0 1 1 6 /1 6 3
F D O -1 6 F D O -1 6
C 0 1 1 6 /1 7 C 0 1 1 6 /1 7 1 6 B it
1 6 B it
...
...
H ig h W o r d F D O -3 1 H ig h W o r d
F D O -3 1 C 0 1 1 6 /3 2
C 0 1 1 6 /3 2 C 0 8 5 3
C 0 8 5 3
1 6 B it 1 6 B it
0 L o w W o rd 0
L o w W o rd A IF -O U T .D 1
A IF -O U T .D 1 C 0 8 5 1
B y te 7 ,8
C 0 8 5 1 1
B y te 7 ,8
1
1 6 B it 1 6 B it 2
C 0 8 5 9 2 C 0 8 5 9
H ig h W o r d H ig h W o r d
B it 3 1 B it 3 1
2111IBU002
Fig. 6-2 Function block AIF-OUT and AIF-OUT*) (AIF-OUT*) is available for the 9300 technology variants servo inverter, positioning
controller and cam profiler as of software version 2.0)
BA2131EN 6-13
Show/Hide Bookmarks
Parameter setting
Switch on unit
TRIP (fault)
automatically when
initializing is com-
pleted TRIP reset**
READY TO SWITCH ON
Status word xxxx xxxx x01x 0001
automatically
SWITCHED ON
Status word xxxx xxxx x01x 0011
OPERATION ENABLED
Status word xxxx xxxx x01x 0111
QSP**
Note:
The terms marked with ** are
commands
Status Meaning
NOT READY TO SWITCH The controller is being initialized and is not yet ready to operate.
ON It then automatically switches to the status READY TO SWITCH ON.
READY TO SWITCH ON The controller is inhibited and waits for the power stage to be charged. It then automatically switches to the status SWITCHED ON.
SWITCHED ON The controller is inhibited and waits for controller enable.
OPERATION ENABLED The controller is enabled. In this status, a pulse inhibit can be set automatically.
FAULT The controller is in the status FAULT (TRIP).
6-14 BA2131EN
Show/Hide Bookmarks
Parameter setting
Example: 13
Status information by means of status word Fault
Bit 15 ... bit 0 (binary display) was
recognized
automatically when
fault reaction is over
SWITCHED ON
Status word xxxx xxxx x01x 0011
4 5
Operation enable Operation inhibit
xxxx xxxx xxxx 1111 and xxxx xxxx xxxx 0111 or act.
act. speed value <> 0* speed value = 0*
Status Meaning
NOT READY TO SWITCH The controller is being initialized and is not yet ready to operate. It automatically switches to the status READY TO SWITCH ON.
ON
SWITCH-ON INHIBIT The controller is inhibited and waits for command 2 (shut down).
READY TO SWITCH ON The controller is inhibited and waits for command 3 (switch on).
SWITCHED ON The controller is inhibited and waits for command 4 (enable operation).
OPERATION ENABLED The controller is enabled. In this status, a pulse inhibit can be set automatically.
FAULT REACTION ACTIVE A fault (TRIP) was recognized and a fault response initiated.
FAULT The controller is in the status FAULT (TRIP).
QUICK STOP ACTIVE While being in the status OPERATION ENABLED the command quick stop was set. The controller is decelerated in a controlled way
(quick-stop ramp). After deceleration, the controller automatically changes to the controller status SWITCH ON INHIBIT.
BA2131EN 6-15
Show/Hide Bookmarks
Parameter setting
Command Meaning
COMMAND 2, 6, 8 (standstill) Command to change from different states to the status READY TO SWITCH ON.
A1
INHIBIT when a fault is no longer recognized.
Control word: bit 7 = 0
The individual bit-control commands of the control word depend on other bit positions. In the
following you will find a description of the bits required to effect the command.
Controller status commands Bits of the control word
Bit 7 6 5 4 3 2 1 0
1 Standstill 1 1 0
2 Switch on 1 1 1
3 Operation enable 1 1 1 1
4 Operation inhibit 0 1 1 1
5 Voltage inhibit 0
6 Quick stop 0 1
8 Fault reset
0 1
Fault reset
RFG-zero
RFG-stop
RFG inhibit
Operation enable
Quick stop
Voltage inhibit
Switch on
Explanation:
0 = Bit status is 0
1 = Bit status is 1
empty = Any bit status, no influence
6-16 BA2131EN
Show/Hide Bookmarks
Parameter setting
The actual unit status can only be clarified by combining the unit-status information bits (bit 0 to 6).
This is shown in the following:
Unit status Bits of the status word
Bit 6 5 4 3 2 1 0
NOT READY TO SWITCH ON 0 0 0 0 0
SWITCH-ON INHIBIT 1 0 0 0 0
READY TO SWITCH ON 0 1 0 0 0 1
SWITCHED ON 0 1 0 0 1 1
OPERATION ENABLED 0 1 0 1 1 1
FAULT 0 1 0 0 0
FAULT REACTION ACTIVE 0 1 1 1 1
QUICK STOP ACTIVE 0 0 0 1 1 1
Switch-on inhibit
Quick stop
Voltage inhibit
Fault
Operation enabled
Switched on
Ready to switch on
Explanation:
0 = Bit status is 0
1 = Bit status is 1
empty = Any bit status, no influence
Note!
The single bit control commands of the control word depend on other bit positions. Chapter 6.5.2
describes the bits required to effect the command.
BA2131EN 6-17
Show/Hide Bookmarks
Parameter setting
6-18 BA2131EN
Show/Hide Bookmarks
Parameter setting
The following table shows the assignment of the DRIVECOM control word 93XX depending on the
selected signal configuration L-C0005:
Signal Bit 5 Bit 6 Bit 11 Bit 12 Bit 13 Bit 14 Bit 15
configuration (AIF-CTRL.B4) (AIF-CTRL.B5) (AIF-CTRL.B7) (AIF-CTRL.B12) (AIF-CTRL.B13) (AIF-CTRL.B14) (AIF-CTRL.B15)
L-C0005
Speed control NSET-RFG-STOP NSET-CTRL. Not assigned DCTRL-PAR*1 DCTRL-PAR-LOAD NSET- NSET-
1003 (RFG stop) ENABLE-0 (RFG TI*1 TI*2
1013 zero)
1113
Torque control NSET-RFG-STOP NSET-CTRL. Not assigned DCTRL-PAR*1 DCTRL-PAR-LOAD NSET-JOG*1 NSET-JOG*2
4003 (RFG stop) ENABLE-0 (RFG
4013 zero)
4113
DF master NSET-RFG-STOP NSET-CTRL. Not assigned DCTRL-PAR*1 DCTRL-PAR-LOAD REF-ON NSET-TI*1
5003 (RFG stop) ENABLE-0 (RFG
5013 zero)
5113
DF-slave bus Not assigned Not assigned Not assigned DCTRL-PAR*1 DCTRL-PAR-LOAD REF-ON Not assigned
6003
6013
6113
DF-slave cascade Not assigned Not assigned Not assigned DCTRL-PAR*1 DCTRL-PAR-LOAD REF-ON Not assigned
7003
7013
7113
BA2131EN 6-19
Show/Hide Bookmarks
Parameter setting
Note!
The current controller status can only be clarified by combining the bits with the status information
(bit 0, 1, 2, 3, 4, 5 and 6). This is shown in chapter 6.5.2.
9 Remote 82XX: Bus access, depends on Lenze parameter operating mode (L-C0001):
0 = L-C0001 3
1 = L-C0001 3
93XX: 1
10 FREE DRIVECOM: Status of speed/frequency deviation
Setpoint reached 0 = RFGon RFGoff
1 = RFGon = RFGoff
11 Limit value Status of the DRIVECOM speed limitation
0 = Limitation not addressed
1 = Limitation addressed
12 FREE DRIVECOM: 82XX: Not assigned
Reserve 93XX: free. Mapping to bit L-C0150.B14 1)
13 FREE DRIVECOM: 82XX: Not assigned
Reserve 93XX: free. Mapping to bit L-C0150.B3 1)
14 Manufacturer 820X, 821X, 822X: Imax (current limit reached)
0 = Current limit not reached
1 = Current limit exceeded
8200 vector, 93XX: free. Mapping to bit L-C0150.B2 1)
15 Manufacturer 820X, 821X, 822X: Qmin (fd $fdQmin)
0 = Qmin not active
1 = Qmin active
8200 vector, 93XX: free. Mapping to bit L-C0150.B5 1)
6-20 BA2131EN
Show/Hide Bookmarks
Parameter setting
The following table shows the assignment of the DRIVECOM status word 93XX depending on the
selected signal configuration L-C0005:
Signal configuration Bit 10 Bit 12 Bit 13 Bit 14 Bit 15
L-C0005 (L-C0150.B4) (L-C0150.B14) (L-C0150.B3) (L-C0150.B2) (L-C0150.B5)
Speed control NSET-RFG- Not assigned Not assigned MCTRL-IMAX QMIN
100x I= 0
101x
111x
Torque control MCTRL-IMAX negated Not assigned Not assigned MCTRL-IMAX QMIN
400x
401x
411x
DF master NSET-RFG- Not assigned Not assigned REF-OK REF-BUSY
500x I= 0
501x
511x
DF-slave bus MCTRL-MMAX negated Not assigned Not assigned REF-OK REF-BUSY
600x
601x
611x
DF-slave cascade MCTRL-MMAX negated Not assigned Not assigned REF-OK REF-BUSY
700x
701x
711x
BA2131EN 6-21
Show/Hide Bookmarks
Parameter setting
6-22 BA2131EN
Show/Hide Bookmarks
Branches
Another block
of the fault-elimination
tree
Instruction
1 Connection
BA2131EN 7-1
Show/Hide Bookmarks
PROFIBUS no
initialization Check
ok? PROFIBUS
yes
Is the yellow no
LED blinking (BUS)? Check 2131 field-
bus module
yes
82XX:
Set the operating mode
(L-C0001) to 3 (if necessary,
store parameter (L-C0003))
PIW1 = no PIW1 =
xxxx xxxx x100 0000bin xxxx xxxx 0xxx 1000bin
(switch-on inhibit)? (fault)?
yes yes
Fault (TRIP)
reset
7-2 BA2131EN
Show/Hide Bookmarks
no
PIW1 =
xxxx xxxx x011 0001bin
(ready for switch on)?
yes
Enable controller
PIW1 = (terminal 28, C40)
no For 821X/8200 vector/822X with
xxxx xxxx x011 0111bin
(operation enabled)?
L-C0106 <> 0
setpoint selection via PAW2
yes
BA2131EN 7-3
Show/Hide Bookmarks
yes
no
PROFIBUS
initialization Replace the unit
ok?
yes
Reconnect a unit
7-4 BA2131EN
Show/Hide Bookmarks
yes
Is the green
LED (BUS) on?
no
Is the yellow
LED (BUS) blinking?
no
Correct
the identifiers Start PROFIBUS
no
Are the no
configuration identifiers in Is the yellow
the master LED (BUS) blinking?
correct?
yes yes
BA2131EN 7-5
Show/Hide Bookmarks
POW1 = 0080hex
selection
PIW1 = yes
xxxx xxxx x100 0000bin
(switch-on inhibit)?
no
Preselection:
POW1 = 0000hex
then
POW1 = 0080hex
no PIW1 =
xxxx xxxx x100 0000bin
(switch-on inhibit)?
yes
OK
7-6 BA2131EN
Show/Hide Bookmarks
Appendix
8 Appendix
8.1 Accessories
In the following, you will find the accessory components for PROFIBUS-DP:
Note!
Please ask the manufacturer of the accessory components for the latest order information and the
technical data.
Name Note
Bus-connector Bus-connector for 9-pole SubD-connector with plug-in terminals for the connection of the bus cable (order name: bus connector
PROFIBUS RS-485).
With connectable bus terminator
Order number: Siemens: 6ES7 972-0BA00-0XA0
Bus cable Features:
l Cable resistance: 135 - 165 /km (f = 3 - 20 MHz)
l Capacitance per unit length: 30 nF/km
l Loop resistance: < 110 /km
l Core diameter: > 0.64 mm
l Core cross-section: 0.34 mm2
l cores: twisted, insulated and screened
Order name: Siemens SINEC L2 2-core bus cable
BA2131EN 8-1
Show/Hide Bookmarks
Appendix
8-2 BA2131EN
Show/Hide Bookmarks
Appendix
8.3 Glossary
Technical term Meaning
Acknowledgement Acknowledgement of a setting or change (e. g. of parameters))
Application as directed:
Appropriate use of the machine according to the manufacturers information or to common use because of its design and function.
inappropriate
The use of the machine which does not comply with the manufacturers declaration.
Baud rate Transmission speed of data in bit/s
Bus participant Unit which communicates with the host via the bus
Bus terminal Network node between long-distance and peripheral bus
Code For input and display (access) of parameter values.
Code number/code Clear labelling of a parameter, e.g. C0106. For the calculation rules see the Lenze code addressing in chapter Parameter setting,
page 6-1.
Controller General term for servo drives, frequency inverters and DC drives
Cycle time The cycle time of the communication system is the time required for the exchange of all process data between the host and the
field units (e.g. controllers).
Data format Data description, consisting of the components data structure and data type. The data formats of the DRIVECOM parameters are
described in chapter 6.
Distributed peripherals (DP) Input and output units which are serially connected with the central control.
DP master (class 1) The DP master, which transfers user data by means of the assigned DP slave.
DP master (class 2) The DP master, which is used as commissioning or diagnosis unit, usually a programming unit
DRIVECOM Group of more than 30 drive manufacturers. They have created uniform communication solutions for power transmission. A result
is a standardized drive profile DRIVECOM profile drive technology 21 (see Profile).
Fieldbus For the exchange of data between higher-level controls (hosts) and positioning controls (e. g. controllers).
Handshake Stipulated data-transfer method (here implemented by software).
Host PC or PLC
Icon Sign or symbol with an unambiguous message.
Index Parameter number according to the PROFIBUS and DRIVECOM definitions. If a parameter comprises several values (e. g. arrays and
records), they are addressed with an additional subindex.
InterBus-S Serial bus system of Phoenix Contact
Lenze code number see code number
Master see host/host system
Network topology Design and structure of a network: e.g. point-to-point network, line network, ring network)
Parameter Adjustable controller variables and values addressable via codes
PCP channel By means of this communication channel, parameters can be transferred via PCP services following the PROFIBUS standard.
PCP service Commands with which it is possible to transfer parameters according to the PROFIBUS standard.
Peripheral-bus module Bus participant in the peripheral bus
Peripheral-bus station Consists of bus terminal, peripheral-bus module and long-distance bus controller.
PNO PROFIBUS-Nutzerorganisation e.V. (PROFIBUS user organisation) Organisation for support and distribution of the PROFIBUS.
Process data Small amounts of data (e.g. 2 bytes, DRIVECOM) for fast and cyclic transmission; e.g. setpoints and actual values
Process-data channel Communication channel for fast and cyclic transmission of process data
(PCD channel)
PROFIBUS Communication standard DIN 19245 consisting of parts 1 to 3
Profile The word profile originates from the communication standard DIN 19245 and describes supplementary and restrictive
regulations, which are valid for industry groups or device groups.
The DRIVECOM-Nutzergruppe e. V. has standardized some important unit functions and summarized the results in the DRIVECOM
profile drive technology 20.
Slave Bus participant which is only allowed to transmit data after a request by a master. For instance, controllers are slaves. (See
Host/host system)
BA2131EN 8-3
Show/Hide Bookmarks
Appendix
A D
Accessories, 8-1 Definitions, 1-1
Address Device control, DRIVECOM, 6-14
Bus, 6-3
Diagnostics, 5-4
Station, 6-3
Addressing of Lenze codes, 6-1 Dimensions, 3-2
B E
Basic insulation, 4-4
Electrical data. See Ratings
Baud rate, 3-1, 6-4
Electrical isolation, 4-4
See also Baud rate
Enable controller, 5-3
Bus address, 6-3
Bus cable, 4-6, 8-1
Bus connection cable, 4-6
F
Bus-connector, 8-1 Fault elimination, 7-1
Fault reset, 7-6
C Fieldbus module
Connections, 4-1
Check PROFIBUS, , 7-4
Order designation, 3-1
Codes, Possibilities, 6-1 Overview, 4-1
Commissioning, 5-1
Initial switch-on, 5-2
G
Communication medium, 3-1, 3-2
Glossary, 8-2
Communication times, 3-3
Configuration, PROFIBUS-DP, 6-4
I
Connection
Connections of the fieldbus module, 4-1 Index, 6-1
Plug-in terminal (2-pole), 4-2
Initial switch-on, 5-2
Control word, 6-17 See also Installation
Controller Installation
Application as directed, 1-2 Electrical, 4-3
Labelling, 1-2
Mechanical, 4-3
Controller status, 6-13 Wiring to a host, 4-4
8-4 BA2131EN
Show/Hide Bookmarks
Appendix
L P
Parameter, L-C0142, 6-22
Labelling, Controller, 1-2
Parameter communication
Legal regulations, 1-2 Read job, 6-7
with the controller, 6-7
Length of the user data, 6-4 Write job, 6-7
Parameter sets, 6-2
Lenze code addressing, 6-1
Parameter setting, 6-1
Lenze codes, 6-1
Parameter-setting channel, 6-5
Lenze data types, 6-2 Parameters, 6-1
C0001 (operating mode), 6-3
Lenze parameters, 6-1 DRIVECOM, 6-2
Lenze-specific parameters, 6-22 Lenze, 6-1
Meaning of individual parameters, 6-3
Liability, 1-2
Personnel, qualified, 2-1
List Plug-in terminal for external supply, Connections, 4-2
Abbreviations, 8-1 Process data, 6-9
Technical term. See Glossary Process data assignment, 6-9
List of abbreviations, 8-1 Processing time in the controller, 3-3
PROFIBUS, Configuration, 6-4
Protocol data, 3-2
M
R
Manufacturer, 1-2
Ratings, 3-2
Master, Settings, 6-4 Read job, 6-7
Master settings, 6-4
S
Safety information, 2-1
N Layout, 2-2
Other notes, 2-2
Warning of damage to material, 2-2
Network topology, Point-to-point, 4-5 Warning of damage to persons, 2-2
Operating Instructions, 1-1
Number of participants, 3-4
Scope of supply, 1-1
Standard unit control, 6-13
Station address, 6-3
O
Status word, 6-20
Operator, 2-1 SubD plug, 4-2
BA2131EN 8-5
Show/Hide Bookmarks
Appendix
T V
Technical data, 3-1
Communication times, 3-3 Voltage supply, 4-3
Dimensions, 3-2
Voltage supply, external, 4-2
Features of the fieldbus module, 3-1
General data/application conditions, 3-1
Protocol data, 3-2
Ratings, 3-2 W
TRIP reset, 7-6
Troubleshooting, 7-1 Warranty, 1-2
8-6 BA2131EN
Show/Hide Bookmarks
Appendix
BA2131EN 8-7
Show/Hide Bookmarks
Appendix
8-8 BA2131EN
Show/Hide Bookmarks
Appendix
BA2131EN 8-9