Baumer EAx PROFINET MA EN
Baumer EAx PROFINET MA EN
Baumer EAx PROFINET MA EN
05.18· 174.02.072/5
Subject to modification in technic and design.
www.baumer.com Errors and omissions excepted.
Contents Page
1. Introduction 5
1.1. Scope of delivery 5
1.2. Product classification 5
2. Safety and operating instructions 6
3. Commissioning 7
3.1. Mechanical mounting 7
3.2. Electrical connection 7
3.2.1. Cabling 7
3.2.2. Connecting 8
3.2.3. Push Button for Preset / Reset 9
4. Engineering (Siemens® Step7®) 10
4.1. Importing the GSDML file 10
4.2. Encoder implementation into the project 12
4.3. Assigning the device name 12
4.3.1. Setting the Device Name in the Project 12
4.3.2. Automatic Name Assignment 12
4.3.3. User-operated name assignment 13
4.4. Realtime Class Selection 15
4.4.1. Domain Management 15
4.4.2. Realtime (RT) Class 1 16
4.4.2.1. Address-Assignment within the Process Image 16
4.4.2.2. Synchronization Setup 17
4.4.3. Isochronous Realtime (IRT) Class 3 18
4.4.3.1. Address Assignment within the Process Image 19
4.4.3.2. Synchronization Setup 19
4.4.3.3. IO system Assignment to Synchronous Cycle Interrupts 21
4.5. Topology Planning 22
4.6. Parameterization 23
4.6.1. Encoder Class Selection 23
4.6.2. Compatibility Mode 23
4.6.3. Measuring Units per Revolution 24
4.6.4. Total measuring range 24
4.6.5. Code Sequence 24
4.6.6. Speed Measuring Unit 24
4.6.7. Speed Update Period 24
4.6.8. Speed Filter Depth 24
4.6.9. Scaling Functionality 24
4.6.10. Preset affects G1_XIST1 24
4.6.11. Alarm Channel Control 24
4.6.12. Maximum Master Sign-of-Life Failures 25
4.6.13. Gear Factor Activation 25
4.6.14. Gear Factor Numerator 26
4.6.15. Gear Factor Denominator 26
4.6.16. Important Note for Multiturn Encoder Operation 26
4.7. Implementation of system functions for alarm handling 28
4.7.1. I/O Point Fault OB 28
4.7.2. Loss Of Rack Fault - OB 29
4.8. Compilation and load of hardware and software configuration 29
4.9. Restore Factory Defaults 29
4.9.1. Factory Setup using the Engineering Tool 29
4.9.2. Parameter Reset using the Push Button 29
5. Engineering (Siemens® TIA-Portal®) 30
5.1. Importing the GSDML file 30
5.2. Inserting the Encoder into the network 32
5.3. Device name allocation 35
At any time we should be pleased receiving your comments and proposals for further improvement of the
present manual.
Created by:
Baumer IVO GmbH & Co. KG
Villingen-Schwenningen, Germany
Registered trademarks
® ® ® ® ® ® ®
SIEMENS , SIMATIC , Step7 , S7 , TIA and „TIA-Portal “ are registered trademarks of Siemens AG.
PROFINET, the PROFINET Logo and PROFIdrive are registered trademarks of the PROFIBUS user
organization respectively of PROFIBUS International (PI).These names mentioned in the present manual
and other names that may be registered trademarks are not marked correspondingly. Having omitted the
respective marking does not necessarily imply that the names are not registered trademarks or that there are
no existing patents and protected patented designs.
1. Introduction
1.1. Scope of delivery
Please check the delivery upon completeness prior to commissioning.
Depending on encoder configuration and part number the delivery may include:
PROFINET encoder
GSDML file and manual (also available under www.baumer.com)
Placeholders marked “x” in the product reference number will not influence the selection.
GSDML-File
The GSDML file is the same for all products mentioned above.
Please see ”4.1 Importing the GSDML file”.
Personnel qualification
Installation and assembly of this product may be performed only by a person qualified in electronics and
precision mechanics.
Maintenance
The encoder is maintenance-free and must not be opened up nor mechanically or electronically modified.
Opening up the encoder can lead to injury.
Disposal
The encoder contains electronic components. At its disposal, local environmental guidelines must be
followed.
Mounting
Solid shaft: Do not connect encoder shaft and drive shaft rigidly. Connect drive and encoder shaft with a
suitable coupling.
Hollow shaft: Open clamping ring completely before mounting the encoder. Foreign objects must be kept
at a sufficient distance from the stator coupling. The stator coupling is not allowed to have any contact to
the encoder or the machine except at the mounting points.
Electrical commissioning
Do not proceed any electrical modifications at the encoder.
Do not proceed any wiring work while encoder is live.
Do not remove or plug on connector whilst under power supply.
Ensure that the entire system is installed in line with EMC/EMI requirements. Operating environment and
wiring have an impact on the electromagnetic compatibility of the encoder. Install encoder and supply
cables separately or far away from sources with high emitted interference (frequency converters,
contactors, etc.).
When working with consumers with high emitted interference provide separate encoder supply voltage.
Completely shield encoder housing and connecting cables.
Connect encoder to protective earth (PE) using shielded cables. The braided shield must be connected to
the cable gland or connector. Ideally, aim at dual connection to protective earth (PE), i.e. housing by
mechanical assembly and cable shield by the downstream devices.
Supplementary information
The present manual is intended as a supplement to already existing documentation (e.g. catalogues, data
sheets or mounting instructions).
Bus error
P2 Link /
BF
Activity
Port 2
Power
Collective
error SF
Port 1 P1 Link /
Activity
There are no user servicable parts inside the encoder. In contrast to Profibus, there is no need for setting
node ID or terminating resistor. All settings required for encoder access are made in the engineering tool
® ® ®
(e.g. Siemens Step7 or TIA Portal).
Pin assignment
Supply voltage PROFINET (Bus line)
Depending on the current operating state, the push button performs two different actions:
With PROFINET not being connected, the encoder performs a “Parameter Reset“.
With PROFINET being connected, the encoder performs a Preset.
Note:
After having used the push button, the screw cap must be screwed in again and
tightened with a torque of 1.5 Nm.
For functionality details see 6.6.3 „Preset using the Push Button“
or 4.9 „Restore Factory Defaults“, respectively.
In the following dialogue please select the directory where to find the GSDML file which shall be installed.
®
It is useful (but not necessary) to work with the program directory „…\Siemens\Step7 \S7Tmp“.
The file is displayed and can be selected. „Close” will finalize the operation. The same directory also includes
the corresponding bitmap file providing a small encoder image in the engineering tool. This file is
automatically installed in parallel.
In the next step, select the encoder module, for example "EAL580 MT encoder ST13 MT16 optical" and drag
from hardware catalog for drop in subslot 1.2 (bottom left) in the hardware window.
In the next step, select and drag the desired submodule (I/O telegram, e.g. „860“) for drop in subslot 1.2.
The MAC address ensures unique device recognition. Button „flash“ will start the identified user‘s SF-LED
flashing for clear identification.
A double-click on the desired line (here: encoder “encoder01”) opens the window “Edit Ethernet Node”.
Enter the new name required for configuration in line „Device name“. Click “Assign name” to execute. After
this, the encoder will immediately be recognized with this name in the PROFINET Network.
Enter the Domain-Management by right-clicking the PROFINET bus rail in the hardware window.
In the following screen „Domain Management“ enter „Sync domain” name or keep the default.
For IRT Class 3 only, enter the send clock here.
For IRT Class 1, open the property window of the PLC‘s PROFINET port (e.g. X2), see chapter 5.4.2.2.
The send clock will be applied by the PLC to any device within this sync domain, which is decisive in overall
system performance.
Topology planning is not mandatory, but where implemented (e.g. for retrieving feature „Support device
replacement without exchangeable medium”), make sure ports P1/P2 are correctly assigned as planned.
Enter the start address of the respective address range or accept the system’s proposal. Identical or
overlapping addresses for input and output are possible.
The process image (PI) will be that of the cyclic main program OB1 (not synchronized).
The „Synchronization“-Tab shows the assignment to a certain sync domain. Realtime (RT) Class 1 Mode is
„not synchronized“. Set the synchronization role accordingly.
Go to „RT class“ to select „RT (Class 1)“ or „IRT“. „IRT Option“ is pre-assigned to „high performance“ (IRT
Class 3) which requires corresponding PLC configuration.
Properties Tab „IO Cycle“, area „Update Time“ offers settings for the requested Update Time. In relation to
the send clock a reduction ratio „Factor“ applies. In case of a reduction ratio the encoder will not update and
send its position value each send clock cycle, but only every 2nd, 4th or 8th cycle. Not every application
needs being updated at the high send clock rate. At a high bus load this reduction may save bandwidth.
Applicable factors may vary with the real time class and send clock and are offered in the drop down area.
Topology planning is mandatory. Make sure ports P1/P2 are correctly assigned as planned.
Enter the start address of the respective address range or accept the system’s proposal. Identical or
overlapping addresses for input and output are possible. Make sure that the address ranges are located
inside the cyclically updated part process image “PIP” of the isochronous system task (e.g. OB61)
The „Synchronization“-Tab shows the assignment to a certain sync domain. Set the synchronization role to
“Sync Slave”.
In the tree menu under Configuration/RT Class/IRT, option, „IRT“ is pre-assigned to „High performance“.
The Graphic View clearly shows port assignment of all bus components. The assignment made here must fit
to the real conditions. In the example below, controller port 1 is linked to port 1 of the encoder. The
programming tool (PG/PC) is connected to port 2 of the controller.
A double click on the collections allows to input the respective cable length. “Offline/Online comparison”
allows measuring the real values in order to correct data if required.
In encoder Class 3 some parameters are permanently on default, regardless of the user configuration:
scaling is not enabled
the number of steps per revolution is fixed to the maximum of the respective basic encoder
total measuring range is fixed to the maximum of the respective basic encoder
rotation sense is fixed to cw
preset functionality not supported
A change in singleturn resolution will clear internal position offsets (see also chapter “6.6 Preset function”),
so the current position reference is lost.
Admissible values range from 2 to the product of the programmed resolution multiplied by the encoder’s
maximum number of revolutions.
A change in “Total measuring Range” clears the internal position offsets (if any) so that the current position
reference will be lost. See also “6.6 Preset function”.
This setting will be taken into account in Encoder Class 4 only (see chapter 4.6.1).
This setting will be taken into account in Encoder Class 4 only (see chapter 4.6.1).
Parameter setting „Scaling Functionality off“ will always consider the maximum „Measuring Units per
Revolution“ and maximum „Total Measuring Range“ of the basic encoder.
Gear Factor functionality does not take the parameter „Measuring Units per Revolution“ into account.
Instead, the „Measuring Units per Revolution“ result from the parameters „Total Measuring Range“ and the
Gear Factor, consisting of Numerator and Denominator. The resulting number of „Measuring Units per
Revolution“ is not necessarily an integer value, but may be a rational number (includes a fractional portion)
as well.
𝐷𝑒𝑛𝑜𝑚𝑖𝑛𝑎𝑡𝑜𝑟
Measuring Units per Revolution = Total Measuring Range ∗
Numerator
Example:
A Reduction Gear of 7.5 : 1 shall be used (see figure above).
One turn of the secondary side of the gearbox shall resolve to 10000 Steps.
The encoder turns 7.5 revolutions for one revolution on the secondary gearbox side. The resulting
„Measuring Units per Revolution“ for the encoder are 10000 / 7.5 = 1333,3333.
The „Endless Operation“ is automatically active also when using Gear Factor functionality, if necessary.
Note:
An activation change in “Gear Factor” (On / Off) clears internal position offsets (if any) so that the current
position reference will be lost. See also “6.6 Preset function”.
Note:
The Gear Factor functionality is also known as „Numerator/Denominator Scaling“ or „Round Axis Function“.
This parameter is only taken into account when using gear factor functionality.
Note:
For the „Numerator“ the following restrictions apply:
When using a reduction gear (n2 < n1) the divider is „1“. However, with a non-integral gear ratio it may be
necessary to expand the fraction (see example above) so that the divider is >1.
When using a step-up gear, (n2 > n1) the Denominator is larger than the Numerator.
Thus, there are no special requirements for the encoder parameters “total measuring range” and “measuring
units per revolution” to stand in a certain ratio.
With endless operation active, the encoder shaft must not rotate when the encoder is unpowered. In
those cases where powerless motion cannot be avoided, the encoder has to be referenced (presetted) after
every power-up. With Endless Operation inactive, the encoder shaft may rotate unlimitedly when encoder is
not powered.
The following diagnostic alarms indicate parameter errors. Parameterization errors are available already at
encoder bootup However, the engineering tool will prevent most configuration errors.
(*)
Valid combinations of Numerator, Denominator and Total Measuring Range result from the formula
noted below. The „Measuring units per revolution“ must not exceed the maximum allowable values,
depending on the type of encoder.
𝐷𝑒𝑛𝑜𝑚𝑖𝑛𝑎𝑡𝑜𝑟
Measuring Units per Revolution = Total Measuring Range ∗
Numerator
EAL580 MT Encoder ST13 MT16, optical: Measuring units per Revolution <= 65536
EAL580 MT Encoder ST18 MT13, optical Measuring units per Revolution <= 524288
EAM580 MT Encoder ST14 MT16, magnetic Measuring units per Revolution <= 65536
The entire customer-specific configuration including device name and IP address will be deleted.
By clearing internal offsets the position reference will be lost as well.
Only MAC-ID and serial number are retained.
Note:
The device name being deleted may make the PLC immediately try to allocate the projected name again. If
this is unwanted, automated name allocation has to be disabled in project „Device exchange without
removable media“ prior to executing the Factory Setup.
®
GSDML file import is in the TIA-Portal in the project view („Options – Manage general station description
files GSD“).
In the following dialogue please select the directory where to find the GSDML file which shall be installed.
It is useful (but not necessary) to work with the program directory„…Dokumente\Eigene
Dokumente\Automatisierung\<Projektname>\AdditionalFiles\GSD“.
The file is displayed and can be selected. Select the file, and „Install” will finalize the operation. The same
directory also includes the corresponding bitmap file providing a small encoder image in the engineering tool.
This bitmap file is automatically installed in parallel.
The encoder appears in the hardware catalog under „Other field devices “ - „PROFINET IO“ – „Encoders“ –
Baumer - „Baumer PROFINET Encoder“. Head module “EAx PROFINET Drehgeber“, Module „EAx580…“
Submodules (telegrams) are displayed separately.
PLC is displayed in the topology view. The hardware catalog displays the encoder head module (not yet
showing modules and submodules).
Use the mouse to drag head module „EAx580 encoder“ from the hardware catalog for drop in PLC (framed
slot). Next, use the mouse to draw the required connections between PLC and encoder ports.
Clicking „not assigned“ provides the available controller connections. After having selected the connection (in
the „PLC_1.PROFINET-interface_1“) the encoder assigns to the PLC.
Change to „device view“ and select encoder „EAx580“ provided top left.
The hardware catalog presents the already projected top module and the modules available (different
encoder types).
Select module in the hardware catalog (your encoder, e.g. "EAL580 MT encoder ST13 MT16, optical") and
drag and drop in slot 1 below „Interface“.
Select the requested submodule (telegram) and drag from hardware catalog to drop in subslot 1.2
(e.g. telegram 860).
Automated name allocation is executed as soon as the encoder logs on the network where projected.
The context menu below the encoder icon (right mouse key) displays option „allocate device name“.
Alternatively, user-operated name allocation is accessed in menu item „Online & Diagnose“.
Enter selected synchronization clock in „Sync-Domain_1“. The selected clock will be applied by PLC and
each device within this Sync Domain.
Select the PLC’s synchronization role as „Sync-Master“ (IRT) or not sychronised (RT) under „IO devices“ ,
together with the encoder’s realtime class.
Topology planning is not mandatory, but where implemented (e.g. for retrieving feature „support device
replacement without exchangeable medium“) make sure ports P1/P2 are correctly assigned as projected.
Mark the projected telegram in the encoder’s device view. Click on module window „I/O addresses“ to open
the input field.
Enter the start address of the respective address range or accept the system’s proposal. Identical or
overlapping addresses for input and output are allowed. Make sure addresses are within the cyclic update
range of the process image.
The process image will be that of the cyclic main program OB1 (not synchronized). “Automated Update“ as
shown in the screenshot below means system-selected settings, but also manual input is allowed.
Device view -> Interface allows you select the update time, i.e. whether the encoder position value shall
update with every clock pulse transmitted. Not every application requires updating at such high clock rate.
Under certain circumstances, update with every 2nd, 4th or 8th clock pulse transmitted will suffice and save
bandwidth at high bus load. Which reduction factor to choose depends on the selected real time class and
transmit clock pulse and is seen in the options provided in the drop-down menu.
Topology planning is mandatory. Make sure encoder ports P1/P2 are correctly assigned as projected.
Mark the projected telegram in the encoder’s device view. Click on module window „I/O addresses“ to open
the input field.
Enter the start address of the respective address range or accept the system’s proposal. Identical or
overlapping addresses for input and output are possible. Make sure addresses are within the cyclic update
range of the process image.
Here, process image partition (PIP/TPA) is the clock synchronous system function „Synchronous Cycle“
which first needs to be implemented into the project before in order to being accessible for selection. (Project
navigation -> PLC -> program modules).
Setting the update time follows the proceedings in chapter “5.4.2.2 Selecting the update time”.
Here, process image partition (PIP/TPA) is the clock synchronous system function „MC-Servo“ (OB91) which
first needs to be implemented into the project before in order to being accessible for selection. (Project
navigation -> PLC -> program modules). Program module properties must be assigned to clock-synchronous
I/O system and also the time-relevant properties are selected here.
Add technology object „external encoder“ to the project. The parametrizations in the following screenshots
are only examples and may have to be adapted application-specific.
Window „data exchange“ adopts telegram type, singleturn resolution, total number of revolutions as well as
the telegram’s bit number in both position values.
Enter process image partition (PIP) of clock-synchronous system function „MC-Servo“ in the encoder
property window.
The screenshot below (topology view / topology overview) shows a project without topology planning. PLC
(left) and encoder are not interconnected. The table at right does not include any partner data.
To execute topology planning, use the mouse to drag a connection between the selected ports and bus
users.
The table now contains partner interface information. The values can be modified as required.
For Encoder Parameter details, see chapter 4.6.1 to 4.6.16. Informations given there do fully apply to the
®
Encoder settings in the TIA-Portal .
Note 1: Function „Factory Setup“ runs via the IP protocol, i.e. encoder must provide a valid IP address which
®
is known to the TIA-Portal . In the event of both MAC-ID and IP address being greyed out or zero as in the
above screenshot, go to „connect online“ in the main menu of the project view.
Note 2: The device name being deleted may make the PLC immediately try to allocate the projected name
again. If this is unwanted, automated name allocation should be disabled in project „device replacement
without exchangeable medium“.
Note:
Prior to using the push button, it is strictly recommended to execute a potential equalization between
operator and encoder (touching the encoder housing), in order to eliminate the danger of damaging the
encoder by electrostatic discharge (ESD).
In order to perform a parameter Reset, the push button must be pressed within 60 seconds after power-on
for a duration of at least three seconds and longest five seconds. A feedback is given by the „SF“ LED being
lit green for ten seconds after a successful Reset operation.
A subsequent power cycle must be performed for the changes to take effect.
Note:
The parameter Reset using the push button is not fully congruent with „Factory Setup“ conform to
PROFINET specification via the DCP-Protocol (see 5.9.1 „Factory Setup using the Engineering Tool“).
L/A 1 SF BF Status
L/A 2
off off red Encoder supply present but no PROFINET connection.
green/yellow off red flashing Encoder supply and network connection present, but
flickering encoder not active on the bus.
green/yellow off off Encoder is logged on in the network, active data exchange
flickering with PLC.
green/yellow red off Encoder is logged on in the network, active data exchange
flickering with controller, but error has occurred.
green/yellow red Encoder is logged on in the network, active data exchange
flickering flashing with controller.
SF BF
BF LED is red after encoder power on and red flashing for the time communication with the PROFINET PLC
is being established. During connection establishment the BF LED is flashing red.
Once encoder configuration and parameterization are completed (in an automated process), cyclic data
transmission starts. BF LED is off while Link/Activity LEDs are flickering in green/yellow. Now cyclic position
data transmission to PLC is present.
In the event of an „position jump“ and at speeds exceeding 6400 rpm SF LED is red continuous. The LED
remains on red for the time the error is present.
A preset value outside the configured total measuring range which is received by the encoder will set SF
LED on red continuous until receiving a valid preset value.
Invalid master parameterization (incorrect engineering parameters) results in SF LED remaining on red. The
GSDML file prevents many parameterization errors but cannot fully eliminate them.
Bit 31: Preset-Bit (preset will be triggered when value is changed from 0 to 1)
31 0
Position
Encoder position (right aligned)
31 0
Position
Encoder position (right aligned)
15 0
Drehzahl
Speed as a signed 16 bit 2’s complement value
31 0
Position
Encoder position (right aligned)
31 0
Position
Encoder position (right aligned)
31 0
Speed
Speed as a signed 32 bit 2’s complement value
Output data
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STW2
Master Sign-of-Life 0 CP 0 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
G1_STW1
SEA PS TAR PR REL 0 0 0 0 0 0 0 0 0 0 0
Input data
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ZSW2
Slave Life sign 0 0 CR 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
G1_ZSW1
SE PSA TAA PA EAIP 0 0 0 0 0 0 0 0 0 0 0
31 0
G1_XIST1
Encoder position (right aligned) with or w/o preset offset
31 0
G1_XIST2
Encoder position (right aligned) or error message
Input data
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ZSW2
Slave Life sign 0 0 CR 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
G1_ZSW1
SE PSA TAA PA EAIP 0 0 0 0 0 0 0 0 0 0 0
31 0
G1_XIST1
Encoder position (right aligned) with or w/o preset offset
31 0
G1_XIST2
Encoder position (right aligned) or error message
15 0
NIST_A
Speed information as a 16bit 2’s complement
Input data
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ZSW2
Slave Life sign 0 0 CR 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
G1_ZSW1
SE PSA TAA PA EAIP 0 0 0 0 0 0 0 0 0 0 0
31 0
G1_XIST1
Encoder position (right aligned) with or w/o preset offset
31 0
G1_XIST2
Encoder position (right aligned) or error message
31 0
NIST_B
Speed information as a signed 32bit 2’s complement value
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STW2
Master Sign-of-Life 0 CP 0 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
G1_STW1
SEA PS TAR PR REL 0 0 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ZSW2
Slave Sign-of-Life 0 0 CR 0 0 0 0 0 0 0 0 0
Exception:
When the MLS does not increment as expected the
SLS will be zero (error case).
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
G1_ZSW1
SE PSA TAA PA EAIP 0 0 0 0 0 0 0 0 0 0 0
6.5. Speed
PROFIdrive telegrams 82 and 83 as well as manufacturer-specific telegram 860 provide rotational speed
information together with the absolute position information.
Each scaling option provides measured value output as a „signed integer“. Positive values indicate the
direction of rotation with rising position values. Which rotational direction is assigned “positive” depends on
the CW/CCW parameter setting.
If speed is outside the +32767 to -32768 range (16 bit speed format), the encoder will output the respective
maximum value. Depending on the type of encoder and configuration, the maximum value may be achieved
even at very low speed. The 32 bit speed format will prevent any overrun.
A short speed update period entails a more dynamic speed output, whereas an extended update period
ensures more stable values. The optimum speed update period depends on the application requirements.
The update period can be configured within the range from 1 ms to 255 ms.
For configuration refer to chapter „4.6 Parameterization”.
A shallow filter depth (number of update cycles) entails a more dynamic speed output, whereas a higher filter
depth ensures more stable values. The optimum speed filter depth in interaction with the configured update
time depends on the application requirements.
The filter depth, which is the total number of average update cycles, is configurable within the range from 1
to 255. For configuration refer to chapter „4.6 Parameterization”.
For optimum alignment of mechanical position to preset we recommend to set the preset value during
encoder standstill, but it may also execute while encoder rotates for less accurate requirements.
It is mandatory to parameterize the required resolution or code sequence (cw/ccw) prior to performing the
preset operation.
Upon performing a preset operation an internal offset is calculated and stored non-volatile in the Flash
memory to make sure the encoder will be at the same position after cycling power.
Although the Flash provides +100.000 write cycles, frequent software- or event-triggered preset operations
may consume even this capacity what has to be considered in the PLC software configuration.
Note:
Any alteration of the total measuring range, measuring units per revolution or of a gear factor parameter
during encoder re-parameterization will implicate clearing the internal preset-offset value. This however has
no effect in practice since in these cases the position reference is lost anyway.
The Preset-Bit must be kept set for at least one full I/O bus cycle to be recognized by the encoder. A timer
control of e.g. 10 ms or more will do as well. The Preset Bit may stay active for an unlimited period of time
since only a change from „0“ to „1“ will be evaluated. We recommend however to clear the bit after
completion in order to provide the original status for a subsequent preset operation.
The „REL“ bit in control word G1_STW1 defines whether an absolute or relative preset operation will be
performed. In a relative preset operation, the current position value will be shifted by the signed preset value.
The „PR“ bit in G1_STW1 is the preset bit. Upon changing from “0” to “1”, it triggers the preset operation.
Once successfully completed, bit “PA” (preset acknowledge) is set in status word G1_ZSW1. The PA bit
remains active as long as the preset bit remains set by PLC.
The preset value is retrieved from the value stored in parameter 65000 (see chapter 7.4.17 „Parameter
65000: Preset Value“. In a relative preset operation, the 32bit value is interpreted as a complement on 2, i.e.
„-1“ will be saved as „0xFFFFFFFF“.
While the encoder is connected to the PROFINET, a Preset can be performed using the push button. The
Preset sets the encoder position to the value held in Parameter PNU 65000. The contained position value
will be interpreted absolute, as a relative Preset ist not possible using the push button.
Note:
Prior to using the push button, it is strictly recommended to execute a potential equalization between
operator and encoder (touching the encoder housing), in order to eliminate the danger of damaging the
encoder by electrostatic discharge (ESD).
In order to perform a Preset, the push button must be pressed for a duration of at least three seconds and
longest five seconds. A feedback is given by the „SF“ LED being lit green for ten seconds after a successful
Preset operation.
Write Request
Slot BYTE ever 0x01
Subslot BYTE ever 0x01
Index WORD ever 0xB02E
Data Length BYTE from this point onward (excl.)
Data Request Header Request Reference BYTE optional
Request ID BYTE 0x01=Read 0x02=Write Request
Drive Object ID BYTE ever 0x00
Number of Parameters BYTE ever 0x01
Parameter Address Attribute BYTE
No. of Elements/Values BYTE
Parameter Number WORD
Subindex WORD
Parameter Value Format / Data Type BYTE Write Request only
Number of values BYTE Write Request only
values to write (if any) BYTE Write Request only
Write Response
Slot BYTE ever 0x01
Subslot BYTE ever 0x01
Index WORD ever 0xB02E
Data Length BYTE From this point onward (excl.)
Read Request
Slot BYTE ever 0x01
Subslot BYTE ever 0x01
Index WORD ever 0xB02E
Data Length BYTE Buffer length (max. 255)
Read Response
Slot BYTE ever 0x01
Subslot BYTE ever 0x01
Index WORD ever 0xB02E
Data Length BYTE From this point onward (excl.)
Data Response Header Response Reference BYTE see request (mirrored)
Response ID BYTE see request (mirrored)
Drive Object ID BYTE ever 0x00
Number of Parameters BYTE ever 0x01
Parameter Value Format / Data Type BYTE
Number of values BYTE Number of values (no bytes)
values s. Fmt
Data type
Field “Format / Data Type” applies following encodings compliant to IEC61158-5-10:
0x04 INT32 (signed) (32 bit / 4 byte)
0x06 UINT16 (16 bit / 2 byte)
0x07 UINT32 (32 bit / 4 byte)
0x0A octet string (8 bit / 1 byte)
Parameter 922
Type Read only
Data type unsigned int (0x06)
Value range 81-83 (0x0051 – 0x0053), 86-87 (0x0056 – 0x0057), 100 (0x64), 101 (0x65)
Data: 922[0] Telegram type
Value in Telegram
parameter 922
81 PROFIdrive telegram 81
82 PROFIdrive telegram 82
83 PROFIdrive telegram 83
86 telegram 860 „32 bit I/O + 32 bit speed”
87 telegram 870 „32 bit I/O“
100 telegram 100 „32 bit I/O + 16 bit speed” (manufacturer specific)
101 telegram 101 „32 bit I” (manufacturer specific)
Parameter 925
Type Read / Write
Data type unsigned int (0x06)
Value range 1 to 255 / value 0xFFFF means “Sign-of-Life” monitoring off
Data: 925[0] Total number of tolerated life sign failures
Write: The parameter is to read the number of tolerated Master life sign failures.
Only profile 3.1 will consider this parameter. Where running profile no. 4.1., the number is always 1.
Parameter 925
Type Read / Write
Data type unsigned int (0x06)
Value range 1 to 255 / value 0xFFFF means “Sign-of-Life” monitoring off
Data: 925[0] Total number of tolerated life sign failures
Note:
Writing this parameter is only possible while Master Lifesign being inactive.
Note:
In “Compatibility Mode”, only the user-specific parameter of the project HW-configuration (record 0xBF00)
will be considered. Parameter 925 is of no significance.
Parameter 964
Type Read-only
Data type unsigned int (0x06)
Value range n/a
Data: 964[0] 0x012A MANUFACTURER_ID
964[1] 0x0000 Drive Unit Type (manufacturer-specific)
964[2] 0x0064 Firmware version
(example only, 0x0064 = 100)
964[3] 0x07E0 Firmware year
(example only, 0x07E0 = 2016)
964[4] 0x0134 Firmware day and month
(example only, 0x0134 = 308
means „August 3rd“)
964[5] 0x0001 Number of Drive Objects
Parameter 965
Type Read-only
Data type Octet string (0x0A)
Value range n/a
Data: 965[0] 0x3D Profile ID: 0x3D
965[1] 0x1F of 0x29 Profile version:
V3.1 (31 = 0x1F) or V4.1 (41 = 0x29)
Parameter 974
Type Read-only
Data type unsigned int (0x06)
Value range: n/a
Data: 974[0] 0x00F0 max. data length (240)
974[1] 0x0027 max. number of parameter requests per
multi-parameter request
974[2] 0x0000 max. processing time to access
Parameter 975
Type Read-only
Data type unsigned int (0x06)
Value range: n/a
Data: 975 [0] 0x012A MANUFACTURER_ID
975 [1] 0x0005 Drive Unit Type (manufacturer-specific)
975 [2] 0x0064 Firmware version
(example only, 0x0064 = 100)
975 [3] 0x07E0 Firmware year
(example only, 0x07E0 = 2016)
975 [4] 0x0134 Firmware day and month
(example only, 0x0134 = 308
means „August 3rd“)
975 [5] 0x0005 Profidrive Type Class
975 [6] 0xC000 Profidrive DO Subclass 1
975 [7] 0x0001 Drive Object ID
Parameter 979
Type Read-only
Data type UINT32 (0x07)
Value range: n/a
Data: 979[0] 0x00005111 Header Info
st
979[1] 0x80000000 1 Sensor(G1) Type (**)
979[2] 0x00002000 Sensor Resolution (*)
979[3] 0x00000000 Shift Factor for G1_XIST1
979[4] 0x00000000 Shift Factor for absolute value in G1_XIST2
979[5] 0x00010000 Determinable Revolutions (*)
979[6] 0x00000000 reserved
to
979[10] 0x00000000 reserved
(*) example, depends on basic encoder and user configuration
(**) if 979[2] to 979[5] valid; otherwise 0x00000000
Parameter 980
Type Read-only
Data type unsigned int (0x06)
Value range:
Data: 980 [0] 0x039A 922
980 [1] 0x039D 925
980 [2] 0x03C4 964
980 [3] 0x03C5 965
980 [4] 0x03CE 974
980 [5] 0x03CF 975
980 [6] 0x03D2 978
980 [7] 0x03D3 979
980 [8] 0xEE48 61000
980 [9] 0xEE49 61001
980 [10] 0xEE4A 61002
980 [11] 0xEE4B 61003
980 [12] 0xEE4C 61004
980 [13] 0xFDE8 65000
980 [14] 0xFDE9 65001
980 [15] 0 End Mark
Parameter 61000
Type Read-only
Data type octet string (0x0A)
Value range: ASCII
Data: 61000 [0]
to
61000 [n] with n+1 = String length name of station
Parameter 61001
Type Read-only
Data type UINT32 (0x07)
Value range: 0.0.0.0 to 255.255.255.255
Data: 61001[0] Encoder IP address
Parameter 61002
Type Read-only
Data type octet string (0x0A)
Value range: 00:0E:CF:xx:xx:xx
Data: 61002 [0] 0x00 OUI (Organizationally Unique Identifier)
61002 [1] 0x0E
61002 [2] 0xCF
61002 [3] 0x03 (*) Individual part of MAC
61002 [4] 0x20 (*)
61002 [5] 0x00 (*)
(*) example only, device-specific
Parameter 61003
Type Read-only
Data type UINT32 (0x07)
Value range: 0.0.0.0 to 255.255.255.255
Data: 61003 [0] Default gateway IP address
Parameter 61004
Type Read-only
Data type UINT32 (0x07)
Value range: 0.0.0.0 to 255.255.255.255
Data: 61004 [0] Subnet mask
This parameter is without significance when using manufacturer-specific output formats 860 and 870
(telegrams 860 and 870).
Parameter 65000
Type Read / Write
Data type int32 (0x04)
Value range signed 32 bit
Data: 65000 [0] Preset Value
Parameter 65000
Type Read / Write
Data type int32 (0x04)
Value range signed 32 bit
Data: 65000 [0] Preset Value
Parameter 65001
Type Read-only
Data type UINT32 (0x07)
Value range n/a
Data: 65001 [0] 0x00010101 Header Info
65001 [1] 0x0000002A Operating Status (*)
65001 [2] 0x00000000 Faults (**)
65001 [3] 0x00000001 Supported Faults
65001 [4] 0x00000000 Warnings (**)
65001 [5] 0x00000020 Supported Warnings
65001 [6] 0x00000401 Encoder Profile (*)
65001 [7] 0xFFFFFFFF Operating Time (****)
65001 [8] 0x00000000 Preset Offset (***)
65001 [9] 0x00002000 Steps per Revolution (*)
65001 [10] 0x20000000 Total Measuring Range (*)
65001 [11] 0x00000003 Speed Scale (*)
(*) example only (depends on user configuration)
(**) example only (error-free status)
(***) example only (depending on preset)
(****) Value 0xFFFFFFFF means that function is not supported.
The encoder resolution is programmable in individual steps between the maximum limit (encoder-specific, for
example 8192 EAL580- xxx.xxPT-13160.x) and the minimum limit of 1 step/turn.
Important: The encoder’s total measuring range (“total measuring range (units “hi/lo“) must be aligned w
the programmed resolution. If not, this will result in parameterization errors signaled by the SF-LED in the
encoder being on red. The maximum total measuring range is calculated by multiplying the resolution (steps
per turn) by the encoder’s maximum number of revolutions. Standard resolution is 16 bit (65536 revolutions).
Encoders featuring a 18 bit singleturn resolution (e.g. EAL580- xxx.xxPT-18130 are capable of a 13 bit
resolution (8192 revolutions).
Possibly it’s an encoder parameter error (one or more parameters outside limits).
Typically happens when changing the encoder resolution (“steps per turn”, “measuring units per revolution“)
if the encoder’s total measuring range was not correspondingly aligned.
Singleturn encoders
The total measuring range of a singleturn encoder comprises exactly one complete revolution, this is why the
value in parameter “total measuring range” must always be equal to the parameter “measuring units per
revolution”.
Multiturn encoders
Multiturn encoders are capable of sensing max. 65536 revolutions (or 8192 revolutions). Maximum
admissible limit for the total measuring range is the product of “steps per turn” multiplied by the encoder’s
maximum number of revolutions (65536 respectively 8192). Excess values in parameterization will result in
an error signal (SF LED lit) together with a “parameterization alarm” in the diagnostic data.
However, any smaller value may be set. All PROFINET encoders feature integrated endless operation
ensuring admissible values for all resolutions and total measuring ranges even during overrun. There is no
need for integer ratios of singleturn resolution and total measuring range.
Example:
A standard multiturn encoder features a singleturn resolution of 13 bit (8192 steps per turn) and is capable of
sensing 65536 full revolutions.
Consequently the total measuring range is 8192 x 65536 = 536870912 steps.
The singleturn resolution is reduced to 3600 steps / turn.
The total measuring range now is reduced to 3600 x 65536 = 235929600 steps.
If the total measuring range is not correspondingly aligned to the new maximum limit, the encoder will have
to count 149.130 completed revolutions. That is impossible and results in an error signal (SF LED lit).
The encoder’s device name is clear (“”), and PLC cannot automatically assign the proper name because
automatic assignment wasn’t projected or no Topology Planning was done.
Make sure the I/O encoder addresses are within the cyclic updated process mapping. Size and position of
process mapping or encoder I/O address may require adjustment.
Encoder hardware configuration does not provide a device module („EA580 MT…“ resp. „EAM580 MT…“)
in Slot1, or no I/O module (telegram) is present in subslot 1.2. In both cases, neither the encoder‘s SF-
LED nor the PLC error LED is active, yet no position data transmission.
Topology planning was executed but encoder port connection other than projected (mode IRT). SF-LEDs
at PLC is lit, but not the encoder’s SF-LED.
Operating mode RT: Topology planning executed. Other port than projected has been connected.
Diagnostic alarm is present