This manual describes the installation procedures and
configuration of HEIDENHAIN absolute encoders and encoder
gateways with PROFIBUS DPV2 functionality.
1.1 Encoder gateway
The advantages of the gateway concept is that it allows the use
of small and very robust EnDat encoders, which make the
encoder gateway solution suitable in applications where very high
ambient temperature is a limiting factor. The encoder gateway
supports singleturn encoders with up to 31 bit resolution and
multiturn encoders with up to 37 bits resolution with the
limitations described in this manual.
1.2 Absolute encoders
With an absolute encoder each angular position is assigned a
coded position value generated by a code disc equipped with
several parallel fine graduations tracks which are scanned
individually. On singleturn encoders, i.e. an encoder producing
absolute positions within one revolution, the absolute position
information repeats itself with every revolution. So called multiturn
encoders can also distinguish between revolutions. The numbers
of unique revolutions is determined by the resolution of the
multiturn scanning and repeats itself after the total resolution is
reached.
8
1.3 PROFIBUS technology
PROFIBUS is a powerful and versatile 2-wire non-proprietary open
field bus standard defined by several international standards such
as EN 50170, IEC 61158 together with different device profiles.
There are 3 different PROFIBUS versions available today, DP, FMS
and PA. HEIDENHAIN products support the Decentralized
Peripherals (DP) version. In addition to manufacturer-specific
functions, the HEIDENHAIN devices described in this manual
supports application class 3 and 4 according to the encoder profile
3.162 v4.1. The encoder device profile describing encoder
functionality and additional information about PROFIBUS can be
ordered from PROFIBUS User Organization, PNO.
The main functions of the different levels are as follows:
DPV0: Supports the basic functionality for the PROFIBUS
protocol. In principal this means the cyclical I/O communication
and diagnostics. HEIDENHAIN have a separate manual for DPV0
devices.
DPV1: The most important benefits with DPV1 are the expanded
functions for the acyclical data communication and alarm
handling. This is a precondition for parameterization and calibration
of field devices over the bus in runtime.
DPV2: In addition to the functionality above, DPV2 includes
expansions that are required for time critical applications such as
motion control. This means functions such as slave-to-slave
communications and isochronous data exchange (time
synchronization).
General information
9
General information
PROFIBUS
Process Field Bus
PI
PROFIBUS and Profinet International
PNO
PROFIBUS Nutzerorganisation e.V.
GSD
German term "Gerätestammdaten". A GSD is the
device database file, also called device datasheet.
DP
Decentral Periphery
Input data
Data which the master receives from the encoder
Output data
Data which the encoder receives from the master.
I&M
Identification and Maintenance
MS1 AR
PROFIBUS MS1 AR (Acyclic data exchange between
master (class1) and slave)
MS2 AR
PROFIBUS MS2 AR (Acyclic data exchange between
master (class2) and slave)
OB
Organization Block
1.4 References
1.4.1 Abbreviations
Profile Encoder V4.1, Order No. 3.162
Profile Drive Technology, PROFIdrive V4.1, Profibus International,
Order Nr: 3.172
PROFIBUS Guidelines, Part 1: Identification & Maintenance
Functions V1.1, Profibus International, Order Nr: 3.502
PROFIBUS Guidelines, Part 3: Diagnosis, Ala rms and Time
Stamping V1.0, Profibus International, Order No. 3.522
The encoder gateway addressing switches and bus termination
must be configured during commissioning of the device. This is
done by removing the back cover, i.e. screwing off the three
screws at the rear of the gateway.
Figure 1 Placement of screws
Encoder gateway installation
Screws to remove
back cover
11
Encoder gateway installation
Screw terminals
Bus termination
switch (on/off)
Node address
switches
2.1.1 Node address
The node address of the encoder gateway can be set via three
decimal rotary switches located inside the back cover. The
weighting, x100, x10 and x1 are specified on the circuit board
besides the switches. Permissible address range is between 0
and 126 but the lower addresses 0 to 2 are usually used by the
master and not recommended to be used by the device. Each
address used in a PROFIBUS network must be unique and may
not be used by other devices.
The device address is only read and adopted when the gateway
power supply is switched on. A restart of the gateway is therefore
required in order to adopt changes done to the address settings.
Figure 2 PCB-view of a cable gland PROFIBUS gateway
Example: To set the node address to 115, the switch to the left
12
(x100) shall be set to 1, the switch in the middle(x10)
should also be set to 1 and the switch to the right(x1)
shall be set to 5.
2.1.2 Bus termination
Bit1
Bit2
Effect
On
On
There is a 220ohms resistor between bus A
and bus B line.
On
Off
Not a valid setting
Off
On
Not a valid setting
Off
Off
There is no resistor between bus A and
bus B line.
In a PROFIBUS net, all devices are connected in a bus structure.
Up to 32 devices (master and/or slaves) can be connected in one
segment. When more devices are needed repeaters should be
used to amplify the signals between segments. An active
termination must be added in the beginning and the end of each
bus segment in order to ensure error-free operation. In case of the
gateway with cable glands such terminators are integrated inside
the back cover and can be activated via dip switches as shown in
figure 2. If the device is un-powered the A and B lines are
internally terminated by a 220 Ω resistor.
Table 1 Termination switch settings
When encoder gateways with M12 connectors are used the
termination should be done using a M12 terminating resistor plug.
Note: When M12 terminating resistor plugs are used, the
internal terminating switch shall not be activated.
Encoder gateway installation
13
Encoder gateway installation
Power supply M12 version
Function
Pin
+E Volt (9-36V)
1
Not connected
2
0 Volt
3
Not connected
4
Power supply
2.2 Power supply
The power supply connection of M12 equipped gateways are
constituted by a male A-coded 4 pin M12 connector.
Figure 3 Orientation of M12 power supply connector
14
Table 2 Pinning M12 power supply connector
Encoder gateways equipped with cable glands are delivered with
a dust protection foil from the factory. The protection foil needs to
be removed prior to installing the cables.
It is recommended that gateways equipped with cable glands are
equipped with a shielded power supply cable with conductor area
between 0,34 mm
is ø 6 mm to ø 8 mm for the power supply cable. The power
supply screw terminal is located inside the back cover of the
ga te way.
In the case were the gateway is the last node in the bus-structure
and only the cable glands for Supply and Bus-in is in use, the Bus
out cable gland should be replaced with a M16 filler plug to
ensure proper sealing.
The +E terminal shall be used to connect +E Volt (9-36Vdc).
The 0V terminal shall be used to connect 0 Volt.
Figure 4 Terminal connections of power supply cables
Note: Tighten all screws in the terminal, even if no cable has
been attached.
Note: The two +E terminals are connected to each other and
the two 0V terminals are also connected to each other,
i.e it does not matter to which pair the +E Volt and
0Volt are connected to.
Encoder gateway installation
2
to 1.5 mm2. Permissible outer cable diameter
15
Encoder gateway installation
Bus in line
Bus out line
Function
Pin
Function
Pin
Not connected
1
VP 1 A 2 A
2
Not connected
3
DGND
3 B 4 B 4
Chassis
5
Chassis
5
Bus in
Bus out
2.3 BUS lines
The PROFIBUS bus line connections of the M12 equipped
devices are constituted by a male B-coded 5 pin M12 connector
(bus in), and a female B-coded 5 pin M12 connector (bus out).
Figure 5 Orientation of M12 bus connectors
16
Table 3 Pinning M12 bus in/out connectors
The cable gland gateway shall be equipped with twisted pair
shielded cable in accordance with EN 50170 and PROFIBUS
guidelines. The guidelines recommend a conductor area higher
than 0,34 mm
10 mm for the bus lines cables. Located inside the back cover are
four screw terminals containing the required bus line terminals
marked A and B. Cable glands not used, should be replaced with
a M16 filler plug to ensure proper sealing.
Note: Tighten all screws in the terminal, even if no cable has
been attached.
Note: The two A terminals are internally connected to each
other and the two B terminals are also connected to
each other so it does not matter to which the bus lines
are connected to.
Encoder gateway installation
2
. Permissible outer cable diameter is ø 8 mm to ø
17
Encoder gateway installation
GSD file
Gateway functionality
GSD file
Gateway PROFIBUS DPV2
(For rotary encoders)
ENC_OB21
Gateway PROFIBUS DPV2 (For
linear encoders)
ENC_0918
2.4 Shielding philosophy
To achieve the highest possible noise immunity and resistance
against other EMI related disturbances the bus and power supply
cables shall always be shielded. The screen should be connected
to ground on both ends of the cable. In certain cases
compensation current might flow over the screen. Therefore a
potential compensation wire is recommended.
2.5 GSD file
In order to start using the PROFIBUS DP gateway, a device
description file needs to be downloaded and imported to the
configuration software. The device description file is called a
Generic Station Description file and contains the necessary
implementation parameters needed for a PROFIBUS DP device.
Available GSD files can be downloaded from
www.heidenhain.com
18
Table 4 Available GSD file for DPV2 gateway
The GSD data is saved in the PROFIBUS master and transferred
once to the gateway when the system is powered on. If the
gateway has been started with one GSD file and a new GSD file
with a different ID-number shall be used, the gateway needs to be
restarted before it can use the new GSD file.
2.6 LED indication
Bus status
Module
Meaning
Cause
Off
Off
No power
Red
Green
No connection to other
exchange
- Bus disconnected
available/switched off
Red 2)
Red 2)
No connection to other
PROFIBUS PCB.
No connection to EnDat
Blinking 1)
Green
Parameterization or
- Configuration received
parameterization.
Green
Red
System failure
- Diagnosis exists, slave in
data exchange mode.
Green
Green
Data exchange and encoder
function properly.
Encoder gateway installation
In order to determine the status of the gateway two LEDs are
visible on the front of the gateway. The module LED indicates
status of the module itself. The bus LED indicates the status of
the bus. The table below defines the diagnostic messages using a
bi-colored red/green LED for bus and module.
Table 5 LED indication
1. The blinking frequency is 0.5 Hz. Minimal indication time is
2. Position error is when an alarm occurs in the encoder or if the
device. Criteria: No data
device. No connection
- Master not
encoder at power up.
between EnDat encoder and
configuration fault
differs from the supported
configuration.
- Parameter error in the
3 sec.
EnDat encoder is disconnected from the PROFIBUS interface
PCB.
19
Absolute encoder installation
Screw terminals
Bus termination
Node address
switches
3 Absolute encoder installation
3.1 Settings inside the encoder
The encoder node address and bus termination must be
configured during commissioning of the device. This is done by
removing the back cover, i.e. screwing off the three screws at the
rear of the encoder.
3.1.1 Node address
The node address of the encoder can be set via two decimal
rotary switches located inside the back cover. The weighting, x10
or x1 are specified beside the switches. Permissible address
range is between 0 and 99 but the lower addresses 0 to 2 are
usually used by the master and not recommended to be used by
the device. Each address used in a PROFIBUS network must be
unique and may not be used by other devices.
The device address is only read and adopted when the encoder
power supply is switched on. A restart of the encoder is therefore
required in order to adopt changes done to the address settings.
Figure 6 PCB-view of a cable gland encoder
Example: If the node address shall be set to 85, the left(x10)
switch shall be set to 8 and the right(x1) switch shall be set to 5.
20
switch (on/off)
3.1.2 Bus termination
Bit1
Bit2
Effect
On
On
There is a 220ohms resistor between bus A
and bus B line.
On
Off
Not a valid setting
Off
On
Not a valid setting
Off
Off
There is no resistor between bus A and bus
B line.
In a PROFIBUS net, all devices are connected in a bus structure.
Up to 32 devices (master and/or slaves) can be connected in one
segment. When more devices are needed repeaters should be
used to amplify the signals between segments. An active
termination must be added in the beginning and end of each bus
segment in order to ensure error-free operation.
In case of the encoder with cable glands such terminators are
integrated inside the back cover and can be activated via dip
switches as shown in figure 6. If the device is un-powered the A
and B lines are internally terminated by a 220Ω resistor.
Table 6 Terminating switch settings
When encoders with M12 connectors are used the termination
should be done using a terminating resistor plug.
Note: When encoders with M12 terminating resistor plugs
are used, the internal terminating switch shall not be
activated.
Absolute encoder installation
21
Absolute encoder installation
Power supply M12 version
Function
Pin
+E Volt (9-36V)
1
Not connected
2
0 Volt
3
Not connected
4
Power supply
3.2 Connecting the encoder
The power supply connection of M12 equipped encoders are
constituted by a male A-coded 4 pin M12 connector.
Figure 7 Orientation of M12 power supply connector
22
Table 7 Pinning M12 power supply
Encoders equipped with cable glands are delivered with a dust
protection foil from the factory. The protection foil needs to be
removed prior to install the cables.
It is recommended that encoders with cable gland are equipped
with a shielded power supply cable with conductor area between
2
0,34 mm
t o 1.5 mm2. Permissible outer cable diameter is
ø 6 mm to ø 8 mm for the power supply cable. Located inside the
back cover are two screw terminals containing the required power
supply terminals marked (+) and (-). In the case were the encoder
is the last node in the bus-structure and only the cable glands for
Supply and Bus-in is in use, the Bus out cable gland should be
replaced with a M16 filler plug to ensure proper sealing.
The (+) terminal shall be used to connect the +EV-line (9-36 Vdc).
The (-) terminal shall be used to connect the 0 V-line.
Figure 8 Terminal connections of power supply cables
Note: Tighten all screws in the terminal, even if no cable has
been attached.
Absolute encoder installation
23
Absolute encoder installation
Bus in line
Bus out line
Function
Pin
Function
Pin
Not connected
1
VP
1
A 2 A
2
Not connected
3
DGND
3 B 4 B 4
Chassis
5
Chassis
5
Bus in
Bus out
3.2.1 Bus lines
Figure 9 Orientation of M12 bus connectors
24
Table 8 Pinning M12 bus in/out lines
The cable gland encoders shall be equipped with twisted pair
shielded cable in accordance with EN 50170 and PROFIBUS
guidelines. The guidelines recommend a conductor area higher
than 0,34 mm
ø 10 mm for the bus line cables. Located inside the back cover are
four screw terminals containing the required bus line terminals
marked (A) and (B).Cable glands not used should be replaced
with a M16 filler plug to ensure proper sealing.
The (A) terminal shall be used to connect the A-line.
The (B) terminal shall be used to connect the B-line.
Figure 10 Terminal connections of bus line cables
Note: Tighten all screws in the terminal, even if no cable has
been attached.
Note: The two A terminals are internally connected to each
other and the two B terminals are also connected to
each other so it does not matter to which terminal the
bus lines are connected to.
Absolute encoder installation
2
. Permissible outer cable diameter is ø 8 mm to
25
Absolute encoder installation
GSD file
Gateway functionality
GSD file
Absolute encoder PROFIBUS DPV2
Enc_0aaa
3.3 Shielding philosophy
To achieve the highest possible noise immunity and resistance
against other EMI related disturbances the bus and power supply
cables shall always be shielded. The screen should be connected
to ground on both ends of the cable. In certain cases
compensation current might flow over the screen. Therefore a
potential compensation wire is recommended.
3.4 GSD file
In order to start using an absolute encoder with PROFIBUS DP
interface, a device description file needs to be downloaded and
imported to the configuration software.
The device description file is called a Generic Station Description
file and contains the necessary implementation parameters
needed for a PROFIBUS DP device.
Available GSD files can be downloaded from
www.heidenhain.com.
Table 9 Available GSD file for DPV2 encoder
The GSD data is saved in the PROFIBUS master and transferred
once to the encoder when the system is powered on. If the
encoder has been started with one GSD file and a new GSD file
with a different ID-number shall be used, the encoder needs to be
restarted before it can use the new GSD file.
26
3.5 LED indication
Bus status
Module
Meaning
Cause
Off
Off
No power
Red
Green
No connection to other
exchange
- Bus disconnected
switched off
Red 2)
Red 2)
No connection to other
and PROFIBUS PCB.
No connection to EnDat
Blinking 1)
Green
Parameterization or
- Configuration received
parameterization.
Green
Red
System failure
- Diagnosis exists, slave in
- Position error
Green
Green
Data exchange. Slave and
operation OK
Absolute encoder installation
In order to determine the status of the encoder two LEDs are
visible from the rear end of the encoder. The module LED
indicates status of the module itself. The bus LED indicates the
status of the bus. The table below defines the diagnostic
messages using a red (BUS) and a bicolor, Red/Green, LED
(MODULE).
device. Criteria :No data
device. No connection
between EnDat encoder
configuration fault
Table 10 LED indication encoder
1. The blinking frequency is 0.5 Hz. Minimal indication time is
3 sec.
2. Position error is when an alarm occurs in the encoder or if the
EnDat encoder is disconnected from the PROFIBUS interface
PCB.
- Master not available/
encoder at power up.
differs from the supported
configuration.
- Parameter error in the
data exchange mode.
27
Configuration example
4 Configuration example
This chapter will illustrate how to set up and configure an encoder
gateway with PROFIBUS DPV2 in isochronous operation. In the
example below a Siemens Step 7 PLC and SIMATIC MANAGER
was used.
In order to start using an encoder gateway with PROFIBUS
interface, a device description file needs to be downloaded and
imported to the configuration software.
The latest available GSD file can be downloaded from
www.heidenhain.com.
Installation of GSD-files in SIMATIC MANAGER
28
1. Select Options -> Install GSD File and click the Browse button
to navigate to the location of the GSD file. If a bitmap picture
representing the encoder is requested, make sure that the
bitmap file is located in the same folder as the GSD file. A
bitmap file is included in the zip-file avaliable from
www.heidenhain.com.
2. Select the GSD file and click the Install button to start installing
the selected GSD file.
Loading...
+ 65 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.