0% found this document useful (0 votes)
40 views24 pages

BMSV 58

This manual provides comprehensive instructions for the installation, operation, and troubleshooting of absolute encoders with a PROFINET interface, including details on mechanical mounting, electrical connections, and safety precautions. It outlines the product family, commissioning processes, and specific configurations for various encoder types. The document also includes FAQs and a disclaimer regarding liability for the information provided.

Uploaded by

svno9559
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views24 pages

BMSV 58

This manual provides comprehensive instructions for the installation, operation, and troubleshooting of absolute encoders with a PROFINET interface, including details on mechanical mounting, electrical connections, and safety precautions. It outlines the product family, commissioning processes, and specific configurations for various encoder types. The document also includes FAQs and a disclaimer regarding liability for the information provided.

Uploaded by

svno9559
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Manual

Absolute encoders with PROFINET interface


(with bus cover)
Firmware version 1.00 and up

10.11· 174.02.055/4
Subject to modification in technic and design.
www.baumer.com Errors and omissions excepted.
Contents Page
1. Introduction 3
1.1. Scope of delivery 3
1.2. Product classification 4
2. Safety and operating instructions 5
3. Product family 6
4. Commissioning 7
4.1. Mechanical mounting 7
4.2. Electrical connection 7
4.2.1. Cabling 7
4.2.2. Connecting the bus cover 8
5. Projecting 9
5.1. Importing the GSDML file 9
5.2. Encoder bus implementation 11
5.3. Assigning the device name 11
5.4. Assigning I/O addresses to input and output data 13
5.5. Real Time Class Selection 13
5.5.1. Realtime (RT) Class 1 13
5.5.2. Isochrone Realtime (IRT) Class 2 13
5.5.3. Isochrone Realtime (IRT) Class 3 13
5.6. Timing Properties of the Encoder 17
5.7. Parameterization 19
5.8. Implementation of system functions for alarm handling 21
5.9. Compilation and load of hardware and software configuration 21
6. PROFINET operation 21
6.1. Controller 21
6.2. Operating status indicator (multi-color LED) 21
6.3. Activity indicator (green LEDs) 21
6.4. Input and output data 22
6.5. Preset function 22
7. Troubleshooting – Frequently Asked Questions – FAQ 23
7.1. FAQ: Projecting 23
7.1.1. Where do I get an encoder manual? 23
7.1.2. Where do I get the applicable GSDML file? 23
7.2. FAQ: Operation 23
7.2.1. What is the significance of the LED provided at the bus cover? 23
7.2.2. How to alter the resolution? 23
7.3. FAQ: Troubleshooting 24
7.3.1. No encoder communication (LED yellow continuous) 24
7.3.2. No encoder communication (LED flashing red once per second)) 24

Manual_PROFINET_EN.doc 2/24 www.baumer.com


17.10.11
Disclaimer of liability
The present manual was compiled with utmost care, errors and omissions reserved. For this reason
Baumer rejects any liability for the information compiled in the present manual.
Baumer nor the author will accept any liability for direct or indirect damages resulting from the use of the
present information.

At any time we should be pleased receiving your comments and proposals for further improvement of the
present manual.

Registered trademarks
SIEMENS®, SIMATIC®, Step7® und S7® are registered trademarks of Siemens AG. PROFINET, the
PROFINET Logo and PROFIdrive are registered trademarks of the PROFIBUS user organisation
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:
• Basic encoder
• PROFINET bus cover
• CD with GSDML file and manual (also available as download in the Internet)

Manual_PROFINET_EN.doc 3/24 www.baumer.com


17.10.11
1.2. Product classification

Shaft encoders
Product Product family Suitable input in hardware-catalog
BMSV 58 MAGRES - Singleturn GCAMW
BMMV 58 MAGRES - Multiturn GCMMW
GBAMW multivoPlus - Singleturn GBAMW
GBLMW multivoPlus - Multiturn GBMMW
GBMMW multivoPlus - Multiturn GBMMW
GCAMW magtivo® - Singleturn GCAMW
GCMMW magtivo® - Multiturn GCMMW
GEMMW multivo® - Multiturn (stainless steel) GXMMW
GXAMW multivo® - Singleturn GXAMW
GXLMW multivo® - Multiturn GXMMW
GXMMW multivo® - Multiturn GXMMW

End shaft encoders


Product Product family Passender Eintrag im Hardware-Katalog
BMSH 58 MAGRES - Singleturn GCAMW
BMMH 58 MAGRES - Multiturn GCMMW
GBAMS multivoPlus - Singleturn GBAMW
GBLMS multivoPlus - Multiturn GBMMW
GBMMS multivoPlus - Multiturn GBMMW
GCAMS magtivo® - Singleturn GCAMW
GCMMS magtivo® - Multiturn GCMMW
GXAMS multivo® - Singleturn GXAMW
GXLMS multivo® - Multiturn GXMMW
GXMMS multivo® - Multiturn GXMMW

Hollow shaft encoder


Product Product family Passender Eintrag im Hardware-Katalog
G0AMH multivo® - Singleturn GXAMW
G0LMH multivo® - Multiturn GXMMW
G0MMH multivo® - Multiturn GXMMW
GBAMH multivoPlus - Singleturn GBAMW
GBLMH multivoPlus - Multiturn GBMMW
GBMMH multivoPlus - Multiturn GBMMW

GSDML-File
The GSDML-File is the same for all products mentioned above.
GSDML-V2.2-Baumer_IVO-GXMMW_PN-20100212.xml

Supported Profile Version number (above: V2.2) and GSDML revision date (above: 20100212) in the GSDML
file in line with GSDML specifications serve only as an example and as a result of any product enhancement
may differ from downloaded file names or file names provided on the data carrier.

Manual_PROFINET_EN.doc 4/24 www.baumer.com


17.10.11
2. Safety and operating instructions
Supplementary information
• The present manual is intended as a supplement to already existing documentation (e.g. catalogues,
data sheets or mounting instructions).
• The manual must be studied carefully prior to initial commissioning of the equipment.

Intended purpose of the equipment


• The encoder is a precision sensing device. It is utilized to determine angular positions and revolutions,
and to prepare and supply measured values in the form of electrical output signals for the downstream
device. Encoders must not be used for any other purpose.

Commissioning
• The encoder must be initialised and mounted only by a qualified expert.
• Observe the operating instructions of the machine manufacturer.

Safety instructions
• Check all electrical connections prior to commissioning of the equipment.
• If mounting, electrical connections or any other work performed at the encoder and the equipment is not
correctly executed this can result in malfunction or failure of the encoder.
• Corresponding safety precautions must be provided and observed to exclude any risk of personal injury,
damage to material or operating equipment as a result of encoder failure or malfunction.
• Encoders must not be operated outside the specified limited values (see further documentation).

Failure to observe these safety instructions can result in malfunctions, material damage or personal injury.

Transport and storing


• Only ever transport or store the encoder in its original packaging.
• Never drop the encoder nor expose it to major shocks.

Mounting
• Avoid impacts or shocks on housing and shaft/end shaft.
• End shaft/Hollow shaft encoder: Open clamping ring completely before mounting the encoder
• Avoid any twist or torsion on the housing.
• Shaft encoders: never make rigid connections between encoder shaft and drive shaft.
• Do not open the encoder or proceed any mechanical modifications.

Shaft, ball bearings, glass disc or electronic components can be damaged thereby and a safe and reliable
operation is no longer ensured.

Electrical commissioning
• Do not proceed any electrical modifications at the encoder.
• Do not proceed any wiring work while encoder is live.
• Never plug or unplug connector while encoder is live (the bus cover however may be removed or docked
to the basic encoder when live).
• 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. In case of earth loop problems, earth
at least on one side.

Failure to observe these instructions can result in malfunctions, material damage or personal injury!

Manual_PROFINET_EN.doc 5/24 www.baumer.com


17.10.11
3. Product family
The product family structure is modular. Depending on the requirements, basic encoder and bus covers can
be combined at will within the selected bus system. Basic encoders provide different specifications regarding
resolution, ambient conditions and sensing method.

Bus cover
The bus cover accommodates the fieldbus interface and the entire electronic circuitry for processing the
measured values. PROFINET communication is performed by the specific PROFINET-ASIC ERTEC200 with
integrated ARM9 high-performance micro-controller.

Magres / magtivo®
features a 12 bit resolution of 4096 steps per turn, applies a magnetic sensing method and withstands harsh
industrial environments.

Procoder / multivo®
features a 13 bit resolution of 8192 steps per turn, applies an optical/magnetic sensing method
and is the suitable product for standard applications.

Dignalizer / activo® / multivoPlus


features a 18 bit resolution of 262144 steps per turn, applies an optical/magnetic sensing method with
integrated analogue/digital conversion and is intended for ultra-precise sensing applications.

The basic encoder comprises a singleturn and a multiturn encoder. The multiturn encoder features a 16 bit
resolution respectively 65536 turns, or a 14 bit resolution corresponding to 16384 turns (multivoPlus). The
bus covers differ by their integrated bus interface. Available bus interfaces: CANopen, DeviceNet, EtherCAT,
Ethernet/IP, LIGHTBUS (fiber-optic), Profibus-DP, Profinet, Powerlink, Power over EtherCAT, SAE J1939,
SSI. Except for encoders with fiber-optic interface, all encoders enable parameterization by bus interface.

Functional principle:

basic encoder bus cover complete encoder

SAE J1939

Manual_PROFINET_EN.doc 6/24 www.baumer.com


17.10.11
4. Commissioning
4.1. Mechanical mounting
Shaft encoders
• Mount the encoder by help of the mounting holes and three screws (square flange: 4 screws) provided at
the encoder flange. Observe thread diameter and depth.
• There is an alternative mounting option in any angular position by eccentric fixings, see under
accessories.
• Connect drive shaft and encoder shaft by using an appropriate coupling. The shaft ends must not touch
each other. The coupling must compensate temperature and mechanical tolerances. Observe the
maximum permitted axial or radial shaft load. For appropriate couplings please refer to accessories.
• Tighten the mounting screws firmly.

End shaft/hollow shaft encoders


• Mounting by clamping ring
Prior to mounting the encoder open the clamping ring completely. Push encoder onto the drive shaft and
tighten the clamping ring firmly.
• Adjusting element with rubber buffer
Push the encoder onto the drive shaft and insert the cylindrical pin into the adjusting element (customer-
mounted) and the rubber buffer.
• Mounting angle
Push the encoder onto the drive shaft. Insert adjusting angle into the encoder’s rubber buffer and fasten
the mounting angle at the contact surface.
• Stud screw
Push the encoder onto the drive shaft and insert the stud screw (customer-mounted) into the encoder’s
rubber buffer.
• Spring washer
Fasten the spring washer at the mounting holes of the encoder housing using screws. Push the encoder
onto the drive shaft and mount the spring washer to the contact surface.

4.2. Electrical connection


Ever store and transport the bus cover in the ESD bag only.

For electrical connection remove the bus cover as follows:


• Release the fastening screws of the bus cover
• Carefully loosen the bus cover and lift off in an axial direction

4.2.1. Cabling
PROFINET utilizes Fast Ethernet cable (100MBit, Cat 5) composed of four wires AWG22 (white, yellow, blue
and orange).
There are three types of PROFINET cables:

• Type A – for fix or rigid cabling


• Type B – for occasional movements or vibrations (flexible)
• Type C – for permanent movements (highly flexible).

Manual_PROFINET_EN.doc 7/24 www.baumer.com


17.10.11
4.2.2. Connecting the bus cover
The bus cover provides three M12 connectors.
Two M12 connectors (D-coded, according IEC 61076-2-101) serve for PROFINET connection.

Multi-color LED
Indicating the operating status,
green-yellow-red

Activity – LEDs (green)


to signal bus activity on
Port1, Port2

• For voltage supply use A-coded M12 connector only.


• For the bus lines both D-coded M12 connectors may be used at will.
• Seal up the unused cable gland using a sealing bolt (included in the delivery).

There is no need to proceed any manual settings inside the bus cover. PROFINET does not require setting a
node ID and terminating resistor like Profibus. All address parameters are configured by the projecting tool
(e.g. Siemens® Step7®).

Pin assignment

Supply voltage PROFINET (data communication line)

4 3 3 4

1 2 2 1

1 x M12- connector (male) 2 x M12-connector (female)


A-coded D-coded

Pin Assignment Wire color Pin Assignment Wire color


1 UB (10...30 VDC) brown 1 TxD+ yellow
2 N.C. white 2 RxD+ white
3 GND blue 3 TxD- orange
4 N.C. black 4 RxD- blue

Assembly of basic encoder and bus cover:

• Carefully plug the bus cover onto the D-SUB connector of the basic encoder, then press it over the seal
taking care not to tilt it.
• Tighten both fastening screws firmly in the same direction.
• The bus cover must fully rest on the housing of the basic encoder and be firmly screwed on.

The encoder housing and braided shield of the connecting cable are only ideally connected if the bus cover is
resting fully on the basic encoder (positive locking).

Manual_PROFINET_EN.doc 8/24 www.baumer.com


17.10.11
5. Projecting
All examples in the present manual refer to SIEMENS® controls and the corresponding projecting tool Step7®
, since these are common PROFINET controls. With other controls please proceed in a corresponding way.

5.1. Importing the GSDML file


First the attached GSDML file must be imported to enable implementation of the encoder in the projecting
software. The file format is xml (“Extended Markup Language”). With reference to the Profibus GSD files,
GSDML is the common term.

The import operation is performed by Step7® software in the hardware window (HW Config, „Options – Install
GSD File…“). As a prior step the actual hardware project must be closed („Station - close“) to enable
successful import. Any alteration of basic settings are configured as described below. The GSDML file itself is
not modified.

In the following dialogue please select the directory including the GSDML file. Mark the file on screen. „Close”
will finalize the operation. The same directory also includes the corresponding Bitmap file providing a small
encoder image in the projecting tool. This file is automatically installed as well.

Manual_PROFINET_EN.doc 9/24 www.baumer.com


17.10.11
The encoder appears in the hardware catalog at the right under „PROFINET IO“ – „Additional Field Devices“
– „I/O“ – „Baumer IVO PROFINET Device“ - “Baumer IVO PROFINET Bus Cover“ – „GxxMW Vn.nn (xx
depending on the encoder type, n, nn on the version number)

Manual_PROFINET_EN.doc 10/24 www.baumer.com


17.10.11
5.2. Encoder bus implementation
Use the mouse to drag text „GxxMW“ out of the hardware catalog at right to the bus rail.

Use the mouse again to drag encoder module "Encoder data 32Bit EA" from the right out of the hardware
catalog to plug-in position 1 of the module window at left below in the hardware catalog.

5.3. Assigning the device name


Device identification in the network requires the worldwide unique MAC device address, the IP address that
is either configured or assigned by the controller in an automated process, and third a unique device name in
the PROFINET network. All three identifiers are loaded when booting the system. The projecting procedure
only requires assigning the device name. The assigned name is designed correspondingly in the projecting
tool (for the controller) and by a separate operation is online transmitted to the device where it is saved in the
non-volatile memory.

Assigning a device name in the projecting tool


Double-click on the encoder image in window HW-Config. A window is opened where the presently assigned
device name respectively the device name to be assigned in the next step may be entered.

Assigning a name to the device


It is only necessary to alter the default device name „PNBushaube“ if more than one devices of this name are
networked to PROFINET.

The PC with the projecting tool (“PG”) has to be connected by Ethernet interface to PROFINET bus to enable
device name assignment („baptism“) of PN-Devices. Name assignment by MPI interface with midstream PLC
is not possible. In the projecting tool Step7® first the PC/PC interface must be changed from MPI to TCP/IP.

The above also applies correspondingly to other projecting tools. Open the Simatic manager and follow the
path “Options” – “Set PG/PC Interface” TCP/IP Æ <Network Card>. Select <Network Card>.
To start a search run covering the complete network proceed by “PLC“ – „Edit Ethernet Node“ – „Browse“.
The users traced in the bus are indicated in the example the user name is “PNBushaube”.

Manual_PROFINET_EN.doc 11/24 www.baumer.com


17.10.11
The MAC address serves as unique identification.
A double-click on the desired line (here encoder “PNBushaube”) opens the window “Edit Ethernet Node” .
Enter the desired name required for configuration in line „Device name“. Click “Assign name” to close.

Manual_PROFINET_EN.doc 12/24 www.baumer.com


17.10.11
5.4. Assigning I/O addresses to input and output data
The input and output data must be assigned I/O addresses to enable later access by the control software.
Click on the encoder image in HW config of Step7 to select the encoder. Then double-click on module
“encoder data 32 bit I/O (plug-in 1) at left below, opening the window “Properties – RT encoder data 32 bit
IO” with tab “Addresses” (see screenshot).

Enter the beginning of the respective address or adopt the automated proposal. Identical or overlapping
addresses for input and output are admissible.

5.5. Real Time Class Selection


The encoder supports the three PROFINET real time classes Realtime (RT), Isochrone Realtime (IRT)
Class2 and Class3. Which real time class is used best, depends on the demands of your application and thus
on the controller used (i.e. on the PLC).

5.5.1. Realtime (RT) Class 1


Realtime with a typical cycle time of 100ms or less. Standard network components (interfaces, switches) may
be used.

5.5.2. Isochrone Realtime (IRT) Class 2


Realtime without topology planning. Typical cycle time 10ms or less. All network components must support
PROFINET IRT frame priority processing

5.5.3. Isochrone Realtime (IRT) Class 3


Realtime with topology planning. Typical cycle time 1ms or less. All network components must support
PROFINET IRT frame priority processing.

Position values are captured with an accuracy of +/- 1µs or better, with respect to the highly accurate bus
clock.

Domain Management

An IRT Class3 Device must be member of a Sync-Domain. The Sync Domain is provided by the
Sync-Master, which usually is the controller. Enter the properties of the Sync Domain here, especially
the cycle time of the send clock. Only those values may be entered which are common to both the
master and all devices on bus.

Enter the Domain-Management e.g. by right-clicking the PROFINET bus rail in the Hardware window
of Step7 software.

Manual_PROFINET_EN.doc 13/24 www.baumer.com


17.10.11
The screen shot below shows the name of the sync domain and the currently selected send clock.
The send clock is common to the controller and all devices who are members of this sync domain. It
is the key factor for overall performance of the PROFINET System.

Manual_PROFINET_EN.doc 14/24 www.baumer.com


17.10.11
Topology Planning
In order to perform IRT Class3, a topology planning must be done. Port connections and cable
lengths between all system components are made known to the project. In this way the project tool is
enabled to consider cable-, port- and switch delay times and to optimize overall performance.

Enter Topology Planning e.g. by right-clicking the PROFINET bus rail in the Hardware window of
Step7 software, which opens the following pull-down menu.

Manual_PROFINET_EN.doc 15/24 www.baumer.com


17.10.11
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 port1 is linked to port 1 of the encoder. The programming tool
(PG/PC) is connected to port 4 of the controller.

A double click on the collections allows to input the respective cable length. Offline/Online
comparison allows to measure the real values in order to correct data if required.

Manual_PROFINET_EN.doc 16/24 www.baumer.com


17.10.11
5.6. Timing Properties of the Encoder
Go to the Step7 HW-Konfig 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. Enter the interface properties with a double
click on the „Interface“ module.

The „Synchronization“-Tab shows the assignment to a certain sync domain. As a PROFINET line may be
assigned to just one sync domain, this field is gray and not alterable.

Select the desired „RT-Class“ from „RT“ (Class 1) or „IRT“ (Class 2 or 3). Together with setting „IRT“ a further
selection is provided, choose „IRT Option“ „high flexibility“ (IRT Class2) or „high performance“ (IRT Class3).
Settings should be made in accordance with the settings of the controller.

In Properties Tab „Application“ a box can be checked if the encoder shall operate isochronously with the PLC
application. In real time classes „high flexibility“ and „high performance“ this is usually true.

Additionally, the point in time „Time Ti [µs]“ can be selected when the encoder internally fetches its position
data, prior to the next send clock bus cycle. The parameter „Time To [µs]“ is not relevant for the encoder and
will not be evaluated.

Manual_PROFINET_EN.doc 17/24 www.baumer.com


17.10.11
Properties Tab „IO Cycle“, area „Update Time“ offers settings for the requested Update Time. In relation to
the send clock a reduction ratio „Factor“ results. 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 a lot of band
with better used for time-critical other devices. Applicable factors may vary with the real time class and send
clock and are offered in the drop down area.

Manual_PROFINET_EN.doc 18/24 www.baumer.com


17.10.11
5.7. Parameterization
Double-click on the module in plug-in 0 (default name „PNBushaube“) will open the window „Properties -
PNBushaube“ with tabs „General“, „Addresses“ and „Parameters“. Tab „Addresses“ serves for modifying the
device diagnostic address or for adopting the proposed default setting.

The tab „Parameter“ serves for the required encoder parameterization.

Manual_PROFINET_EN.doc 19/24 www.baumer.com


17.10.11
Device-specific parameters

• Code sequence
Behaviour of position data relating to the sense of rotation of the encoder shaft when looking at the
flange.
CW („clockwise“) = Ascending values with clockwise rotation
CCW („counter-clockwise“) = Ascending values with counter-clockwise rotation

• Steps per turn


Parameterization of the desired singleturn resolution („steps per revolution“, „measuring units per
revolution“). Allowed parameters range from 1 to the maximum encoder resolution. The
parameterization software signals the limits.

Re-parameterization may clear the previous preset offset value (see “note” under 6.5. Preset
function) so that any current position reference will be lost.

• Total measuring range


Parameterization of the required total measuring range, „TMR“.

With singleturn encoders it must be the same parameter as entered for the singleturn resolution
(“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.

Any alteration of the total measuring range clears the previous preset offset value (see under 6.5
Preset Function)

Important note for multiturn encoder operation


This encoder supports „Endless Operation“ automatically if required.

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 not
powered. In those cases where powerless motion cannot be avoided, the encoder has to be
referenced (presetted) after each power-up. With Endless Operation inactive, the encoder shaft may
rotate unlimited when encoder not powered.

How to determine if „Endless Operation“ is in use:


• Multiply the encoder’s „max. possible revolutions“ (depending on encoder 16 bit = 65536 or 13 bit
= 8192) by your chosen parameter „measuring units per revolution“.
• Divide this value by your chosen „total measuring range“.
• If there is a division remainder, endless operation is in use.

Example for parameters without endless operation:


Maximum possible revolutions 65536 (16 bit multiturn)
Measuring units per revolution 3600
Total measuring range 29.491.200 (8192 x 3600)
Calculation: 65536 x 3600 / 29.491.200 = 8 (no remainder)

Example for parameters with endless operation:


Maximum possible revolutions 65536 (16 bit multiturn)
Measuring units per revolution 3600
Total measuring range 100.000
Calculation: 65536 x 3600 / 100.000 = 2359 remainder 29600

Manual_PROFINET_EN.doc 20/24 www.baumer.com


17.10.11
5.8. Implementation of system functions for alarm handling
Make sure that the system components required for alarm handling have been implemented in the project. To
Siemens Step7 projects apply in particular OB82 ("I/O Point Fault") and OB86 ("Loss Of Rack Fault").
Missing these components will result in a control STOP in case of alarm.

5.9. Compilation and load of hardware and software configuration


After completed hardware project configuration and once having entered all parameters the project must be
compiled (“translated”) and exported to the control.

6. PROFINET operation
6.1. Controller
After having connected the encoder and started the controller (PLC) there is an automated PROFINET boot
up implicating a comprehensive initialising procedure. The device is assigned an IP and the communication
and application structure is built up.

6.2. Operating status indicator (multi-color LED)


The bus cover provides an integrated multi-color LED indicating the encoder’s operating status. The LED will
always signal one of the following operating statuses as long as the encoder is live:

Color Status
LED yellow continuous Encoder not active in the bus, no PROFINET link.
LED green continuous PROFINET link provided by one or both ports (link status active)

LED red continuous for 2,5 s Inadmissible position leap or maximum speed exceeded.
LED red flashing slowly (1 Hz) Parameterization error
LED red flashing fast (5 Hz) Transmitted preset value outside the admissible value range

At encoder power-on the LED remains yellow continuous until the PROFINET controller (PLC) has
established a communication link to the slave (encoder). Usually this status is just an instant and nearly
unnoticed provided the master is already running. Yellow continuous however will may remain in case
communication cannot be established, maybe due to a malfunction in the PROFINET cable.

Provided encoder configuration and parameterization was successful (automated process) the cyclic data
communication will commence. The LED green continuous signals cyclic transmission of position data to the
controller.

Upon occurrence of a position leap („code consistency error“) or excess speed of more than 6200 rpm the
LED will change to red continuous for at least 2.5 s. If the signalized error remains or occurs repeatedly
within this time, red continuous will be extended correspondingly.

If the encoder receives a preset value outside the limits the LED will change to red flashing fast (5 Hz). This
alarm remains until the encoder is receiving an admissible preset value.

In case of incorrect parameterization by the master the LED is flashing red slowly (1 Hz). This may be due to
incorrect parameter input in the projecting tool. Most of incorrect inputs are compensated by the GSDML file,
but eliminating every error is not possible.

6.3. Activity indicator (green LEDs)


The bus cover provides two additional green LEDs to signal data communication status on ports P1 and P2.
During non-permanent data communication (e.g. during bootup) the LEDs are flashing. At fast cyclic data
communication they may remain green continous.

Manual_PROFINET_EN.doc 21/24 www.baumer.com


17.10.11
6.4. Input and output data
Module "Encoder data 32 Bit IO" is utilized for cyclic transmission of 4 byte encoder input data and 4 byte
encoder output data.

Input data (position value)


Encoder input data transmission to the control is performed cyclic by a consistent 32-bit, right-aligned data
word in binary code. To read the position the PLC software should access the parameterized input data
address using a double word.

31 0
Position
Encoder position (right-aligned)

Output data (preset value)

There is cyclic and consistent output data transmission from control to encoder. The output data may serve to
set the encoder to a defined position value within the parameterized total sensing range.
31 0
Preset
Preset (right-aligned). Preset operation is started by bit31

Bit 31: Preset

6.5. Preset function


The preset function in the encoder is triggered by the PLC using bit 31 which is set in the output data. The
encoder position is set to the preset value (bit 30...0). Bit 31 should remain set for at least 10ms to be
recognized by the encoder. Afterwards time by principle does not matter since only a change in bit status
from „0“ to „1“ will be evaluated. We recommend however to clear the bit after completion in order to provide
the original status for the next preset operation.

For optimum alignment of mechanical position to preset we recommend to set the preset value during
encoder standstill, but it may also do during encoder operation for inferior 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 again after power-off and power on. Although
the Flash provides 100.000 writing cycles, frequent software or event-triggered setting operations may
consume even this capacity what has to be considered in the control software configuration.

Note:
Any alteration of the total measuring range during encoder re-parameterization will implicate clearing the
internal preset-offset value. This however has no effect in practice since in this case the position is lost
anyway.

Manual_PROFINET_EN.doc 22/24 www.baumer.com


17.10.11
7. Troubleshooting – Frequently Asked Questions – FAQ
7.1. FAQ: Projecting

7.1.1. Where do I get an encoder manual?


If stated in the order, the manual will come as pdf-file on data carrier (CD). Make sure that the manual applies
to your encoder using the table at the beginning of the manual. You will find the encoder type on the product
label (for example GXMMW or GCAMW).

Should your encoder not be on the list please contact Baumer.

7.1.2. Where do I get the applicable GSDML file?


If included in the order, the GSDML file required for projecting is attached to the encoder on data carrier
(CD). The GSDML file is also available in the Internet under www.baumer.com.
To find out the GSDML file that is applicable for your encoder please use the table at the beginning of the
manual. You will find the encoder type on the product label (for example GXMMW or GCAMW).

Should your encoder not be on the list please contact Baumer.

7.2. FAQ: Operation


7.2.1. What is the significance of the LED provided at the bus cover?
The rear bus cover provides an integrated multi-colour LED indicating the encoder operating status. In
particular upon commissioning and in case of error it provides first information on the system status. For
details on the respective status please refer to chapter 6.2.

Two other, green LEDs are provided near the cable glands for PROFINET connection. These activity LEDs
signal the bus activity, i.e. the data communication on each of the two Ethernet ports.

7.2.2. How to alter the resolution?


The encoder resolution in steps per turn („Measuring units per turn“) is programmed in projecting by
corresponding parameter parameterization in the PROFINET device project.

Usually this is performed by the control’s projecting software (for example SIEMENS® Step7®) by aid of a
PC.

The encoder resolution is programmable in individual steps between the maximum limit (encoder-specific, for
example 8192 at GXMMW) 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 signalled by the LED in the bus
cover flashing red. The maximum total measuring range is calculated by multiplying the resolution (steps per
turn) by the encoder’s maximum number of turns. Standard resolution is 16 bit (65536 turns). Encoders
featuring a 18 bit singleturn resolution (e.g. Multivo Plus) are capable of a 13 bit resolution (8192 turns).

Manual_PROFINET_EN.doc 23/24 www.baumer.com


17.10.11
7.3. FAQ: Troubleshooting
7.3.1. No encoder communication (LED yellow continuous)
The encoder connected is not recognized in the bus. Neither configuration nor parameterization have been
successful, reason why the LED remains yellow continuous.

This phenomenon may be due to the following reasons


• No PROFINET connection or broken wire in the line.
• The programmed device name does not correspond to the stored device name.
• Incorrect encoder implementation in the PROFINET project, so it does not exist from the control’s point of
view
• Correct encoder implementation in the PROFINET project, but inadvertently the compiled project has not
yet been exported to the control.
• Should the above troubleshooting prove unsuccessful try to connect the encoder by the other port.

7.3.2. No encoder communication (LED flashing red once per second))


Incorrect encoder parameterization, i.e. one of the programmed parameters is outside the limits.
Most often when altering the encoder resolution (steps per turn, measuring units per revolution“) the
encoder’s total measuring range was not correspondingly aligned.

Singleturn encoders
The total measuring range of a singleturn encoder comprises exactly one complete or partial revolution,
reason 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 turns (multivoPlus 8192 turns). Maximum admissible
limit for the total measuring range is the product of “steps per turn” multiplied by the encoder’s maximum
number of turns (65536 respectively 8192). Excess values in parameterization will result in an error signal
(flashing LED) together with a “parameterization alarm” in the diagnostic data.

However, any inferior value may be programmed. All encoders with PROFINET bus covers feature integrated
endless operation ensuring admissible values for all resolutions and total measuring ranges even during
overrun. Integer ratios of singleturn resolution and total measuring range are not mandatory, as sometimes
required by other manufacturers.

Example:
Standard multiturn encoder GXMMW features a singleturn resolution of 13 bit (8192 steps per turn) and is
capable of sensing 65536 completed turns.
Consequently the total measuring range is 8.192 x 65.536 = 536.870.912 steps.
The singleturn resolution is reduced to 3600 steps / turn.
The total measuring range now is reduced to 3.600 x 65.536 = 235.929.600 steps.
If the total measuring range is not correspondingly aligned to the new maximum limit, the encoder will
have to count 149.130 completed turns. That is impossible and results in an error signal (flashing LED).

Manual_PROFINET_EN.doc 24/24 www.baumer.com


17.10.11

You might also like