Hubner U-ONE-Compact UOC40 Instruction sheet

English
Translation of the original configuration manual EPF Published Nov. 2018
ID 74547
Configuration manual
for Profibus-module
PROFIBUS-DP interface
Read the configuration manual prior to assembly,
starting installation and handling!
Keep for future reference
DeutschDeutsch

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
2
UOC40_EPF-Config-manual-en_R1
Manufacturer / publisher
Johannes Hubner
Fabrik elektrischer Maschinen GmbH
Siemensstraße 7
35394 Giessen
Germany
Phone: +49 641 7969 0
Fax: +49 641 73645
E-Mail: info@huebner-giessen.com
www.huebner-giessen.com
The manual has been drawn up with the utmost care and attention. Nevertheless, we cannot
exclude the possibility of errors in form and content. It is strictly forbidden to reproduce this
publication or parts of this publication in any form or by any means without the prior written
permission of
Johannes Hubner Fabrik elektrischer Maschinen GmbH.
Subject to errors and changes due to technical improvements.
Copyright © Johannes Hubner Fabrik elektrischer Maschinen GmbH.
All rights reserved.
Trademarks
PROFIBUS™, PROFINET™ and PROFIsafe™, as well as the relevant logos, are registered
trademarks of PROFIBUS Nutzerorganisation e.V. (PNO), SIMATIC is a registered trademark
of SIEMENS AG. Brand names and product names are trademarks or registered trademarks of
their respective owner. Protected trademarks bearing a ™ or ® symbol are not always depicted
as such in the manual. However, the statutory rights of the respective owners remain
unaffected.
Copyright
This configuration manual, including the illustrations contained therein, is protected by
copyright. Third-party applications of this configuration manual that deviate from the copyright
regulations are strictly forbidden. Reproduction, translation, electronic and photographic
archiving and modification requires the written permission of the manufacturer. Actions to the
contrary make damage compensation mandatory.
Copyright© Johannes Hubner Fabrik elektrischer Maschinen GmbH

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
3
Change reservation
The manual has been drawn up with the utmost care and attention. Nevertheless, we cannot
exclude the possibility of errors in form and content.
All rights, subject to errors and changes due to technical improvements reserved.
Font styles
Italic or bold font styles are used for the title of a document or are used for highlighting.
Courier-New font displays text, which is visible on the screen and software/software menu
selections.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
4
UOC40_EPF-Config-manual-en_R1
Content
1 General Information ........................................................................................................... 6
1.1 Applicability.....................................................................................................................6
2 Basic safety instructions...................................................................................................7
2.1 Explanation of symbols and notes...................................................................................7
2.2 Warranty and liability.......................................................................................................8
2.3 Organizational measures ................................................................................................8
2.4 Personnel selection and qualification; basic obligations ..................................................8
3 Installation and commissioning ........................................................................................9
3.1 User manual ................................................................................................................... 9
3.2 Profibus for the absolute encoder.................................................................................. 10
3.3 Joining the encoder to the Profibus............................................................................... 11
3.4 Configuring the encoder................................................................................................12
3.5 Parameterizing the encoder.......................................................................................... 12
3.6 Parameterization in hex code........................................................................................ 13
3.7 Operating the encoder in the Huebner 2.1 and Huebner 2.2 profiles............................. 14
3.8 Desired measuring units per ….....................................................................................15
3.8.1 Desired measuring units per revolution ................................................................. 15
3.8.2 Desired measuring units per maximum total measuring range .............................. 15
3.8.3 Desired measuring units per physical pulse .......................................................... 16
3.9 Commissioning mode....................................................................................................16
3.10 Limit switches.............................................................................................................. 16
3.11 Velocity/speed output.................................................................................................. 16
4 Data transfer modes for Profibus.................................................................................... 17
4.1 Configuring and parameterizing the encoder................................................................. 17
4.1.1 DDLM_Set_Prm - Mode for Class 1 and Class 2................................................... 17
4.1.1.1 Class 2 functionality (Octet 9.1).......................................................................18
4.1.1.2 Scaling function control (octet 9.3)................................................................... 18
4.1.1.3 Resolution: units per revolution (octet 10 –13)................................................18
4.1.1.4 Total measuring range (octet 14 –17) .............................................................18
4.1.2 DDLM_SET_PRM mode for HUEBNER 2.1 and HUEBNER 2.2........................... 18
4.1.2.1 HUEBNER 2.1 and 2.2 (octet 9.6) ................................................................... 21
4.1.2.2 Measuring units per xxx (octet 10 –13) + required measuring units (octet 26.0
and 26.1).....................................................................................................................21
4.1.2.3 Commissioning mode (octet 26.2)....................................................................21
4.1.2.4 Shorter diagnostics (octet 26.4).......................................................................21
4.1.2.5 Octet 27 –39 active (octet 26.7)......................................................................22
4.1.2.6 Lower / upper software limit switches (octet 26.5 and 26.6) and (octet 27 –34)22
4.1.2.7 Physical measurement pulses (octet 35 –38)..................................................22
4.1.2.8 Singleturn / Multiturn (octet 39.1).....................................................................22
4.1.2.9 Dimensional unit for velocity/speed (octet 39, 5+4)..........................................22
4.2 Commissioning mode.................................................................................................... 22
4.2.1 Accept preset value............................................................................................... 23
4.2.2 Set count direction (code sequence) ..................................................................... 24
4.2.3 Scaling the encoder with the teach-in method....................................................... 25

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
5
4.2.3.1 Start scaling .....................................................................................................25
4.2.3.2 Stop scaling......................................................................................................25
5 Diagnostic messages........................................................................................................26
6 Faults.................................................................................................................................28
6.1 Fault table......................................................................................................................28
6.2 LED display for error and status messages....................................................................29

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
6
UOC40_EPF-Config-manual-en_R1
1 General Information
These configuration-manual contain the following topics:
●Basic safety instructions with declaration of the intended use
●Characteristics
●Parameterization
●Error causes and remedies
This configuration-manual is supplementary to other documentation, such as operating and
assembly instructions, product data sheets, dimension drawings, connection diagrams,
brochures etc.
1.1 Applicability
This configuration manual apply exclusively for the following measuring system series
with PROFIBUS-DP interface.
The products are labelled with affixed nameplates and are components of a system.
The following documentation therefore also applies:
●operator’s operating instructions specific to the system
●the “Operating and Assembly Instructions UOC40 respectively USC42”.
●this configuration-manual.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
7
2 Basic safety instructions
2.1 Explanation of symbols and notes
Warnings are indicated by symbols in these configuration manual. The warnings are introduced
by signal words that express the scope of the hazard.
The warnings must be strictly heeded; you must act prudently to prevent accidents, personal
injury, and property damage.
DANGER!
Means that death or serious injury will occur if the required precautions are not
met.
WARNING!
Means that death or serious injury can occur if the required precautions are not
met.
CAUTION!
Means that minor injuries can occur if the required precautions are not met.
NOTICE!
Indicates a possibly dangerous situation that can result in material damage if it
is not avoided.
NOTES!
Indicates important information or features and application tips for the product
used.
NOTES!
Means that appropriate ESD-protective measures are to be considered
according to EN 61340-5-1 supplementary sheet 1.
NOTES!
Do not use a hammer or similar tool when installing the device due to the risk of
damage occurring to the bearings or coupling!

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
8
UOC40_EPF-Config-manual-en_R1
2.2 Warranty and liability
In principle the "General Terms and Conditions" of Johannes Hubner - Fabrik elektrischer
Maschinen GmbH apply. These are available to the operator with the Order Confirmation or
when the contract is concluded at the latest. Warranty and liability claims in the case of
personal injury or damage to property are excluded if they result from one or more of the
following causes:
●Non-observance of these operating and assembly instructions
●Non-intended use of the measuring system
●Improper assembly, installation, start-up and programming of the measuring system
●Work carried out incorrectly on the measuring system
●Operation of the measuring system with technical defects
●Mechanical or electrical modifications to the measuring systems undertaken autonomously
●Repairs carried out autonomously
●Third party interference and Acts of God
●Deployment of non-qualified personnel
●Opening of the measuring system or conversions on it
2.3 Organizational measures
●The operating and assembly instructions must always be kept ready-to-hand at the place of
use of the measuring system.
●In addition to the operating and assembly instructions, generally valid legal and other binding
regulations on accident prevention and environmental protection must be observed and
communicated.
●The respective applicable national, local and system-specific provisions and requirements
must be observed and communicated.
●The operator is obliged to inform personnel on special operating features and requirements.
●Prior to commencing work, personnel working with the measuring system must have read
and understood the chapter 2 "Basic safety instructions".
●The nameplate and any prohibition or instruction symbols applied on the measuring system
must always be maintained in a legible state.
●Do not undertake any mechanical or electrical modifications to the measuring system, except
for those expressly described in this operating and assembly instructions.
●Repairs may only be undertaken by the manufacturer or a center or person authorized by the
manufacturer.
2.4 Personnel selection and qualification; basic obligations
●All work on the measuring system must only be carried out by qualified personnel.
Qualified personnel includes persons, who, through their training, experience and instruction,
as well as their knowledge of the relevant standards, provisions, accident prevention
regulations and operating conditions, have been authorized by the persons responsible for
the system to carry out the required work and are able to recognize and avoid potential
hazards. They are capable of identifying and avoiding potential hazards.
●The definition of “qualified personnel” also includes an understanding of the standards VDE
0105-100 and IEC 364 (source: e.g. Beuth Verlag GmbH, VDE-Verlag GmbH).
●The responsibility for assembly, installation, commissioning and operation must be clearly
defined. The obligation exists to provide supervision for trainee personnel.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
9
3 Installation and commissioning
3.1 User manual
The module can be used as a multiturn or singleturn absolute encoder. It can be configured to
the profiles CLASS 1 (Huebner 1.0), with parameterization of the count direction, or CLASS 2
(Huebner 2.0), with the additional setting of the resolution in units/turn and the total measuring
range.
The profiles Huebner 2.1 and Huebner 2.2 are also available. These enable the following
additional functions:
- Expanded scaling function
- Setting of code sequence (count direction), preset and automatic scaling (teach-in)
during online operation in commissioning mode.
- Limit switch function
- Velocity/speed output
These functions shift a portion of the computing effort from the Profibus® master to the
absolute encoder, thus reducing the load on the system as a whole. However, if these extra
functions are not needed, then it makes sense to keep the parameterization simple, by using a
CLASS 1 or CLASS 2 profile.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
10
UOC40_EPF-Config-manual-en_R1
3.2 Profibus for the absolute encoder
The module behaves like a multiturn encoder that has been designed to operate with Profibus®.
It can be configured and parameterized to the following profiles, as a multiturn or singleturn
encoder:
Absolute encoder profile
Parameterization options
HUEBNER 1.0 Single / Multiturn
(CLASS 1)
Count direction (code sequence)
HUEBNER 2.0 Single / Multiturn
(CLASS 2)
Count direction (code sequence)
Switch HUEBNER 2.0 functions on/off
Switch scaling functions on/off
Resolution in units/revolution
Total measuring range
HUEBNER 2.1 Single / Multiturn
As for HUEBNER 2.0, additionally with:
Required no. of measuring units,
Required resolution in units per
- revolution
- max. total measuring range
- physical pulses
Switch commissioning mode on/off
Use preset value in online operation
Change count direction (code sequence) in online op-
eration
Determine gearing factor (scaling)
Switch lower limit switch on/off
Lower limit switch (position)
Switch upper limit switch on/off
Upper limit switch (position)
HUEBNER 2:2 Single / Multiturn
As for HUEBNER 2.1, with additional velocity/speed
output
Note:
The encoder can be operated in HUEBNER 1.0, HUEBNER 2.0, HUEBNER 2.1 or HUEBNER
2.2, regardless of whether a CLASS 1 or CLASS 2 master has been selected.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
11
3.3 Joining the encoder to the Profibus
After the encoder has been installed and the electrical connections have been made, it is joined
to the Profibussystem. The following is an example, using the COM PROFIBUS V 5.0 installation
software with an IM308C Profibus-DP master.
First of all, the manufacturer-specific bitmap files (*.bmp, *.dib) are copied to the bitmaps direc-
tory, and the GSD file is copied to the GSD directory of the COM PROFIBUS software. Next,
start the COM PROFIBUS installation software. In the FILE menu, create a new configuration
file in the menu item NEW, or use the menu item OPEN to call up an existing configuration file.
The GSD file is now read in, using the menu item READ GSD FILES.
In the selection list, under DP Master, select the type IM308C, and under DP Slave / Encoder,
select the HUEBNER encoder AMP1212, and place them in the bus graphic in the right window
with a double click.
By selecting the menu item CONFIGURE / DP SLAVE CONFIGURE, or by clicking with the
mouse pointer on the encoder icon, you can access the Slave properties window. The bus
address of the encoder must be entered here, to match the setting of the address selector
switches in the terminal box of the encoder.
Then continue with the Configure menu.
Slave
Master

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
12
UOC40_EPF-Config-manual-en_R1
3.4 Configuring the encoder
Now select the profile for the encoder operation. The input and output address are then
assigned, and the parameterization can be carried out. This function can be called up by the
PARAMETERS button in the CONFIGURE window, and provides a clear and simple way of
setting the parameters.
Parameterization through other windows has to be performed in hexadecimal format, an
operation which demands precise knowledge of the significance of the individual bits and
bytes.
3.5 Parameterizing the encoder
In this example, the PARAMETERIZE window shows the options for setting the parameters for
an absolute encoder that has been configured for HUEBNER 2.0.
Note:
If Class 2 functionality is switched off, then the encoder operates in the HUEBNER 1.0 mode.
The only option available is to change the count direction (code sequence). The resolution in
units per revolution can have any value from 1 to 4096, and this determines the size of the unit.
The total measuring range defines the measurement path length as the number of revolutions
with the given resolution (units per revolution) until the zero position is reached again.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
13
NOTE!
Total measuring range = units per revolution x number of revolutions
The number of revolutions must have a value 2n, where n can be from 0 to 12
If this is not taken into account, the encoder will detect a parameter error. This is indicated on
the cover of the terminal box. The red LED lights continuously, while the green one blinks.
NOTE!
To activate the parameterization of Measuring units per revolution, Class 2
functionality and the scaling function must be switched on. The preset value
then has to be reset in the normal operating mode, since it is referred to the
scaled value.
3.6 Parameterization in hex code
It is also possible to carry out the parameterization in the Hex parameter assignment window.
However, this is an awkward operation, requiring precise knowledge of the functions of the
individual bits and bytes.
octet 9

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
14
UOC40_EPF-Config-manual-en_R1
3.7 Operating the encoder in the Huebner 2.1 and Huebner 2.2 profiles
Compared with the standard profiles, these two profiles offer several additional functions which
can be parameterized through COM Profibus®, as is explained below.
The SCALING FUNCTION must be activated as a precondition for using these additional
functions.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
15
3.8 Desired measuring units per …
Compared with the HUEBNER 2.0 (CLASS 2) profile, three different scaling options are availa-
ble.
Required resolution: units per:
-revolution
-max. total measuring range
-physical pulse
3.8.1 Desired measuring units per revolution
Here you can define the number of units that the encoder produces per revolution. In addition,
the total possible path length for measurement, and thus the number of revolutions, is defined
in the fields for the total measuring range.
Example:
The required value is 8 units per revolution. The total measuring range should cover 8
revolutions, or repeat after 8 revolutions. This requires
8 x 8 = 64
units. So 8 units must be entered for DESIRED MEASURING UNITS, and 64 units for TOTAL
MEASURING RANGE.
CAUTION!
The number of revolutions must have a value of 2n.
If this is not observed ambiguous position values will occur, since the transition
from the maximum encoder position to the 0 position value will happen at various
encoder positions.
3.8.2 Desired measuring units per maximum total measuring range
For this type of scaling, the maximum possible measuring range of the encoder is divided into a
definite number of units. This number is then entered in the fields for DESIRED MEASURING
UNITS per.
Example:
The entire measuring range of the encoder is to be divided into 16384 units.
16384 / 4096 = 4 units per revolution
The number of units that are required must be smaller than the number for the total measuring
range.
This type of scaling is also used in commissioning mode, for automatic scaling (teach-in).

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
16
UOC40_EPF-Config-manual-en_R1
3.8.3 Desired measuring units per physical pulse
This setting is always referred to the division of the code disk into 4096 pulse intervals. The
number that is entered in the entry fields for MEASURING UNITS is the number of parts into
which the value entered for PHYSICAL PULSES is to be divided.
Example:
Physical measurement pulses = 2048, required number of measuring units = 64
2048 / 64 =32
So the required measurement unit has a length of 32 physical intervals.
CAUTION!
This value must divide into the total measuring range 2ntimes. If this is not
observed, ambiguous position values will occur, since the transition from the
maximum encoder position to the zero position (0) will happen at various
encoder positions.
3.9 Commissioning mode
If this mode is activated, then the following functions are available in online operation:
changing the count direction (code sequence)
setting the preset value
automatic scaling (teach-in)
These values are set from the Profibus master, by manipulating the status bit in the
DDLM_DATA_EXCHANGE mode. A detailed description is included in a later section.
3.10 Limit switches
Two software limit switches are available, which can be activated through the fields UPPER
LIMIT SWITCH and LOWER LIMIT SWITCH. The required positions for the limit switches are
referred to the total measuring range that has been selected. They must not lie outside this
range, and are entered in the fields UPPER LIMIT SWITCH (HIGH/LOW) and LOWER LIMIT
SWITCH (HIGH/LOW).
As long as the encoder is positioned between the two switch positions, the corresponding
status bit (bit 27) is set to LOW. If the position goes outside the limits, i.e. above the upper
position or below the lower position, the bit is set to HIGH.
3.11 Velocity/speed output
This function can only be used with the HUEBNER 2.2 encoder profile. The following options
are available for the output:
units per 1000 milliseconds
units per 100 milliseconds
units per 10 milliseconds
revolutions per minute

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
17
4 Data transfer modes for Profibus
Three data transfer modes are needed for operating the encoder on a Profibus®:
When the system is started up, the data that are required for configuration and
parameterization are transferred in the DDLM_SET_PRM mode from the master to the
encoder (attached as a slave). 16 to 39 bytes (octets) are necessary for this operation,
depending on the encoder profile.
In the DDLM_Data_Exchange mode, the master requests data from the encoder
outputs. If the encoder is configured for Huebner 2.1 or Hübner 2.2, then some
parameters can be altered in online operation.
In the DDLM_Slave_Diag mode, the master requests diagnostic data from the encoder.
Normally, the configuration and parameterization in the DDLM_Set_Prm mode when the
system is started up, and the subsequent operation in the DDLM_DATA_EXCHANGE mode
are performed automatically.
The settings for the necessary functions are defined beforehand in the selection menus in the
windows of the Profibus system ( COMProfibus).
However, in some cases it is necessary to know the relevant commands, so that parameters
can also be altered manually.
4.1 Configuring and parameterizing the encoder
The following shows which bits can be set in the DDLM_SET_PRM mode. Octets 1-8 contain
Profibus-specific data, and should not be altered.
4.1.1 DDLM_Set_Prm - Mode for Class 1 and Class 2
In Class 1 operation, only the count direction (code sequence) bit can be altered.
Octet
Parameter
Bit –No.
Count direction (code se-
quence)
0
right = 0, left = 1
Class 2 functionality
1
off = 0, on = 1
Commissioning diagnostics
2
not used for AMP1212
Scaling function
3
off = 0, on = 1
9
Reserved
4
---
Reserved
5
---
optional for Hübner 2.1 and
2.2
6
not for Class 1 and Class 2
Reserved
7
10 - 13
Resolution: units per revolu-
tion
231 - 20
max. 4096
14 - 17
Total measuring range
231 - 20
max. 4096 x 4096

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
18
UOC40_EPF-Config-manual-en_R1
4.1.1.1 Class 2 functionality (Octet 9.1)
This bit can be set to 0, to switch over to Class1 operation.
4.1.1.2 Scaling function control (octet 9.3)
If this bit is cleared, the encoder has a resolution of 4096 units per revolution, and a total meas-
uring range of 4096 x 4096 units (corresponding to 4096 revolutions). If bit 3 = 1, then it is
possible to make a scaling of the units per revolution and the total measuring range.
4.1.1.3 Resolution: units per revolution (octet 10 –13)
This value must not be larger than 4096, otherwise the output code will be ambiguous.
4.1.1.4 Total measuring range (octet 14 –17)
The value that is set here must be an exact multiple of the resolution (in units per revolution),
whereby the multiplying factor is the number of revolutions, and can only have a value 2n
(where 1 < n < 12).
CAUTION!
Total measuring range = units per revolution x number of revolutions
and number of revolutions = 2n
If any other value is used for the number of revolutions, then jumps will occur at the transition
from the maximum encoder position to position 0 , resulting in ambiguous position data.
4.1.2 DDLM_SET_PRM mode for HUEBNER 2.1 and HUEBNER 2.2
The user profiles HUEBNER 2.1 and HUEBNER 2.2 are an extensions of the CLASS 2 profile.
They provide additional functions that can be applied by the user. Unused functions can be
switched off. This makes it possible to use online parameterization in the
DDLM_DATA_EXCHANGE mode to set the code sequence (count direction), the preset value,
and to determine the gearing factor. Furthermore, HUEBNER 2.2 allows the output of a
velocity/speed value.

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
UOC40_EPF-Config-manual-en_R1
19
Bits and bytes for parameterization of HÜBNER 2.1 and HÜBNER 2.2
Octet
Parameter
Bit –Nr.
Count direction (code se-
quence)
0
right = 0, left = 1
Class 2 functionality
1
off = 0, on = 1
Commissioning diagnostics
2
---
Scaling function control
3
off = 0, on = 1
9
Reserved
4
---
Reserved
5
---
HUEBNER 2.1 and 2.2
6
off = 0, on = 1
Reserved
7
10-13
Units per xxx
231 - 20
see Octet 26 / bit1+0
14-17
Total measuring range
18-25
Reserved for encoder profile
Measuring units
1 + 0
00H per revolution
01H per total measuring
range
10H physical pulse intervals
Commissioning mode
2
off = 0, on = 1
Shorter diagnostics
3
off = 0, on = 1
26
Reserved
4
---
Lower limit switch active
5
off = 0, on = 1
Upper limit switch active
6
off = 0, on = 1
Octet 27 –39 active
7
off = 0, on = 1
27-30
Lower limit switch
231 - 20
31-34
Upper limit switch
231 - 20
35-38
Physical pulses
231 - 20
Reserved
0
---

U-ONE®-Compact UOC40
Configuration-manual PROFIBUS-DP - module
20
UOC40_EPF-Config-manual-en_R1
Singleturn/Multiturn
1
single-turn = 0, multi-turn = 1
Reserved
2
---
39
Reserved
3
---
Velocity/speed dimension
unit
5 + 4
00H units/second
01H units/100 msec
01H units/10 msec
11H rpm
Reserved
6
---
Reserved
7
---
Other manuals for U-ONE-Compact UOC40
1
Table of contents
Other Hubner Control Unit manuals