BMSV 58
BMSV 58
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
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)
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
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.
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.
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!
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.
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:
SAE J1939
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:
Multi-color LED
Indicating the operating status,
green-yellow-red
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
4 3 3 4
1 2 2 1
• 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).
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.
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.
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”.
Enter the beginning of the respective address or adopt the automated proposal. Identical or overlapping
addresses for input and output are admissible.
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.
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.
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.
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.
• 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
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.
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)
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.
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.
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.
31 0
Position
Encoder position (right-aligned)
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
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.
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.
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).
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).