background image

Technical Manual 

Absolute Single/Multiturn Encoders 

Profibus

 

R.000.000

1-4 of 22

1

1

 

 

General 

 

General

PROFIBUS

DP

 

basics

 

This

 

description

 

provides

 

information

 

concerning

 

the

 

implementation

 

of

 

the

 

PROFIBUS

DP

 

transmission

 

protocol

 

in

 

the

 

slave

 

mode

 

in

 

our

 

devices.

 

It

 

should

 

be

 

noted

 

that

 

the

 

extent

 

of

 

the

 

functions

 

described

 

might

 

be

 

limited

 

according

 

to

 

the

 

device

 

or

 

application.

 

With

 

protocol

 

conversions

 

in

 

particular,

 

as

 

a

 

rule

 

fewer

 

functions

 

are

 

used!

 

The

 

profile

 

required

 

The

 

link

 

between

 

the

 

decentralized

 

process

 

operation

 

and

 

the

 

central

 

control

 

via

 

the

 

communication

 

system

 

takes

 

place

 

in

 

the

 

lowest

 

hierarchy

 

level

 

on

 

the

 

filed

 

or

 

process

 

bus.

 

At

 

this

 

level,

 

the

 

main

 

requirements

 

are

 

a

 

simple

 

protocol

 

operation

 

and

 

short

 

data

 

transmission

 

times

 

for

 

the

 

communication.

 

This

 

ensures

 

the

 

fastest

 

system

 

reaction

 

time

 

to

 

the

 

dynamic

 

states

 

of

 

the

 

peripherals.

 

In

 

addition

 

to

 

the

 

classic

 

data

 

exchange,

 

the

 

acyclic

 

transmission

 

of

 

parameter,

 

diagnostic

 

and

 

configuration

 

data

 

must

 

be

 

possible,

 

without

 

radically

 

impeding

 

the

 

real

time

 

capability

 

of

 

the

 

bus.

 

This

 

is

 

the

 

only

 

way

 

to

 

guarantee

 

the

 

achievement

 

of

 

good

 

diagnostics

 

and

 

safe

 

operation.

 

Characteristics

 

The

 

main

 

task

 

of

 

PROFIBUS

DP

 

is

 

the

 

cyclic

 

transmission

 

of

 

the

 

process

 

data

 

from

 

the

 

control

 

system

 

to

 

the

 

peripheral

 

equipment

 

and

 

vice

 

versa.

 

The

 

access

 

procedure

 

uses

 

the

 

Master

Slave

 

principle.

 

Here

 

in

 

the

 

polling

 

operation

 

a

 

Master

 

communicates

 

with

 

its

 

assigned

 

slave

 

devices

 

one

 

after

 

the

 

other

 

on

 

the

 

bus.

 

A

 

data

 

exchange

 

is

 

initiated

 

by

 

a

 

request

 

telegram

 

and

 

ended

 

by

 

an

 

acknowledgement

 

telegram

 

from

 

the

 

Slave

 

concerned.

 

So,

 

each

 

Slave

 

only

 

becomes

 

active

 

after

 

a

 

call

 

from

 

the

 

Master.

 

This

 

avoids

 

a

 

simultaneous

 

bus

 

access.

 

The

 

hybrid

 

access

 

procedure

 

of

 

PROFIBUS

 

allows

 

a

 

combined

 

operation

 

of

 

several

 

bus

 

masters

 

and

 

even

 

a

 

mixed

 

operation

 

of

 

PROFIBUS

DP

 

and

 

PROFIBUS

FMS

 

within

 

a

 

bus

 

section.

 

However

 

the

 

pre

requisition

 

for

 

this

 

is

 

the

 

correct

 

configuration

 

of

 

the

 

bus

 

system

 

and

 

the

 

unambiguous

 

assignment

 

of

 

the

 

Slave

 

devices

 

to

 

the

 

Masters.

 

PROFIBUS

DP

 

distinguishes

 

two

 

types

 

of

 

Master.

 

The

 

Class

 

1

 

Master

 

carries

 

out

 

the

 

cyclic

 

transmission

 

of

 

the

 

operating

 

data

 

and

 

supplies

 

the

 

user

 

data.

 

The

 

Class

 

1

 

Master

 

can

 

be

 

addressed

 

by

 

a

 

Class

 

2

 

Master

 

using

 

certain

 

functions.

 

Direct

 

access

 

to

 

the

 

Slaves

 

is

 

not

 

permitted.

 

The

 

functions

 

are

 

limited

 

to

 

support

 

services

 

such

 

as

 

reading

 

the

 

diagnostic

 

information

 

of

 

the

 

slaves.

 

A

 

Class

 

2

 

Master

 

is

 

thus

 

also

 

understood

 

as

 

a

 

programming

 

or

 

diagnostic

 

device.

  

Protective

 

functions

 

PROFIBUS

DP

 

is

 

equipped

 

with

 

many

 

protective

 

functions.

 

These

 

ensure

 

safe

 

fault

free

 

communication

 

not

 

only

 

in

 

the

 

harsh

 

environment

 

of

 

the

 

decentralised

 

peripheral

 

equipment,

 

but

 

also

 

in

 

the

 

case

 

of

 

external

 

interference

 

or

 

the

 

failure

 

of

 

one

 

or

 

more

 

stations.

 

Wrong

 

parameter

 

settings

 

are

 

recognized

 

directly,

 

in

 

that

 

stations

 

having

 

the

 

wrong

 

parameters

 

are

 

not

 

integrated

 

in

 

the

 

operating

 

data

 

exchange.

  

The

 

Master

 

records

 

the

 

failure

 

of

 

any

 

station

 

and

 

indicates

 

this

 

to

 

the

 

user

 

by

 

means

 

of

 

a

 

general

 

diagnostic

 

message.

 

Any

 

breakdown

 

in

 

the

 

transmission

 

path

 

is

 

detected

 

by

 

the

 

Slave

 

by

 

means

 

of

 

time

 

monitoring

 

and

 

leads

 

to

 

the

 

outputs

 

being

 

switched

 

off.

  

EMV

 

disturbances

 

are

 

virtually

 

filtered

 

out

 

by

 

means

 

of

 

the

 

difference

 

signal,

 

thanks

 

to

 

the

 

particularly

 

noise

immune

 

RS485

 

transmission

 

system.

  

Data

 

transmission

 

errors

 

are

 

recognized

 

thanks

 

to

 

frame

 

and

 

check

sum

 

controls

 

and

 

lead

 

to

 

the

 

retransmission

 

of

 

the

 

telegram.

 

Summary of Contents for PROFI BUS Multiturn 5868 Series

Page 1: ...T Te ec ch hn ni ic ca al l M Ma an nu ua al l AbsoluteSingle Multiturn Encoders Singleturn Series 5858 5878 Multiturn Series 5868 5888 P Pr ro of fi ib bu us s D DP P D DI IN N 1 19 92 24 45 5 3 3 ...

Page 2: ...ve the right to make changes at any time to technical information contained in the document to hand Warranty Disclaimer Their is no provide no guarantee neither tacit nor express in respect of the whole manual whether this applies to the original German text or to the English translation and assumes no liability for any damage neither direct nor indirect however caused Document information Revised...

Page 3: ...S 8 10 1 DEVICE PROFILE FOR ENCODERS 8 10 Class 1 Mandatory for all DP encoders 8 10 Class 2 Optional Functionality 8 10 9 INITIAL START UP GENERAL DEVICE SETTINGS 9 11 Node number Device address 9 11 10 SET STATION ADDRESS SSA 10 11 11 EXTERNAL POSITION RESET 11 11 12 PROFIBUS CONNECTION PG 12 12 SUPPLY VOLTAGE 12 12 13 PROFIBUS CONNECTION M12 13 12 Bus termination 13 13 14 INSTALLATION NOTES WHE...

Page 4: ... becomes active after a call from the Master This avoids a simultaneous bus access The hybrid access procedure of PROFIBUS allows a combined operation of several bus masters and even a mixed operation of PROFIBUS DP and PROFIBUS FMS within a bus section However the pre requisition for this is the correct configuration of the bus system and the unambiguous assignment of the Slave devices to the Mas...

Page 5: ...required configuration data stored in the Master and the actual configuration data of the Slave After the last diagnostic cycle each Slave for which no error was detected during the comparison is ready for operation Each of these Slaves is then integrated automatically by the Master in the operating data transfer For diagnostic purposes the Master provides a diagnostic buffer for each Slave which ...

Page 6: ...ive earth by means of an earth clip Shielding rules When using a shielded bus cable it is recommended to connect the shield at both ends to the protective earth using low induction connections This ensures the highest possible electromagnetic compatibility EMC One exception concerns separated potentials e g in refineries generally in these plants earthing is permitted at one end only The connectio...

Page 7: ...itches to the state DATA_EXCHANGE Configuration and Parameterisation The parameterisation i e the transfer of the parameters for count direction encoder resolution etc normally occurs within the configuration programme for the PROFIBUS Master used To do this the type file or GSD device file should be copied to the respective directory for type or GSD files With some programmes such as COM PROFIBUS...

Page 8: ...by encoders of this class Mandatory or which are optional Class C2 devices thus contain all the C1 and C2 mandatory functions as well as additional manufacturer dependent optional functions An address area is also defined in the profile which can be reserved for a manufacturer s own proprietary special functions Configuration The configuration programme normally provides an input mask screen for p...

Page 9: ...tting In the mode Class 2 the encoder can be adjusted over the PROFIBUS to any position value in the value range of 27 Bit or 15 Bit This occurs by setting the most significant bit MSB of the output data 2 31 for configuration Class 2 32 Bit or 2 15 for configuration Class 2 16 Bit The Preset Value that is transmitted in the data bytes 0 3 is accepted as the position value with the rising edge of ...

Page 10: ... 14 Unsigned 32 Singleturn Resolution Slave_Diag 15 16 Unsigned 16 Number of Revolution Set_prm 9 Octet String Operating Parameters C Cl la as ss s 2 2 O Op pt ti io on na al l F Fu un nc ct ti io on na al li it ty y Function Octet N Data Type Name Slave_Diag 17 Octet String Additional Alarms Slave_Diag 18 19 Octet String Supported Alarms Slave_Diag 20 21 Octet String Warnings Slave_Diag 22 23 Oct...

Page 11: ...ddress SSA 0 Set Station address SSA Adjust both rotary switches to position F for Software set station address support with a Class2 Master The Software set station address support can only be carried out with a Class2 Master Default settings after a Power on is the address 125 0x7D for SSA_Support Only valid addresses will be stored in a non volatile memory and are active by now The Node number ...

Page 12: ...ble gland If further devices follow in the bus segment Run continuing cable through the right cable gland and connect to terminal B and terminal A Supply voltage Run the supply voltage for the encoder through the central cable gland and connect it to the terminals on the left V and 0V Place the cable shield onto the cable gland see wiring diagram View into the opened bus cover Description from lef...

Page 13: ...station on the bus then the looped through Profibus must be actively terminated at both ends with a bus termination resistor between A and B At closed housings it is necessary to order with termination adjusted the right way otherwise it is mandatory to adapt an external resistor 14 4 Installation notes when using housings with cable glands 1 Installation notes when using housings with cable gland...

Page 14: ...ameter telegram except for the 25 Bit configuration the following can be defined Code Sequence Octet 9 Bit 0 o 0 clockwise o 1 counter clockwise Class 2 functionality Octet 9 Bit 1 o 0 no o 1 yes Scaling enabled Octet 9 Bit 3 o 0 no o 1 yes Scaling type Octet 9 Bit 7 o 0 Standard MUR TMR o 1 Alternative NDR TMR Scaling parameter MUR or NDR Octets 10 13 o MUR Measuring Units per Revolution o NDR Nu...

Page 15: ... Positionscaled Positionunscaled Singleturn resolution MUR TMR With Alternative Scaling scaling will be done as follows o With NDR and TMR o NDR revolutions are equivalent exactly to the TMR values Positionscaled Positionunscaled NDR Singleturn resolution TMR TMR 1 Code sequence CW Possible settings Increasing clockwise 0 CW Increasing counter clockwise 1 CCW 2 Class 2 functionality on Class 2 mus...

Page 16: ...s Profibus R 000 000 16 16 of 22 3 Scaling function control on When scaling is turned on Position depends on the values MUR and TMR 4 Scaling type MUR TMR Scaling type MUR TMR 5 Value for Resolution per Revolution MUR Example 3600 Steps per revolution ...

Page 17: ...aled Positionunscaled Singleturn resolution MUR TMR If the scaling values TMR MUR cannot be divided without a rest there will be an error at the limits of the position values value 0 and maximum position This can be avoid with a multiple value of MUR to TMR Limitations The calculated factor GP_U TMR should always be an integer number k GP_U TMR k Integer number Example Input Object 6001h MUR 65000...

Page 18: ...sets the position value 4000 U Max physical Resolution 2 28 Bit Singleturn Resolution MUR 4096 TMR At the end oft the physical resolution GP_U it comes to a fault because the input of k is no integer number The Encoder resets the position at the end of the Multiturn to Zero The same fault occurs immediately when after a preset to zero the maximum value of the Multiturn 4095 will be adjusted ...

Page 19: ...432 25 Bit The original Standard Values Default values on delivery can be reloaded by pressing the button on the rear when switching on Restore parameters If errors have occurred during programming of the objects and if these parameters have been saved in the EEPROM it will not be possible to address the encoder next time it is switched on this error can be cleared only by means of a general Reset...

Page 20: ...iguration or parameterisation GSD module must be loaded and sent to the encoder Observe combination with DIAG LED BUS ON Connection to Master established DATA_Exchange Mode Exchange of process data The individual LED annunciators can of course also occur in combinations Master can be either a PLC or a second communication partner Operating voltage LED combinations during operation Annunciator LED ...

Page 21: ... flashing Short flashing of red LED Diagnostic mode Device is ready for diagnostics Switch the encoder off Turn the encoder back on keeping the SET key pressed for approx 3 sec The red LED flashes Switch the device off again When the encoder is rebooted all values will be reset to their default settings 20 20 Definitions Definitions Explanation of Symbols This symbol highlights those parts of the ...

Page 22: ...on Table With numerical data the decimal values are given as numerals with no affix e g 1408 binary values are identified by the letter b e g 1101b and hexadecimal values with an h e g 680h after the numerals The values shown in bold are to be entered on the rotary switches Example Left figure high order rotary switch right figure low order rotary switch ...

Reviews: