Baumer EAx PROFINET EN 202011 MNL
Baumer EAx PROFINET EN 202011 MNL
Baumer EAx PROFINET EN 202011 MNL
11.20· 174.02.072/6
Subject to modification in technic and design.
www.baumer.com Errors and omissions excepted.
Contents Page
1. Introduction 7
1.1. Scope of delivery 7
1.2. Product classification 7
2. Safety and operating instructions 8
3. Commissioning 9
3.1. Mechanical mounting 9
3.2. Electrical connection 9
3.2.1. Cabling 9
3.2.2. Connecting 10
3.2.3. Push Button for Preset / Reset 11
4. Engineering (Siemens® Step7®) 12
4.1. Importing the GSDML file 12
4.2. Encoder integration into the project 14
4.3. Assigning the device name 14
4.3.1. Setting the device name in the Project 14
4.3.2. Automatic Name Assignment 14
4.3.3. User-operated name assignment 15
4.4. Real-Time Class Selection 17
4.4.1. Domain Management 17
4.4.2. Real-Time (RT) Class 1 18
4.4.2.1. Address assignment within the process image 18
4.4.2.2. Synchronization Setup 19
4.4.3. Isochronous Real-Time (IRT) Class 3 20
4.4.3.1. Address assignment within the process image 21
4.4.3.2. Synchronization Setup 21
4.4.3.3. IO system assignment to Synchronous Cycle Interrupts 23
4.5. Topology Planning 24
4.6. Parameterization 25
4.6.1. Encoder Class Selection 25
4.6.2. Compatibility Mode 25
4.6.3. Measuring Units per Revolution 26
4.6.4. Total measuring range 26
4.6.5. Code Sequence 26
4.6.6. Speed Measuring Unit 26
4.6.7. Speed Update Period 26
4.6.8. Speed Filter Depth 26
4.6.9. Scaling Functionality 26
4.6.10. Preset affects G1_XIST1 27
4.6.11. Alarm Channel Control 27
4.6.12. Maximum Master Sign-of-Life Failures 27
4.6.13. Gear factor: activation 27
4.6.14. Gear factor: numerator 28
4.6.15. Gear factor: denominator 28
4.6.16. Gear factor: parametrization 28
4.6.17. Important Note for Multiturn Encoder Operation 29
4.7. Implementation of system functions for alarm handling 30
4.7.1. I/O Point Fault OB (OB82) 30
4.7.2. Loss Of Rack Fault - OB 31
4.8. Compilation and load of hardware and software configuration 31
4.9. Restore Factory Defaults 31
4.9.1. Factory Setup using the Engineering Tool 31
4.9.2. Parameter reset using the optional push button 31
5. Engineering (Siemens® TIA Portal®) 32
5.1. Importing the GSDML file 32
5.2. Inserting the encoder into the network 34
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.
Change history
This document is subject to changes. The latest version is available at www.baumer.com.
New chapters:
- 7.5 ("Vendor-specific parameters")
- 9 ("Appendix A")
PROFINET encoder
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 chapter ”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
No settings have to be done inside the encoder. In contrast to Profibus, there is no need for setting a node
ID or a 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)
Preset / Reset
Button
Depending on the current operating state the push button has a different functionality:
In the first 60 seconds after switching on the encoder the encoder performs a “Factory Reset“.
o Up to firmware version 1.2.x this only works if the encoder has no Ethernet connection.
o Since firmware version 1.3.0 this works with and without an Ethernet connection.
With active PROFINET operation 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.
This functionality is for example very useful if the desired preset value does not change during operation.
Preset using the Push Button“ or 4.9 „Restore Factory Defaults“, respectively.
GSDML-V2.32-Baumer-EAx580_PN-20190715.xml
for encoders with firmware V1.3.0 or later
The revision can be seen in the date at the end of the file name. Here it has to be seen as an example.
The date has to be read in the format “YYYYMMDD” (Y: year, M: month, D: day). In the example above
the date is January 12th 2017.
The import operation is performed by Step7® software in the hardware window („HW Config” - „Options –
Install GSD File…“). As a prior step it may be necessary to close the actual hardware project („Station -
close“) to enable successful import. Based on the default settings any change is configured as described
below. The GSDML file itself is not modified.
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 I/O telegram (e.g. telegram „860“) for drop in subslot 1.2.
Automated name allocation is executed as soon as the encoder logs on the network where projected.
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 the „Sync domain” name or keep the default.
For IRT Class 3 only enter the send clock here.
For RT Class 1 open the property window of the PLC‘s PROFINET port (e. g. X2), see chapter 5.4.2.2.
The send clock applies to the IO Controller and to all IO Devices within this sync domain and is decisive for
the 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.
Go to the Step7® HW Config. window and click on the encoder symbol on the bus rail to select it. Bottom left
in the module window the various encoder modules are shown. A double click on submodule 1.2 (e. g.
"telegram 860") opens the property window with tab „addresses“.
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. Real-Time (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.
A topology planning is mandatory. Make sure ports P1/P2 at the encoder are correctly assigned as planned.
Go to the Step7® HW Config. window and click on the encoder symbol on the bus rail to select it. Bottom left
in the module window the various encoder modules are shown. A double click on submodule 1.2 (e. g.
"telegram 860") will open the property window with tab „addresses“.
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“.
A click on button „Details“ provides OB61 properties. Process image partition 1 is assigned to OB61.
Enter the topology planning e. g. by right-clicking on the PROFINET bus rail in the hardware window of
Step7® software, which opens the following pull-down menu.
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.
Code sequence is fixed to cw.
Preset functionality is not supported.
Admissible are values within the range from 1 to the maximum encoder resolution. In general, related limits
are provided in the configuration software.
A change in singleturn resolution will clear internal position offsets (see also chapter “6.6 Preset function”) so
the current position reference is lost.
For singleturn encoders enter the same value here as for “Measuring units per revolution“.
Admissible values range from 2 to the product of the programmed resolution multiplied by the encoder’s
maximum number of revolutions. See also “4.6.17 Important Note for Multiturn Encoder Operation”.
Note:
Since firmware version 1.3.0 an alarm with code 0x0224 is reported if the total measuring range is set to 1.
A change of the total measuring range clears the internal position offsets 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.
This functionality is only supported in encoder class 4. Encoder class 3 implicates „scaling off”.
This parameter is not significant when using telegrams 860 and 870.
n2 (z2)
n1 (z1)
Primary side (drive side) Secondary side (driven side)
Denominator Numerator
Numerator Speed at drive side (n2) Number of teeth at driven side (z1)
Gear factor 𝑖 = = =
Denominator Speed at driven side (n1) Number of teeth at drive side (z2)
The values for numerator and denominator of the gear factor result directly from the number of teeth. In the
example above the number of teeth at the driven side is 75. At the drive side the number of teeth is 10.
denominator
Measuring units per revolution = total measuring range ∗
numerator
Example:
The gear factor shall be 75:10 (means 7,5).
The resolution on the secondary side of the gearbox shall be “1 revolution = 10000 steps”.
The numerator is 75 and the denominator is 10. Only integer values are admissible for numerator
and denominator. The total measuring range is 10000.
The encoder turns 7,5 revolutions for one revolution on the secondary side of the gearbox. The
resulting value of „measuring units per revolution“ for the encoder is 10000 / 7,5 = 1333,3333.
Note:
An change of parameter “Gear factor: activation” clears internal position offsets (if any). So the current
position reference is lost (see also “6.6 Preset function”).
The gear factor functionality is also called „numerator/denominator scaling“ or „round axis function“.
When using a reduction gear (n2 < n1) the numerator of the gear factor is larger than the denominator.
Note:
In GSDML file the word “nominator” is used equivalent to “numerator”.
When using a step-up gear (n2 > n1) the denominator is larger than the numerator.
Note:
In GSDML file the word “divisor” is used equivalent to “denominator”.
denominator
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
Thus, there are no special requirements for the encoder parameters “total measuring range” and “measuring
units per revolution” to stand in a certain ratio.
When endless operation is active and the encoder is unpowered the encoder shaft may rotate max. ¼
of the number of maximum possible revolutions. For an encoder with max. 65536 (216) revolutions
(equals 16 „multiturn bits“) this would be 16384 (2 14) revolutions. For an encoder with 13 „multiturn bits“ this
then would be 2048 (211) revolutions. If this number of revolutions is exceeded the encoder has to be
referenced (execute Preset function) after every power-up. When endless operation is inactive the encoder
shaft may rotate unlimitedly when the encoder is not powered (without influence on the position value).
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.
Denominator
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 („Device exchange without removable media“) has to be
disabled in project prior to executing the factory setup.
GSDML-V2.32-Baumer-EAx580_PN-20190715.xml
for encoders with firmware V1.3.0 or later
The revision can be seen in the date at the end of the file name. Here it has to be seen as an example.
The date has to be read in the format “YYYYMMDD” (Y: year, M: month, D: day). In the example above
the date is January 12th 2017.
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.
The same directory also includes the corresponding bitmap file providing a small encoder image in the
engineering tool.
The file is displayed and can be selected. „Install” will finalize the operation.
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 & diagnostics“.
Domain Management is accessed in the TIA Portal® by clicking the I/O system in the network view (here
„PN/IE_1“).
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 “unsychronized” (RT) under „IO devices“ ,
together with the encoder’s real-time 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 to select at “Update time” 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, the process image is the process image partition (PIP/TPA) of 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 „TO_ExternalEncoder“ 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 0. Information 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“.
In the first 60 seconds after switching on the encoder pushing the button resets the following settings:
All IP settings (IP address, subnet mask, standard gateway) are set to the value 0.0.0.0.
The station name („device name“) is set an empty string.
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).
Note:
The reset using the push button is not fully congruent with the „Factory Setup“ according to PROFINET
specification via the DCP protocol (see chapter 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 is powered 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 a „position jump“ and at speeds exceeding 6400 rpm SF LED is red continuous. The SF LED
remains on red for the time the error is present.
A preset value out of 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.
If the device is linked to Ethernet and sends/receives Ethernet frames the related L/A LED will give a visual
impression of a mix of the colors green and red.
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 Sign-of-Life 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 without 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 Sign-of-Life 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 without preset offset
31 0
G1_XIST2
Encoder position (right-aligned) or error message
15 0
NIST_A
Speed information as a 16 bit 2’s complement
Input data
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
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 without preset offset
31 0
G1_XIST2
Encoder position (right-aligned) or error message
31 0
NIST_B
Speed information as a 32 bit 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
Prioritization of bits
Priority Bit
1 PS The PS bit has the highest priority.
2 SEA The SEA bit has the second highest priority (only if an
error state is present).
3 PR The PR bit has the third highest priority.
4 TAR The TAR bit has the lowest priority.
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
It is possible to use a filter (calculation of average value) for the calculation of the speed value. For the
configuration of the filter both parameters “Speed Update Period” and “Speed Filter Depth” are used. In
chapters “6.5.2 Speed Update Period” and “6.5.3 Speed Filter Depth” details can be found.
When a gear factor is used the following has to be considered for the calculation of the speed value:
- The gear factor is not taken into account in the speed value.
- The speed value refers to the drive side.
For each scaling option the measured value is provided 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.
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 requirements of the
application.
The update period can be configured within a range from 1 ms to 255 ms.
The update time of the speed value shall be an integer multiple of the PROFINET bus cycle time.
Additionally it must be pointed out that the update time of the speed value shall not be smaller than the
PROFINET bus cycle time. An update time of the speed value of for example 1 ms at a PROFINET bus cycle
time of 2 ms would not be accepted.
A shallow filter depth 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 speed update time depends
on the requirements of the application.
For optimum alignment of mechanical position to preset we recommend to set the preset value during
encoder standstill. But for lower requirements it may also be executed while encoder rotates.
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 (see subindex 8 of PNU 65001) 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 typically 100000 write cycles, frequent software-triggered 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 bus update 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 preset value.
The PR bit in G1_STW1 is the preset bit. The encoder executes the preset when the preset bit changes from
“0” to “1”. 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“).
To be able to use this functionality the following GSDML file has to be used:
“GSDML-V2.32-Baumer-EAx580_PN-20190715.xml”
The preset value can be set to a value unequal 0. To do this no program, PLC function block or similar things
are necessary. If one of the PROFIdrive telegrams 81 to 83 is used and a preset is triggered (in operation)
the value in PNU 65000 is used as preset value.
This functionality is for example very useful if the desired preset value does not change during operation.
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 is 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).
The encoder also supports the records “I&M 1” to “I&M 4” in compliance to IEC 61158-6-10 (PROFINET).
The access (both read and write) is done via the records 0xAFF1 to 0xAFF4.
The encoder supports “single parameter access” and subindices. The maximum length of a parameter
access is 240 bytes.
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“
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 only for “Write Request”
Number of values BYTE only for “Write Request”
Values to write (if any) BYTE only for “Write Request”
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 from this point onward (excl.)
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 (not bytes)
Values see
Format
Data types
Field “Format / Data Type” applies following encodings according to IEC61158-5-10:
0x04 INT32 (32 bit / 4 bytes signed)
0x06 UINT16 (16 bit / 2 bytes unsigned)
0x07 UINT32 (32 bit / 4 bytes unsigned)
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 Sign-of-Life failures
of the IO Controller
Write: The parameter is to write the number of tolerated Master Sign-of-Life failures.
Only when running according to profile 3.1 this parameter will be considered.
When running according to profile 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 Sign-of-Life failures
of the IO Controller
Note:
Writing this parameter is only possible when Master Lifesign is inactive.
Parameter 964
Type Read-only
Data type unsigned int (0x06)
Value range n/a
Data: 964[0] 0x012A MANUFACTURER_ID
964[1] 0x0001 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
979[1] 0x80000000 1st 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] Device name
Parameter 61001
Type Read-only
Data type UINT32 (0x07)
Value range: 0.0.0.0 to 255.255.255.255
Data: 61001[0] IP address
Parameter 61002
Type Read-only
Data type octet string (0x0A)
Value range: 9C:C9:50:xx:xx:xx
Data: 61002[0] MAC address (6 bytes)
Parameter 61003
Type Read-only
Data type UINT32 (0x07)
Value range: 0.0.0.0 to 255.255.255.255
Data: 61003[0] IP address of default gateway
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] 0x00000000 Supported Warnings
65001[6] 0x00000401 Encoder Profile (*)
65001[7] 0x00000000 Operating Time (****)
65001[8] 0x00000000 Preset Offset (***)
65001[9] 0x00002000 Steps per Revolution (*)
65001[10] 0x20000000 Total Measuring Range (*)
65001[11] 0x00000003 Speed Scale (*)
7.5.1. Temperature
To read out the temperature via „read request“ the following parameters have to be set with the following
values in the „read request“.
Usually this is performed by the PLC’s engineering tool (for example SIEMENS® Step7®).
The resolution of the encoder is programmable in individual steps between the maximum limit (encoder-
specific, for example 8192 for EAL580-xxx.xxPT-13160.x) and the minimum limit of 1 step/turn.
It is important align the encoder’s total measuring range with 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.x) are capable of a 13 bit multiturn resolution (8192
revolutions).
Possibly an encoder parameter error is present (one or more parameters outside limits).
Typically when changing the resolution of the encoder (measuring units per revolution) the encoder’s total
measuring range was not adjusted.
Singleturn encoders
The total measuring range of a singleturn encoder comprises exactly one complete revolution. The value in
parameter “total measuring range” usually must be equal to the value in parameter “measuring units per
revolution”.
Multiturn encoders
Multiturn encoders are capable of sensing max. 65536 revolutions (8192 revolutions for an encoder with 18
bit singleturn resolution). Maximum admissible limit for the total measuring range is the product of “steps per
turn” multiplied by the encoder’s maximum number of revolutions. Too high values in parameterization will
result in an error message.
However, any smaller value for the total measuring range may be selected. In all PROFINET encoders the
so-called endless operation mode is integrated 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 multiturn encoder features a standard 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.
Now the total measuring range is only 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 149130 completed revolutions. That is impossible and results in an error signal (SF LED lit).
The encoder’s device name is cleared (“”) and the PLC cannot automatically assign the proper name
because automatic assignment wasn’t projected or no topology planning was done.
Make sure the I/O addresses of the encoder are within the cyclic updated process mapping. Size and
position of process mapping or encoder I/O addresses may require adjustment.
The encoder hardware configuration does not provide a device module („EAL580 MT…“ resp. „EAM580
MT…“) in slot 1 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 is active.
Topology planning was executed and the encoder was connected with another port than projected (mode
IRT). SF LED at PLC but not the encoder’s SF LED is lit.
Operating mode IRT: A topology planning has been done and the encoder has been connected to
another port than projected.
A diagnostic alarm is present.
Change Description
[Reset via button] A reset via the button is now also possible if the
With Ethernet connection possible encoder has an Ethernet connection (“link
established”). In V1.2.2 a reset via the button was
only possible when the encoder had no Ethernet
connection.