您的当前位置:首页正文

库伯勒编码器组态说明5868Config_Manual_EN

2020-03-31 来源:步旅网
Technical Manual

Configuration Tool Set for Profibus Absolute Single/Multiturn Encoder

Technical Manual

Configuration tool for Profibus-DP © Fritz Kübler GmbH

Copyright Protection

The contents of this documentation are protected by copyright © Fritz Kübler GmbH. The contents of this documentation may not be altered, expanded, reproduced nor circulated to third parties, without the prior written agreement of Fritz Kübler GmbH.

Liability to modification without notice

As a result of ongoing efforts to improve our products, we reserve the right to make changes at any time to technical information contained in the document to hand.

Warranty Disclaimer

Fritz Kübler GmbH provides 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 02-2007

Screen printouts used

Profibus DP Mastersimulator Tool Fa. Bihl + Wiedemann © All rights reserved

Fritz Kübler GmbH Schubertstr.47 78054 VS-Schwenningen / Germany Tel. +49 (0) 7720-3903-0 Fax +49 (0) 7720-21564 E-Mail: info@kuebler.com Internet: www.kuebler.com

R.000.000 1-2 of 18

Technical Manual

Table of Contents

Configuration tool for Profibus-DP 1 CHARACTERISTICS OF THE MULTITURN ENCODER ON THE PROFIBUS

1-4

PNO-IDENT-NUMBER...............................................................................................................................................1-4 START PHASE OF THE ENCODER ON THE PROFIBUS.................................................................................................1-4 CONFIGURATION AND PARAMETERISATION................................................................................................................1-4 CONFIGURATION.......................................................................................................................................................1-4 2 DEVICE PROFILE - PROFILE FOR ENCODER.....................2-5 3 SCALING.......................................................................................3-5 4 GSD-MODULES............................................................................4-5 5 DEFAULT FACTORY SETTINGS...........................................5-6 6 PRESET SETTING.....................................................................6-6 7 EXTENDED DIAGNOSTICS...................................................7-6

CLASS 1 MANDATORY FOR ALL DP ENCODERS.....................................................................................................7-6 CLASS 2 OPTIONAL FUNCTIONALITY.....................................................................................................................7-6 8 PACKAGE CONTENT................................................................8-7

PART1 PROFIBUS DP MASTER SIMULATOR.....................................................................................................8-7

PART2 POWER SUPPLY..................................................................................................................................8-7 PART3 USB-RS232 CONVERTER (OPTIONAL)................................................................................................8-7 PART4 PREFABRICATED PROFIBUS CABLE.....................................................................................................8-7 9 INSTALLATION OF THE PROFIBUS DP MASTERSIMULATOR 9-8 10 PROFIBUS PREDEFINED CONNECTION SET..............10-9 11 SOFTWARE INSTALLATION...............................................11-9 12 PROFIBUS DP MASTER SIMULATOR............................12-10 Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7

Choose a configuration module..............................................................................................12-10 Select the right configuration..................................................................................................12-11 Adjust the parameters..............................................................................................................12-12 Scanning the Profibus Network..............................................................................................12-14 Download the new configuration...........................................................................................12-14 Check Online data...................................................................................................................12-15 Adjust a Preset value..............................................................................................................12-16

13 NOTE 1 NORM DIAGNOSIS....................................................13-17 14 OTE 2 STOP COMMUNICATION............................................14-17 15 DECIMAL-HEXADECIMAL CONVERSION TABLE.................15-18

R.000.000 1-3 of 18

Technical Manual

Configuration tool for Profibus-DP 1 Characteristics of the Multiturn Encoder on the Profibus

PNO-Ident-Number

The Sendix Absolute Singleturn/Multiturn Encoder has a registered PNO-Ident-Number 5868 (Hex) at the PNO (Profibus User Organization) as an unique identification. The according GSD-Files are named as follows:

• Multiturn Series 5868,5888

• Singleturn Series 5858,5878

KUEB5868.GSD KUEB5868_ST.GSD

Start phase of the encoder on the PROFIBUS

The encoder starts up within the ‘Baud-Search’ state. Once the baud rate has been recognized, it switches to the WAIT_PRM state and waits for the parameter data from the DP-Master. The

parameterisation occurs automatically when the DP-Master starts up. The following parameters are transmitted to the encoder: count direction and the measuring length in steps (for more details, see the Encoder Profile from the PNO). When the correct parameter data have been successfully transferred, the encoder switches to the WAIT_CFG state. The PROFIBUS Master then sends a configuration byte to determine the number of inputs/outputs. If the configuration byte is correct, the encoder switches 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 or STEP7 Manager, an update of the internal device list (hardware catalogue) must be carried out within the software. For more information about integrating field devices, please refer to the documentation for the software you are using. The two steps described below are normally necessary for integrating and parameterising the encoder in a Master system.

Configuration

For configuration purposes, i.e. to input the length and type of the I/O on the PROFIBUS, the

configuration programme normally provides an input mask (screen), in which – independently of the desired configuration – the identifier has normally already been set as a default, so that only the I/O addresses remain to be entered. Depending on the required configuration that is desired, the encoder allocates a varying number of input and output words on the PROFIBUS.

The following parameters described are also dependent on the required configuration. The GSD device file (e.g. KUEB5868.GSD) contains five required configurations for PNO Class1 and 2, each with 16- and 32 Bit resolution.

R.000.000 1-4 of 18

Technical Manual

Configuration tool for Profibus-DP 2 Device Profile - Profile for Encoder

This profile describes a manufacturer-independent and mandatory determination of the interface for encoders. It is defined in the protocol, which Profibus functions are used as well as how they are to be used. This standard permits an open manufacturer-independent bus system. The device profile is divided into two object classes:

• Class C1 describes all the basic functions, which the encoder should contain.

• Class C2 contains a number of extended functions, which must either be supported 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.

3 Scaling

With Standard Scaling, scaling will be done as follows:

o With MUR and TMR

o One revolution is equivalent exactly to MUR = TMR values

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 / Singleturn-resolution) * MUR) % TMR

Positionscaled = ((Positionunscaled / (NDR * Singleturn-resolution)) * TMR) % TMR

MUR TMR NDR

Measuring Units per Revolution

Total Measuring Range

Number of Different Revolutions

4 GSD-Modules

Class 2 32-Bit resolution, Input/Output consistent:

The encoder uses 2 input words and 2 output words, which are each consistently transmitted over the bus.

Class 2 32-Bit resolution, Input consistent:

The encoder uses 2 input words, which are each consistently transmitted over the bus. Class 1 16-Bit resolution, Input/Output consistent:

The encoder uses 1 input word and 1 output word, which are each consistently transmitted over the bus.

Class 1 16-Bit resolution, Input consistent:

The encoder uses 1 input word, which is consistently transmitted over the bus.

R.000.000 4-5 of 18

Technical Manual

5 Default factory settings

Class 2 32-Bit resolution MUR=13Bit,TMR=25Bit

Configuration tool for Profibus-DP Scaling on, 25 Bit total resolution

The encoder uses 2 input words and 2 output words, which are each consistently transmitted over the bus.

6 Preset setting

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 1 - 4 is accepted as the position value with the rising edge of Bit 31 (=Bit 7 of data byte 3). The encoder then continues counting from this position. A new adjustment is then only possible after the control bit has been reset. There is no acknowledgment of this action via the inputs.

7 Extended Diagnostics

Class 1 Mandatory for all DP encoders

Function Octet N°. Data Type Name Data_Exchange 1-4 Unsigned 32 Position Value (input) Data_Exchange 1-4 Unsigned 32 Preset Value (output) RD_inp 1-4 Unsigned 32 Position Value Slave_Diag 7 Octet String External Diagnostic Header Slave_Diag 8 Octet String Alarms Slave_Diag 9 Octet String Operating Status Slave_Diag 10 Octet String Encoder Type Slave_Diag 11-14 Unsigned 32 Singleturn Resolution Slave_Diag 15,16 Unsigned 16 Number of Revolution Set_prm 9 Octet String Operating Parameters

Class 2 Optional Functionality

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 Octet String Supported Warnings Slave_Diag 24,25 Octet String Profile Version Slave_Diag 26,27 Octet String Software Version Slave_Diag 28-31 Unsigned 32 Operating Time Slave_Diag 32-35 Signed 32 Offset Value Slave_Diag 36-39 Signed 32 Manufacturer Offset Value Slave_Diag 40-43 Unsigned 32 Measuring Units per Revolution Slave_Diag 44-47 Unsigned 32 Total measuring range in measuring units Slave_Diag 48-57 ASCII String Serial Number Set_prm 10-13 Unsigned 32 Measuring Units per revolution Set_prm 14-17 Unsigned 32 Total measuring range in measuring units

R.000.000 7-6 of 18

Technical Manual

8 Package content

Configuration tool for Profibus-DP Part1 Profibus DP Master Simulator

Part2 Power Supply

Power Supply

External Outputs: 12 or 24 VDC /6W 500mA

Part3 USB-RS232 Converter (optional)

USB 2.0 to serial Converter, DSUB 9M

incl. USB A Cable 80cm USB A M / USB A F black Design with LED

Part4 Prefabricated Profibus Cable

R.000.000 8-7 of 18

Technical Manual

Configuration tool for Profibus-DP 9 Installation of the Profibus DP Mastersimulator

The PROFIBUS DP Master Simulator is an easy to use software for data exchange with PROFIBUS slaves of many suppliers via

PROFIBUS DP. The PROFIBUS DP Master Simulator can exchange data with many PROFIBUS slaves even without GSD-file or type-file. The PROFIBUS slaves can be put into operation with the default I/O window. Input data can be read and output data can be written.

Furthermore the PROFIBUS DP Master Simulator also processes GSD-files. User parameters can be edited and the configuration can be modified and stored.

The PROFIBUS station address can be changed as well with the PROFIBUS DP Master Simulator, this is useful for PROFIBUS I/O modules in protection class IP67 without addressing switches.

The PROFIBUS DP Master Simulator offers the possibility to scan a PROFIBUS network for connected slaves and display them in a graphical way. In this case the PROFIBUS UART has to be connected directly to a PROFIBUS slave. The I/O data and the PROFIBUS user diagnosis can be displayed binary, hexadecimal and now also as ASCII code. The PROFIBUS output data can be transmitted consistently to the PROFIBUS slave. In type mode it is possible to set an output as long as the mouse button is pressed.

The PROFIBUS Master Simulator consists of the software and the PROFIBUS UART which is the ideal interface converter between the RS 232 interface of a PC and the PROFIBUS slave. The UART does not need any additional external power supply. Therefore it is also suitable for mobile use with a laptop or a notebook.

The PROFIBUS UART is simply inserted between the PROFIBUS slave and RS 232 connector cable. Also a simple USB-RS232

Adapter is possible to establish a connection between the Master Simulator (PROFIBUS UART) and the adapted PC.

Optional:

If no RS-232 is available, connect the Profibus UART to the USB Converter.

R.000.000 9-8 of 18

Technical Manual

10 Profibus Predefined Connection Set

The set includes all necessary cables, power supply and converter to establish a simple Profibus network.

Configuration tool for Profibus-DP

Ready to go –

Connect the Encoder Power terminal to the power supply , the cable with the M12 connector to the Encoder BUS OUT terminal and the Profibus UART to the end of SUB-D 9 of the Profibus cable.

The Profibus UART needs an external power of +5VDC. This power may adapted from Profibus external power support (available in the tool package) or from an external power supply.

Be careful with the amount of the power, overload could damage the UART.

Therefore it is also suitable for mobile use with a laptop or a notebook.

11 Software Installation

Choose B+W Software -> 1131 1257 Profibus-DP Master Simulator Directory

Start Setup.exe

R.000.000 11-9 of 18

Technical Manual

12 Profibus DP Master Simulator

Start the Master Simulator from the desktop.

In order to carry out a general parameterisation of the device, it is necessary first to select a module from the GSD file (e.g. KUEB5868.GSD).

The configuration program normally provides an input mask (screen) for parameterisation purposes, i.e. for entering the data for

resolution, count direction etc. The individual modules are listed below:

Configuration tool for Profibus-DP

Step 1

- - - - - -

Choose a configuration module

5 configurations are available for the regular operation of the encoder:

32 Bit Input/Output, consistent 32 Bit Input, consistent

16 Bit Input/Output, consistent 16 Bit Input, consistent

MUR=13 Bit and TMR=25 Bit (32 Bit Input/Output, consistent)

R.000.000 12-10 of 18

Technical Manual

Configuration tool for Profibus-DP

Current Configuration

This list displays the configuration which will be used when the communication is started by the command Start with GSD. All modules declared as preset (preset=1) in the GSD file will be imported in the Current Configuration automatically. Example:

Step 2

- - - - - -

Select the right configuration

With the parameter 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 = Number of Distinguished Revolutions Scaling parameter TMR (Octets 14-17)

o TMR = Total Measuring Range

Default configuration is highlighted green

R.000.000 12-11 of 18

Technical Manual

Configuration tool for Profibus-DP

Step 3

Adjust the parameters

1. Code sequence CW

Possible settings:

Increasing clockwise (0) (CW)

Increasing counter-clockwise (1) (CCW)

2. Class 2 functionality on

Class 2 must be turned on when scaling is active.

3. Scaling function control on

When scaling is turned on – Position depends on the values MUR and TMR.

R.000.000

12-12 of 18

Technical Manual

Configuration tool for Profibus-DP

4. Scaling type MUR+TMR

Scaling type (MUR + TMR)

5. Value for Resolution per Revolution MUR

Example: 3600 Steps per revolution

6. Value for Total Resolution

Example: Value for total resolution 36000

Final Position range: 0…36000 Revolutions 10

R.000.000 12-13 of 18

Technical Manual

Step 4

Configuration tool for Profibus-DP Scanning the Profibus Network

Select “Start Search Profibus Slave Address”

If the power and the Profibus are right connected, the scanner will find the adapted encoder on the adjusted node address.

Note the founded address and type it in at the Communicator

Current slave address Node number

Step 5

Download the new configuration

R.000.000 12-14 of 18

Technical Manual

Step 6

Configuration tool for Profibus-DP Check Online data

Explanation of the screen dump:

1. The Profibus Encoder is connected and is working. 2. Input Data Position in hexadecimal value 0…0FFFFFFFh (0…268435456) MSB 1 … LSB 4

3. Output Data Preset values from 0…0FFFFFFFh MSB 1 … LSB 4 (Bit 31 is Sync Bit for Preset) 4. User Diagnosis Extended Diag header with all flags 5. Norm Diagnosis Standard Diagnosis header 6. Current Slave address Actual adjusted node address

Current example:

• the actual position of the encoder is 03EC21h -> 257057 decimal • scaling function enabled

R.000.000 12-15 of 18

Technical Manual

Step 7

Configuration tool for Profibus-DP Adjust a Preset value

Explanation of the screen dump (Preset Value 5000h)

1. Select the byte to change

2. Type in the value for the byte (here 50h ) Select the next byte to change ….

3. Finally select byte 1 and activate Bit # 7

4. The result is a new position value of 5000h

R.000.000 12-16 of 18

Technical Manual

Configuration tool for Profibus-DP 13 Note 1 Norm Diagnosis

After an upload of a faulty configuration no communication can be established (1) and the PRM Fault Bit is set in the Norm Diagnosis. If a device specific error occurs, the EXT Diag Bit is set and the according bit in the USER Diagnosis (extended diag header) shows the details.

14 ote 2

R.000.000 14-17 of 18

Stop Communication

This command stops the serial communication with the slave.

Technical Manual

Configuration tool for Profibus-DP 15 Decimal-Hexadecimal Conversion 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

R.000.000

15-18 of 18

因篇幅问题不能全部显示,请点此查看更多更全内容