Lenze 2130IB User Manual

EDB2130IB/GB
k
00381616
L
Antriebstechni
Operating Instructions
PROFIBUS-FMS/DP Bus interface module Type 2130IB
These operating instructions are valid for the interface modules as of nameplate designation:
2130 IB 0x. 0x. V001 PROFIBUS-FMS/DPwith RS485 2130 IB 0x. 0x. V002 PROFIBUS-FMS/DP with
optical fibre cable
together with the controller series as of
Controller type
Design
Hardware version + index
Software version + index
4900 E
3x. 5x.
8600 E 5x. 6x. Frequency inverter
9200 E 4x.
2211 PP. 0B. 1x. Position control
2212 WP. 0B. 1x. Winding calculator
4x. 5x.
4x. 5x. 5x.
DC controller
Servo controller
Variant
Explanation
Important: These operating instructions are only valid together with the operating instructions of the suitable controllers or automation modules!
corresponds to the German edition of 15 February, 1995
revised
Edition of: 10.04.1995
Date of print: 24.04.1995
How to use these operating instructions...
To locate information on specific topics, simply refer to the table of contents at the beginning and to the index at the end of the operating instructions.
These operating instructions use a series of different symbols to provide quick reference and to highlight important items.
This symbol refers to items of information intended to facilitate operation.
Notes which should be observed to avoid possible damage to or destruction of equipment.
Notes which should be observed to avoid health risks to the operating personnel.
L
1
Safety information
The equipment described is intended for use in industrial drive systems.
This equipment can endanger life through rotating machinery and high voltages, therefore it is essential that guards for both electrical and mechanical parts are not removed.
The following points should be observed for the safety of the personnel:
Only qualified personnel familiar with the equipment are permitted to install, operate, and maintain the devices
System documentation must be available and observed at all times.
The system must be installed in accordance with local regulations.
A qualified person is someone who is familiar with all safety notes and established safety practices, with the installation, operation and maintenance of this equipment and the hazards involved. It is recommended that anyone who operates or maintains the electrical or mechanical equipment should have a basic knowledge of First Aid. As a minimum, they should know where the First Aid equipment is kept and the identity of the official First Aiders.
These safety notes do not represent a complete list of the steps necessary to ensure safe operation of the equipment. If you require further information, please contact your nearest Lenze representative.
The information in these operating instructions applies only to the hardware and software versions that are indicated on the cover page.
The specifications, processes, and circuitry described in these operating instructions are for guidance only and must be adapted to your own specific applications.
Lenze does not guarantee the suitability of the processes and circuitry described in these operating instructions.
The specifications in these operating instructions describe the features of the products, without guarantee.
Lenze personnel have carefully checked these operating instructions and the equipment it describes, but cannot be held responsible for its accuracy.
2
L
Contents
Planning
1. General information about PROFIBUS 7
1.1. Structure of the PROFIBUS system 9
1.1.1. Explanations about PROFIBUS-DP 10
1.1.2. Explanations about PROFIBUS-FMS / mixed operation 11
1.2.3. Selection of the PROFIBUS operating mode 12
1.2.4. Compatibility with Siemens SINEC-L2 12
2. Technical data 13
2.1. General data 13
2.2. Protocol specific data 13
2.2.1. PROFIBUS-DP 13
2.2.2. PROFIBUS-FMS 13
2.3. Dimensions of the 2130IB board 14
2.4. Scope of supply 15
2.5. Manufacturer's Declaration 16
2.5.1. Application as directed of the 2130IB module 16
3. Installation 17
3.1. Installation 17
3.2. Wiring 17
3.2.1. 2130IB.V001 (RS485) 17
3.2.2. 2130IB.V002 (OFC) 19
3.2.3. Additional procedure for FMS / mixed operation 20
L
3
Programming
1. Commissioning 22
1.1. Code numbers / Index 22
1.2. How to install the PROFIBUS software 22
1.3. Commissioning sequence 23
1.3.1. Base setting of the drive system 24
1.3.2. PROFIBUS bus parameters 27
1.3.3. PROFIBUS drive control 28
2. 2130IB code table 32
3. PROFIBUS operating mode 34
3.1. PROFIBUS-DP operating mode 35
3.1.1. Simatic-S5 37
3.1.1.1. COM-ET200 settings 37
3.1.1.2. Example program 37
3.1.2. Diagnosis data 38
3.1.3. DP process data 40
3.1.4. DP user data 41
3.1.5. DP parameter setting channel 42
3.1.6. DP command Sync/Unsync 45
3.1.7. DP command Clear_Data 45
3.2. Operating mode PROFIBUS mixed operation (FMS/DP) 46
3.2.1. FMS process data 47
3.2.1.1. Access to process data 47
3.2.2. Communication services 48
3.2.2.1. Entries in the communication reference list 48
3.2.2.2. Initiate 49
3.2.2.3. Abort 49
3.2.2.4. Status 49
3.2.2.5. Get-OV 49
3.2.2.6. Identify 50
3.2.2.7. Read / Write 51
4
L
4. DRIVECOM parameters 52
4.1. DRIVECOM code table 52
4.2. Controller states 54
4.2.1. Status diagram of standard control 54
4.2.2. Status diagram DRIVECOM control 56
4.2.3. Control word (6040
4.2.4. Status word (6041
4.3. Ramps for quick stop / disable ramp function generator / QSP 64
4.3.1. Ramp-min function 64
4.3.2. Speed quick stop (604A
4.3.3. Quick stop time (6051
4.4. Malfunction / Monitoring 66
4.4.1. Malfunction code (603F
4.5. Process data configuration 67
4.5.1. Process input data description (6000
4.5.2. Process output data description (6001
4.5.3. Process output data enable (6002
4.6. Process data 70
4.6.1. Process input data (6010
4.6.2. Process output data (6011
4.7. Speed/Velocity channel 71
4.7.1. Pole number (604D
4.7.2. Face value factor (604B
4.7.3. Speed reference value (604E
4.7.4. Nominal speed (6042
4.7.5. Speed reference variable (6043
4.7.6. Actual speed (6044
4.7.7. Nominal percentage (6052
4.7.8. Percentage reference variable (6053
4.7.9. Actual percentage (6054
4.7.10. Speed-min-max-amount (6046
4.7.11. Ramps 75
4.7.11.1. Ramp-min function 75
4.7.11.2. Speed acceleration (6048
4.7.11.3. Speed deceleration (6049
4.7.11.4. Ramp function time (604F
4.7.11.5. Slow down time (6050
)58
hex
)62
hex
)64
hex
)65
hex
)66
hex
)69
hex
)69
hex
)70
hex
)70
hex
)71
hex
)71
hex
hex
)72
hex
)72
hex
)73
hex
hex
)72
hex
)73
hex
)73
hex
)74
hex
)75
hex
)76
hex
)76
hex
)76
)73
hex
)74
5. Lenze parameters 77
5.1. Lenze code addressing 77
5.2. Lenze data types 77
5.3. AIF process data base controller 78
5.4. Lenze automation module 79
5.4.1. Automation control word (58C5
5.4.2. Automation status word (58C4
5.4.3. AIF process data automation module 84
6. Glossary 85
Index 88
)79
hex
)82
hex
L
5
6
L
Planning
1. General information about PROFIBUS
The 2130IB interface module is used for serial connection of Lenze controllers with the standardized serial communication system PROFIBUS (Process Field Bus). PROFIBUS is suitable for parameter setting and control of controllers via a host. The following PROFIBUS variants are supported (see figure below):
PROFIBUS-FMS (DIN 19245 part 1 and part 2)
PROFIBUS-DP (DIN19245 part 1 and part 3)
In a PROFIBUS system, hosts, PC or PLC are called master, and controllers are slaves.
The different PROFIBUS operating modes
PROFIBUS operat. modes
DP operat.
Both PROFIBUS variants have an identical wiring. Their communication profile, however, is different. Data are transmitted via RS485 bus (2130IB.V001) or optical fibre cables (2130IB.V002).
For the complex tasks in power transmission it has become a necessity for the component suppliers to agree about the most important device functions and parameters. Therefore, more than 30 international drive manufacturers have come together to form the DRIVECOM User Group e.V. Lenze and the other members have brought these functions together in a so-called profile (DRIVECOM profile power transmission 21) on the basis of the PROFIBUS standard (part 2). This profile is implemented on the 2130IB bus interface module 2130IB. The DRIVECOM profile definition is a useful supplement of standardardized communication for the user and describes in general terms the data contents and the controller behaviour.
FMS operat.
Mixed operation
(DP operation
and FMS operation)
7
The 2130IB bus interface module has the following features:
Slave interface module for the communication system PROFIBUS with the communication profiles PROFIBUS-FMS and PROFIBUS-DP
Bus connection according to the RS485 standard (2130IB.V001) or optical fibre cables according to Siemens SINEC-L2FO (2130IB.V002).
Baud rate from 93.75 kBaud to 1.5 MBaud
Additional module for the Lenze series 4900, 8600 and 9200.
Can be combined with the automation modules 2211PP, 2212W P
Standardised parameters and controller functions according to the
DRIVECOM profile 21
Parameter setting channel as option for PROFIBUS-DP
Access to all Lenze parameters
LECOM-A/B interface at the device remains active
Intelligent module with 16-bit microprocessor
8
L
1.1. Structure of the PROFIBUS system
The PROFIBUS network according to DIN 19245 part 1, consists of an RS485 connection. As standard, you can connect a maximum of 32 participants (including hosts) to the RS 485 bus. Using repeaters this structure can be extended to a maximum of 127 participants in the whole bus system. The repeaters can also be used to achieve line or tree topologies. The maximum extension of the bus system depends on the baud rate and the number of repeaters. For more information, please consult the documentation of the control manufacturer.
PROFIBUS using RS485 connection (without repeaters)
Host (Master)
Controller 1 Controller 2 Controller 3
8600 4900 9200
8600 4900 9200
PROFIBUS
LECOM-AB
Motor 1 Motor 3
PROFIBUS
Motor 2
LECOM-AB
8600 4900 9200
PROFIBUS
LECOM-AB
Apart from the RS485 connection you can also use an optical fibre cabling. Here, the Siemens system SINEC-L2FO is used mainly, where point-to-point and star connections (using active star connectors) are possible.
Note:
The module variant 2130IB.V002 has a connection for OFC plastic fibres for distances from 5 m to 25 m.
9
1.1.1. Explanations about PROFIBUS-DP
PROFIBUS-DP is the variant for sensors/actors, when a higher process response is required. PROFIBUS-DP connects the central automation devices, like for example programmable logic controllers, via a fast serial connection using decentral input and output devices, sensors and actors such as controllers. The main task of the PROFIBUS-DP system is the fast cyclic data exchange between the central automation device (master) and the peripherial devices (slaves); see figure "standard structure".
Standard structure
Master
DP
SlaveSlave
The explanation of the PROFIBUS-DP functions of the Lenze controller can be obtained from the paragraph "Operating mode PROFIBUS-DP" (page 35).
Slave
10
L
1.1.2. Explanations about PROFIBUS-FMS / mixed operation
PROFIBUS-FMS is the standard PROFIBUS according to part 1 and part 2 of DIN19245. This operating mode supports the communication on a bus with several masters (e.g. connected PLC systems) and with a number of slaves (e.g. controllers). In addition, a mixed bus access procedure is possible, where several PROFIBUS masters (e.g. PLC systems) with the same priority can have access to PROFIBUS slaves (e.g. controllers); see figure "extended structure".
Extended structure
Master
Master
DP, FMS or mixed operation
Slave
PROFIBUS-FMS is based on the description of objects. Devices are written in as virtual field devices (VFD = virtual field device); with one device having several VFDs. Parameters or variants are displayed as objects, which can be read out or written in using the services "Read" or "Write", when an index (index + subindex) is specified. The FMS device supplies an object description of every variable or data type which contains the most important information about the communication.
Slave
Slave
In a mixed PROFIBUS system, you can operate PROFIBUS-DP devices and PROFIBUS-FMS devices on the same bus. In a mixed system, however, only participants with the same communication profile (FMS or DP) are able to communicate with each other.
Lenze controllers have both communication profiles. In the operating mode "mixed operation" PROFIBUS-FMS and PROFIBUS-DP are active at the same time. This means that in a mixed system the Lenze controller can be called up by PROFIBUS-FMS masters and PROFIBUS-DP masters. A disadvantage of the mixed operation compared with the pure PROFIBUS-DP operation is the lower protocol efficiency. There are no disadvantages compared with the pure PROFIBUS-FMS operation. Therefore, a special operating mode for PROFIBUS-FMS for the controller is not necessary.
The description of the PROFIBUS-FMS functions of the Lenze controller can be obtained from the chapter "operating modeOperating mode PROFIBUS mixed operation (FMS/DP)" (page 46).
11
1.2.3. Selection of the PROFIBUS operating mode
Select the desired PROFIBUS operating mode using the following table.
PROFIBUS operating mode for the controllers (parameter L-C1900)
Criteria DP operation
(factory setting) PROFIBUS-DP master available yes yes (DP) PROFIBUS-FMS master available no yes (FMS) Several control masters necessary no yes (FMS) Control of the controller yes yes (FMS/DP) Parameter setting of the controller yes yes (FMS/DP) DRIVECOM profile 21 yes yes (FMS/DP) Baud rate up to 1.5MBaud yes yes (FMS/DP) Automatic baud rate recognition yes no Data transmission time / cycle time small medium
Mixed operation
1.2.4. Compatibility with Siemens SINEC-L2
Siemens designates the PROFIBUS communication as SINEC-L2 . There are a number of variants; their compatibilty with the module 2130IB is listed in the following.
Siemens SINEC-L2 variant Comp. w.
2130IB
SINEC-L2-FMS Yes FMS = "Fieldbus Message Specification"
SINEC-L2-DP (standard) Yes DP = Decentral peripherial units
SINEC-L2-DP (Siemens) No DP = Decentral peripherial units.
SINEC-L2-STF or SINEC L2-TF
SINEC-L2-Layer2 No Siemens-specific communication of a direct
SINEC-L2-FO Yes Optical fibre cable connection using plastic
No STF = "Siemens Technologische Funktio-
Explanations
Implementation acc. to PROFIBUS standard DIN 19245 part1 and part 2
Implementation acc. to PROFIBUS standard DIN 19245 part1 and part 3 (COM ET 200 as of version V4.0)
Older Siemens-specific DP implementations which are not compatible with the DP standard (COM-ET200 up to version V3.x).
onen" (Siemens technological functions). Siemens-specific Layer7 implementation
Layer2 access
OFC / HP duplex Lenze module variant 2130IB.V002.
12
L
2. Technical data
2.1. General data
Communication media RS485 (2130IB.V001)
OFC (SINEC-L2FO) (2130IB.V002)
Communication profile PROFIBUS-FMS (DIN 19245 p1+p2)
PROFIBUS-DP (DIN 19245 p1+p3) PROFIBUS participant Slave Drive profile DRIVECOM 21 Baud rate [kBit/s] 93.75, 187.5, 500, 1500 Permissible pollution Degree of pollution 2 according to
VDE 110 part 2 Permissible humidity 80% relative humidity no condensation Surge strength to the bus system 250V AC (2130IB.V001)
infinite (2130IB.V002) Ambient temperature
2.2. Protocol specific data
2.2.1. PROFIBUS-DP
Max. number of controllers 31 (without repeater)
Supported services Data_Exchange, RD_inp, RD_outp,
Functions available as options Sync, Clear_Data Maximum PDU length 32 Byte User data length 12 Byte with DP parameter setting channel
Lenze PNO identification number 0082 Controller master data file for DIN E 19245 part3 Simatic-S5 COM-ET200/IM 308-B DP parameter setting data 10100000 Configuration data with DP parameter setting channel
0...45°C
122 (with repeater)
Slave_Diag, Set_Prm, Chk_Cfg, Get_Cfg,
Global_Control, Set_Slave_add
4 Byte w/o DP parameter setting channel
hex
L_AR0082.GSD
LE0082TD.200
bin
B7
93
hex
hex
(183
(147
dez
dez
),A3
)
hex
(163
dez
),
without DP parameter setting channel
A3
hex
(163
dez
),93
hex
(147
dez
)
2.2.2. PROFIBUS-FMS
Max. number of controllers 31 (without repeater)
126 (with repeater) Supported services Initiate, Abort, Identify, Status, Get-OV-long,
Read, Write Maximum PDU length 150 Byte Communication relations Reference 1: Default Management
Reference 2: MSAC
13
2.3. Dimensions of the 2130IB board
Connections of 2130IB
X12 X13
View of 2130IB with front plate
Explanations:
X4 Automation interface
34-pole plug connector for the connection with the control board of the controller
X12 RS485 bus connection
9-pole SubD socket (only 2130IB.V001)
X13-W30 OFC receiver
(only 2130IB.V002)
X13-W31 OFC transmitter
(only 2130IB.V002)
V1 V2
V1 (LED green) supply 2130
OFF: Module has no supply voltage.
The controller is switched off or the connection to the controller is interrupted (X4).
ON: Module has supply voltage.
V2 (LED yellow) Communication
2130
OFF: No supply or 2130 and controller is
not initialized.
ON: Module 2130 and base device are
initialized but there is no PROFIBUS communication.
FAST FLASHING: (4 times per sec.)
PROFIBUS-DP communication with user data
SLOW FLASHING: (once per sec.)
PROFIBUS-FMS communication is established
14
L
2.4. Scope of supply
Variants of the 2130IB bus interface module:
Variant Communication medium Service no.
2130IB.V001 RS485 33.2130IB.V001 2130IB.V002 Optical fibre cable Siemens SINEC-
L2FO (plastic OFC/HP duplex)
The scope of supply of the 2130IB module includes the following components:
2130IB board
Diskette 3 1/2", DOS format 1.44 MByte including:
INSTALL.EXE Installation program for the following
software
L_AR0082.GSD Controller master data file according to DIN E 19245 part 3 (PROFIBUS-DP)
LE0082TD.200 Controller master data file for Simatic-S5 COM-ET200/ IM-308B (SINEC-L2-DP)
2130@@ST.S5D Example program for Simatic-S5
LEMOC2 PC program for parameter setting of the
drive as of version V2.2
2130IB operating instructions
on request
The controllers can be supplied as a complete system.
15
2.5. Manufacturer's Declaration
We hereby certify that the electronic controllers listed in these Operating Instructions are control components for variable speed motors intended to be assembled into machines or to form a machine together with other components. According to the "Council directive ... relating to machinery" 89/392/EWG, the controllers cannot be called machines.
These Operating Instructions give advice and recommendations for the installation and use of the electronic equipment.
As long as the conformity with the protection and safety guidelines required by the "Council directive ... relating to machinery" 89/392/EWG and its amendment 91/368/EWG is not proved, commissioning of the machine is prohibited.
The measures required for typically configured controllers to comply with the EMC limit values are indicated in these Operating Instructions. The electromagnetic compatibility of the machines depends on the method and accuracy of the installation. The user is responsible for the compliance of the machine with the "Council directive ... relating to electromagnetic compatibility" 89/336/EWG and its amendment 92/31/EWG.
Considered standards and regulations:
Electronic equipment for use in electrical power installations and their assembly into electrical power installations: DIN VDE 0160, 5.88
Standards for the erection of power installations: DIN VDE 0100
Degrees of protection: EN 60529, 10.91
Base material for printed circuits:
DIN IEC 249 part 1, 10.86; DIN IEC 249 part 2-15, 12.89
Printed circuits, printed boards: DIN IEC 326 part 1, 10.90; EN 60097, 9.93
Creepage distances and clearances: DIN VDE 0110 part 1-2, 1.89; DIN VDE 0110 part 20, 8.90
Electrostatic discharge (ESD): prEN 50082-2, 8.92, IEC 801-2, 9.87 (VDE 0843, part 2)
Electrical fast transient interference (Burst): prEN 50082-2, 8.92, IEC 801-4, 9.87 (VDE 0843, part 4)
Surge immunity requirements: IEC 801-5, 10.93
Radio interference suppression of electrical equipment and
plants: EN 50081-2, 3.94; EN 55011 (VDE 0875, part 11, 7.92)
Radio interference suppression of radio frequency equipment for industrial purposes: VDE 0871, 6.78
16
2.5.1. Application as directed of the 2130IB module
The 2130IB module is an additional module for Lenze controllers of the 4900, 8600, 9200 series. These controllers are industrial equipment for use in industrial high power plants. They are designed for use in machinery to control variable speed drives. Further notes about the use can be obtained from the operating instructions of the corresponding controller.
L
3. Installation
3.1. Installation
You can integrate the 2130IB bus interface module into the controllers of the 4900, 8600, 9200 series. It is also possible to use it together with the Lenze automation module for positioning (2211PP) and winding applications (2211WP). If you purchase the bus interface module separately, you will need an installation kit.
Name Service no. Explanation
Installation kit 8600­4900/2130IB
Installation kit 9200/2130IB 33.9200_N.V008 Installation kit for the 9200 series
Assembly instructions are included in the installation kits. Further installation kits for the controllers of the 9200 series can be obtained on request.
33.4900_N.V013 Installation kit for the 8600 and 4900 series
3.2. Wiring
3.2.1. 2130IB.V001 (RS485)
Communication media RS485 (2-wire) Network topology Line Number of controllers 31 without repeater. With repeater
max.126.
Maximum cable length 1200 m (depending on the desired baud
rate and cable type. See following cable specification)
Maximum baud rate 1500 kBaud
X12 Socket 9-pole SubD (RS485)
View Pin no. Signal name Name
1
5
9
4
8
3
7
2
6
1
2 3 4 5 6 7 8 9
PE
RxD / TxD-P RTS M5V2 P5V2
RxD / TxD-N
Protective earth
Data line B Request To Send Data reference potential Supply plus
Data line A
17
How to wire the module
Only use cables according to the following cable specification.
Observe the following illustrations concerning the bus connector.
Make the connection to the controllers using the bus connector.
The bus system is not interrupted if you disconnect the plug from the controller.
Connect a terminating resistor at the physical bus ends . This resistor is integrated in the bus connection plug. You can activate it by using a switch.
If the 2130IB bus interface module is not supplied with power any more, the bus system continues to operate. The connected controller, however, cannot be called by the host.
If you want to disconnect individual bus participants, make sure that the terminating resistors at the physical cable ends remain active.
Further notes and wiring instructions can be obtained from the documentation of the control manufacturer.
Connection of the bus cable in the bus connector
V
V
1
A
ON
B
B
A
4
approx. 6 mm
approx. 11 mm
V
V
2
3
approx. 11 mm
V
V
bus cable
cable screen
1 = 9-pole SubD connector 2 = Guides for the bus cable 3 = Housing screw 4 = Terminating resistor (not connected)) 5 = Cable screen; must lay bare on the metal guide
V
5
18
L
Accessories for the wiring of the RS485 connection
Name Part no. Explanation
Bus connector Service designation: Bus connector PROFIBUS RS485
Cable:
Service designation: Sinec-L2 bus cable 2-core
Cable resistance Capacitance per unit length Loop resistance Wire diameter Wire cross-section Wires Length
363 695 Bus connector for 9-pole SubD socket with
plug terminals to connect the bus cable. Bus terminal resistor can be added.
Service designation: Siemens 6ES5 762-1AA12
363 677 (sold by the meter)
135 - 165 /km (f = 3 - 20 MHz) 30 nF/km <110 /km >0.64mm >0.34qmm double twisted, insulated and screened 1200m at 93.75 kBaud 1000m at 187.50 kBaud 400m at 500.00 kBaud 200m at 1500.00 kBaud
Service designation: Siemens SINEC L2 bus cable (sold by the meter) 6XV1 830-0AH10
These service designations and technical data of component manufacturers other than Lenze may not be the latest information. Therefore they are to be understood as guidelines only. Precise data can be obtained from the documentation of these manufacturers.
3.2.2. 2130IB.V002 (OFC)
Communication media Optical fibre cable (plastic)
HP duplex plug connection Network topology Point-to-point (star network when using star couplers) Number of controllers 1 (per star coupler 15-1, number of star couplers in a
cascade depends on the baud rate) Minimum cable length 5m Maximum cable length 25m
OFC wiring
A star coupler is not necessary for the wiring to a drive
controller (point-to-point connection).
If you want to connect several controllers, you must use star
couplers.
Accessories for wiring using optical fibre cables are available from the Siemens SINEC-L2FO products.
19
3.2.3. Additional procedure for FMS / mixed operation
When using the FMS / mixed operation, some parameters must be set for the controller and the field bus module, which is only possible by means of the LECOM1 interface. For the parameter setting of the controllers using the LEMOC2 program, connect the PC (RS232) and the controller (LECOM1; X6) by means of a PC system cable.
Name Part no. Explanation
PC system cable 5 m 338 094 System cable 5m between PC (9-pole
socket) and controller
PC system cable 10 m 338 095 System cable 10m between PC (9-pole
socket) and controller Cable type Cable resistance Capacitance per unit length Length
Wiring of the system cable
Controller 9-pole SubD socket Pin no.
2 (RxD) 3 (TxD) 2 (TxD) 3 (TxD) 2 (RxD) 3 (RxD) 5 (GND) 5 (GND) 7 (GND)
PC or similar 9-pole socket Pin no.
LIYCY 4 x 0.25mm
screened
< 100 Ω/km
< 140nF/km
15m
PC or similar 25-pole socket Pin no.
Only use metallized SubD housings. Connect the screen to the housings at both ends.
20
L
Programming
The programming section using the 2130IB bus interface module is divided into the following chapters:
Commissioning
Code table 2130IB
PROFIBUS operating modes
DRIVECOM parameters
Lenze parameters
Glossary
Commissioning
This chapter contains important information about the initial connection of the 2130IB together with a controller base device and an automation module.
In addition, you will obtain information about the installation of the LEMOC2 PC program, which is necessary for the parameter setting of the 2130IB.
Code table 2130IB
In the code table 2130IB those parameters are listed which are used for the setting of the module and the bus system. You can set these parameters by means of LECOM-A/B or the LEMOC2 PC program or PROFIBUS.
PROFIBUS operating modes
This chapter contains information about the selection of the operating modes PROFIBUS-DP or PROFIBUS mixed operation DP/FMS. For these operating modes, the required settings of the master and the controller are described. For PROFIBUS-DP, an example program for the SIMATIC-S5 is briefly explained.
DRIVECOM parameters
This chapter describes the DRIVECOM profile parameters which are implemented on the module. These are, among others, the DRIVECOM states and the status and control word as well as the configuration of the process data and the monitoring functions for communication.
Lenze parameters
This chapter describes the access to Lenze parameters in the base controller or in the automation module. In addition, the control of the device together with an automation module is explained.
Glossary
In this chapter, all the important technical terms and abbreviations (e.g. AIF, PDU, subindex) are explained, which you will find in these operating instructions.
21
1. Commissioning
1.1. Code numbers / Index
The parameters of the controller are addressed by means of numbers. These numbers are called "index" according to the PROFIBUS system. Lenze designates them as code numbers . All Lenze code numbers begin with 0. They are in an index range from 22576 (5830 numbers by the preceeding letters "L-C" (e.g.: L-C000 for Lenze code number 000). The conversion for the address method between code number and index is given on page 67.
) to 24575 (5FFF
hex
1.2. How to install the PROFIBUS software
The attached "Lenze PROFIBUS diskette" contains important data and programs about parameter setting and control of the controller using PROFIBUS.
The diskette (3 ½", DOS format, 1.44 MByte) contains the following files:
Diskette 3 1/2", DOS format 1.44 MByte including:
INSTALL.EXE Installation program for the following
software
L_AR0082.GSD Controller master data file according to
DIN E 19245 part 3 (PROFIBUS-DP)
LE0082TD.200 Controller master data file for
Simatic-S5 COM-ET200/ IM-308B
(SINEC-L2-DP) 2130@@ST.S5D Example program for Simatic-S5 LEMOC2 PC program for parameter setting of the
drive as of version V2.2
). You can recognize Lenze code
hex
To install the software, insert the diskette into the disk drive. Enter:
a:\install or b:\install
Further information about the installation is provided by the "install program".
22
L
1.3. Commissioning sequence
The initial commissioning of the 2130IB bus interface module together with a controller and possibly an automation module is divided into the following phases:
Base setting of the controller
In this phase the controller receives information about additional modules and the source of the control information. This setting is possible using the keypad at the controller of the LEMOC2 PC program.
PROFIBUS bus parameters
It is not necessary to set PROFIBUS bus parameters for the operation with PROFIBUS-DP. With the factory setting, the 2130IB module is set automatically to the baud rate of the master. In addition, you can enter the PROFIBUS address via PROFIBUS. Modified bus parameters are automatically saved permanently.
For PROFIBUS-FMS or PROFIBUS mixed operation, a local setting of the baud rate and the address is necessary. These parameters can be set using the LEMOC PC program, which is included on the attached diskette. For this, make a LECOM-A/B connection for commissioning.
PROFIBUS drive control
The drive system is controlled via PROFIBUS. Control information is transmitted to the controller, and the controller returns feedback information to the master.
23
1.3.1. Base setting of the drive system
For the base setting, the keypad on the controller or LEMOC2 can be used.
Setting using the keypad on the controller
1. Inhibit controller (press STP key).
2. Set parameter code set (L-C000) to -2-. Now you have access to the extended parameter set using the keypad. Confirm the setting using SH + PRG.
3. Set parameter operating mode (L-C001) to -0- or -1-. Now a parameter setting is possible via the keypad. Confirm the setting using SH + PRG.
4. Enter automation module code (L-C370). For this, set parameter L-C370 to -1- . With this setting, the controller recognizes the interface module. Confirm the setting using SH + PRG.
Only required for automation module:
4a.
Set parameter code set (L-C1000) of the automation module to -2-. Now you have access to the extended parameter set using the keypad. Confirm the setting using SH + PRG.
Only required for automation module:
4b.
Enter field bus module code (L-C1120). For this, set parameter L-C1120 to -3-. With this setting, the controller recognizes the interface module. Confirm the setting using SH + PRG.
Note:
After the setting, the operation changes automatically to the code number which was set last in the base controller (e.g. L-C370), since the operation re-initializes. This, however, does not influence the parameters which are already set.
5. Set the operating mode (L-C001). This setting determines the write access to the drive parameters. The following combination is effective:
L-C001 Source of parameter
setting
0 Keypad Terminal 1 Keypad Keypad 2 LECOM 1 (LECOM-A/B) Terminal 3 LECOM 1 (LECOM-A/B) LECOM 1 (LECOM-A/B) 4 LECOM 2 (PROFIBUS) Terminal 5 LECOM 2 (PROFIBUS) LECOM 2 (PROFIBUS) 6 Keypad LECOM 2 (PROFIBUS) 7 LECOM 1 (LECOM-A/B) LECOM 2 (PROFIBUS)
For normal operation using PROFIBUS, select 5. Confirm the setting using SH + PRG. The read access of LECOM1 (LECOM-A/B) or LECOM2 (PROFIBUS) is possible in any operating mode.
Source of control (e.g. set-values)
24
L
6. To save the setting of L-C001 and L-C370 permanently, set parameter L-C003 "Save parameter set" to 1 (parameter set 1). Confirm the setting using SH + PRG.
Only required for automation module:
6a.
To save the setting of the parameter change in the automation module permanently, save the parameter set (L-C1003 = 1). Confirm the setting using SH + PRG.
7. Enable the controller (press SH + STP keys). It may be necessary to undo other controller inhibit sources (terminal 28, TRIP, L-C40).
Note:
If you activate the function "Load factory setting" at the controller, the settings described under 1 to 7 are deleted.
25
Setting using the LEMOC2 PC program
1. Change to your LEMOC2 directory (...\LM2\BIN) and start LEMOC2 by entering LM2.
2. Load the file "2130_xxx.PDB" (x = serial number) in the menu "file / controller description".
3. Load a parameter which contains the corresponding factory setting in the menu "file / load parameter set".
The following parameter sets are available:
2130_FMS.VAR Parameter set for PROFIBUS-FMS or
mixed operation
2130_DP.VAR Parameter set for PROFIBUS-DP
4. Connect your PC to the controller and switch LEMOC2 on-line. For this, use the option "setting / general settings".
5. Inhibit controller (press STP key or F9 key or use controller inhibit terminal 28).
6. The 2130IB module can now be activated in the menu "main menu / drive system" Set parameter L-C370 (C0370-000) to -1- and transmit the value to the controller.
Only required for automation module:
6a.
Set parameter L-C1120 (C1120-000) to -3- and transmit the value to the controller.
Note:
When L-C370 or L-C1120 are modified, the internal interfaces between the modules are re-initialized. This may result in a delay or refusal of other services for the time of initialization (max. 30 s). If this is the case, repeat the service.
7. Set the operating mode with parameter L-C001 (C0001-000), according to the keypad setting, item 5, and transmit the value to the controller.
8. Save the setting in the controller by setting parameter L-C003 to
-1- and by transmitting the value to the controller.
Only required for automation module:
8a.
Save the setting in the controller by setting parameter L-C1003 to
-1- and transmitting the value to the controller.
9. Enable the controller (press SH + STP keys or F8 key, depending on item 5). It may be necessary to undo other controller inhibit sources (terminal 28, TRIP, L-C40).
10. Further information about LEMOC2 and possible error messages can be obtained from the LEMOC2 help function (key 1 or "help" menu).
Note:
If you activate the function "Load factory setting" at the controller, the settings described under 1 to 7 are deleted.
26
L
Loading...
+ 64 hidden pages