Home

PROFIBUS USER MANUAL with Profibus-DP

image

Contents

1. Cancel Help Preliminary 33 BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 IDEACOD Re es Mail info bei ideacod com F 67013 Strasbourg Cedex WEB gt wWww berideacod 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 Example Decimal Hexadecimal Hexadecimal Decimal to be entered 129600 00 01 FA 40 High word Low word FA 40 64064 The decimal value 1 has to be entered into the high word parameter field the value 64064 into the low word parameter field Or Divide the value by 65536 enter the integer part of the result into the high word parameter field the remainder into the low word field 129600 65536 1 977539 integer part 1 high word 1 129600 1 x 65536 64064 remainder 64064 low word 64064 It is also possible to enter the parameters directly as hexadecimal code However this is very complicated and it should be avoided if possible Properties DP slave f 1 xi Address ID Parameter Assignment Parameters H Station parameters Device specific parameters mt Hex parameter assignment User_Prm_Data 0 to 7 00 44 00 01 10 00 00 01 LE User_Prm_Data 8 to 15 F4 40 00 00 00 00 00 00 LE User_Prm_Data 16 to 23 00 00 80 00 00 00 00 00 2 User_Prm_D
2. S i Address Length Unit Consistent over Parameter Assignment has to be selected SE es ee ieee End 259 Process image partition e zj Data for Specific Manufacturer Maximum 14 bytes hevadecimal separated by comma or blank space After choosing the Device specific double clicking on it Numerical values have parameters the different parameters to be entered directly The example shows the depend on the encoder version can be set parameters of encoder version BEI IDEACOD If several possibilities are offered for one 2 2 the version with the highest functionality parameter the parameters list is opened by Properties DP slave E xj Address ID Parameter Assignment Parameters 3 Device specific parameters Code sequence Increasing clockwise 0 Scaling function control Increasing clockwise 0 Desired Measuring units high Increasing counter clockwise 1 Desired Measuring units low 4096 E Physical impulses high 0 E Physical impulses low 4096 2 Desired measuring units per Revolution Total measuring range high 256 Total measuring range low 0 E Commissioning mode Disable E Shorter diagnostics 16 bytes No E Lower limit switch Disable E Lower limit switch high 0 E Lower limit switch low 0 E Upper limit switch Disable E Upper limit switch high 0 E Upper limit switch low 32767
3. O1 kel IOS jw N 27 30 Roe Rod SE odo n o o NO JO Jo Jo 20 KRIWIN O Reserved Reserved NTO 16 Preliminary IDEACOD B P 70044 Schiltigheim F 67013 Strasbourg Cedex BEI IDEACOD SAS Espace Europ en de l Entreprise D E ne SS F e 2 tue do Copenhague Mail info bei ideacod com Web 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 for 5 1 1 Activate manufacturer specific parameters The manufacturer specific parameter byte 26 is activated with bit 6 in octet 9 Bit 7 in octet 26 activates further parameter bytes 27 39 Usually this happens automatically if the encoder versions BEI IDEACOD 2 2 are selected It is only important for the user to observe this if the parameters are entered manually directly using hex code 5 1 2 Desired measuring units The parameter desired measuring units is used to program any required number of steps Octet 10 11 Bit 31 24 Data 223 to 216 The reference for the desired measuring units is specified with the parameter Desired measuring units reference cp 5 1 3 If per revolution is selected the measuring range can be adapted with the parameter total Encoders are supported too description see chapte
4. B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL Web www bei ideacod com 5 Special versions BEI IDEACOD 2 2 The manufacturer specific encoder configurations BEI IDEACOD 2 2 offer in addition to the functions according to the Profile for Encoders features such as commissioning mode velocity output and software limit switches The following table gives an overview of the used parameters and the structure of the parameter telegram Usually it is not necessary to know these details as the parameters are set with user friendly software tools Details Section Octet Parameter Bit byte No Ln Profibus Standard Parameters 9 Code sequence Class 2 functionality Commissioning Diagnostics Scaling function Reserved Reserved Activate manufacturer specific parameters octet 26 Reserved Desired measuring units refer to octet 26 bit O and 1 5 1 2 17 Wles 17 Total measuring range 4 1 6 18 25 Reserved 26 Reference for the desired measuring steps 0 5 1 3 18 Page Seas 5 amp BIN IN S zl LC On P INJ O 10 13 Activate commissioning mode Shorter Diagnostics Reserved Activate lower limit switch Activate upper limit switch Activate octets 27 39 Lower limit switch 31 34 Upper limit switch 35 38 Physical impulses 39 Reserved Encoder type Single Multiturn Reserved Reserved Time base velocity
5. 33 0 3 88 20 87 87 B P 70044 Schiltigheim Mail info bei ideacod com F 67013 Strasbourg Cedex Web www berideacod com PROFIBUS USER MANUAL T l 33 0 3 88 20 80 80 IDEACOD 5 1 4 Activate commissioning mode Bit 2 in octet 26 activates the commissioning mode This is a special mode with the option to set further parameters in the data exchange mode additional to the preset value In the commissioning mode a Teach In can be carried out i e the gearing factor can be determined directly in the machine In this special mode indicated by the flashing green LED the parameters set in the system configuration are ignored by the encoder It uses parameters stored in an internal EEPROM instead 5 1 5 Shorter Diagnostics Some Profibus masters especially older ones have problems with the full diagnostic data length 57 bytes The BEI IDEACOD encoder offers the option to reduce the diagnostic data length to 16 bytes If Class 1 is used the standard diagnostic data length is 16 bytes 5 1 6 Software limit switch Two positions can be programmed If the position value falls below the lower limit switch or exceeds the higher limit switch bit 27 in the 32 Bit process value is set to 1 Between these limit switches bit 27 is set to O The limit switches can be set to any value but the parameter total measuring range must not be Octet 27 28 Bit 31 24 23 16 Data ZE The commissioning mode can b
6. Transfer of the required position value preset value SLAVE SLAVE NO NO NONE Master New required position value is transferred Master 0 010 0 01 00 Reset bit 31 normal mode SLAVE SLAVE ERR KON SON ORON ONE Master New required position value is transferred Preliminary 25 IDEACOD BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL 6 Diagnostic messages 6 1 Overview On request of the master transmits diagnostic CDDLM Slave Diag The diagnostic length is 57 bytes Exception the encoder data data diagnostics cp 5 1 5 The format of the 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 diagnostic data is according to the Profibus Standard octets 1 6 respectively according to the Profile for Encoders starting from octet shorter 7 Diagnostic function Data type Diagnostics octet Class number Station status 1 ref to Profibus Octet Standard Station status 2 ref to Profibus Octet 2 Standard Station status 3 ref to Profibus Octet 3 Standard Diagnostic master address Octet 4 PNO identification number Octet 5 6 Extended diagnostic header Octet String 7 Alarm messages Octet String 8 Operating status Octet String 9 Encode
7. 80 80 IDEACOD 9 rue de Copenhague ee 33 0 3 88 20 87 87 B P 70044 Schiltigheim Info helideaced com F 67013 Strasbourg Cedex WEB wWww berideacod com 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 BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 IDEACOD 9 rue de Co Fax 33 0 3 88 20 87 87 penhague lee e B P 70044 Schiltigheim Mail info bei ideacod com F 67013 Strasbourg Cedex Web www belideacod 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 indicate a special condition the profibus network The red LED is used to display errors the green Ir there are any problems with starting up the one displays the status of the encoder Both system the state of the LEDs can give LEDs can have one of three possible important information about the error cause conditions dark bright and flashing Five of No Red LED Green LED Status possible cause Dark Dark No power supply 2 Bright Bright Encoder is ready for operation but it has not received any configuration data after power on Possible causes address setting incorrect Bus lines not connected correctly 9 Flashing Bright Parameter or configuration error The encoder receives configuration or param
8. Dec Master Master gt Encoder Preliminary Output words T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 Mail info bei ideacod com Web www bei ideacod com Description BEI IDEACOD SAS S T l 33 0 3 88 20 80 80 IDEACOD EE e eg Fax 33 0 3 88 20 87 87 K penhague A ad e B P 70044 Schiltigheim Mail info bei ideacod com F 67013 Strasbourg Cedex Web ME ee PROFIBUS USER MANUAL 4 Class 1 and Class 2 profile The encoder versions Class 1 and Class 2 are Encoders available from the PNO Order No defined by the working group encoder in the 3 062 Profibus Nutzerorganisation in the Profile for 4 1 Parameter settings The following table contains an overview of user to know the details of the structure the the parameters according to the Profile for parameters are set in user friendly forms in the Encoders and the structure of the parameter operator software tool telegram Usually it is not necessary for the Octet byte Parameter Bit Nr Details No Ih ccs amp Profibus Standard Parameters 9 Code sequence 0 Class 2 functionality Section 4 1 2 Page 12 Commissioning Diagnostics 2 Section 4 1 3 Page 12 Scaling function 3 Section 4 1 4 Page 12 Reserved 4 Reserved 5 Not used for Class 1 and Class 2 6 7 10 Measuring units per revolution Section 4 1 5 Page 12 13 14 Total measuring range Section 4 1 6 Page 13 17 18 Reserved Profile 25 26 Not u
9. Deridedcod com PROFIBUS USER MANUAL 2 2 Connecting bus lines and power supply Pin assignment of the B coded 5 pin male M12 connector on the device side Signa not connected not connected RxD TxD P BJine red Pin assignment of the B coded 5 pin female M12 connector on the device side Pno el CT Poney EN O O CIE Adine green 3 Data ground reference potential to VF LRO ies ed 5 fret connected Thread Shield SSCS Power supply plus 5V and Data ground are insulated from the supply voltage Using power supply P5V and Data ground with an external termination line Pinning for Acoded 4 pin male M12 Power supply connector rin Function EN ETE ae NEE C Power supply voltage between 5V DC and 30V DC 6 Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise D E ne SS F e IDEACOD 2 tue do Copenhague Mail info bei ideacod com B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL Web www bei ideacod com 2 3 Connecting the screen To achieve the highest possible noise immunity certain cases a compensation current might shielded cables should be used for data flow over the shield Therefore a potential transmission The shield should be connected compensation cable is recommended to ground on both ends of the cable In 2 4 Instructions for mechanical installation and electrical connection of the angular encoder The following points shoul
10. eee 17 9 1 FAQ absolute encoder Profibus 35 9 1 3 D sired Measuring uniis TefErence 18 GO DONNE nanne 37 5 1 4 Activate commissioning mode 19 5 1 5 Shorter Diagnostics ere TEEN 19 10 WG OX EN 39 2 Preliminary BEI IDEACOD SAS IDEACOD 9 rue de Copenhague B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL Specifications are subject to change without notice Publication Technical specifications which are described Version in this manual are subject to change due to our permanent strive to improve our products Preliminary Espace Europ en de l Entreprise May 2009 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 com BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague Fax 33 0 3 88 20 87 87 B P 70044 Schiltigheim Mail info bei ideacod com F 67013 Strasbourg Cedex Web www bei ideacod com PROFIBUS USER MANUAL T l 33 0 3 88 20 80 80 IDEACOD 1 General This manual describes installation and configuration of the Absolute Rotary Encoder with Profibus DP interface The device meets 1 1 Absolute Rotary Encoder Basic principle of the absolute measurement is the optical scanning of a transparent disk with code print The code disk is connected to the shaft that is to be measured By evaluating the code and two additional incremental si
11. 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 can also receive data from the master e g request the encoder transfers the current the preset value in the class 2 configuration 4 2 1 Transferring the process value The multiturn encoder transmits the current position value as a 32 bit value double word to the master Word Word 1 Word 0 Function Process value Bit 4112187 AIS A By By 21 DO 18 17 16 bf UIB 2 NOI 8765 4321 O0 OIOIXIXIXIXIXIX XIXIXIX XIXIXIX XIXIXIXIXIXIXIX XXI XIX XTX XX The singleturn encoder uses a 16 bit value word for data transmission 4 2 2 Preset function Using the preset function it is possible to adapt he encoder zero point to the zero point of the application When using this function the current encoder position value is set to the desired preset value The integrated microcontroller calculates the internal zero point shift The preset value is activated if bit 31 in the peripheral output double word is set to 1 rising edge As the preset function is used after receiving the scaling parameters the preset value refers to the scaled position value 14 Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise IDEACOD DR Mail info bei ideacod com B P 70044 Schiltig
12. 104 a Bee Fb Order number Address PROFIBUS DP master system 1 E Additional Field Devices E General Drives aE 1 0 7 1 Encoders a E BEI Encoder Universal module Class 1 Singletum Class 1 Multiturn Class 2 Singletum Class 2 Multiturm Class 2 Multitum DX Versic BEI1 0 Multitur BEI1 1 Multitum BE 2 0 Multiturn BEI 2 1 Singletum BEI 2 1 Multiturn BEI 2 2 Singletum Press F1 to get Help E Gateway ELE E Compatible PROFIBUS DP Slaves E Closed Loop Controller E Configured Stations Ca DP VO slaves Ca DI DP PA Link a ENCODER ET 2008 H ET 200C ET 200eco ET 2006 ET 2001 32 Preliminary BEI IDEACOD SAS 3 Espace Europ en de l Entreprise T l 33 033 88 20 80 80 IDEACOD 9 rue de Copenhague GH 33 0 3 88 20 87 87 B P 70044 Schiltigheim Info heldeaced com F 67013 Strasbourg Cedex Web www bei ideacod com PROFIBUS USER MANUAL 7 4 Setting the parameters Select the encoder in the hardware E Address ID Parameter Assignment 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 To set the encoder parameters the tab 1 0 Type Output Out input Direct Entry Length Unit Consistent over P Words z rota length z
13. 6 2 2 Operating status 27 3 1 Overview Configuration principle 8 6 2 3 Encoder type nnen 27 3 2 Overview encoder configurations 6 2 4 Singleturn resolution eee 27 lee eil Tt zen satanas marre betekend ensen 9 6 2 5 Number of revolutions nn 27 3 3 Encoder configurations data format 10 6 2 6 Profile version nnee nennen 27 6 2 7 Software version nnen ennen 27 4 Class 1 and Class 2 profile nnn 11 6 2 8 Operating tiMe nnen enen enen 27 4 1 Parameter settings nun 11 6 2 9 Zero offset 27 4 1 1 Code sequence nnn 12 6 2 10 Programmed resolution 27 4 1 2 Class 2 functionality nnen 12 6 2 11 Programmed total resolution 27 4 1 3 Commissioning diagnostics 12 62 12 Seidl NUMB Enciende 27 4 1 4 Sealing FUNCTION nennen 12 6 3 Status indication by the LEDS 29 4 1 5 Measuring units per revolution 12 an 4 1 6 Total measuring range 13 7 Configuring with STEP 7 30 4 2 Data exchange in normal operation 14 7 1 Installing the GSD file 30 4 2 1 Transferring the process value 14 7 2 Configuring the encoder nn 31 4 2 2 Preset function 14 7 3 Selecting the encoder version 32 5 Special versions BEI IDEACOD 2 2 16 7 4 Setting the parameters nnen nen 33 5 1 Parameter ss 17 8 Technical Data nnn 35 5 1 1 Activate manufacturer specific parameters nnn 17 9 AppenODt E 35 5 1 2 Desired measuring umfts eee
14. 96 Desired measuring units per Revolution Total measuring range high 1 Value Increasing clockwise 0 Enable 1 Total measuring range low 64064 Commissioning mode Disable Shorter diagnostics 16 bytes No Lower limit switch Disable Lower limit switch high 0 Lower limit switch low 0 Upper limit switch Enable E Upper limit switch high Disable 5 1 7 Physical impulses Octet Bit 31 24 Data 223 to 216 Physical impulses This parameter is evaluated if the reference for the desired measuring units is physical impulses cp 5 1 3 With the physical impulses it is possible to set a gearing factor freely The user defines the output steps desired measuring steps over a part of the measuring range This option is helpful to program scaling factors that result in a non integer number of steps over 1 revolution Example Problem The position value has to increase by 400 steps over 3 revolutions 15 8 25102 to Octet 26 Bit 5 Lower limit switch T ES Deactivated Activated Octet 26 Bit 6 Upper limit switch Can Deactivated Activated 38 7 0 With the reference steps per revolution it is impossible to program that scaling factor it would be necessary to set the parameter desired measuring steps to 133 33 this is not possible because the parameter must be an integer value Solution Choose physical impulses as referenc
15. B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 Mail info bei ideacod com Web www bei ideacod com IDEACOD Problem The resistance value must be about 110 Q Sporadic bus errors 220 Q parallel 220 Q Possible cause Possible cause Terminating resistors not correct Possible solution Check terminating resistors The resistors of 220 Q must be switched on at the beginning and at the end of the bus segment Switch off the power supply and measure the resistance between the terminals A and B in the connection cap EMC problems Possible solutions Is the used baud rate acceptable for the length of the bus lines Try to use lower baud rate if necessary Check the connection of the cable shield in the connection cap Are all cables and conductions laid according to EMC rules 9 2 Definitions Address A number which is assigned to each node no matter whether it is a master or slave The address is set non volatile in the connection cap using rotary switches Baud rate Data transfer rate specified as the number of bits transferred per second baud rate bit rate Bus Node Device which can send receive or amplify data via the bus DDLM Direct Data Link Mapper Interface between Profibus DP functions and the encoder software DDLM_Data_Exchange Operating status of the bus for standard data transfer DDLM_Set_Prm Operating sta
16. BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 IDEACOD 9 rue de Copenhague Mall info bel d a B P 70044 Schiltigheim Wal nio ie meen EN F 67013 Strasbourg Cedex eb www beiideacod com PROFIBUS USER MANUAL Absolute Rotary Encoder With Profibus DP Interface POSI User Manual BEI IDEACOD SAS 2 Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 IDEACOD 9 rue de Copenhague Fax 33 03 88 20 87 87 B P 70044 Schiltigheim Mail info bei ideacod com F 67013 Strasbourg Cedex Webi WASSEN PROFIBUS USER MANUAL UNE E 4 S EE SOAS SWINGIN esien Ge 5 1 7 Physical impulses nanne enn 20 1 1 Absolute Rotary Encoder nnn 4 5 1 8 Encoder type nnen 21 1 2 Profibus technology n eneen 4 5 1 9 Velocity time base nnen 21 CRL EE eens 5 5 2 Data exchange in normal operation 22 2 1 Settings in the connection CCD 5 5 3 Commissioning MO EE 23 2 1 1 SHOHON address 5 5 3 1 Setting the counting direction 23 2 1 2 Bus termination snaren 5 5 3 2 Teach In Start nen 24 AA le o ME 2 2 Connecting bus lines and power supply 6 geeen SI se 5 3 4 Preset value nnee ennn 25 2 3 CONNECTING the screen 7 6 Diagnostic messages 26 2 4 Instructions for mechanical installation and electrical connection of the angular Dee 26 OMCOGS IR MIN e de 7 6 2 Supported diagnostic messages 27 3 Device Configuration Een 8 Sa SEI SE ee er
17. MA TLL SUU Station Loni Specify Module 0 UR Configure Network Symbol Table Chill PS 307 104 Report System Error Edit Catalog Profile Update Catalog Install New GSD Import Station GSD After the successful installation of the GSD file the BEI IDEACOD encoder can be found in the hardware catalogue under PROFIBUS DP Additional Field Devices Encoders POSI In order to represent the encoder with a bitmap in STEP7 the bitmap file POSI omp has to be installed The procedure is the same as with the GSD file 30 Preliminary BEI IDEACOD SAS F T l 33 0 3 88 20 80 80 Espace Europ en de l Entreprise 33 0 3 88 20 87 87 F IDEACOD Deeg Mal info bei ideacod com B P 70044 Schiltigheim a F 67013 Strasbourg Cedex Web 2 wwwibeiideacod com PROFIBUS USER MANUAL 7 2 Configuring the encoder aa HW Config SIMATIC 300 Station Configuration S7 Gy Station Edit Insert PLC View Options Window Help Diesel ai je wel JE e 55 PROFIBUS DP PROFIBUS DP master system 1 a Additional Field Devices Encoders E mf a CC Compatible PROFIBUS DP Slaves E Closed Loop Controller Io CC Configured Stations OP VO slaves CH DP ASi DP PA Link ENCODER ET 2008 ET 200 E ET 200eco a ET 20015 CJ ET 200L SIMATIC 57 300 M7 300 and C7 modules central rack Press F1 to get Help After in
18. Singleturn D I IDEACOD 2 2 Multiturn Preset value 32 bit Output Position value 32 bit Input Preset value Teach In 32 bit Output Velocity 16 bit Input Position value 32 bit Input Preset value Teach In 82 bit Output Velocity 16 bit Input Programmable parameters Code sequence Code sequence Code sequence Scaling factor Code sequence Scaling factor Code sequence Scaling factor Shorter Diagnostics Limit switches Velocity time base Code sequence Scaling factor Shorter Diagnostics Limit switches Velocity time base Preliminary T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 Mail info bei ideacod com Web www bei ideacod com Additional functions Preset function Preset function Preset function Commissioning mode Velocity Output Preset function Commissioning mode Velocity Output IDEACOD BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL 3 3 Encoder configurations data format Designation According Profile Class 1 Multiturn According Profile According Profile Class 2 Multiturn According Profile BEI IDEACOD Singleturn BEI IDEACOD Multiturn Class 1 Singleturn Class 2 Singleturn to to to to 2 2 2 2 Configuratio Input words Encoder gt
19. ameter and configuration data are 3 1 Overview Configuration principle GSD File U Software Tool PLC Choice of encoder configuration Parameter settings mmm database l determined These data are stored in the profibus master They are transmitted to the slave encoder when the profibus network is starting up DDLM_Set_Prm It is not possible to change parameters or configuration during the normal operation of the device exception Commissioning Mode see chapter 5 3 After receiving configuration and parameter data the absolute encoder enters the normal operating mode cyclic data transmission DDLM_Data_Exchange In this mode the process values e g the position value are transmitted Data length and format are determined by the user when selecting a certain encoder configuration Parameter DDLM_Set_Prm Once at Start Up Cyclic Data Transmission e g position value 8 Preliminary IDEACOD BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL 3 2 Overview encoder configurations functionality Designation Cyclic communication Class 1 Position value 16 bit Input Singleturn Class 1 Position value 32 bit Input Multiturn Class 2 Position value 16 bit Input Singleturn Preset value 16 bit Output Class 2 Position value 32 bit Multiturn Input BEI IDEACOD 2 2
20. ata 24 to 31 00 7F FF 00 00 10 00 02 Cancel Help 34 Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise D E ne E F e IDEACOD 2 tue do Copenhague Mail info bei ideacod com B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL Web www bei ideacod com 8 Technical Data See Datasheets 9 Appendix 9 1 FAQ absolute encoder Profibus Problem There are problems with the profibus network bus error no answer from the encoder if one of the following profibus masters is used SIEMENS S5 95U Master Interface SIEMENS IM 308 B Softing PROFlboard Allen Bradley 1785 PFB B Mitsubishi ATSJ 71PB92D Possible cause Problem If COM PROFIBUS Version 5 0 is used it is not possible to insert the POSI encoder into the hardware configuration if the PLC S5 95U is used Cause The S5 95U does not support the full diagnostic data length 57 bytes COM PROFIBUS V5 0 checks the GSD parameter Max_Diag_Data_Len 57 and prevents the configuration of both devices together Problem PLC and master are switched on bus is active but there is no answer from the encoder Possible solutions The masters do not support the full diagnostic data length 57 bytes Solution If it is possible the maximum number of diagnostic data per slave should be increased in the master If this is not possible the encoder can eit
21. d be observed personnel who are authorized to commission ground and tag devices systems and circuits according to the current state of safety technology e Do not drop the angular encoder or subject it to excessive vibration The encoder is a precision device M It is not permissible to make any electrical M Do not open the angular encoder changes to the encoder housing this does not mean that you cannot remove the connection cap If the device is opened and closed again it can be damaged and dirt may enter the unit The angular encoder shaft must be connected to the shaft to be measured through a suitable coupling full shaft version This coupling is used to dampen vibrations and imbalance on the encoder shaft and to avoid inadmissible high forces Suitable couplings are available from BEI IDEACOD Although BEI IDEACOD absolute encoders are rugged when used in tough ambient conditions they should be protected against damage using suitable protective measures The encoder should not be used as handles or steps Only qualified personnel may commission and operate these devices These are Preliminary Route the connecting cable to the angular encoder at a considerable distance or completely separated from power cables with their associated noise Completely shielded cables must be used for reliable data transfer and good grounding must be provided Cabling establishing and interrupting electrical connection
22. e Copenhague 33 03 88 20 87 87 Jt fi info bei ideacod com B P 70044 Schiltigheim in ge F 67013 Strasbourg Cedex Web 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 switching on the power supply An address The station node address is set by using the 8 Change by the Master Set Slave Add is DIP switches The DIP n 8 is not used Possible not supported by the version with DIP switches addresses are between 0 and 126 Each The address is coded with binary format address can only be used once in the OFF 0 ON 1 DIP8 OFF network The station address is read in when Address Dip4 Dip5 Dip6 Dip7 4 on oFF OFF 2 OFF ON OFF 3__ on on ort 124 OFF OFF ON 125 ON OFF ON Bus termination Address 2 1 2 Bus termination Note If the encoder must be changed during operation a separate active bus termination should be used If the encoder is connected at the end or beginning of the bus line the termination resistor must be switched on with DIP switches n 1 et n 2 Preliminary 5 BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 Fax _ 33 0 3 88 20 87 87 DE ACOD 9 rue de Copenhague e en I B P 70044 Schiltigheim Se E EE F 67013 Strasbourg Cedex SP Waw
23. e for the desired measuring units Now the number of physical measuring steps over the desired measuring range is determined For this the actual physical 20 Preliminary IDEACOD B P 70044 Schiltigheim F 67013 Strasbourg Cedex BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 Mail info bei ideacod com PROFIBUS USER MANUAL resolution of the encoder type label is used For our example this would be with a standard encoder 12 Bit resolution 4096 steps revolution x 3 revolutions 12288 steps Enter this value 12288 as physical impulses and set the desired measuring units to 400 5 1 8 Encoder type The encoder type Singleturn or Multiturn is specified in bit 1 octet 39 Generally this bit is set automatically if the encoder version is selected Not used The encoder type is set automatically with using parameters resolution 5 1 9 Velocity time base With this parameter the user can choose the time base for the velocity output version BEI IDEACOD 2 2 The time base is specified in bits 4 and 5 of octet 39 Now the encoder increases the position value by 400 steps on a measuring range of 12288 physical steps 3 revolutions Note With many software tools it is necessary to divide the value into high and low word refer to page 34 and total range if total range is equal to resolution the encoder
24. e used durably but it is recommended to transfer the parameters determined with the Teach In into the system configuration Then the encoder should be used in normal operation mode so it is possible to exchange the device without a new Teach In A detailed description of the commissioning mode can be found in section 5 3 Octet 26 Bit 2 Commissioning mode o Switched off Switched on Octet 26 Bit 3 Diagnostics 0 Standard 57 bytes 1 Reduced 16 bytes exceeded The limit switches are activated with bits 5 and 6 in octet 26 Note With many software tools it is necessary to divide the values into high and low word refer to page 34 29 215 to 28 Lower limit switch in measuring steps related to the scaled value Preliminary 19 BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 IDEACOD Re es Mail info bei ideacod com F 67013 Strasbourg Cedex Web www bei ideacod com PROFIBUS USER MANUAL Octet 31 32 32 34 Bit 31 24 23 16 15 8 7 0 Data 223 to 216 215 to 28 27 to 20 Upper limit switch in measuring steps related to the scaled value Properties DP slave s U EI Address ID Parameter Assignment Parameters E EN Station parameters ES Device specific parameters E Code sequence Scaling function control Desired Measuring units high Desired Measuring units low 4096 Physical impulses high 0 Physical impulses low 40
25. es Terminating resistor Resistor that terminates the bus cable terminating resistors are always required at the end of a cable or segment Word Expression used for a data unit of two bytes 38 Preliminary F 67013 Strasbourg Cedex PROFIBUS USER MANUAL BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 IDEACOD Eire eon ery Mail info beiideacod com F 67013 Strasbourg Cedex WER WASSEN PROFIBUS USER MANUAL 10 Index B I BUS TO MMIMGTIOM EE 5 left e iia E 5 C L Ele CN 11 LE EK 29 Ele CN 11 LOW WOO nsa 34 Code seQUENCE nnnnnnnnnennennenr ennen 12 fi COMMISSIONING mode 23 Configuring the encoder nnen 31 Parameter settings 11 Connecting ele EC 33 GT 6 Physical impulses 16 18 20 power supp 2 una ses 6 Preset function eneneenenennenenveneneenen 14 Connection cap le sisirin din 25 ele tend 5 Profibus Nutzerorganisation nanne 4 5 Profile for Absolute Encoders 4 S DO Kreider EE 10 Desired measuring UNIS nnen 17 Shorter Diagnostics 19 Diagnostic messages 26 Software limit switch 19 Station address 5 STATUS EE 22 Encoder configurations 9 STEP EE 30 F T FAQ sin ne EEN 35 Teach In Start ss 24 G Teach In Stop 24 Technical Data 35 SOD E E E see rt 38 Total measuring range nnee 13 VASTE OM EE 30 Vv H Velocity HIGM Le en 34 Time Dose nn 21 Preliminary 39
26. eter data with incorrect length or inconsistent data Possible cause parameter value total measuring range too high 4 Dark Bright Normal operation in data exchange mode 5 Dark Flashing Commissioning mode Preliminary 29 BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 Mail info bei ideacod com Web www bei ideacod com IDEACOD 7 Configuring with STEP 7 profibus master integrated are used If there are questions about other software tools please contact the manufacturer 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 7 1 Installing the GSD file If BEI IDEACOD encoders are used for the first Choose Install New GSD in the HW Config time it is necessary to install the GSD file POSIOC22 gsd to take over the encoder into the hardware catalogue of the tool window of the project menu item Options and select the GSD file POSIOC22 gsd The GSD file is available from BEI IDEACOD it can be downloaded from our homepage www bei ideacod com FUHW Config SIMATIC 300 Station Station Edit Insert PLC View Options Window Help D a GI LEA El E Customize Ctri lt E HU SI
27. etting bit 28 slave Slave 0 0 0 0 1 0 0 1 Master and 28 Encoder sends acknowledgement new counting direction in bits O 0 1 Master 0 0 0 0 0 010 slave Changeover is completed by reset bit 28 slave 00001 XO 1 Master Output process value with changed counting direction The counting direction is stored non volatile in an internal EEPROM Preliminary 23 BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 IDEACOD 9 rue de Co Fax 33 0 3 88 20 87 87 i penhagje Mail info bei ideacod com B P 70044 Schiltigheim Web www bei ideacod com F 67013 Strasbourg Cedex 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 Data bits device now starts the internal calculation of a new scaling factor Bit allooi alaz AE lv 18 D I Blu en ole las le ls lala 2 1 lo Master 011101001010 slave Start the Teach In by setting bit 30 to 1 Slave gt ON OR Pe PORN Master Acknowledgement of the encoder by setting bit 30 to 1 Master 0 0 0 0 01 0 0 Reset bit 30 slave Slave OI UO 26 LZS IO U Master Note The scaling factor is set to 1 the zero point shift is set to zero 5 3 3 Teach In Stop After moving
28. gher classes D I IDEACOD 2 1 and D I Switched on IDEACOD 2 2 are to be used 4 1 5 Measuring units per revolution The parameter measuring units per revolution is used to program a desired number of steps over one revolution If the value exceeds the basic physical resolution of the encoder the output code is no longer in single steps Starting with generation BI the encoder indicates a parameter error LED and it will not enter the data exchange mode With high resolution encoders it may be necessary to divide the value into high and low word depending on the software tool refer to page 34 Octet 10 1 12 13 Bit 31 24 23 16 15 8 7 0 Data 231 to 24 215 to 28 27 to 20 Desired measuring units per revolution 12 Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise D E ne E F e IDEACOD 2 tue do Copenhague Mail info bei ideacod com B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL Web www bei ideacod com 4 1 6 Total measuring range Octet 14 15 Bit 31 24 Data 231 to 224 16 17 15 8 215 to 28 Programmed total measuring range in steps The parameter total measuring range is used to adapt the measuring range of the encoder to the real measuring range of the application The encoder counts up until the position value has reached the programmed total resolution and starts with O again Example 100 steps are programmed for each re
29. gnals the absolute position of the shaft can be determined with a resolution of up to 8192 1 2 Profibus technology PROFIBUS is an international open non proprietary fieldbus standard which is defined in the international standards IEC 61158 There are three different versions Profibus DP Profibus FMS and Profibus PA BEI IDEACOD absolute encoders are designed for the DP version VO They support all usual baud rates up to 12 MBaud Besides manufacturer specific functions the devices support the classes 1 and 2 according to the Profile for Absolute Encoders this device profile can be ordered under part number 3 062 from the Profibus Nutzeroganisation Further information about profibus functionality manufacturer products standards and device profiles are available from the PNO the requirements of a Profibus Slave according to the PROFIBUS standard It is certified by the Profibus Nutzerorganisation in Germany steps 13 bits or 65536 steps per revolution 16 bits The absolute shaft position over up to 65536 revolutions 16 bits The position value is calculated in an integrated microprocessor and transmitted over the Profibus Profibus Nutzerorganisation PNO Haid und Neu StraBe 7 D 76131 Karlsruhe Tel 49 0 721 96 58 590 Fax 49 0 721 96 58 589 www profibus com Preliminary BEI IDEACOD SAS 2 Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 IDEACOD 9 rue d
30. he Address ID Parameter Assignment Parameters Value amp Station parameters Device specific parameters E Code sequence Increasing clockwise 0 Scaling function control Enable 2 Desired Measuring units high E Desired Measuring units low 4096 Physical impulses high 0 Physical impulses low 4096 Desired measuring units per Revolution zl Total measuring range high Total measuring range low Maximal total measuring range Commissioning mode Physical impulses Shorter diagnostics 16 bytes No Lower limit switch Disable Lower limit switch high Lower limit switch low 0 E Upper limit switch Disable H Upper limit switch high programmed number of measuring units over the whole measuring range 4096 revolutions with the multiturn encoder Desired measuring units per physical impulses The desired measuring units refer to the physical impulses entered in octets 35 39 cp 5 1 7 Physical impulses means The real value that is read internally from the code disc e g 4096 steps per revolution with a standard 12 bit encoder With that option it is possible to set gearing factors freely Reference Octet 26 Bit O Octet 26 Bit 1 Per revolution 0 O Per maximum total measuring range O Per physical impulses 0 steps specified in octets 35 38 18 Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague Fax
31. heim a F 67013 Strasbourg Cedex Web www beiideacod com T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 PROFIBUS USER MANUAL Data bits Bit 31 0 B z sla 3 AL A 18 D I 5 14 EE DEE 7 6 slals 2 1 0 Master gt 1 O Transfer of the required position value preset value slave slaver Slave gt 0 0 New required position value is transferred Master 0 O Reset bit 31 normal mode slave Master If high precision is required the preset function should only be executed if the encoder shaft is not moving If the shaft moves quickly during Note for Singleturn devices The procedure is similar with the singleturn version Here Bit 15 is used to activate the preset value With high resolution singleturn encoders 16 Bit it is not possible to set preset values gt 32767 15 bit as the MSB is used to Slave 0 0 New required position value is transferred the preset procedure this can result in offsets because of bus delay times activate the preset If this functionality is needed the user has to choose one of the manufacturer specific BEL IDEACOD encoder versions in these classes the singleturn position is transmitted as 32 bit value Preliminary 15 BEI IDEACOD SAS Espace Europ en de l Entreprise D E ne SS F e IDEACOD 2 tue do Copenhague Mail info bei ideacod com
32. her be used as a class 1 encoder diagnostic data length 16 bytes or one of the manufacturer specific versions BEI IDEACOD 2 1 or 2 2 can be used with reduced diagnostics cp 5 1 5 Solution Use COM PROFIBUS Version 3 3 choose one of the manufacturer specific BEI IDEACOD versions BEI IDEACOD 2 1 or 2 2 and activate the reduced diagnostics If COM PROFIBUS V5 0 is to be used the configuration of the BEI IDEACOD encoder is only possible with a modified GSD file slave key Max_Diag_Data_Len has to be changed First of all the state of LEDs should be checked ep section 6 3 Possibly this can give hints to the cause of the problem Both LEDs dark Check power supply Both LEDs bright Encoder is ready but receives no configuration or parameter telegrams Check the address Preliminary 35 BEI IDEACOD SAS Espace Europ en de l Entreprise IDEACOD 9 rue de Copenhague B P 70044 Schiltigheim F 67013 Strasbourg Cedex PROFIBUS USER MANUAL 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 setting Check the connection of the bus lines Parameter error Check parameters e g the BUS IN BUS OUT Check the hardware rules for setting the total measuring range cp configuration in your software tool 4 1 6 Green LED bright red LED flashing 36 Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague
33. iagnostic byte 10 contains the encoder version singleturn or multiturn Byte 10 Definition 0 Singleturn encoder Multiturn encoder 6 2 4 Singleturn resolution 11 14 contain the real resolution per revolution of the Diagnostic bytes physical encoder 6 2 5 Number of revolutions Diagnostic bytes 15 and 16 contain the real physical number of revolutions of the encoder Standard values are 1 for singeturn and 65535 for multiturn devices 6 2 6 Profile version Diagnostic bytes 24 and 25 contain the profile version of the encoder 6 2 7 Software version Diagnostic bytes 26 and 27 contain the software version of the encoder Octet 26 27 Bit 15 8 7 0 Data 27 to 20 27 to 20 Revision No Index 6 2 8 Operating time The operating time of the encoder is not supported set to FFFFFFFF hex 6 2 9 Zero offset The zero offset is output in diagnostic bytes 32 to 35 6 2 10 Programmed resolution The programmed resolution per revolution is output in diagnostic bytes 40 to 43 The value is only valid if the scaling factor is based on the parameter resolution per revolution cp 5 1 3 6 2 11 Programmed total resolution The programmed respectively calculated total resolution is output in diagnostic bytes 44 47 6 2 12 Serial number Diagnostic bytes 48 57 are intended for a serial number Preliminary 27 BEI IDEACOD SAS 4 Espace Europ en de l Entreprise T l 33 0 3 88 20
34. of the current position value scaled with the new gearing factor Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 IDEACOD K Mail info bei ideacod com B P 70044 Schiltigheim e F 67013 Strasbourg Cedex Web www bei ideacod com PROFIBUS USER MANUAL In order to replace the encoder later without a new Teach In procedure the total measuring range determined with the Teach In should be transferred into the system configuration For this the total resolution must be entered into the parameter field desired measuring units cp 5 1 2 and the reference cp 5 1 3 must be set to maximum 5 3 4 Preset value The preset function is similar to the procedure described in section 4 2 2 There is only one difference When using the manufacturer total measuring range When setting the parameters it should be observed that the code sequence is correct the setting of the counting direction in commissioning mode has to be transferred to the system configuration Subsequently the commissioning mode can be switched off and the encoder can be used in normal mode specific versions BEI IDEACOD 2 2 there is an acknowledgement bit 31 in the input double word is set to 1 Status bits Data bits Bit 31 212 Bi 7 B alz 2 ala HE DES ne zin 10 9 ello slal 2 LE Master 11010 0 0100
35. r 4 Octet 9 Bit Octet 26 mn Deactivated Activated Octet 26 Bit 7 Octet 27 39 o o Deactivated Activated over 1 revolution over the whole measuring range or over a part of the measuring range 12 13 7 0 27029 215 to 28 Desired measuring units measuring range Please observe the rules in section 4 1 6 Note With many software tools it is necessary to divide the value into high and low word refer to page 34 Preliminary 17 BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 IDEACOD W fi Mail info bei ideacod com B P 70044 Schiltigheim e F 67013 Strasbourg Cedex Web www bei ideacod com PROFIBUS USER MANUAL 5 1 3 Desired Measuring units reference x With this parameter the reference for the desired measuring units cp 5 1 2 is determined either Der revolution per maximum total resolution per number of physical impulses Desired measuring units per revolution In this case the position value increases by the programmed number of steps desired measuring units over one revolution Additionally the parameter total resolution is used to achieve an adaptation of the measuring range cp 4 1 6 Desired measuring units per maximum total measuring range The parameter desired measuring units refers to the complete measuring range of the encoder i e the encoder gives out t
36. r type Octet String 10 Resolution per revolution Hardware Unsigned 32 11 14 Number of revolutions Hardware Unsigned 16 15 16 Additional alarm messages Octet String 17 2 Supported alarm messages Octet String 18 19 2 Warnings Octet String 20 21 2 Supported warnings Octet String 22 23 2 Profile version Octet String 24 25 2 Software version Octet String 26 27 2 Operating time Unsigned 32 28 31 2 Zero offset Unsigned 32 32 35 2 Manufacturer specific offset value Unsigned 32 36 39 2 Programmed resolution per revolution Unsigned 32 40 43 2 Programmed total resolution Unsigned 32 44 47 2 Serial number ASCII String 48 57 2 26 Preliminary BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague B P 70044 Schiltigheim Mail F 67013 Strasbourg Cedex Web PROFIBUS USER MANUAL T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 info bei ideacod com www bei ideacod com IDEACOD 6 2 Supported diagnostic messages In the following the different diagnostic messages are described in detail 6 2 1 Extended diagnostics header Byte 7 contains the length of the extended diagnostics including header itself 6 2 2 Operating status Diagnostic byte 9 contains certain parameters set in the system configuration Bit Definition Direction of rotation 0 Class 2 functionality 2 Diagnostic routine 3 Scaling function 6 2 3 Encoder type D
37. red in an internal EEPROM are used instead If code sequence or scaling factor are modified in commissioning mode the new values will be stored non volatile and the encoder works with this new parameters The proceeding in commissioning mode is as follows The encoder is installed in the machine system 5 3 1 Setting the counting direction If the encoder is operating in commissioning mode the counting direction code sequence can be changed online The current code sequence is indicated with bit 28 The commissioning mode is activated parameter settings cp 5 1 4 The counting direction is changed if necessary Machine system is to be moved to the start position The Teach In Start command is transmitted to the encoder Machine system is to be moved to the stop position With the Teach In Stop command the desired number of steps is transferred to the encoder Set the preset value The parameters in the system configuration are set to the values determined with the Teach In procedure Commissioning mode is deactivated parameter settings in the 32 bit process value 0 increasing clockwise 1 increasing counter clockwise With bit 28 in the output double word the counting direction can be changed Status bits Data bits Bit 31212123 z slala 2 al ales 17 AE ne NE olels le sla sle o 0 Master 0010 1 0 0 0 Changing the counting direction by s
38. s gt 25 Bit The DO hex Velocity 215_ 98 27 90 Slave Master Status position value Status 224 228 216 Di 2e 27 20 Master slave Preset value control bits Control 224 223 216 215 28 27 20 Meaning of the different status bits Bit 28 Bit27 Bit26 Bit25 Meaning Ready 0 encoder is not ready for operation 1 encoder is ready for operation Mode 0 commissioning mode 1 normal mode Software limit switch 0 lower limit switch lt current position value lt upper limit switch current position value gt upper limit switch or current position value lt lower limit switch Code sequence 0 increasing clockwise view onto the shaft 1 increasing counter clockwise view onto the shaft 22 Preliminary BEI IDEACOD SAS S i T l 33 0 3 88 20 80 80 IDEACOD el e eg Fax 33 0 3 88 20 87 87 penhague lee e B P 70044 Schiltigheim Mail info bei ideacod com F 67013 Strasbourg Cedex Web ME ee PROFIBUS USER MANUAL 5 3 Commissioning mode If the commissioning mode is activated in the encoder parameters the scaling factor can be determined directly in the machine by a Teach In The commissioning mode is indicated by the flashing green LED and bit 26 in the input double word bit 26 set to 0 If the encoder starts up in commissioning mode the parameters in the system configuration code sequence scaling are ignored Parameters sto
39. s may only be carried out when the equipment is in a no voltage condition Short circuits voltage spikes etc can result in erroneous functions and uncontrolled statuses which can even include severe personnel injury and material damage Before powering up the system check alll of the electrical connections Connections which are not correct can cause the system to function incorrectly Fault connections can result in severe personnel injury and material damage BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 IDEACOD 9 rue de Copenhague Fax 33 3 88 20 87 87 B P 70044 Schiltigheim Mail info bei ideacod com Web www bei ideacod com F 67013 Strasbourg Cedex PROFIBUS USER MANUAL 3 Device Configuration The Absolute Encoder with Profibus Interface can be programmed according to the needs of the user The GSD file has to be installed in the used software tool The user has the possibility to choose different encoder configurations Parameters and functionality depend on the selected encoder configuration BEI IDEACOD Absolute Encoders support all configurations described in the following i e there is no functionality limitation due to the hardware Additionally to the configurations Class 1 and Class 2 according to the Profile for Encoders the BEI IDEACOD Encoder offers configurations with manufacturer specific functions By choosing a certain encoder configuration par
40. sed for Class 1 and Class 2 Refer to versions BEI IDEACOD 2 2 Preliminary 11 IDEACOD B P 70044 Schiltigheim F 67013 Strasbourg Cedex BEI IDEACOD SAS Espace Europ en de l Entreprise D E ne SS F e 2 tue do Copenhague Mail info bei ideacod com Web 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 clockwise CW or counter clockwise CCW view onto the shaft The code sequence is defined in bit O of octet 9 Octet 9 Bit O Direction of rotation when viewing the Code shaft 0 Clockwise CW Increasing Counter clockwise CCW Increasing In Class 1 this is the only parameter that can be set 4 1 2 Class 2 functionality Using this switch SE A encoders can be Octet 9 Bit 1 Class 2 functionality restricted to the functionality of Class 1 i e the 0 EE scaling parameters are disabled To use the w ene class 2 functionalities bit 1 in octet 9 has to be Switched on set 4 1 3 Commissioning diagnostics This function has no significance for the BEI IDEACOD encoder 4 1 4 Scaling function The parameter scaling function enables the scaling parameters resolution per revolution e 5 and total resolution This switch should Octet 9 Bit 3 Scaling function always be activated if functions of class 2 or 0 Switched off even hi
41. serting the Profibus master system in the ial General Parameters hardwar nfiguration Insert Master ardware configuration Inse aste Se Ce System the BEI IDEACOD encoder can be chosen from the hardware catalogue and added to the profibus network Select the St device POSI and drag it with the mouse to Properies the network or choose the network and EE double click the BEI IDEACOD encoder Now the slave address has to be entered has to be equal to the address setting in the connection cap Transmission rate 1 5 Mbps Preliminary 31 BEI IDEACOD SAS Espace Europ en de l Entreprise 9 rue de Copenhague ag A en IDEACOD B P 70044 Schiltigheim Mail info bei ideacod com F 67013 Strasbourg Cedex T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 Web www bei ideacod com PROFIBUS USER MANUAL 7 3 Selecting the encoder version As described in chapter 3 the functionality of the encoder depends on the selected encoder version After the POSI encoder has been added to the network the desired encoder version can be selected For this one of the modules listed under POSI encoder has to be dragged to Slot 1 in the displayed configuration table of the encoder HW Config SIMATIC 300 Station Configuration 57 EN Station Edit Insert PLC View Options Window Help l x nelse 3 ai ole dll afm gei ei Profile Standard z Ir Ps 307
42. the machine system to the stop position the Teach In Stop command is send Together with this command the desired number of steps over the moved measuring range is transmitted The user has to observe that the physical resolution is not exceeded e g 20000 steps on a quarter of a revolution Positive and negative directions are taken into account automatically also the crossing of the physical zero point Note The measuring range must not exceed the half physical Non calculated position value is transmitted gearing factor 1 no offset maximum of 32767 revolutions for a multiturn device with 65536 revolutions After receiving the Teach In Stop command the encoder transmits the calculated total resolution This value should be noted and later when switching the device to normal mode entered into the parameter settings After this Teach In procedure the encoder operates with the new gearing factor which is stored non volatile in the internal EEPROM measuring range of the encoder i e a Status bits Data bits Bit 31 alslslslslslaz AE ol 18 v slu len ololelslelslalsl2 lo Master 010 11010101 0 SLAVE Number of desired measuring steps on the traversed measuring range SLAVE O Wi PO ES Iu Master Transfer of the total resolution should be noted Master 0 0 0 0 0 0 0 Reset bit 29 SLAVE SLAVE 0 0 0 X X 0 1 Master 24 Output
43. tus of the bus configuration and parameter are transmitted Operating status diagnostic data are requested from the slave e g encoder Identification localization classification display additional evaluation of faults errors and messages Freeze This is a master command to the slave This allows the master to freeze the states of the inputs for example of the absolute angular encoder to their current value The input data are only updated again after reception of the UNFREEZE command DDLM Slave_ Diag Diagnostics Preliminary 37 BEI IDEACOD SAS Espace Europ en de l Entreprise D E ne SS F e IDEACOD 2 tue do Copenhague Mail info bei ideacod com B P 70044 HUB Web www bei ideacod com GSD file File that contains slave specific characteristics Tne GSD file is supplied by the manufacturer of the profibus slave The GSD format is standardized defined in GSD specifications so configuration tools of various manufacturers can use the GSD files Master Active device in the network that can send data without request Controls the data interchange Octet Data unit of 8 bits 1 byte Profibus Process Fieldbus European fieldbus standard which is defined in the PROFIBUS Standard EN 50170 This specifies functional electrical and mechanical characteristics for a bit serial fieldbus system Slave Bus node that only sends data on request of the master Absolute rotary encoders are always slav
44. type is singleturn Octet 39 Bit 1 Type 0 Singleturn Multiturn Time base Bit 4 BS Steps second 0 0 Steps 100 ms 0 Steps 10 ms 0 pl RPM revolutions per minute 1 Preliminary 21 Web www bei ideacod com IDEACOD B P 70044 Schiltigheim F 67013 Strasbourg Cedex BEI IDEACOD SAS 3 e F T l 33 0 3 88 20 80 80 Espace Europ en de l Entreprise 9 rue de Copenhague Fax i 33 3 88 20 87 87 Mail info bei ideacod com Web 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 transmitted as 32 bit value peripheral double word Apart from 25 bits used for the position value the 7 other bits are used as status bits The output double word contains the preset value and control bits Absolute encoders model series might have physical position values gt 25 Bit The manufacturer specific BEI IDEACOD versions upper digits will be overwritten by the status bits If the BEI IDEACOD versions are used with encoders with a total physical resolution gt 25 Bit the user has to assure that the position value is scaled to a maximum output value lt 33554432 If position values gt 25 Bit are necessary class 2 should be used If version BEI IDEACOD 2 2 is used the current velocity is transmitted in an additional peripheral input word do not support the position value
45. volution parameter measuring units per 12800 Then the encoder counts up to 11799 starts with O again after 128 revolutions counts up to 11799 and so on Note With many software tools it is necessary to divide the value into high and low word refer to page 34 When choosing the total resolution the following rule has to be observed revolution and the total resolution is set to If steps per revolution are set to n the parameter total resolution must not cause periods longer than the maximum physical number of revolutions see type label i e that the programmed total resolution of a 65536 revolutions multiturn encoder must be less than 32768 x the programmed number of steps per revolution the programmed total resolution of a 32768 revolution multiturn encoder must be less than 32768 x the programmed number of steps per revolution The following rules must be applied 1 Total resolution lt 2 147 483 648 2 Total resolution lt measuring units per revolution x 32768 or Total resolution measuring units per revolution x 65536 If these rules are disregarded the encoder will indicate a parameter error and it will not enter the data exchange mode Preliminary 13 BEI IDEACOD SAS Espace Europ en de l Entreprise T l 33 0 3 88 20 80 80 Fax 33 0 3 88 20 87 87 IDEACOD Re es Mail info bei ideacod com F 67013 Strasbourg Cedex Web www bei ideacod com PROFIBUS USER MANUAL 4 2 Data

Download Pdf Manuals

image

Related Search

Related Contents

ZyXEL E-iCard ENC 100 Node License  Miele S8390 vacuum cleaner  CLICK - エコマーク商品総合情報サイト    Samsung Soundbar F450 Vartotojo vadovas  Manual SC-AKX77.pmd  

Copyright © All rights reserved.
Failed to retrieve file