Profibus DP: Manual / Users Guide
Profibus DP: Manual / Users Guide
Content
LIST OF TABLES..................................................................................................................................3
LIST OF FIGURES................................................................................................................................4
1 GENERAL INFORMATION.............................................................................................................5
1.1 ABSOLUTE ENCODERS .....................................................................................................................5
1.2 PROFIBUS TECHNOLOGY ...............................................................................................................5
1.3 ABOUT LEINE & LINDE AB .............................................................................................................5
1.3.1 TECHNICAL AND COMMERCIAL SUPPORT ......................................................................................5
1.3.2 CERTIFICATION OF PROFIBUS PRODUCTS ...................................................................................6
1.4 REFERENCES ....................................................................................................................................6
1.4.1 ABBREVIATIONS ...........................................................................................................................6
2 ENCODER INSTALLATION............................................................................................................7
2.1 SETTINGS INSIDE THE ENCODER .......................................................................................................7
2.1.1 NODE ADDRESS ............................................................................................................................7
2.1.2 BUS TERMINATION ........................................................................................................................7
2.2 CONNECTING THE ENCODER ............................................................................................................8
2.2.1 POWER SUPPLY .............................................................................................................................8
2.2.1 BUS LINES ....................................................................................................................................8
2.3 SHIELDING PHILOSOPHY ..................................................................................................................9
2.4 GSD-FILES ......................................................................................................................................9
2.5 LED INDICATION ...........................................................................................................................10
3 PROFILE OVERVIEW....................................................................................................................11
3.1 DPV0 ENCODER CLASSES ..............................................................................................................11
3.2 DPV2 ENCODER CLASSES ..............................................................................................................12
4 ENCODER FUNCTIONALITY, DPV0 ..........................................................................................13
4.1 BASIC ENCODER FUNCTIONALITY ..................................................................................................13
4.2 PROFIBUS DATA TRANSFER PRINCIPLE ........................................................................................13
4.2.1 During parameterization (DDLM_Set_Prm mode) ...............................................................13
4.2.2 Normal operation (DDLM_Data-Exchange mode) ...............................................................13
4.3 CONFIGURATION, DPV0................................................................................................................13
4.4 PARAMETERIZATION, DPV0..........................................................................................................13
4.4.2 Class 2 functionality ..............................................................................................................14
4.4.3 Commissioning diagnostics ...................................................................................................15
4.4.4 Scaling function control.........................................................................................................15
4.4.5 Measuring units per revolution..............................................................................................15
4.4.6 Total measuring range (units) ...............................................................................................16
4.4.7 Velocity control......................................................................................................................17
4.5 DATA TRANSFER IN NORMAL OPERATION (DDLM_DATA_EXCHANGE)........................................18
4.5.1 Data exchange mode .............................................................................................................18
4.5.2 Preset function.......................................................................................................................19
4.6 DIAGNOSTICS ................................................................................................................................20
4.6.1 Diagnostic Header.................................................................................................................20
4.6.2 Alarms....................................................................................................................................21
4.6.3 Operating Status ....................................................................................................................21
4.6.4 Encoder type ..........................................................................................................................22
4.6.5 Singleturn resolution or measuring step................................................................................22
4.6.6 Number of Distinguishable Revolutions ................................................................................23
4.6.7 Additional Alarms..................................................................................................................23
4.6.8 Supported Alarms ..................................................................................................................24
4.6.9 Warnings................................................................................................................................24
4.6.10 Supported Warnings ............................................................................................................25
4.6.11 Profile Version.....................................................................................................................26
4.6.12 Software Version..................................................................................................................26
4.6.13 Operating Time....................................................................................................................26
List of tables
Table 1 Pinning M12 power supply connector .................................................... 8
Table 2 Pinning M12 bus in/out – lines ................................................................... 8
Table 3 GSD files available..................................................................................................... 9
Table 4 LED indication.......................................................................................................... 10
Table 5 Operating parameters in DPV0 .............................................................................. 14
Table 6 Octet 9, Parameter definition................................................................................. 14
Table 7 Singleturn scaling parameter format ................................................................... 15
Table 8 Multiturn scaling parameter format..................................................................... 16
Table 9 Octet 39 Velocity Control........................................................................................ 18
Table 10 Data exchange 32-bits .......................................................................................... 18
Table 11 Data exchange 16-bits .......................................................................................... 18
Table 12 Preset value, 32-bit format ................................................................................... 19
Table 13 Preset value, 16-bit format ................................................................................... 19
Table 14 Diagnostics message, DPV0.................................................................................. 20
Table 15 Diagnostic header.................................................................................................. 21
Table 16 Alarms .................................................................................................................... 21
Table 17 Operating status .................................................................................................... 22
Table 18 Diagnostics, encoder type .................................................................................... 22
Table 19 Diagnostics, singleturn resolution ...................................................................... 23
Table 20 Diagnostics, number of distinguishable revolutions ........................................ 23
Table 21 Diagnostics, additional alarms ............................................................................ 23
Table 22 Diagnostics, supported alarms ............................................................................ 24
Table 23 Diagnostics, warnings ........................................................................................... 25
Table 24 Diagnostics, supported warnings ........................................................................ 25
Table 25 Diagnostics, profile version .................................................................................. 26
Table 26 Diagnostics, software version .............................................................................. 26
Table 27 Diagnostics, operating time ................................................................................. 27
Table 28 Diagnostics, offset value....................................................................................... 27
Table 29 Diagnostics, offset value of the encoder manufacturer ................................... 27
Table 30 Diagnostics, scaling parameters setting............................................................. 28
List of figures
Figure 1 PCB-view of a cable gland PROFIBUS encoder ..........................................................7
Figure 2 Orientation of M12 power supply connector ........................................................8
Figure 3 Terminal connection of power supply cables...........................................................8
Figure 4 Orientation of M12 bus connectors ......................................................................8
Figure 5 Terminal connection of bus line cables ....................................................................9
Figure 6 Cable assembling principal .........................................................................................9
Figure 7 Overview encoder profiles and related documents for PROFIBUS.......................11
Figure 8 Basic encoder functionality.......................................................................................13
Figure 9 Cyclic scaling ..............................................................................................................17
Figure 10 Non-cyclic scaling ....................................................................................................17
Figure 11 Commissioning example, DPV0..............................................................................29
Figure 12 Parameter assign, DPV0...........................................................................................30
Figure 13 Basic principal of the DP-cycle in isochronous mode..........................................32
Figure 14 Assigning parameters, DPV2 Class 4......................................................................37
Figure 15 Isochrone mode parameter settings, DP-slave .....................................................38
Figure 16 IDP master settings, BUS .........................................................................................38
Figure 17 Network settings, BUS .............................................................................................39
Figure 18 Isochrone mode parameter settings, BUS .............................................................39
Leine & Linde AB claims copyright on this documentation. It is not allowed to modify,
extend or to hand over to a third party and/or copy this documentation without
written approval from Leine & Linde AB.
Specifications and content in this document are subject to change without prior
notice due to our continuous strives to improve functionality and performance of our
products.
1 General information
Leine & Linde can meet very specific individual demands. The encoders are easily
adopted due to a modular design in the collection exactly to the customers needs
with respect resolution, electrical connections and interfaces, voltage, casings, etc.
That is due to the fact that tomorrow’s technology already is used today in Leine &
Linde products. Leine & Linde concentrate on advanced development of intelligent
encoders with integrated ASICs, new special features and with adaptations to
different fieldbus systems. This enables us to meet the need for increasingly effective
and dependable machines and automation to an even higher degree.
1.4 References
PROFIBUS Encoder profile V1.1, Order No. 3.062
PROFIBUS Profile for DP-V2 Encoders V3.1, Order No 3.162
PROFIdrive V3.1, PROFIBUS Profile, Order No. 3.172
1.4.1 Abbreviations
PROFIBUS Process Field Bus
PROFIdrive Process Field drive
PI PROFIBUS International
PNO PROFIBUS Nutzerorganisation e.V.
(PROFIBUS user organization)
GSD German term "Gerätestammdaten". A GSD is
the device database file, also called “device
datasheet”.
DP Decentral Periphery
2 Encoder Installation
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.
When encoder with M12 connectors is used the termination is conducted using
terminating resistor plug. The plug is assembled in resemblance to the M12 cables
and both male and female contacts are available in order to enable termination in
both ends of the bus.
Figure 2 Orientation of M12 power supply connector Table 1 Pinning M12 power supply
connector
The cable gland encoders should always be equipped with a shielded power supply
cable with conductor area between 0,34mm2 to 1.5mm2. Permissible outer cable
diameter is ø8mm to ø10mm. Located inside the back cover are two screw terminals
containing the required power supply terminals marked (+) and (-).
Figure 4 Orientation of M12 bus connectors Table 2 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,34mm2. Permissible outer cable diameter is ø6mm to
ø8mm. Located inside the back cover are four screw terminals containing the
required bus line terminals marked (A) and (B).
The (A) terminal shall be used to connect the A-line (color green).
The (B) terminal shall be used to connect the B-line (color red).
Note: The two A and B-terminals are internally connected to each other so it does not
matter to which the bus lines are connected to.
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.4 GSD-files
Absolute encoders with PROFIBUS 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 encoder
class set by means of the GSD file in the configuration tool and the operating
parameters are transferred to the respective slave.
Leine & Linde offers different GSD files depending on what type of PROFIBUS device
used (integrated encoder or gateway). In addition differentiation between DPV0 or
DPV2 functionality is also made by selecting different GSD file. All GSD files available
can be ordered or downloaded at www.leinelinde.com, for part numbers please view
datasheets or contact your nearest Leine & Linde representative.
GSD files
Encoder type and functionality GSD file
Integrated encoder, DPV0 enc_a401
Integrated encoder, DPV2 enc_0aaa
When configuring the encoders various encoder classes can be selected as described
in the following chapters. 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 encoder when the system is powered on.
After the configuration and parameter data have been received the encoder enters
normal operation with cyclic data transfer i.e. "DDLM_Data_Exchange mode".
Installation of GSD-files:
1. Select the GSD file of the respective device on the floppy disk and copy the
*.gsd file into the respective directory of the PROFIBUS configuration tool.
2. Select the bitmap file of the respective device on the floppy disk and copy the
*.bmp file into the respective directory of the PROFIBUS configuration tool.
3 Profile overview
The encoder device profiles for PROFIBUS-DPV0, DPV1 and DPV2 define the
functionality of encoders connected to a PROFIBUS-DP bus. There are two encoder
profiles available 3.062 and 3.162 defining the functionality of encoder for the
different versions of PROFIBUS DP. Please advise the picture below for an overview of
the two different encoder profiles and the standards related to these profiles.
Encoder Profile for DPV1 and DPV2, version 3.1, order no 3.162.
Also in this profile there are two device classed: Class 3 offers the basic functionality
and Class 4 full scaling and preset functionality. In addition to the mandatory
functionality of Class 3 and 4 there are optional functions defined.
For further information regarding the Encoder functionality refer to the device
profiles. These profiles and PROFIBUS technical information can be ordered at PNO in
Karlsruhe, Germany (www.PROFIBUS.com).
PROFIBUS DP-V2
IEC 61158
Encoder Profile
Class 3 and 4
PNO No. 3.162
PROFIBUS-DP
EN50170 Vol 2
Encoder Profile
Class 1 and 2
PNO No. 3.062
To choose between the different profile versions a GSD-File is used. The user can
select the version that fits their hard- and software. The GSD-file can be ordered form
Leine & Linde AB or downloaded from www.leinelinde.com.
Configuration data:
Singleturn Class 1 – 16 Bit: D0hex, 1 input data word, data consistency
Multiturn Class 1 – 32 Bit: D1hex, 2 input data words, data consistency
CLASS 2 In the CLASS 2 configuration output values and input words are
transferred. Depending on the encoder resolution, this is one output
word (16 bits) or two (32 bits).
Configuration data:
Singleturn Class 2 – 16 bits: F0hex, 1 input data word, 1 output data word for
preset value, data consistency
Multiturn Class 2 – 32 bits: F1hex, 2 input data word, 2 output data words for
preset value, data consistency
Position + Class 2 – 32+16 bits: F1+D0hex, 3 input data word, 2 output data
Velocity words for preset value, data consistency
The selection of class depends on the demands required by the application but for
enabling full functionality of the encoder it is recommended to choose; Encoder class
2 32-bit velocity.
CLASS 3 In the CLASS 3 configuration only output position values are assigned.
No added functionality can be accessed.
Configuration data:
Standard Telegram 81
CLASS 4 In the CLASS 4 configuration output values and input words are
transferred. Depending on the encoder resolution, this is one output
word (16 bits) or two (32 bits).
Configuration data:
Standard Telegram 81
Physical position
Bits Definition =0 =1
0 Code sequence Clockwise (CW) Counter clockwise (CCW)
Increasing position values Increasing position values
when rotated clockwise (seen when rotated counter
from flange side) clockwise (seen from flange
side)
4
Reserved
... for future
7
applications
Note: If a class 1 encoder uses some optional class 2 functions, the class 2 control bit
must be set.
The parameters "Measuring units per revolution" and "Total measuring range in
measuring steps" are the scaling parameters set by the parameter function in octet 10
to 17. Scaling is active only if the control bit for the scaling function is set. When the
scaling function control bit is set to 0, the scaling function is disabled.
Note: After downloading new scaling parameters the Preset function must be used to
set the encoder starting point to absolute position 0 or to any required starting
position within the scaled operating range.
Octet: 14 15 16 17
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Total measuring range in measuring units
The data format for both scaling parameters is 32 bits without sign, with a value
range from 20 to 232. The permissible value range is limited by the resolution of the
encoder. For a 25-bit encoder with a singleturn resolution of 13 bits the permissible
value range for "Measuring units per revolution" is between 20 and 213 (8192) and for
the "Total measuring range in measuring steps" the permissible value range is
between 20 and 225 (33 554 432). The scaling parameters are securely stored in the
PROFIBUS-DP master and are reloaded into the encoder at each power-up. Both
parameters are output data in 32-bit format.
B. Non-cyclic operation
If the measuring range is used to limit the value range of the encoder to a value other
than the specified singleturn resolution * 2x, the position value is limited within the
operating range. If the position value resulting from rotation of the encoder exceeds
the maximum value or falls below 0, the encoder indicates the value of the measuring
range. See figure below.
Note: If any of the time based velocity units is used and scaling is set to the encoder
the velocity calculation is based on the scaled position value. Consequently the
accuracy of the velocity value is dependent of the scaling set to the encoder.
Octet: 39
Bits 7–0
Data 27 – 2 0
Velocity Control
DDLM_Data_Exchange mode
Standard configuration:
Octet: 1 2 3 4
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Data_Exchange – 32 bits
Device class 2 F1 2 input data words, 2 output data words for preset value, data consistency
16
Optional configuration:
Octet: 1 2
Bits 15 – 8 7–0
Data 215 – 28 27 – 2 0
Data_Exchange – 16 bits
Device class 2: F0 1 input data words, 1 output data word for preset value, data consistency
16
The most significant bit (MSB) of the preset value controls the preset value function
as follows:
Note: The preset function should only be used at encoder standstill. Depending on
encoder type the number of possible preset cycles is limited; please consult
Leine & Linde for more information.
4.6 Diagnostics
The diagnostic information contains diagnostic data which are on the one hand
defined in the PROFIBUS-DP specification (octets 1 to 6) but also encoder-specific
diagnostic data:
DDLM_Slave_Diag
Diagnostic function Data type Diagnostic. Device
octet number class
DDLM_Slave_Diag
Octet 7
Bits 7 6 5–0
Data 0 0 xxh
Set to 00. Length including header
Extended diagnosis
4.6.2 Alarms
Alarm is generated by the encoder when failure occurs which effects the position
value. Octet 8 in the diagnostic function (DDLM_Slave_Diag) indicates the status of
the alarms. Additional alarms for device class 2 are added in the diagnostic octet 17.
If an alarm is given, the Ext_Diag bit and the Stat_Diag bit in the diagnostic function
are set to high and remain high until the alarm is reset and the encoder can provide a
correct position value. Alarms can be reset (deleted) when all encoder parameters are
within the specified value ranges and the position value is correct.
Note: Not every encoder supports every alarm. For encoders of class 2 the diagnostic
information "supported alarms" (see Chapter 0) makes it possible to find out
which individual alarm bits are supported.
DDLM_Slave_Diag
Octet 8
Bits 7–0
Alarms
Bits Definition =0 =1
0 Position error No Yes
1 Voltage supply error No Yes
2 Current is too high No Yes
3 Commissioning OK Error
di ti
4 Memory error No Yes
5
Currently
6 not
7
assigned
Table 16 Alarms
The status bit of the scaling function is set when the scaling function is activated and
the resolution of the encoder is calculated by means of the scaling parameters.
DDLM_Slave_Diag
Octet 9
Bits 7–0
Operating Status
Bits Definition =0 =1
DDLM_Slave_Diag
Octet 10
Bits 0 - FF
Encoder type
Code Definition
00 Absolute singleturn encoder
01 Absolute multiturn encoder
02 Absolute singleturn encoder with electronic revolution counter
03 Incremental rotary encoder
04 Incremental rotary encoder with battery buffer
05 Incremental linear encoder
06 Incremental linear encoder with battery buffer
07 Absolute linear encoder
08 Absolute linear encoder with periodic coding
09
•
Currently
• not
assigned
•
FF
For rotary or angle encoders, the diagnostic octets 11 to 14 indicate the physical
resolution in number of measuring steps per revolution which is transferred for the
absolute singleturn position value. The maximum singleturn resolution is 232.
For linear encoders the measuring steps is presented with respect to the resolution of
the linear encoder, i.e. each increment of the measuring step is equal the actual
resolution for the linear encoder in use. Typical values for the linear resolution are
1µm - 40 µm.
DDLM_Slave_Diag
Octet 11 12 13 14
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Singleturn resolution
DDLM_Slave_Diag
Octet 15 16
Bits 15 – 8 7–0
Number of distinguishable revolutions
DDLM_Slave_Diag
Octet 17
Bits 7–0
Additional alarms
Bits Definition =0 =1
0
Currently
•
not
7 assigned
DDLM_Slave_Diag
Octet 18 19
Bits 15 – 8 7–0
Supported alarms
Bits Definition =0 =1
0 Position error Not supported Supported
1 Voltage supply error Not supported Supported
2 Current is too high Not supported Supported
3 Commissioning Not supported Supported
diagnostics
4 Memory error Not supported Supported
5
Currently
•
not
15 assigned
4.6.9 Warnings
Warnings indicate that tolerances for certain internal parameters of the encoders
have been exceeded. Contrary to alarms, no faulty position values are expected in
case of warnings.
Octets 20 and 21 of the diagnostic function indicate the status of the warnings. If a
warning is set, the Ext_Diag bit in the diagnostic function is logically set to 1 until the
warning is reset. All warnings are deleted when the diagnostic message of the encoder
has been read. However, if the tolerances are still exceeded, the warning is activated
again. The warning "Maximum operating time exceeded" (bit 4) is not activated before
the system is switched on again.
Note: Not every encoder supports every warning. Please refer to the diagnostic
information under “Supported Warnings“, see chapter 4.6.10, for information on
the support of specific warnings.
DDLM_Slave_Diag
Octet 20 21
Bits 15 – 8 7–0
WARNINGS
Bits Definition =0 =1
0 Frequency exceeded No Yes
1 Temperature exceeded No Yes
2 Light control reserve Not reached Reached
3 CPU monitoring status OK Reset
4 Maximum operating time No Yes
exceeded
5 Battery charging OK Too low
6 Reference point Reached Not reached
7
Currently
•
not
15 assigned
DDLM_Slave_Diag
Octet 22 23
Bits 15 – 8 7–0
Supported Warnings
Bits Definition =0 =1
0 Frequency warning Not supported Supported
1 Temperature warning Not supported Supported
2 Light control reserve Not supported Supported
warning
3 CPU monitoring status Not supported Supported
warning
4 Maximum operating time Not supported Supported
exceeded warning
5 Battery charging warning Not supported Supported
6 Reference point warning Not supported Supported
7
Currently
•
not
15 assigned
Example:
Profile version: 1.40
Octet no. 24 25
Binary code. 00000001 00000001
Hex: 1 40
DDLM_Slave_Diag
Octet 24 25
Bits 15 – 8 7–0
Data 27 – 2 0 27 – 2 0
Revision number Index
Profile Version
Example:
Software version: 1.40
Octet no.: 26 27
Binary code: 00000001 01000000
Hex: 1 40
DDLM_Slave_Diag
Octet 26 27
Bits 15 – 8 7–0
Data 27 – 2 0 27 – 2 0
Revision number Index
Software version
If the operating time function is not supported by the encoder, it is set to the
maximum value (FFFF FFFFhex). The manufacturer of the encoder can define a
maximum operating time. If this limit is exceeded, the "maximum operating time
exceeded" bit is activated, see chapter 4.6.9.
DDLM_Slave_Diag
Octet 28 29 30 31
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Operating time
The preset value function is used after the scaling function. This means that the
offset value is indicated according to the scaled resolution of the encoder.
DDLM_Slave_Diag
Octet 32 33 34 35
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Offset Value
DDLM_Slave_Diag
Octet 36 37 38 39
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Offset Value of the Encoder Manufacturer
DDLM_Slave_Diag
Octet 40 41 42 43
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Measuring units per revolution
DDLM_Slave_Diag
Octet 44 45 46 47
Bits 31 – 24 23 – 16 15 – 8 7–0
Data 231 – 224 223 – 216 215 – 28 27 – 2 0
Total measuring range in measuring units
DDLM_Slave_Diag
Octets 48 – 57
Bits 79 – 0
Data ASCII
Serial number
After adding the parameters the encoder will enter data exchange mode
and is thereby commissioned on the BUS.
Note: Please refer to the respective manufacturer for information on the configuration
of other PROFIBUS-DP master interface modules.
PZD number 1 2
Setpoint STW2 G1_STW1
PZD number 1 2 3 4
Actual value ZSW2 G1_ZSW1 G1_XIST1 G1_XIST2
Control word 2 (bit 12-15) is referred to as “master’s sign of life” and the Status word 2
(bit 12-15) as Slave’s sign of life. These signals are mandatory for controlling the clock
synchronization. The G1_XIST1 and G1_XIST2 signals consist of the absolute position
values in binary format. By default G1_XIST1 are left aligned and G1_XIST2 right
aligned, in case of different format the shift factor is presented in parameter P979 (see
chapter 6.2.1). Both G1_XIST1 and G1_XIST2 is affect by changes in the
parameterization and in case of encoder error the error message is displayed in
G1_XIST2.
The Leine & Linde encoder supports preset value and the following sub index
parameters of operating parameters (65001).
Content Coding
Header
Manufacturer specific Security code for parameter write access
I&M Block
MANUFACTURER_ID Manufacturer_Id (284)
ORDER_ID Encoder part number
SERIAL_NUMBER Encoder serial number
HARDWARE_REVISION 0x0000(Not used)
SOFTWARE_REVISION Software revision including software release status e.g.
“V1.3.0”
The parameters for the general encoder functionality are listed below.
The function of parameters, code sequence, class 4 enable, scaling and scaling control
is in analogy to the corresponding parameters in DPV0, for explanation see chapter
4.4.
Note: In order to match the timing requirement during isochronous operation the
encoder only tolerates binary scaling on the single- as well as multiturn
resolution.
The G1_XIST1 preset control bit enables the preset value to affect the position value
presented in G1_XIST1 or not. If the control bit is =1 the preset value will not affect
the position value in G1_XIST1.
Note: This bit only affect G1_XIST1, if preset is set it will, independently of status of
this control bit, affect the position value presented in G1_XIST2.
If the Ext_Diag enable control bit is set to =0 (default value) only the first 6-bytes of
diagnostics message is transmitted. If the bit is set to =1 extended diagnostics will be
available, i.e. the channel related diagnostics is transmitted.
The MasterLifeSign byte is used for enabling programming of the number of allowed
failures of master life sign. When the number is reached error message (0x0F02) will
be sent as diagnostics in the G1_XIST2 signal.
The different time based parameters are defined in the PROFIdrive V3.1 profile
(chapter 6.2.1). For general explanation and understanding see chapter 6.1 in this
manual.
6.6.1 Overview
The encoder profile 3.162 defines support for alarm and warning messages. The Leine
& Linde PROFIBUS encoder supports the following alarm message.
Error type: 22
Definition: Position value error
GSD entries:
Channel_Diag (22) = "Position value error"
Channel_Diag_Help (22) = "The encoder has an internal error and is not
able to provide an accurate position value,
change encoder"
Note: If preset value is negative and an absolute preset is made error message 0xF01
(command not supported) is set.
3. Master Life Sign After synchronization the encoder expects to read Master
Life sign, MLS. The MLS is generated by the master and
presented in STW2, Control word 2 (bit 12-15). The MLS is
counted at each DP-cycle, 1-15 cyclically (0 is not a valid
value).
4. Slave Life Sign After the encoder is synchronized with MLS it acknowledge
by producing Slave Life Sign, SLS. The SLS is presented in
ZSW2, Status word 2 (bit 12-15). In accordance to MLS it
must be counted 1-15 cyclically (0 is not a valid value)
although it is not mandatory that MLS and SLS is equal for
each DP-cycle.
5. Operation mode After detecting correct SLS by the Master, potential error
codes must be acknowledge. This is done by the Master,
clearing bit 15 in the Sensor Control word, G1_STW. The
encoder will acknowledge by resetting the sensor error
code bit (15) in Sensor Status Word, G1_ZSW, and also
clear the error code message presented in G1_XIST2. If this
is done successfully, the encoder is in operating mode fully
synchronized with the DP-cycle.
Choose the “Network Settings” view. For highest performance make sure
that 12Mbps baudrate and DP profile is chosen.
In this view the DP cycle time as well as the time parameters can be set.
If the “Slave Synchronization” button is marked all slaves on the bus will
have the same time parameters. In this mode all slaves on the BUS will
sample data at the same time and the real isochronous mode is
obtained.
Note: Please refer to the respective manufacturer for information on the configuration
of other PROFIBUS-DP master interface modules.
Appendix A History