BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web PROFIBUS USER MANUAL ® PROCESS FIELD BUS Absolute Rotary Encoder with Profibus-DP-Interface POSI+ User Manual : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 1 2 1.1 Absolute Rotary Encoder............................4 5.1.7 Physical impulses .................................20 5.1.8 Encoder type .......................................21 1.2 Profibus technology ....................................4 5.1.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL Specifications are subject to change without notice Technical specifications, which are described Publication: Version: May 2009 Preliminary in this manual, are subject to change due to our permanent strive to improve our products.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 1 General This manual describes installation and configuration of the Absolute Rotary Encoder the requirements of a Profibus Slave according to the PROFIBUS standard. It is certified by the with Profibus DP interface.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 2 Installation The Absolute Encoder is connected with 3 M12 connectors.. 2.1 Settings in the connection cap 2.1.1 Station address The station (node) address is set by using the 8 DIP switches .The DIP n°8 is not used.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 2.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 2.3 Connecting the screen To achieve the highest possible noise immunity shielded cables should be used for data certain cases, a compensation current might flow over the shield. Therefore a potential transmission.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 3 Device Configuration The Absolute Encoder with Profibus-Interface can be programmed according to the needs determined. These data are stored in the profibus master. They are transmitted to the of the user.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 3.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 3.3 Encoder configurations - data format Designation Configuratio Input words n Hex Class 1 Singleturn (According (Encoder -> Dec.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 4 Class 1 and Class 2 profile The encoder versions Class 1 and Class 2 are defined by the working group encoder in the Encoders” (available from the PNO, Order No. 3.062). „Profibus Nutzerorganisation“ in the “Profile for 4.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 4.1.1 Code sequence The parameter „code sequence“ defines the counting direction of the position value. The code increases when the shaft is rotating Octet 9 Bit 0 clockwise (CW) or counter-clockwise (CCW) (view onto the shaft).
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 4.1.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 4.2 Data exchange in normal operation The „DDLM_Data_Exchange mode“ is the (position) value to the master. The encoder normal operation mode of the device. On request the encoder transfers the current can also receive data from the master (e.g.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 5 Special versions BEI IDEACOD 2.2 The manufacturer-specific configurations BEI IDEACOD 2.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 5.1 Parameter In the following the manufacturer specific parameters are described in detail. The parameters according to the Profile Encoders are supported too, description: see chapter 4. for 5.1.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 5.1.3 Desired Measuring units reference With this parameter the reference for the desired measuring units (cp. 5.1.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 5.1.4 Activate commissioning mode Bit 2 in octet 26 activates the commissioning mode.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL resolution of the encoder (type label) is used.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 5.2 Data exchange in normal operation With the manufacturer-specific versions BEI IDEACOD 2.2 the process value generally is upper digits will be overwritten by the status bits.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 5.3 Commissioning mode If the commissioning mode is activated in the encoder parameters, the scaling factor can - The commissioning mode is activated (parameter settings, cp. 5.1.4) be determined directly in the machine by a „Teach-In“.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 5.3.2 Teach-In Start After the machine / system has been moved to the start-position the Teach-In-Start command is transmitted to the encoder. The Status bits Bit Master device now starts the internal calculation of a new scaling factor.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL In order to replace the encoder later without a new Teach-In procedure, the total total measuring range“.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 6 Diagnostic messages 6.1 Overview On request of the master the encoder transmits diagnostic data diagnostic data is according to the Profibus Standard (octets 1-6) respectively according ("DDLM_Slave_Diag").
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 6.2 Supported diagnostic messages In the following the different messages are described in detail. 6.2.6 Profile version diagnostic Diagnostic bytes 24 and 25 contain the profile version of the encoder. 6.2.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL With the current version the serial number is not saved in the encoder, the bytes contain the default value 2A hex. 28 Preliminary Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 6.3 Status indication by the LEDs the nine possible combinations are used to Two LEDs indicate the status of the encoder in the profibus network. indicate a special condition.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 7 Configuring with STEP 7 In the following the configuration of the BEI IDEACOD encoder with the configuration tool STEP 7 is shown exemplarily. In this example STEP 7 Version 5.1 and the CPU 315-2DP (profibus-master integrated) are used.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 7.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 7.3 Selecting the encoder version As described in chapter 3 the functionality of encoder version can be selected. For this, one the encoder depends on the selected encoder version.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 7.4 Setting the parameters Select the encoder in the hardware configuration and double click slot one in the configuration table of the encoder. The dialog „Properties – DP slave“ appears. The input and output addresses can be changed (if desired).
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL Due to the software tool STEP7 32-bit parameter values (e.g. total measuring range, software limit switches) have to be divided into high and low word.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 8 Technical Data See Datasheets. 9 Appendix 9.1 FAQ absolute encoder Profibus Problem The masters do not support the full diagnostic There are problems with the profibus network (bus error, no answer from the encoder) if one data length (57 bytes).
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL setting . Check the connection of the bus lines (BUS IN / BUS OUT). Check the hardware Parameter error! Check parameters, e.g. the rules for setting the total measuring range (cp. configuration in your software tool. Green LED bright, red LED flashing: 4.1.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL Problem Sporadic bus errors The resistance value must be about 110 (220 parallel 220 ).
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL GSD file File that contains slave-specific characteristics. The GSD file is supplied by the manufacturer of the profibus slave.
BEI IDEACOD SAS Espace Européen de l’Entreprise 9, rue de Copenhague B.P. 70044 Schiltigheim F 67013 Strasbourg Cedex Tél Fax Mail Web : : : : +33 (0)3 88 20 80 80 +33 (0)3 88 20 87 87 info@bei-ideacod.com www.bei-ideacod.com PROFIBUS USER MANUAL 10 Index B I Bus termination ..................................................... 5 Installation.............................................................. 5 C L Class 1 ................................................................... 11 LEDs ...