Professional Documents
Culture Documents
Dynavert L
Dynavert
Introduction 1
Main characteristics 2
Physical definition of
the interface 3
DCP – Interface
for Dynavert L Protocol description 4
Technical Description
(Draft) Sequence timing 5
Dealing with transmission
Protocol including position set value, faults 6
position actual value
and communications
07/2010
4BS0449-005
DCP Interface for Dynavert® L
1. Introduction
This document describes the Drive Control and Position (DCP) protocol used for the
serial connection between a lift controller and lift automatic control equipment. The
DCP protocol enables Drive Control, i.e. full control of automatic control equipment
and Drive Position control, i.e. position control through transmission of position set
values and position actual values, and scanning of all control equipment actual
values and parameters. The DCP protocol also enables parametrizing of the
automatic control equipment.
The serial connection using this protocol thus replaces all the hardwire links between
the controller and the automatic control equipment. The protocol also makes it
possible to customise lift travel for any distance between floors.
2. Main characteristics
The protocol is designed for a half duplex RS485 interface link. This is a point-to-
point connection between the lift controller and the control equipment. The controller
operates as a master unit while the control equipment operates as a slave unit. This
means that the control equipment only responds to incoming messages from the
controller. In order to prevent hazardous situations from arising in the event of a
major fault (e.g. an interruption in the link), the control equipment must be equipped
with a timeout watchdog. When the timeout time elapses, the system will
automatically switch to a safe condition.
A) Trip with constant brake distance as per the current travel commands
In this operating mode, control of the control equipment is similar to that used in
the conventional methods using a parallel connection. Here, a series of travel
commands (v1, v2, etc.) correspond to different terminal speeds settings on the
control equipment. Activating the travel command starts the trip, de-activating the
command sets the braking point. Another binary signal is used for the stop switch
in order to ensure precise stopping just before the flush level. Other binary signals
are used for setting the direction of travel and for fine adjustment.
In this operating mode, the positions of the braking point and the stopping point
are detected by conventional shaft devices (e.g. contactors or photocells) or an
absolute encoder position measuring system. The data provided by these methods
is converted into the necessary binary signals by the lift controller.
07/2010
4BS0449-005 Page 5 of 20
DCP Interface for Dynavert® L
In this operating mode, the travel distance (in mm) required is transmitted to the
control equipment over the interface before the trip begins. When the travel
command is activated, the trip starts and the control equipment must travel the
exact distance that has been communicated to it. The travel command can be de-
activated at any time but this will have no effect on travel. It is quite simple therefore
to program as many floor-to-floor trips as required. For a floor-to-floor trip no
information from the shaft devices are required.
The control equipment must be in a position to travel the various distances of
floor-to-floor trips in the optimum time.
In this operating mode the required travel distance is communicated to the control
equipment. Changes to the travel distance are possible under certain marginal
conditions even during the trip. In this operating mode the control equipment uses
the previously travelled lift car travel provided by the controller (over the interface)
as the position actual value. This means that the lift controller must be equipped
with an absolute encoder position measuring system. The position actual value
must have a minimum resolution of 1 mm.
With this operating mode it is possible to travel to any destination from any point in
the lift shaft and to change the destination during the trip.
A typical trip covering several floors would consist of the following steps (a trip
which passes a floor must use the operating mode trip type 2 "Floor-to-floor trip with
variable travel"):
a) Before the trip starts, (e.g. with the lift stopped at floor no. 1), the control
equipment receives a travel distance in the form of a position set value.
Normally the travel distance to the next floor but one (i.e. floor no. 3 in our
example) is used.
c) If the controller has established that a stop at floor no. 3 is not required, it will
transmit a new position set value (e.g. floor no. 4) to the control equipment.
The travel distance is measured from the starting point of the trip (i.e. floor
no. 1). The control equipment will ignore the old position set value and will
travel to the new destination. This procedure can be repeated as many times
as required.
If the controller has established that a stop is required at floor no. 3, then no
further action from the controller is required. As soon as the control
07/2010
4BS0449-005 Page 6 of 20
DCP Interface for Dynavert® L
When a new position set value is given, care must be taken that the braking
point for the previously valid travel distance value has not been reached at
the moment when the new value is transmitted. When the control equipment
receives a new position set value, it checks immediately if the braking point
can still be reached. If the point has not yet been reached, the value is
accepted. If acceptance is not possible, the previous value will be
maintained. The control equipment transmits a signal back to the controller
indicating whether it has accepted the new value or not.
Level: RS485
Pin 1 Shield,
Pin 2 RS485 A,
Pin 3 RS485 B,
Pin 4 GND (optional),
Pin 5 +12V max. load rating l 50 mA, not short-circuit-proof (optional)
A 120 Ohm terminating resistor can be fitted between pin 2 and pin 3.
4. Protocol description
The basic structure of the protocol is as follows:
The protocol is designed for a point-to-point link. The lift controller is the
'active' partner (the master). The control equipment is the 'passive'
partner, (the slave), i.e. it responds to a message from the controller
within a set time. The device address is not transmitted.
07/2010
4BS0449-005 Page 7 of 20
DCP Interface for Dynavert® L
The message consists of 5 bytes. A complete, standard message looks like this:
When a new trip type is transmitted, the message looks like this:
When a new position set value is transmitted, the message looks like this:
Commands:
The command byte contains the information listed below. A pre-set bit activates the
corresponding command.
In this case the controller must send the change in the position actual value since
the last valid transmission between the controller and the control equipment with
the special response message used in these cases.
07/2010
4BS0449-005 Page 9 of 20
DCP Interface for Dynavert® L
Bit 5 and bit 6 of the first message byte are set = 0 to indicate that the 2nd nd 3rd
bytes are transmitting the position actual value. The 2nd and 3rd bytes contain the
changes in travel distance since the last valid transmission of a position actual
value. Transmitting the travel distance changes only has the advantage that large
distance can be transmitted using word variables.
The direction of the change is displayed by plus or minus signs in front of the value
(UP = plus sign, DOWN = minus sign) in two's complement representation
(1st byte = High-Percentage, 2nd byte = Low-Percentage). Position changes are
transmitted in mm (value range from -32768 mm to 32767 mm)
Note:
During transmission of the position actual values the controller must check that the
rounding error is not added. A special procedure would, for example, add the newly
transmitted position actual value (since the start of the trip) to the controller. The
position actual value is always transmitted as the difference between the total
measured travel (from the absolute encoder position measuring system) and the
sum of the travel distance sent so far.
Bit 6 of the first message byte is set = 1 to indicate that the 2nd, 3rd and 4th bytes are
transmitting the position set value. The position set value is always set at the start of
travel.
This value is always positive (1st byte = High-Percentage, 3 rd Byte = Low-Percentage)
and is transmitted in mm. The value range is from 0 to 16777215 mm.
The controller must ensure that the transmission of the position set value is completed
at least 20 ms before the corresponding deceleration point has been reached, i.e. the
response message from the control equipment must already have been received by the
controller. The response message from the control equipment must also indicate
whether or not the new position set value has been accepted (see 4.2).
Trip type
Bit 5 of the first message byte is set = 1 to indicate that the 3rd byte is transmitting the
trip type. The byte can be set to the following values:
0 Inspection at speed vR
1 V1 Trip with constant braking distance, speed V1
2 V2 Trip with constant braking distance, speed V2
3 V3 Trip with constant braking distance, speed V3
4 V4 Trip with constant braking distance, speed V4
5 V5 Trip with constant braking distance, speed V5
6 V6 Trip with constant braking distance, speed V6
7 V7 Trip with constant braking distance, speed V7
8 V8 Trip with constant braking distance, speed V8
9 Floor trip Floor trip with variable distance
10 Trip with variable distance
11 Inspection trip vR1 Inspection at speed v1
12 Inspection trip vR2 Inspection at speed v2
13 Inspection trip vR3 Inspection at speed v3
07/2010
4BS0449-005 Page 10 of 20
DCP Interface for Dynavert® L
Communication
Bit 5 and bit 6 of the first message byte are set = 0 to indicate that this byte is
transmitting the data for the communication channel. This channel can be used to
set all the actual values and parameters of the control equipment. The
communication channel is driven by its own protocol (see 4.3).
Checksum
The checksum is the XOR link element for the four data bytes.
Status:
07/2010
4BS0449-005 Page 11 of 20
DCP Interface for Dynavert® L
when the current trip is a short distance trip with variable travel or a trip with
variable travel.
when the trip is a floor-to-floor trip with variable travel which has not yet started
when the trip is a variable trip which has sufficient residual distance and the stop
point requested can be reached with the trip curve parameter settings.
In all other cases the old position actual value will be used.
07/2010
4BS0449-005 Page 12 of 20
DCP Interface for Dynavert® L
Communication:
This bit transmits the data for the communications channel. This channel can be used
to set all the actual values and parameters of the control equipment. The
communications channel is driven by its own protocol (see 4.3).
Checksum:
The checksum is the XOR link element for both data bytes
Introduction
The data communications channel is subordinate to the real time data channel and is
driven by its own protocol. One communications data byte is transmitted with each
message. The communications channel can also be used to set the actual value and
the parameters of the control equipment. In order to do this, the data exchange
between the internal display and the internal keypad of the control equipment must
be redirected over the DCP interface to the display and keypad of the lift controller.
In order to perform this operation (i.e. redirect the control equipment internal display
and keypad data over the interface), the contents of the communications data must
not be defined in the DCP protocol since only the current display characters and
keypad information is to be transmitted. The following marginal conditions must also
be observed:
Protocol
If the communication channel is not transmitting any data, the Byte 00H indicating
this condition must be transmitted. The control equipment will not send any data until
it receives the following command sequence from the controller:
(STX) (1FH) (ETX)
On reception of this command sequence, the control equipment will send the display
data (or the changes on the display). From this point onwards, the controller will send
the key code for the key pressed. When the controller wishes to end the
communication, it will send the following command sequence.
On reception of this command sequence, the control equipment will stop sending
data over the communication channel (00H).
For standard configurations, the lift controller must have at least one display with two
lines of 20 characters each. The DCP protocol will support up to four lines; this option
must be agreed with the suppliers.
07/2010
4BS0449-005 Page 13 of 20
DCP Interface for Dynavert® L
Bit Function
0 Blank
1 Reset (of control equipment fault messages)
2 Status (reset display to output status)
3 Down
4 Up
5 Enter
6 F1 (Function key 1, function depends on the control equipment)
7 F2 (Function key 2, function depends on the control equipment)
07/2010
4BS0449-005 Page 14 of 20
DCP Interface for Dynavert® L
The codes from 00H to 1FH are used as control characters and have the
following meaning:
07/2010
4BS0449-005 Page 15 of 20
DCP Interface for Dynavert® L
The table below shows the character set used; the table is based on the character
set used by most commercial display units.
Blank bytes should not be used if possible.
2.H 3.H 4.H 5.H 6.H 7.H 8.H 9.H A.H B.H C.H D.H E.H F.H
.0H 0 @ P
(Blank)
\ p *
)
.1H ! 1 A Q a q *
) ä
.2H ” 2 B R b r 2 )
*
.3H # 3 C S c s 3
* )
.4H $ 4 D T d t *
)
.5H % 5 E U e u *
)
Ü
.6H & 6 F V f v ↕ *)
.7H ’ 7 G W g w *
)
.8H ( 8 H X h x
.9H ) 9 I Y i y -1
.AH * : J Z j z
.BH + ; K [ k {
.CH , < L l |
.DH - = M ] m }
.EH . > N ^ n
.FH / ? O _ o ö □
*)
These characters are not usually included in the character set of LCD displays.
They must be loaded into the programmable CG-RAM.
The following codes can be used for this purpose:
1FH 04H 0EH 15H 04H 04H 04H 00H (Arrow upw ards w ith limit)
04H 04H 04H 15H 0EH 04H 1FH 00H (Arrow dow nw ards w ith limit)
2 0CH 02H 04H 08H 0EH 00H 00H 00H (Squared)
3 0CH 02H 0CH 02H 0CH 00H 00H 00H (Cubed)
04H 0EH 1FH 04H 04H 04H 04H 00H (Arrow upw ards)
04H 04H 04H 04H 1FH 0EH 04H 00H (Arrow dow nw ards)
↕ 04H 0EH 1FH 04H 04H 1FH 0EH 04H (Double arrow )
02H 05H 15H 0EH 04H 04H 04H 00H
07/2010
4BS0449-005 Page 16 of 20
DCP Interface for Dynavert® L
5. Sequence timing:
The interface is a half duplex interface and the driver for this type of interface must
therefore have directional commutation. In order to prevent collisions, the sequence
used must be accurately timed. A cycle time (the time the message takes to travel
from the controller to the control unit and back again) of 10 ms is also required.
For the transmission of the position actual value, the interface is linked to
a control loop. In these circumstances it is advisable to transmit the data
at the same, regular intervals (in this case 10 ms). The following method
should be used.
min. 0.6 ms min. 0.6 ms min. 0.6 ms min. 0.6 ms min. 0.6 ms
1. Telegramm max. 3.0 ms max. 3.0 ms max. 3.0 ms max. 3.0 ms max. 3.0 ms
07/2010
4BS0449-005 Page 17 of 20
DCP Interface for Dynavert® L
In order to prevent transmission faults from falsifying or losing position actual and set
values, the behaviour of the controller and the control equipment in the event of
transmission faults must be precisely defined.
Reaction:
The position actual value is taken as the total change in travel since the
last, valid complete message cycle (i.e. the last cycle in which the
message was transmitted from the controller to the control equipment and
back again without fault). This value is transmitted.
The last value for the position set value or the trip type is repeated.
2) The status bit 7 (Fault in last response message) is set in the response
message sent by the control equipment to the controller.
Reaction:
The position actual value is taken as the total change in travel since the
last, valid complete message cycle (i.e. the last cycle in which the
message was transmitted from the controller to the control equipment and
back again without fault). This value is transmitted.
The last value for the position set value or the trip type is repeated.
07/2010
4BS0449-005 Page 18 of 20
DCP Interface for Dynavert® L
Reaction:
2: The command bit 7 (Fault in last response message) is set in the message
sent by the controller to the control equipment.
Reaction
Communications
In the event of a checksum fault in the last transmission from the
controller to the control equipment, the communications byte will be
processed as normal. In all other cases it will be ignored.
Trip type
This will be processed as normal.
07/2010
4BS0449-005 Page 19 of 20
DCP- Interface for Dynavert® L - Technical description 4BS0449-005
LOHER GmbH
A Siemens Company Servicezentrale:
PO-Box 1164 94095 Ruhstorf Servicecenter:
Hans-Loher-Str. 32 94099 Ruhstorf Fax.: +49 (0) 8531 39 – 554
Tel.: +49-(0) 8531 39 – 496 Fax.: +49 (0) 8531 39 – 569
Fax.: +49 (0) 8531 39 – 538 24h - hotline.: +49 (0) 8531 39 – 222
e-mail: lift@loher.com e-mail: service.sys@loher.com
http://www.loher.com