This manual describes the installation procedures and
configuration of HEIDENHAIN absolute encoders and encoder
gateways with PROFIBUS DPV0 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.
Another benefit with the gateway solution is that in case of an
encoder error occurs, the EnDat encoder can easily be replaced
without the need to disconnect the PROFIBUS line. 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.
6
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 class 1 and 2 according to the encoder profile 3.062. The
encoder device profile describing encoder functionality and
additional information about PROFIBUS can be ordered from
PROFIBUS User Organization, PNO.
PROFIBUS User Organization
Haid-und-Neu Straße 7
D 76131 Karlsruhe, Germany
Te l : + 4 9 721 96 58 590
Fax: + 49 721 96 58 589
www.profibus.com
Web:
1.3.1 PROFIBUS DP functionality levels
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. This manual only covers DPV0 functionality.
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. HEIDENHAIN have a
separate manual for DPV1/DPV2 devices.
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). HEIDENHAIN have a separate manual for
DPV1/DPV2 devices.
General information
7
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.
PDU
Protocol Data Unit
DDLM
Direct Data Link Mapper, the interface between
PROFIBUS
software
DDLM_Set_Prm
Interface during parameterization
DDLM_Data_Exchange
DDLM_Slave_Diag
DDLM_Chk_Cfg
Interface during data exchange
Interface during diagnostics data transfer
Interface during configuration
1.3.2 References
1.3.3 Abbreviations
Profile Encoder V1.1, Order No. 3.062
-DP functions and the encoder
8
2 Encoder gateway installation
2.1 Settings inside the gateway
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
ba ck cover
9
Encoder gateway installation
Screw terminals
Bus termination
switch (on/off)
Node address
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.
10
switches ()
Figure 2 PCB-view of a cable gland PROFIBUS gateway
Example: To set the node address to 115, the switch to the left
(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 220 ohms 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
11
Encoder gateway installation
Power supply M12 version
Function
Pin
+E Volt
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
12
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
gateway.
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.
The 0 V 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 0 V terminals are also connected to
each other, i.e it does not matter to which pair the
+E Volt and 0 Volt are connected to.
Encoder gateway installation
2
to 1. 5 m m2. Permissible outer cable diameter
13
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
14
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.
Figure 6 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 the bus lines are connected to.
Encoder gateway installation
2
. Permissible outer cable diameter is ø 8 mm to
15
Encoder gateway installation
GSD file
Gateway functionality
GSD file
Gateway PROFIBUS DPV0
(For rotary encoders)
ENC_A400
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
PROFIBUS Gateways can be configured and parameterized
corresponding to the requirements of the user. When the system
is started, the PROFIBUS devices are set and configured in
DDLM_Set_Prm mode, i.e the application class set by means of
the GSD file in the configuration tool and the operating
parameters are transferred to the respective slave.
Available GSD files can be downloaded from
www.heidenhain.com
16
Table 4 Available GSD file for DPV0 gateway
When configuring the gateways two device classes (Class 1
or Class 2) can be selected as described in chapter 4.
Selectable parameters and functionality of the device depend
on the selected encoder class. This data, saved in the
PROFIBUS master is 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 IDnumber shall be used, the gateway needs to be restarted
before it can use the new GSD file.
After the configuration and parameter data have been received,
the gateway enters normal operation with cyclic data transfer i.e.
“DDLM_Data_Exchange mode”.
Encoder gateway installation
Installation of GSD-files:
1) Select and save the GSD file for the respective device from
www.heidenhain.comand then copy the *.gsd file into the respective
directory of the PROFIBUS configuration tool.
2) Select the bitmap file of the respective device and copy the *.bmp file into the
respective directory of the PROFIBUS configuration tool.
3) Update the GSD files (SCAN).
17
Encoder gateway installation
Bus status
Module
Meaning
Cause
Off
Off
No power
Red
Green
No connection to other
exchange
- Bus disconnected
available/switched off
Red2)
Red2)
No connection to other
PROFIBUS PCB.
No connection to EnDat
Blinking1)
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.
2.6 LED indication
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.
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
Table 5 LED indication
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.
18
3 Absolute encoder installation
Screw terminals
Bus termination
Node address
switches
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.
Absolute encoder installation
switch (on/off)
Figure 7 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.
19
Loading...
+ 43 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.