Important:
These Operating Instructions are only valid together with the corresponding Instructions for
82XX, 8200 vector or 93XXcontrollers.
Edition of:01.10.2003
E 2002 Lenze Drive Systems GmbH
Without written approval of Lenze Drive Systems GmbH this documentation or part of it may not be copied or passed on to third parties.
All information given in this documentation have been checked for compliance with the hardware and software described. Nevertheless, deviations and
mistakes cannot be ruled out. We do not take any responsibility or liability for damages which might possibly o ccur. Necessary corrections will be included
in the next edition.
• TheseOperating Instructions are intended for safety-relevant operations on and with the
2102 fieldbus module. They contain safety information which must be observed.
• All personnel working on and with the 2102 fieldbus module must have these Operating
Instructions available and observe the information and notes relevant for them.
• TheOperating Instructions must always be complete and perfectly readable.
TheseOperating Instructions inform about the most important technicaldata and the installation of
the 2102 fieldbus module. They are only valid in combination with the Operating Instructions of the
corresponding controller.
1.1.1Terminology used
ControllerIn the following, the term ”controller” is used for ”93XX servo inverters” or ”82XX frequency inverters”.
Drive systemIn the following the term ”drive system” is used for drive systems with fieldbus modules and other Lenze
Fieldbus moduleIn the following text the term ”fieldbus module” is used for ”fieldbus module type 2102 RS232, RS485,
Cxxx/ySubcode y of code Cxxx (e.g. C0410/3 = subcode 3 of code C0410)
L-Cxxx/yLenze code
Xk/yTerminal strip Xk/terminal y (e.g. X3/28 = terminal 28 on terminal strip X3)
(^xx-yyy)Cross reference (chapter - page)
1.1.2What is new?
Ident. no.edition ofImportantContents
391 84508/19961st edition
394 44802/1997replaces 391 845• e xtended by 2102.V904, 2102.V905, 2102.V906
404 78811/1998replaces 394 448Format change to DIN A4
417 81610/2000replaces 404 788Adaptation to 8200 vector (all chapters)
474 67710/2003replaces 417 816Change of company name
1.2Packing list
drive components.
optical fibre”.
• Chapter 6.3
• Editorially reviewed
Packing listImportant
• 1 2102 fieldbus module with housing (enclosure IP20)
•
• 1 two-pole male connector for voltage supply
• 1
hort Instructions
After the delivery has received, check immediately whether the items
liability for deficiencies claimed subsequently.
• visible transport damage immediately to the forwarder
Lenze 2102 fieldbus modules are
unambiguously identified by their nameplates.
2102 fieldbus module
In compliance with to the EC Low Voltage
Directive
Lenze Drive Systems GmbH
Postfach 10 13 52
D-31763 Hameln
• Operate the fieldbus module only under the conditions prescribed in these Operating Instructions.
• The fieldbus module is an additional module and can be optionally attached to the Lenze controller series 820X, 821X, 822X, 8200 vector
and 93XX. The 2102 fieldbus module links these Lenze controllers to superimposed hosts (PLC or PC) using the Lenze LECOM A/B/LI
fieldbuses.
• The fieldbus module must be attached and electrically connected so that it complies with its function and does not cause any hazards when
attached and operated as instructed.
• Observe all notes given in chapter “Safety information“ (^ 2-1).
• Please observe all information given in these Operating Instructions. This means:
– Read these Operating Instructions carefully before you start to work with the system.
– These Operating Instructions must always be available during operation of the fieldbus module.
Any other use shall be deemed inappropriate!
Liability• The information, data, and notes in these instructions met the state of the art at the time of printing. Claims referring to drive systems
which have already been supplied cannot be derived from the information, illustrations, and descriptions given in these Operating
Instructions.
• The specifications, processes, and circuitry described in these Operating Instructions are for guidance only and must be adapted to your
own specific application. Lenze does not take responsibility for the suitability of the process and circuit proposals.
• The indications given in these Operating Instructions describe the features of the product without warranting them.
• Lenze does not accept any liability for damage and operating interference caused by:
– disregarding t hese Instructions
– unauthorized modifications to the controller
– operating faults
– improper working on and with t he controller
Warranty• Warranty conditions: see Sales and Delivery Conditions of Lenze Drive Systems GmbH.
• Warranty claims must be made immediately after detecting defects or faults.
• The warranty is void in all cases where liability claims cannot be made.
• An operator is any natural or legal person who uses the drive system or on behalf of whom the drive system is used.
• The operator or his safety personnel is obliged
– to ensure the compliance with all relevant regulations, instructions and legislation.
– to ensure that o nly skilled personnel works on and with the2102IB fieldbus module.
– to ensure that the personnel has the Operating Instructions available for all corresponding work.
– to ensure that all unqualified personnel are prohibited from working on and with the drive system.
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 o r IEC 364)
2.2General safety information
• These safety notes do not claim to be complete. In case of questions and problems please contact your Lenze representative.
• At the time of delivery the fieldbus module meets the state of the art and ensures basically safe operation.
• The indications given in these Operating Instructions refer to the stated hardware and software versions of the fieldbus modules.
• The fieldbus module is hazardous if:
– unqualified personnel works on and with the fieldbus module.
– the fieldbus module is used inappropriately.
• The processing notes and circuit sections shown in these Operating Instructions are proposals which cannot be transferred to other applications without being
tested and checked.
• Ensure by appropriate measures that neither personal injury nor damage to property may occur in the event of failure of the fieldbus module.
• The drive system must only be operated when no faults occur.
• Retrofittings, modifications, or redesigns are basically prohibited.Lenze must be contacted in all cases.
• The fieldbus module is electrical equipment intended for use in industrial high-power plants. The fieldbus module must be tightly screwed to the corresponding
controller during operation. In addition, all measures described in the Operating Instructions of the controller used must be taken. Example: Fasten covers to ensure
protection against contact.
– The icon characterizes the type of danger.
– The signal word characterizes the severity of danger.
– The note text describes the danger and gives information on how to prevent dangerous
situations.
Signal word
Note
Icons usedSignal words
Warning of
damage to
persons
Warning of
hazardous electrical
voltage
Danger!Warns of impending danger.
Consequences if disregarded:
Death or severe injuries.
Warning of a general
danger
Warning of
damage to
material
Other notesTip!This note designates general, useful notes.
Warning!Warns of potential, very hazardous situations.
Possible consequences if disregarded:
Death or severe injuries.
Caution!Warns of potential, hazardous situations.
Possible consequences if disregarded:
Light or minor injuries.
Stop!Warns of potential damage to material.
Possible consequences if disregarded:
Damage of the controller/drive system or its environment
If you observe it, handling of the controller/drive system is made
easier.
The time required for communication can be displayed as a sequence of processing steps (with
corresponding times).
StepExplanation
t0User program in host starts request to the controller (e.g. controller enable with C0040=1)
t1Software driver (e.g. LECOM-S5) in host converts request data into LECOM-A/B protocol V2.0 and starts the transmission.
t2Serial data transfer to the controller (telegram time)
t3Data receipt of the controller: Processing of request and start of response
t4Response data to host are being transmitted (telegram time)
t5Software driver in host evaluates the response, i.e. the response is converted into the format of the user program.
t6Application program in host gets the result
The time sections t2, t4 and t3 are described in detail in the following:
Telegram time (t2 + t4)
The telegram time comprises the serial communication from the host to the controller (t2)and the
corresponding response from the controller (t4) . The time depends on the telegram type and the
baud rate set under C0125.
Technical data
Baud rate [bits/s] (C0125)
120024004800960019200
Single character transmission time [ms]
(1 character = 10 bit; see chapter 3.2)
8.44.22.110.52
Telegram type SEND (sends data to drive):
Baud rate [bits/s] (C0125)
120024004800960019200
t2: Standard [ms] (parameter value = 9 characters)1507537.518.89.4
Addition for extended addressing [ms]41.620.810.45.22.6
Telegram type RECEIVE(r eads data from drive):
Baud rate [bits/s]
120024004800960019200
Standard [= t4]
(Parameter value = 9 characters) [ms]
Addition for extended addressing [ms]83.341.720.810.45.2
166.783.341.720.810.4
If more or fewer than 9 characters are transmitted as telegram data, take the corresponding
character-transmission times into account.
ON:Fieldbus module has connected with the controller.
BLINKING:2102 fie ldbus module is supplied with voltage but is
not connected to the controller (controller is switched off, in
initialization or not available).
2Yellow RxD-LED For receiving signal:
BLINKING:Drive unit receives telegram
3Yellow TxD-LED For sending signal:
BLINKING:Drive unit transmits response
49-pole SubD female plug for the RS232/RS485 interfaceonly with 2102IB.V901/2102.V904
5Fixing screw
64-pole clamp-plug connection for RS485 interfaceonly with 2102IB.V901/2102.V904 and
7Operating status display for the controller
8Optical-fibre transmitter (white)only with 2102IB.V903/2102.V906
9Optical-fibre receiver (black)only with 2102IB.V903/2102.V906
10Switch S1 for optical-fibre transmission rate:
OFF:normal transmission rate (0 to 40m)
ON:= high transmission rate (10 to 66m)
11Connection for external voltage supply (24 V DC ± 10 %)
12PE connection (only for 82XX)
Fig. 4-2-RS 485 cable (no drawing)only with 2102IB.V901/2102.V904 and
2102IB.V902/2102.V905
only with 2102IB.V903/2102.V906
2102IB.V902/2102.V905
4.1.2Female plug for 9- pole SubD plug (LECOM- A/B)
PinNameInput/outputExplanation
1--Not assigned
2RxDInputData receiving wire RS232
3TxDOutputData transmitting wire RS232
4DTROutputTransmission control RS232
5GND-Reference potential
6DSRInputNot assigned RS232
7T/R(A)Input/outputRS485
8T/R(B)Input/outputRS485
9Vcc5OutputSupply +5 V / 10 mA
4.1.3Plug-in terminal for 4-pole male plug (LECOM-B)
PinNameInput/outputExplanation
71T/R(B)Input/outputRS485
72T/R(A)Input/outputRS485
88S-C-Capacitive screening to PE
89S-Direct screening to PE
4.1.4Plug-in terminal for 2-pole male plug (external voltage supply)
PinNameInput/outputExplanation
39/−GND24-Reference potential for external supply
59/+Vcc24InputExternal supply 15 to 30 V DC (see chapter 4.3)
Internal voltage supply of the fieldbus module connected to a 8200 vector
Controllers with an extended AIFinterface (front of the 8200 vector)can beinternally supplied.The
part of the drawing highlighted with grey shows the jumper position.
In Lenze setting, the fieldbus module is not
For internal voltage supply, put the jumper in the position indicated below.
internally supplied.
Lenze setting
(only external voltage supply)
4.4Wiring to a host
Thischapter informsyouabout networkingthe2102 fieldbus module using thebus systems RS232
(LECOM-A), RS485(LECOM-B)or opticalfibres(LECOM-LI).
The accessories requires are listed in chapter 8.1.
Danger!
• An additional electrical isolation is required if
– a 820X, 821X or 8200 vector controller will be connected to a host
– a safe electrical isolation (double basic insulation) to VDE0160 is required.
• Please observe the following:
– RS232:
The electrical isolation of the RS232 interface (LECOM-A)can be achieved by two 2101IB
level converters or another RS232 electrical isolation.
– RS485:
With RS485 (LECOM-B), the 2101IB level converter should be installed to the host if it is
not equipped with an appropriately isolated interface.
– Optical fibres:
If two controllers are connected via optical fibres (LECOM-LI) they are always isolated.
• For wiring,the electrical isolation of the supply voltagemust b e taken into account.
Internal voltage supply
Thecontrollers 822Xand 93XXare equipped with adouble basic insulation to VDE0160, additional
electrical isolation is therefore not necessary.
Installation of the
optical-fibre rin g
(Fig. 4-7)
The preparation of the optical-fibre cables does not require special tools.
1. Cut cable to length on a rigid surface, e.g. using a knife.
2. For optical-fibre cables with PUR sheaths (read) remove approx. 20 mm (for cables with PE sheaths, removal is not required).
With unpolished optical-fibre ends, the max. length is reduced by approx. 20 %.
Therefore, polish the cable end of the optical fibre (grain: P1000).
1. Open pinch-screw joint of the plug.
2. Insert the cable end into the optical-fibre connection as far as possible.
3. Tighten the pinch-screw joint.
The bending radius should be at least 30 mm, otherwise the max. optical-fibre cable length will be reduced by typically
50 % per bend.
1. Connect the white optical-fibre connector (transmitter, TxD) on the host to the black optical-fibre connector (receiver, RxD) on the next
controller.
2. Connect the white optical-fibre connector on the controller to the black optical-fibre connector on the next controller.
3. Connect the white optical-fibre connector on the last controller to the black optical-fibre connector on the host.
4. If the optical-fibre cables are longer than 40 m, select the high transmission rate. Switch S1 to ON position. This provides a maximum
cable length of 66 m (with a damping of 150 dB/km).
Note!
Further informationon LECOM-LI can beobtained from theOperating Instructions LECOM-LI(see
chapter 8.1.4).
Before switching on the mains voltage check the wiring for completeness, short circuit and earth
fault.
When switching on the unit for the first time, observe the following sequence:
1. Switch on the controller and, if necessary, the external supply of the 2102 fieldbus module.
– The operating status display for the controller ((^ 4-2),Fig.4-2pos.5)mustbeonor
blinking.
– The green LED (
2. Thetransmission speed or LECOM baud rate (C0125)is factor set to 9600 baud. If you require
a different value, adjust it via the operating unit.
3. Set LECOM unit address (C0009; see description in chapter 6.2.2)via the operating unit or via
the host (default setting: 1).
– If several controllers are interconnected, the addressing via C0009 of the controller must be
different than that of the others. This is the only way for the host to reach a certain
controller.
– The values 00, 10, 20, 30, ¼, 90 must not be set since they are reserved for group
addressing.
(^ 4-2), Fig. 4-2 pos. 8)must be on. If this is not the case, see chapter 7.
Commissioning
Tip!
Thecodenumbers C0009 (LECOM controlleraddress) and C0125 ( LECOM baud rate)can also be
input via LECOM. Please observe that the parameters for the host must be adapted. If C0125 is
changed, the host will not recognize the response because the controller already transmits it with
the new baud rate.
Next steps for 82XX / 8200 vector
1. It is now possible to communicate with every controller, i.e. all code numbers can be read
and all writeable codes, except C046 (frequency setpoint) and C0135 (control word)can also
be changed.
If the code numbers C0046 and C0135 are to be preselected as well, set C0001 = 3.
2. If the controller is switched on while the operating mode C0001 = 3 is active and the speed
setpoint is set to =0, QSP (quick stop)is active. Thus, the drive cannot start in an uncontrolled
way. The QSP function can be deactivated by setting bit3 from C0135 to 0.
1. Now you can communicate with each drive, i.e. you can read all codes and change all
writeable codes.
2. Set the Lenze parameter signal configuration (C0005)to a value xxx1 t o c ontrolthe controller.
For the first commissioning, select the signal configuration 1011 (speed control).
3. Terminal 28 (ctrl. enable=controller enable) is always active and must be on HIGH level during
operation (see Operating Instructions 93XX). Otherwise, the controller cannot be enabled.
– With the signal configuration C0005=1011, the QSP function (quick stop)and the CW/CCW
changeover are assigned to the input terminals E1 and E2, and thus they are always active.
During operation, E1 must be at HIGH level (see Operating Instructions 93XX ).
Tip!
WiththesignalconfigurationC0005=xx11,terminalA1 is switched asvoltage output. Thus, onlythe
following terminals can be connected via cables:
X5.A1 with X5.28 (ctrl. enable)
X5.A1withX5.E1 (R/QSP)
4. With signal configuration 1011 (speed control) , the speed setpoint can be selected in % of
n
The parameter setting for the 2102 fieldbus module comprises:
• Controller parameters which can also be set with the operating units 8201BB or 9371BB.
• 2102 parameters, which can only be accessed via the 2102 fieldbus module.
Only the controller parameters are permanently saved in the corresponding controller.
Only the parameters important for the serial communication are listed in the following and in the
code table (seechapter8.2). For further information about the parameter setting seethe Manualor
theOperatingInstructions of thecontrollers.
6.1Parameter sets
6.1.182XX parameter sets
The82XXcontrolleris equipped with 2directlyaddressable parameter sets. Theyareaddressed by
means of a code-digit offset:
• Offset 0 addresses parameter set 1 with the codes C0000 to C1999.
• Offset 2000 addresses parameter set 2 with the codes C2000 to C3999.
If a parameter is only available once (seeOperating Instructions 82XX ),use thecode-digit offset 0.
Example:
C011 = maximum field frequency
C011 in parameter set 1: code number = 11
C011 in parameter set 2: code number = 2011
Changes of the parameters are automatically saved in the controller ( see Operating Instructions
82XX).Process data, for instance control words or setpoints are excluded.
Parameter setting
6.1.2Paramet er sets for 8200 vector
The 8200 vector controllers are equipped with 4 directly addressable parameter sets. They are
addressed by means of a code-digit offset:
• Offset 0 addresses parameter set 1 with the codes C0000 to C1999.
• Offset 2000 addresses parameter set 2 with the codes C2000 to C3999.
• Offset 4000 addresses parameter set 1 with the codes C4000 to C5999.
• Offset 6000 addresses parameter set 2 with the codes C6000 to C7999.
If a parameter is only available once (see 8200 vector Operating Instructions), use code offset 0.
Example:
C011 = maximum field frequency
C011 in parameter set 1: code number = 11
C011 in parameter set 2: code number = 2011
C011 in parameter set 3; code number = 4011
C011 in parameter set 4; code number = 6011
Changes of the parameters are automatically saved in the controller ( see Operating Instructions
8200 vector). Process data, for instance control words or setpoints are excluded.
6.1.3Parametersetsfor 93XX
The 93XX controllers are equipped with 4 parameter sets for non-volatile storage. Another
parameter set is in the user memory of the controller. This is the current parameter set. Only the
current parameter set can be directly addressed. Codes: See Operating Instructions or Manual
93XX.Changesof thecurrentparameter set willbelost afterswitchingoffthecontroller .CodeC0003
is for saving the current parameter set. After switching on the controller, parameter set 1 is
automatically loaded into the current parameter set.
Code C0001 ( operating mode)determines the source (terminal, keypad, LECOM)which writes the
frequency setpoint (C0046)and the control word (C0135) .
Independently of the selected operating mode C0001, the controller can be inhibited underC0040
via LECOM.
Tip!
Pleasenote that the operating mode C0001 is available in both parameter sets. Thus, C0001 must
be set identically in both parameter sets.
For LECOM control (C0001 = 3), the operating mode in parameter set 1 applies 1. For terminal
control (C0001<> 3), the operating mode in parameter set 1 and parameter set 2 applies.
93XX controllers
The93XXcontroller does not offer anoperating modewhichcanbechanged by only one code - as
available in the 82XXcontroller. The93XXcontroller is operated via the so-called ”Control codes”.
If, for instance, the speed setpoint is to be changed via LECOM, it is necessary to define a control
code as source for the speed setpoint input of the speed controller. Select the configuration of the
control code so that you can enter the speed setpoint via the 2102 fieldbus module. For further
information please refer to the Manual 93XX.
TheLECOM-A/B protocol uses the LECOM unit address to address the controller.TheLECOM unit
addressis set under codeC0009at the controller.The addressmust only be used once. Thus,each
controller must get its own LECOM unit add ress.Thevalues 00, 10, 20, 30, ..., 90 must not be set
since they are reserved for group addressing (see chapter 5).
The LECOM-A/B protocol enables controller groups. This allows a write request to be issued to
severaldrivesat the sametime, e.g. to selectnew setpoints orenableor inhibit the controller.Select
via the following reserved LECOM unit addresses:
Parameter setting
LECOM unit add ress C0009 for
group drives
00all
1011 to 19
2021 to 29
3031 to 39
4041 to 49
5051 to 59
6061 to 69
7071 to 79
8081 to 89
9091 to 99
LECOM unit addresses of the addresses controllers
Tip!
Pleasenote that withLECOMcontrolleraddresseswhich endwith a 0,the controller does notreturn
an acknowledgement, i.e. the host does not recognize whether the controller received the data
correctlyornot.
Fig. 7-1LEDs on the fieldbus module 2102IB (see Fig. 4-2 page (^ 4-2) )
FaultCauseRemedy
No
communication
with the
controller.
.
Controller is switched off.
Display:
• none of the operating-state displays is lit-up
and/or
• green Vcc-LED is blinking
2102IB fieldbus module is not supplied with voltage
Display:
green Vcc-LED is not flashing or blinking.
The 2102IB fieldbus module has not been initialized with the controller
Display:
green Vcc-LED is blinking.
The controller does not receive telegrams.
For a test, let the host send telegram cyclically. This happens, for
instance, with LEMOC2 in online operation.
The yellow RxD-LED must blink when the host sends a telegram.
The controller does not send t elegrams.
For a test, let the host send telegram cyclically. This happens, for
instance, with LEMOC2 in online operation.
The yellow TxD-LED must blink when the controller send a telegram to
the host.
Supply controller with voltage (see corresponding Operating Instructions)
• With internal supply from the controller, check the connection to the
controller.
• With external supply, check the voltage at terminals 39 and 59.
A voltage between 15 and 30 V must be applied (see chapter 4.3)
• Supply controller with voltage (see corresponding Operating
Instructions)
• Check the connection to the controller.
If the yellow RxD-LED does not blink:
• Check the wiring (see chapter 4.4)
and
• Test whether the host sends telegrams and uses the appropriate
interface.
1. Yellow TxD-LED is not blinking:
Parameter for LECOM unit address (C0009) and LECOM baud rate
(C0125) must be the same at the controller and the host. Check t he
parameters C0009 and C0125 at both units and set them to the same
value if necessary.(Controller-address parameters 00, 10,
not be used.)
¼,90must
Controller does
not execute
write job
2. Yellow TxD-LED is blinking:
• The LECOM unit addresses (C0009) must be diff e rent at all
In the following you will find the accessory components for RS485 (LECOM-B):
NameOrder no.Explanation
Interface converter 2101IB 33.2101IBLe vel converter between RS232 and RS485/RS422 with ele ctrical isolation
PC system cable 5 mEW00338094System cable between PC (9-pole fe ma l e connector) and 2101IB interface converter
Specification for RS485-interface cable
withalengthofupto300m:
Cable typeLIYCY1x2x0.5mm2shielded
Cable resistance≤ 40 Ω/km
Capacitance per unit length≤ 130 nF/km
Length≤ 300 m
with a length o f up to 1200 m:
Cable typeCYPIMF1x2x0.5mm2shielded
Cable resistance≤ 40 Ω/km
Capacitance per unit length≤ 60 nF/km
Length≤ 1200 m
8.1.4Accessories for optical fibres (LECOM - LI)
In the following you will find the accessory components for optical fibres (LECOM-LI):
NameOrder no.Explanation
212533.2125IBOptical fibre/RS232 converter for hosts
212633.2126IBOptical fibre/RS232 converter for hosts
Plug-in power supply unitEJ0362016Plug-in power supply unit 220V/9V DC for 2125 and 2126
Operating Instructions LECOM-LIEDLECOM-LI/DBasics and installation of LECOM-LI
Optical fibre 1ADR with PE sheathEW00359679 (by the meter)Optical-fibre cable with black PE sheath (standard protection)
Optical fibre 1ADR with PUR sheathEW00359681 (by the meter)Optical-fibre cable with red PUR sheath (reinforced protection)
Specification for op t ical fibre cables
FieldValues
Min. bending radius30 mm
Max. tensile force100 N
Electric strength110 kV/m
Operating temperature−40 to +80 °C
Wave length660 nm
Damping100 to 400 dB/km
Cable length between two participants (cable
damping = 150dB/km)
Fibre core
Material/diameter
Fibre sheath
Material/diameter
Outer sheath
Material/diameter
0to40m(normaltransmissionrate)
10 to 66 m (high transmission rate)
CodeCode number of the parameterLeading zeros are not required.
NameName of the parameter
ParametersContents and meaning of the parameter
CodeNameNote
C0001Operating mode for
• 82XX
• 8200 vector
(P82XX)
values
0Control (C0135):Terminal
Setpoint (C0046):Terminal
(Lenze setting: 0)
1Control (C0135): Terminal
Setpoint (C0046):Keypad:
2Control (C0135): Terminal
Setpoint (C0046):Terminal
3Control (C0135): LECOM
Setpoint (C0046):LECOM
The operating mode defines the source which
writes on a parameter.
The keypad and LECOM always have the right to
parameterize.
Codes marked with
The text in parenthesis informs whether the codes are available in the fieldbus module or the
controller:
(P2102): Parameter s in the fieldbus module 2102IB
(P820X/P821X/8200 vector/822X):
Parameters in controllers 820X, 821X and 822X.
The parameters can also be set via the 8201BB keypad.
(P93XX):Parameters in the 93XX controller.
The parameters can also be set via the 9371BB keypad.
ParametersprintedinboldaresetbyLenze.
82XX8200 vector
*
are only available in parameter set 1.
see Operating Instructions ’Vector’
C0009*LECOM controller
C0040*Controller inhibit
C0043*TRIP reset for:
address
(P82XX)
(P93XX)
(P2102)
• 821X
• 8200 vector
• 822X
• 93XX
(P2102)
*
C0046
Frequency setpoint for:
• 820X
(P2102)
Frequency setpoint for:
• 821X
• 8200 vector
• 822X
(P821X/P8200 vector/P822X)
Speed setpoint for 93XX
(C0046 can only be
read.)
LECOM format: VD
11to99
Controller address for unique address in a LECOM-A/B/LI network.
Do not set the values 00, 10, ..., 90, since they are reserved for group addressing.
LECOM format: VD
0Controller inhibited
1Controller enabled
Parameter C0040 is independent of operating mode C0001.
The controller can also be enable with control word C0135.
LECOM format: VD
0No actual fault, fault reset by overwriting with
value 0
1Actualfault
Parameter C0043 is independent of o perat ing mode C0001. A TRIP can also be reset using the control word C0135. (TRIP
reset fo r 820X, see chapter 6.4)
LECOM format: VD
0 to 480 Hz
LECOM format: VD
0 to 480 Hz
The value can be changed through the display factor C500/C501 (see Code table included in the Operating Instructions 820X,
821X and 822X).
For 93XX, the free control code C0141 is used as speed setpoint in % of n
The control word controls the controller. It includes the control commands in a compressed bit format.
LECOM format: VH
Signal configurationSignalMeaning
1xx1(Speed control)NSET-NSpeed setpoint in % of n
4xx1(Torque control)MCTRL-M-ADDTorque setpoint in %
5xx1(Master frequency)NSET-NSpeed setpoint in % of n
6xx1(Master frequency - slave bus)NSET-NSpeed setpoint in % of n
7xx1(Master frequency - slave cascade) NSET-NSpeed setpoint in % of n
Digital frequency master
JOG1, JOG2, JOG3
0 = C0141 (speed setpoint in %
1 = JOG1 (C0039.1) active
2 = JOG2 (C0039.2) active
3 = JOG3 (C0039.3) active
1= Warning
14FREE 14 (free access)
15(free access)Ready for operation (no error, overvoltage or undervoltage)
The status word contains the most important status information in compressed form.
On the following pages you will find the assignment of the freely combineable bits for the predefined signal configuration of
the controller.
LECOM format: VH
<>0
d
=0
d
0= PS2/4active
1= PS1/3active
max
0=Current limit not reached
1=Current limit reached
(RFG input = RFG output)
0 = RFG in < > RFG out
1 = RFG on = RFG off
14FREE 14 (free access)
15Ready for operation (no error, over voltage or undervoltage)
The status word contains the most important status information in compressed form.
On the following pages you will find the assignment of the freely combineable bits for the predefined signal configuration of
the controller.
LECOM format: VH
Digital frequency master
0= PS2/4active
1= PS1/3active
0=Pulses for power stage enabled
1=Pulses for power stage inhibited
H05105
H07107
H10110
H11111
The individual faults are described in the Operating Instructions of the controller.
LECOM format: VD
00 to 255
The parameter LECOM input selection ensures the compatibility with previous master-system drivers according to the LECOM-A/B
specification V1.0. This code is only fully used with 93XX, since this series uses the so-called array parameters, i. e. a code
consists of several parameters (e.g. C0039 = JOG with 15 values). Code C0248 determines the array element to be accessed. The
functionality of the input selection is simulated (before e.g. C0038).
This input is valid for all LECOM accesses; i.e. the access of a standard parameter with a LECOM input selection that is not 0
results in a fault because the addressed value does not exist.
The array element can be directly addressed via a LECOM-A/B driver as from specification V2.0. This parameter should therefore
not be used any longer.
C0248 is included in ever y LECOM code bank (see C0249).
The parameter value is always set to 0 when switching on.
The LECOM code bank ensures the compatibility with the master-system drivers according to t he LECOM-A/B specification V1.0.
The maximum code number is 255. With the code bank, an offset of 250 is added to the code number.
The code bank addressing is not effective with extended code addressing (LECOM-A/B specification).
The parameter value is always set to 0 when switching on.
LECOM format: VD
33S2102I_xy000
Software labelling of t he 2102IB fieldbus modules
x = main SW versiony = SW subversion
LECOM format: VS
Software generation of the 2102IB fieldbus module
The LECOM-A/B protocol is used to exchange data between Lenze controllers and a host. The
LECOM-A/B protocolis based on DIN 66019, ISO 1745 and ANSI X3.28 (category 2.5 and A2, A4).
Thesestandards are similar to eachother and describe the control mode of a transmission section
of a transmission system.
The host, which is the master, can communicate with a slave (Lenze controller) in three modes:
• RECEIVE(see page 8-21)
• SEND (see page 8-23)
• BROADCAST/MULT I CAST (see page 8-24)
8.3.1General
The controllers communicate by means of the ASCII code:
The meaning of the code numbers and the assigned parameters can be obtained from the code
table (see chapter 8.2). When transmitting data, the code number are coded as follows:
Thefollowing calculation determines the two ASCIIdigits from the codenumber (valuerange: 0 ¼
6229)(value range: 48
C1 =INTE GE R ((RE MAINDER (code number/790)) /10)+48
dec
¼ 127
dec
):
dec
C2 =RE MAINDE R(REMAINDER(code number/790)/10)+
INTEGER(code number/790)x 10 + 48
dec
The INTEGERis the digit before the decimal point, the REMAINDERis an integer.
Example:13/5 = 2 remainder 3
INTEGE R(13/5) = 2
REMAINDE R(13/5) = 3
Example:
Convert code number 1002 in ASCII code C1 and C2:
C1
=INTEGER((REMAINDER(1002/790))/10) + 48 =
ASCII
INTEGER(212/10)+ 48 =
C2
21 + 48 = 69 = 45
=REMAINDER(REMAINDER( 1002/790)/10) +
ASCII
hex
= ”E”
ASCII
INTEGER(1002/790) x 10 + 48 =
REMAINDE R(212/10)+ 1 x 10 + 48 =
2+10+48=60=3C
The code number C1002 is converted into the ASCII string ”E<”, if they are transmitted to the
controller by a host.
Addressing via code bank
With previous LECOM-A/B drivers, only code numbers in the range from 0 to 255 could have been
addressed, since these drivers used only one byte as code number. To achieve the addressing of
the wider code-number range with these drivers, use the code banking.The code-number range 0
¼ 255 is displayed as a window over thewhole code-numberrange. This is controlled via the code
C0249 (code bank) . Code C0249 can always be accessed via number 249, independent of the
currently set code bank.
Note:
Code banking is only active when the standard addressing is being used. If the selected code
numbers are higher than 255, the code-number range increases correspondingly. Only the
corresponding code-number offset is selected by means of the code bank.
Example:
Set the code bank INTEGER (1002/250)=4 in C0249 to address the code number 1002. C1002 is
then accessed via the code number C02.
Addressing via input selection
Simple LECOM-A/B drivers, which only use the standard addressing, cannot address subcodes.
Theinput selection C0248 has been developed to offer the possibility of addressing the subcodes.
When using the standard addressing, the value entered in C0248 is always considered as the
subcode. The code C0248 can always be accessed via number 248, independent of the currently
set code bank and the subcode used.
Example:
Enter value 1 in C0248 to address the JOG value 1 in subcode 1. Now subelement 1 is always
addressed when accessing C39.
Tip!
After a subelement has been accessed through C0248, C0248 should be reset to 0 to avoid the
addressing of a subelement ”by accident” when accessing a code.
Acodenumber rangefrom 0to 65535canbeaddressed by meansofthesecharacters. A maximum
of 255 subelements (field elements) can be accessed via one subcode number of each code.
Example:
1002 = ”!03EA00”
Parameter value (V1 to Vn)
Parameter values can be transmitted in four different formats with the following structures:
The abbreviations have the following meanings:
VK1 to VK6Integers
.Decimal point (if required)
NK1 to NK4Decimal codes (if required)
”H” (48
VH1 to VH81 to 8 hexadecimal characters each
”S” (53
VS1to VS240 1 to 12 visible ASCII characters each
”O” (4F
VO1 to VO240 Data block in hexadecimal code;
Parameter value in the ASCIIdecimal format (VD)
The ASCIIdecimal format (VD)is most often used. The values consist of the following:
1 leading negative sign (if required)
6 digits before the decimal point (VK1 to VK6)
1 decimal point (if required)
4 digits after the decimal point (NK1to NK4) (if required)
Values from -214748.3648 to 214748.3647 can be displayed.
)Character [H], transfer of parameter values
hex
hex
hex
in the ASCII hexadecimal format
[0 to 9; A to F]
)Character [S], transfer of parameter values
inthestring format
(no control characters)
)Character [O], transfer of parameter values
intheoctett string format
Each character corresponds to a nibble of the
datablock
Tip!
In the ASCII decimal format (V D), the decimal point must not be transmitted if the value does not
have digits after the decimal point.
In the ASCII hexadecimal format, VH1 is the most significant and VH8 the least significant
hexadecimal character.
Parameter valuein thestring format (VS)
By means of the string format (V S )of the protocol it is possible to transmit strings with max. 20
characters in both directions.
The Lenze controller can only send the string parameters (e. g. C200).
Parameter values in theoctett stringformat (VO)
TheLECOM-A/B protocol includes the octett string format (VO)with which it is possible to transfer
datablocks.
The character sequence corresponds to the filing in the memory (ascending order), i. e. the
charactertransmitted first is thedata block nibblewith thelowest address. The data structure ofthe
data block corresponds to the Intel-memory format with the following definition:
One or more bus devices (slaves) can be selected by means of the controller address which is 2
bytes(AD1,AD2)long. The LECOM-A/B protocol supportsthe broadcast telegrams,i.e.a telegram
is sent to a group or all other bus devices. For this, controller addresses are reserved (see
BROADCAST, page 8-24). Controller addresses have the following structure:
AD1 AD2
The abbreviations have the following meanings:
AD1ASCI Iten-digit of the slave address (0 ¼ 9; 30 ¼ 39
AD2ASCI Ione-digit of the slave address (0 ¼ 9; 30 ¼ 39
Block-check character (BCC)
Theblock-check character (BCC)is used to store the transmitted data and is generated according
to DIN 66219 (chapter 3).
Because of the program, the block-check character is generated by a XOR link from the following
digits of the SEND t elegram:
• it starts with the character directly after the STXcontrol character
• it ends directly after the ETXcontrol character
– BCC can accept the value 00 ¼ FF
EOTAD1AD2STXC1C2V1...VnETXBCC
.
hex
<——————— BCC ———————>
hex
hex
)
)
or with the expanded addressing:
STX”!”CH1CH2...SC2ETXBCC
<—————————— BCC —————————>
Telegram response
The Lenze controller must return an acknowledgement to the host. The only exception is the
broadcast telegram. This telegram does not require an acknowledgement.
The Lenze controller sends two types of acknowledgements:
• Positive acknowledgement (ACK = 06
hex
), if:
– no faults occur during the block storage (longitudinal and lateral parity)
– a valid command (variable address) has been recognized
– the variable value is within the permissible range
– the variable value could have been changed
• negative acknowledgement (NAK= 15
hex
), if:
– one of the above listed conditions cannot be met.
• No acknowledgement, if:
– a broadcast telegram is send
– the c ontrolleraddress is not correct
Thecommand RECEIVEis to request parametervalues of theLenzecontrollers.Thecodenumbers
of the requested parameter aretransmitted via the RECEIVEtelegram using thefollowing structure:
EOTAD1 AD2C1C2ENQ
The abbreviations have the following meanings:
EOT (04
AD1, AD2Logic unit address of the slave to be addressed
C1, C2Code number (two ASCII characters)
ENQ (05
Structure and meaning of the code numbers (C1, C2) and the controller address (AD1, AD2) are
described in the corresponding paragraphs of the chapter SEND (see page 8-23).
Telegram response
TheLenze controller addressed via a RECEIV Etelegram generatesone of thefollowingresponses:
• Thecontroller could decode the request and is now sending the requested parameter value
hex
hex
to thehost.
Appendix
)End of the (previous) transmission
or extended addressing
)Station request
STXC1C2V1...VnETXBCC
• Thecontroller could decode the request, however, a check-sum fault (parity fault)occurred
during transmission.
STXC1C2?ETXBCC
• Thecontroller could not process the request because the requested code number does not
exist.
STXC1C2EOT
The abbreviations have the following meanings:
STX (02
C1, C2Code number (two ASCII characters)
V1 to VnParameter value (n ASCII characters)
ETX (03
BCCBlock-check character (00 ¼ FF
?(3F
EOT (04
Structure and meaning of the block-check character (BCC) are described in the corresponding
paragraph of the chapter SEND (seepage 8-20).
Thecurrent speed setpoint (codenumberC46)is to beread withthebusaddress 01at thecontroller.
The host sends the following RECE I VEtelegram
EOT0146ENQ
The controller can respond in three different ways:
STX4635.4ETXBCC
Valid request: The current value of the parameter C46 is 35.4 (Hz)
or
STX46?ETXBCC
Invalid request: A check-sum fault (parity fault)occurred during data transmission
or
STX46EOT
Invalid request: Parameter C46 does not exist in this controller.
Example 2
The current operating status (code number C68) is to be read with the bus address 25 for the
controller.
The operating status is bit-coded and transmitted in the hexadecimal format.
The host sends the following RECE I VEtelegram
EOT2568ENQ
The controller’s response:
STX68H0900ETXBCC
Valid request: The current value of the parameter C68 is ”0900”. This means:
TRIPstatusnot active
Maximum currentnot reached
Quick stopnotactive
Pulse inhibitstatusfree
Displayof the d irectionof rotationCWrotation
Q
statusnot active
min
Controller enableenabled
Operating faultdid not occur
Communication errordid not occur
The command SEND is to transmit data from the master to the slave. The master then sends a
telegram with the following structure:
EOTAD1AD2STXC1C2V1...VnETXBCC
The abbreviations have the following meanings:
EOT (04
AD1, AD2Logic unit address of the slave to be addressed
STX (02
C1, C2Code number (two ASCII characters)
V1 to VnParameter value (n ASCII characters)
ETX (03
BCCBlock-check character (00 ¼ FF
Inthetext sectionof thetelegram,whichis embeddedbetweenthecontrol charactersSTXandETX,
the code number (C1,C2) and the corresponding parameter value ( V1 to Vn)aretransmitted to the
slave.
)End of the (previous) transmission
hex
Slaves
)Start of text
hex
)Endoftext
hex
hex
Appendix
)
Example for a SEND telegram
Themaximum speed (code number C11)is to be set to the value 95.2 Hz via the bus address 34 at
thecontroller.
The host must send the following SEND telegram:
EOT34STX1195.2ETXBCC
The controller can respond with two different acknowledgements:
ACK
Thecommand could not be processed correctly.Thecurrent valueof theparameter C11is 95.2 Hz
or
NAK
The request could not been processed correctly. The parameter value was not changed.
In a bus network, the command BROADCAST is to address all devices or a group of devices
(multicast) at the same time. The structure of the BROADCASTtelegram is similar to the structure
of the SENDtelegram. The only exception is that it does not return an acknowledgement.
Thedevices can be selected via their controller addresses. The following controller addresses are
reserved for a BROADCAST telegram:
controller addressescontroller address of
groups
(reserved)
00all”0””0”
1011 to 19”1””0”
2021 to 29”2””0”
3031 to 39”3””0”
4041 to 49”4””0”
5051 to 59”5””0”
6061 to 69”6””0”
7071 to 79”7””0”
8081 to 89”8””0”
9091 to 99”9””0”
ASCII character
AD1AD2
Example for a BROADCAST telegram
All controllers are to be stopped when setting controller enable (code number C40 = 0).
The host send the following BROADCAST telegram:
EOT00STX400ETXBCC
The controllers do not return an acknowledgement.
8.3.5Monitoring of the slave response
The master monitors the selected slave. The slave must return a response within a defined
time.Under the following circumstances the slave does not return a response to the master (time
out):
• Thecontrolleradd ress could not b e recognized
• A fault (e.g. parity fault)had been detected in one or several characters, including the
character ”ENQ”
• Thetransmission path is faulty
• A BROADCAS Ttelegram had been sent
• Thehardware does not work properly
If the master does not receive a response within a defined period of time, the transmission is tried
again. The number of repetitions is limited.
Themonitoring time in the master should be approx. twice as long as the maximum response time.
8.3.6Transmission faults
After a transmission fault, the master can read C0068 and evaluate the communication error in bit
4¼7.
ACKResponse for positive acknowledgement of the controller
ASCIIAmerican Standard Code for Information Interchange: 7 bit code with one free parity bit
Ctrl. enableController enable
Ctrl. inhibitController inhibit
DCBDC-injection brake
EMCElectromagnetic Compatibility
f
dmin;fdmax
I
max
IMPPulse inhibit
JOG (JOG1, JOG2, JOG3)Fixed speed or input for activation of the fixed speed
LECOMLenze communication
LECOM-ACommunication medium via RS232 interface and LECOM protocol
LECOM-BCommunication medium via RS485 interface and LECOM protocol
LECOM-LICommunication medium via optical fibre and LECOM protocol
LEMOCPC program (for IBM compatible PCs) for drive programming
NAKResponse for negative acknowledgement of the controller
Optical fibreOptical fibre
PARParameter set changeover
PCPersonal computer
PLCProgrammable logic controller, e. g. SIMATIC S5, SIEMENS
QminFrequency threshold
QSPQuick stop
RFGRamp-function generator; setpoint integrator
RS232Interface standard
RS485Interface standard
RxDPin name LED (receive display)
SWSoftware
TRIPOperation fault
TxDPin name LED (transmission display)
U
Baud rateTransmission speed of data in bit/s
BroadcastMessage to all controllers
CodeFor input and display (access) of parameter values.
Code numberAddressing of variables according to the format „code-subcode“ (Cxxxx-xx). All variables can be accessed via the code names.
FieldbusFor data exchange between superimposed controls and positioning controls.
HostPC or PLC
IconSign or symbol with an unambiguous message.
Interface converterAdditional module to adapt data transmissions via RS232 interface cables to RS485 (and vice versa)
LEMOCPC program (for IBM compatible PCs) for drive
MulticastMessage to certain controller groups
NibbleOne byte consists of two nibbles:
ProtocolLECOM-A/B protocol
Pulse inhibitThe output of the power stage is inhibited because the controller is inhibited, the fault message TRIP is displayed or an overvoltage or
Remaining hazardsHazards which cannot be eliminated by design
SubcodeDefines the table position of a code
Table positionSome variables may consist of more than one value. If this is the case, the values are entered subsequently. They are accessed by
in the ASCII decimal format, 8-19
in the ASCII hexadecimal format, 8-19
in the octett string format, 8-19
in the string f ormat, 8-19
Parameters
Control word (C0135), 6- 2
Controller inhibit (C040), 6-2
Frequency setpoint (C0046), 6-2
Meaning of individual, 6-2
Operating mode (C0001), 6-2
Unit address (C0009), 6-3
parameters, Name, 8-3
PC system cable, 8-1
Personnel, qualified, 2-1
Plug-in terminal for external supply, Connections, 4-2
Plug-in terminal for LECOM-B, Connections, 4-2
Processing time, 3-4
Protocol, 8-16
See LECOM-A/B protocol
Code numbers, 8-16
Q
Quick stop, 5-1
S
Safety information, 2-1
Layout, 2-2
Other notes, 2-2
Warning of damage to material, 2-2
Warning of damage to persons, 2-2