Home
EM58_HS58_HM58 PT Profinet interface User's guide in
Contents
1. Sync trigger SE Parameter Manager Control values Actual values Ng Parameter Data Base Sync trigger Encoder Object MAN EM58_HS58_HM58 PTE 1 4 95 Diagnostics and Alarms lixa EMx58 Hx58x Profinet 10 2 1 Use of the ChannelErrorType For Profinet the encoder faults and warnings are mapped to the ChannelErrorTypes defined in the PROFldrive profile see the tables below This means that there are no specific codes defined for standalone encoders and a PROFINET controller will interpret the errors from an encoder in the same ways as an error coming from a drive Refer also to the parameter P65001 Operating status on page 83 Error type Explanation The encoder failed to read saved offset or preset values from the internal non volatile memory 0x9011 User parameter data assignment error diagnostic Ox9000 Memory error 10 3 Error codes in G1 XIST2 Error codes are sent in G1 XIST2 if an error occurs For information about G1 XIST2 refer to page 72 G1 XIST2 Meaning Explanation OxOFO2 Master du af iffe Full The number of permissible failures of the master s sign of life was exceeded OxOFO4 oriehiiniestian fault The number of permissible failures for the bus cycle was exceeded 0x1001 Memory error Error while writing on or reading the internal non volatile memory User parameter data assignment error 0x1002 Parametrization error Ex
2. PROFINET IO Glen ad Press F1 to get Help f Chg Figure 18 Verifying device name MAN EM58_HS58_HM58 PTE 1 4 49 Getting started lixa EMx58 Hx58x Profinet 5 3 7 Setting the IP address To help with configuration you are required only once to assign an IP address When configuring the PROFINET IO controller in the HW Config window STEP 7 opens a dialog for selecting the IP address and the Ethernet subnetwork When the system boots up the IO controller assigns the IP address to the IO device Please make sure that the Assign IP address via IO controller check box in the Properties dialog box is selected if the IP address has to be assigned to the encoder via the IO controller Anyway the assignment of the IP Address can be disabled by deselecting the Assign IP address via IO controller check box In this case the IP address set in the IO device is used the IP address is uploaded from the internal memory By default before delivery the IP address of the encoder is set to 0 0 0 0 After having set the Device name you can set the IP Address To set the IP address first enter the Properties dialog box by double clicking the encoder icon in the HW Config window Check that the Assign IP address via IO controller check box is selected if you want the IP address being assigned by the IO controller otherwise deselect it if you want it to be uploaded from the internal memory of the IO device Press the Ethernet b
3. 0x80000000 RO 979 2 SensorResoluton JL variable RO 979 3 Shift factor for G1 XIST 0 PO 979 4 Shift factor for G1_XIST2 0 RO 979 5 Determinableresolutions variable RO P980 Number list of defined parameter Array 0 8 unsigned 16 RO e k ng eege EE REM Sen Eegenen Selection P964 Profidrive Parameter mE 980 1 TRAE identification ss p lee eene sisi mao P971 Transfer to non volatile 9n m memory Se e is Encoder object identification E 5 P979 Sensorformat 979 EMIL T ETT oT lt oo 980 7 P65000 Presetvalue 65000 RO 980 8 P65001 Operating status 65001 RO P61001 IP of station Unsigned32 RO Index Sub Meaning Value Access 161001 o IP address assigned to the encoder variable RO MAN EM58_HS58_HM58 PTE 1 4 82 Acyclic Data Exchange lixa EMx58 Hx58x Profinet 9 3 Index OxBO2E supported encoder specific parameters P65000 Preset value Unsigned32 RW Preset function is meant to assign a desired value to a known physical position of the system The chosen physical position will get the value set next to this index and all the previous and following mechanical positions will get a value according to it Preset value can be saved on the internal memory using the parameter P971 Transfer to non volatile memory See also Home p
4. Title CALL Check async request SCH DG Et ME Press F1 to get Help Figure 65 OB1 Insert 13 1 8 Function 1 FC1 File Edit Insert PLC Debug View Options Window Help win o 9x 6 ht E 4 fit rx Ke FCl Function called by OBL E FB blocks Kees Ei FC blocks i a eee SRR select record index AB Mutiple ir Comment W Libraries CALL Select Record Index Fez Network 2 Urite request Use SFB53 WRREC write record for write a data record uv Reques R W record index Re 4 UN Write in progress Me l UN Read in progress ve UN Read request DS s Write request mea L W 16 B02E T INDEX OxBO2E Noo CALL WRREC InstanceDB_SFBS3 SFB53 DB4 Write a Process Data Record request ge o Address of PAP mine Diagnostic address of Parameter Access Point in Slot 1 Sub OxbO2E mon completed M14 0 in progress Me 1 in write record M14 2 P DBl DBXO 0 BYTE 16 uU Write in progress H8 1 R Write request ne 0 vi E jan gt Press F1 to get Help offline Abs lt 5 2 Nw Ln3 Insert Figure 66 FC1 MAN EM58_HS58_HM58 PTE 1 4 129 Read amp write in acyclic communication EMx58 Hx58x Profinet LAD STL FBD FC1 a SIMATIC 300 1 CPU 315 2 PN DP FC1 File Edt Insert PLC Debug View Options W
5. Figure 83 Web server stopped 7 launch the SW_PN EXE executable file provided with the technical documentation 8 in the page that appears press the SELECT FILE button once you press the button the Open dialogue box appears on the screen open the folder where the firmware upgrading BIN file released by Lika Electronic is located select the file and confirm Figure 84 Firmware upgrade executable file MAN EM58_HS58_HM58 PT E 1 4 148 Integrated web server li Ka EMx58 Hx58x Profinet 9 in the Remote host text box type the IP address of the encoder you need to update leave the Remote port box unchanged 10 to start the upgrade press the Upgrade FW button drin 2695332 679 of total memory available optimization none Date and Time ee Remote Host 192 168 20 205 Remote Port oes Figure 85 Starting the firmware upgrade operation WARNING Before installation always ascertain that the firmware program is compatible with the hardware and software of the device Never turn off power during flash upgrade In case of flash upgrade error the program is lost irreversibly there is not a bootloader and the device must be sent back to Lika Electronic for restoring MAN EM58_HS58_HM58 PTE 1 4 149 Integrated web server li Ka EMx58 Hx58x Profinet 11 download progress bars and additional information are shown in the page during operation Selected file C TEMP ecos bin File size byte see
6. SIMATIC 300 1 Configuration Lika B Station Edit insert P jaw Option d sp DE 8 y a par ge Edit Ethernet Node Ethemet node Nades accessible online at Ail MAC address 10 B9 FE 00 00 0A Browse CPU 315 2 PN DP WEI ANES ue HN MPDP Additional Field Devices d Start IPaddess MAC addtess Devicetpe Name G Encoders dos 1 18215820 180 00 1B 1B 16 FD 21 57 300 prio LIKA ROTACOD ld Fos 000 TO8SFE 00 00 08 LIKA ROTACOD hm Multitun amp gg LIKA EMx13 15384PT H B 8 LIKA HMsTE 16384PT H Multum 30 Bit Module V Fast search Standard Telegram 81 H DO16 DC24V 0 5A D Standard Telegram 82 D Standard Telegram 83 D Standard Telegram 84 e CH Singletum Gateway HMI va Network Components Sensors Switching devices ATIC 300 ATIC 400 ATIC PC Based Control 300 400 ATIC PC Station g D il Flash MAC address 10 89 FE 00 00 0A Cancel Help em m Reset to factory settings Farameter Access Faint Standard Telegram 83 anual for detail description Ki 2 25 LIKA 0239 ROTACOD 201 21024 xml Press F1 to get Help Chg Figure 20 Browsing the network MAN EM58_HS58_HM58 PTE 1 4 51 Getting started li Ka EMx58 Hx58x Profinet In the Set IP configuration group enter the required IP address in the IP address field
7. Brofle Standard zl Module Information Ctrl D a PROFIBUS DP ting Mor PROFIBUS PA 3 PROFINET 10 a SIMATIC 300 fi SIMATIC 400 E SIMATIC PC Based Control 300 400 E e SIMATIC PC Station Ethernet H Edit Ethernet Node PROFIBUS gt Ve Assign Device Name E Gj aao w zer H Module Order number I address Q address Diagnostic address Comment 9m a Hiss TEZTESFI Bae An UN Zeie EZ AM Sei EZ AIAG Fat 2 E 7 IN Ate 20 Bit Meet E ah Parameter Access Fait Aue 12 f Standard Telegram 83 CS KS PROFINET 10 System ad Supplies information on the current state of the PROFINET IO Device names Cha Figure 17 Verifying device name In the Verify Device Name dialog box check that the encoder is listed properly with correct Device name and status i HW Config SIMATIC 300 1 Configuration Lika Desg ep da MO Wr CIE SR Ethemet 1 PROFINET 10 System 100 Eind Profle B CPU 315 2 PN DR rer io Les TIC 300 Log 1 1 S ATIC 400 Eran Ee TIC PC Based Control 300 400 Porta A ee Device name JP address MAC address TIC PC Station TRESCH HM 19216820187 1089FE 000 DO16 DC24V 0 5A H H gum m m Show only missing and incorrectly configured devices Slot Module e HM X Jnterace At Fw ES n Pd 7 ebe 30 Bit Module ay aanerer Access Paint 12 Standard Telegram 83
8. lixa EMx58 Hx58x Profinet Mode 2 As explained for the Mode 1 first of all enter the Properties dialog box by double clicking the encoder icon in the HW Config window and set the device name in the Device name field Then press PLC Ethernet and then Edit Ethernet node command in the menu bar of the HW Config window Press the Browse button to find all the nodes connected to the network Select the IO device you want to assign the Device name to The MAC address of the encoder is written on the encoder label In the Assign device name group below in the dialog box enter the desired name in the Device name field Press the Assign Name button to confirm CG HW Config SIMATIC 300 1 Configuration Lika Deg R Eu e Be gn toe Ethemet node Nodes accessible online at ail MAC address 10B3FE 00 00 0A Browse Standard zi ROFIBUS DP Set IP configurati ROFIBUS PA CPU 315 2 PN DP GE Zeie H MPDP Use IP parameters Bae IATIC 400 ATIC PC Based Control 300 400 ATIC PC Station Foz e 182 168 20 187 Do not use router HD Subnet mask 255 255 255 0 C Use router H DO16 DC24V 0 5 4c C Obtain IP address from a DHCP server Identified by e e Cien e Assign IP Configuration ET Slot Module Assign device name e HM kx A eere GEN mees AT Fatt AT Ft 8 7 Wultitian GO Bit Module Reset to factory settings LSA age Access Fit Reset 12 Standar
9. MAN EM58_HS58_HM58 PTE 1 4 61 Getting started lixa EMx58 Hx58x Profinet 6 Profinet interface 6 1 A brief introduction to Profinet PROFINET IO is the open industrial network devised for automation applications and built on the Ethernet application layer TCP IP and IT standards For PROFINET IO the layers 1 through 7a of the ISO OSI Open Systems Interconnection reference model are exclusively based on internationally proven standards The functionality of PROFINET is defined in layer 7b PROFINET IO complies with IEEE802 3 Ethernet Standard and follows the standards IEC 61158 and IEC61784 so it is 100 Ethernet compatible Its technology development and standardization are entrusted to Profibus amp Profinet International PI the international umbrella organization including members of more than 1400 companies www profibus com PROFINET IO is expressly developed to connect controllers named 10 controllers equivalent to Profibus DP Masters peripheral devices named lO devices similar to Profibus DP Slaves and programming devices PCs named IO supervisors with Ethernet Real Time RT and Isochronous Real Time IRT communication all the way Real Time channel is used for time critical process data and allows to meet the real time requirements of the automation engineering cycle times 500 us jitter 1 us while IRT is suitable for sophisticated motion control and high performance applications in factory automation and
10. ZSW2_ENC 09 Control requested STW2_ENC 10 Control by PLC STW2_ENC 10 1 STW2_ENC 10 0 d Ba DATA IN THE CONTROL WORD IS VALID DATA IN THE CONTROL WORD IS NOT VALID G1 STW 13 Request absolute value cyclically 1 G1 ZSW 13 Transmit absolute value cyclically 1 MAN EM58_HS58_HM58 PTE 1 4 134 Encoder state machine li a EMx58 Hx58x Profinet 14 2 Preset diagram Controller Device G1 STW 12 1 Set Request set shift of home position gt Execute preset DI ZSW 12 1 Set Set shift of home position executed tH Preset executed G1 STW 12 0 Clear Request set shift of home position 2 G1_ZSW 12 0 Clear Set shift of home position executed MAN EM58_HS58_HM58 PTE 1 4 135 Encoder state machine lixa EMx58 Hx58x Profinet 14 3 Parking sensor diagram Controller Device G1_STW 14 1 Set Activate parking sensor _ _ _ _ _ gt Execute parking G1_ZSW 14 1 Set Parking sensor active G1_ZSW 12 0 G1_XIST1 0 Clear Set shift of home position executed G1 XIST2 0 4 G1_ZSW 13 0 Clear Transmit absolute value cyclically Clear all errors do not generate new errors oo EXECUTE MAINTENANCE G1_STW 14 0 Clear Activate parking sensor Refresh gt G1 XISTI G1 XIST2 G1_ZSW 14 1 Clear Parking sensor active G1_STW 12 Restore Request set shift of home positio
11. assigning IO device in isochronous MOCE ssssseseceseeeeeeseeeeseeteneeeeeeeneneeeeseneeees 104 Figure 41 Standard Telegram as isochronous submodule sese 105 Figure 42 setting PIP for Standard Telegram Jeer ere 106 Figure 43 Configuring the IO controller topology eerte eene 107 Figure 44 Configuring the IO device LOpOl OGY i cicaccscnececasnccecscasceceectecsscceneseesrosensisusteteansecurasnnntiectncense 108 Figure 45 Checking the Profinet IO isochronous mode eee 109 Figure 46 Isochronous Mode dialog Oe 110 lU FARO oy E 111 Figure 48 Process Image Karger Eeer 112 Figure 49 Assigning the IO device to a sync domain eeeseseeeeeeeee entente 115 Figure 50 Domain management dialog DOX recitatis pu capiat ara poat depone aatia ata tendi geh tua cauta nca 116 Figure 51 Syne domain details dialog DX itn ctr hte tra titanic tte d Eggs 117 Figure 52 Entering the Topology EdIfOLl eroticas imo tecueinneaona totas amen beato iaaa 118 Figure 53 Topology Editor aleet siti aset liec erer ee 119 Figure 54 Topology Editor Offline Online comparison eese 120 Figure 55 Topology Editor Graphic view sence natant recte oaa tract tuna eoe tetndeianeucs 121 Figure 56 E EECHER Eeer 122 Figure 57 Link Layer Discovery Protocol EEDP as aeter terrier rettet re 123 Figure 58 Base mode para
12. parameters The parameters are administered in the Parameter Data Base To access EO parameters Acyclic Data Exchange service is used For periodic transportation of control values to the EO and actual values from the EO the Cyclic Data Exchange service is used Exception situations out of the Measuring Task and the General State Machine may be signaled by the Alarm Mechanism to the controlling device The EO shall comprise as minimum mandatory functionality e Parameters Measuring Task e O Data control value actual value e Support for Alarm Mechanism e Optional functionality e Clock Synchronous operation Parameter Manager Control values Actual values lt lt Parameter Data Base Sync trigger Encoder Object MAN EM58_HS58_HM58 PTE 1 4 65 Profinet interface lixa EMx58 Hx58x Profinet 6 5 Encoder object architecture The Figure shows the general architecture and the mapping of the Encoder Object EO architectural elements to Communication Objects of the Peripheral Device for PROFINET IO General with PROFINET IO the EO is mapped exactly to one Module Slot Slot 0 is exclusively reserved for Device representative purpose and therefore shall not used for any Encoder module Valid Slot numbers for Encoder Objects are from 1 to Ox7FFF Every EO contains at least the mandatory Module Access Point MAP which is mapped to a dedicated EO representative S
13. 15 1 Firmware upgrade WARNING Firmware upgrading process has to be accomplished by skilled and competent personnel It is mandatory to perform the upgrade according to the instructions provided in this section Before installation always ascertain that the firmware program is compatible with the hardware and software of the device Furthermore never turn off power during flash upgrade In case of flash upgrade error the program is lost irreversibly there is not a bootloader and the device must be sent back to Lika Electronic for restoring This operation allows to upgrade the unit firmware by downloading upgrading data to the flash memory Firmware is a software program which controls the functions and operation of a device the firmware program sometimes referred to as user program is stored in the flash memory integrated inside the unit These encoders are designed so that the firmware can be easily updated by the user himself This allows Lika Electronic to make new improved firmware programs available during the lifetime of the product Typical reasons for the release of new firmware programs are the necessity to make corrections improve and even add new functionalities to the device The firmware upgrading program consists of a single file having BIN extension It is released by Lika Electronic Technical Assistance amp After Sale Service If the latest firmware version is already installed in the unit you do not need to proc
14. Access Control MAP Module Access Point MLS Master Sign Of Life OB Organization block PAP Parameter Access Point PI PROFIBUS and PROFINET International RT Real Time Ethernet SFB System function block SFC System function TCP Transmission Control Protocol Tare Master Application Cycle Time References 1 Profile encoder Technical Specification for PROFIBUS and PROFINET related to PROFldrive Version 4 1 December 2008 Order No 3 162 2 Profile Drive Technology PROFldrive Technical Specification for PROFIBUS and PROFINET Version 4 1 May 2006 Order No 3 172 3 Profile Guidelines Part 1 Identification amp Maintenance Functions Guideline for PROFIBUS and PROFINET Version 1 2 October 2009 Order No 3 502 4 Profibus Guidelines Profibus Interconnection Technology Version V1 4 Order No 2 142 5 Profinet Guidelines Profinet Cabling and Interconnection Version V1 8 Order No 2 252 lixa EMx58 Hx58x Profinet 1 Safety summary 1 1 Safety Always adhere to the professional safety and accident prevention regulations applicable to your country during device installation and Operation installation and maintenance operations have to be carried out by qualified personnel only with power supply disconnected and stationary mechanical parts device must be used only for the purpose appropriate to its design use for purposes other than those for which it has been designed could result in ser
15. CPU 315 2 PN DP SFP ra E l MPDP H og Start 1 TIC 400 H ATIC PC Based Control 300 400 H Pots d ATIC PC Station H D n H DO16 DC24v 054 Fast search i Flash MAC address 10 B9 FE 00 00 04 gt m HM Slot H Module Press F1 to get Help Figure 23 Browsing the network The new IP address has been assigned MAN EM58_HS58_HM58 PTE 1 4 53 Getting started li Ka EMx58 Hx58x Profinet 5 4 Setting the parameters Parameter Access Point Double click the Parameter Access Point slot 1 1 of the module to open the isted dialog box where the encoder parameters are Ee HW Config SIMATIC 300 1 Configuration Lika B Station Edit Insert PLC View Options Window Help Du S H Wu Eb Rs c wm dm EDO Ww Ethemet 1 PROFINET IO System 100 DI16xDC24V DO16sDC24V 0 5A CPU 315 2 PN DP 3 MPDP CH PNIO Porta T Porta 2 3 eism m Slot H Module Order number address Q address _ Diagnostic address Comment HM Z EE AM P cal E Ame EZ 1 2 f Standard Telegram Press F1 to get Help Figure 24 Entering the Parameter Access Point dialog box MAN EM58_HS58_HM58 PTE 1 4 54 Find __ Profile Standard WE PROFIBUS DP PROFIBUS PA SE PROFINET IO BI SIMATIC 300 BI SIMATIC 400 SIMATIC PC Based Control 300
16. Control values Actual values SE Parameter Data Base Sync trigger Encoder Object Slot 0 Slot 1 Sub 0 Sub 1 Sub 2 Sub 0 Sub 1 Sub 2 SubSlot SubSlot SubSlot SubSlot SubSlot SubSlot 0x8000 0x8001 0x8002 0 1 2 Standard Telegram t 81 82 83 o or 84 o Dl N H b b 2 8 8 ms a a ui Acyclic E Data Channel uo 2 ea Parameter Manager Parameter Data Base C MAN EM58_HS58_HM58 PTE 1 4 70 Cyclic Data Exchange Standard signals li a EMx58 Hx58x Profinet 8 1 List of the available standard signals G1 XIST1 Unsigned 32 bits It is defined as Sensor 1 position actual value 1 This signal is the actual real absolute position of the encoder expressed in binary notation Format definition e all values are represented in binary notation the recommended default shift factor is zero right aligned value for both G1 XIST1 and G1 XIST2 e the settings in the encoder parameter data affect the position value in both G1 XIST1 and G1 XIST2 Example Here follows a format example 25 bit absolute multiturn encoder 13 bit singleturn resolution 8192 counts per revolution 12 bit multiturn resolution 4096 revolutions M Multiturn value number of revolutions S Singleturn value number of counts per revolution MSB LSB 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 109 8 7 6 5 MIMMIMIMI
17. Electronic Multitum encoder 30 bit 16 bit singletumn 14 bit multiturn BSDML V2 25 LIKA 0239 RO TACOD 20131024 ml Getting started li Ka EMx58 Hx58x Profinet Download data to the PLC pressing the Download button in the Toolbar HW Config SIMATIC 300 1 Configuration Lika Station Edit Insert PLC View Options Window Help Dg S mr Ho Rw Download to Module a Ethemet PROFINET1O System 100 Eni Profle Standard x M PROFIBUS DP PROFIBUS PA CPU 315 2 PN DP a S PROFINET IQ Additional Field Devices Encoders LIKA ROTACOD Fora 2 Gl Mulitun gg LIKA EMx13 16384PT DIIEXDC24V B 3 LIKA HMx16 16384PT DOTExDC24V 0 58 H Mulitum 30 Bit Module H Standard Telegram 81 D Standard Telegram 82 H Standard Telegram 83 D Standard Telegram 84 a CC Singletum j D Gateway m HMI amp va 4m 0 HM e CH Network Components sk Mode Order number apen Qaddes Digrosicaitiess C 1 7 SD gm HW HMasx 1ETEREIPT x LaF BC SIMATIC OD d ncn 2 E zB SIMATIC 400 Se a Z E SIMATIC PC Based Control 300 400 E x ae SIMATIC PC Station 7 Ante 30 Bit Modele EZ at Farametes Access Fork E 12 HMxxx16 16384PT xx Re Lika Electronic Multitur encoder 30 bit 16 bit singleturn 14 bit multitum GSDML V2 25 LIKA 0233 ROTACOD 20131024 xml Loads the current station into the lo
18. Ethernet Node confirmallOu s sucus ute tectae tese tu tectre tierce toss ena 52 Figure 23 Browsing the HeLDWDER soo ee ed een ine ces 53 Figure 24 Entering the Parameter Access Point dialog box eene 54 Figure 25 Parameter Access Point propertles icsasa ccena ti tntunt etus eh conie eusnb etta uo i cab ei ra nna etae 55 Figure 26 Downloading dabta to the PEG cathe naan cea aaa 56 Figure 27 Parameter Access Point help messages neueren rote rre entm ekt tak bunetnu nnne cta neue 56 Figure 28 Restoring default Values iens ocn teet estet ae he IUe 58 Figure 29 eet 59 Figure 30 Reset first confirmation messages ua aatem b damen tette one tue ette dace 59 Figure 31 Reset second confirmation message 1 nierernes tueretur tenete ettet tuni etra nn tata qnie EE 60 Figure 32 Reset executed HESE 60 Figure 33 Eheekingaodata act el ae ol one ane ee RE A EIN E eM uiueE 61 Figure 34 Setting the Not synchronized role of the IO controller eene 98 Figure 35 Setting the Not synchronized role of the IO device eese 99 Figure 36 Setting the sync master role of the IO controller eene 100 Figure 37 Setting the sync slave role of the 10 deviee aus eetacrotuco troie taps eterni 101 pure 38 CPU property SHEER EE 102 Figtire 39 PIP rof OBG em MR 103 Figure 40 OB61
19. HMx16 16384PT 0x0001003 This certificate confirms that the product has successfully passed the certification tests with the following PROFINET scope D Hardware Auto Negotiation Auto Polarity Aute Crossover Conformance Cass AC RI Oe A RT CLASS 2 RT CLASS 3 RTA LLDP SNMP MER LLDP Mil Test Report Number PN263 1 IRTOS6 1 Authorized Test Laboratory Siemens AG F rth Germany The tests were executed in accordance with the following documents Test Specifications for PROFINET IO devices Version 2 2 4 from December 2010 and Test Cases for PN Tester for PROFINET IO devices Version 2 24 1621 Tet for PROFINET 10 devices Version V2 2 4 from December 2010 PROFINET IO IRT Test Cases V2 2 42 from December 2010 test system V2 24 1621 with annex spirta 2 24 2 212 This certificate is granted according to the document Framework for testing and certification of PROFIBUS and PROFINET products For ali products that are placed in circulation by January 14 2017 the certificate is valid for life pos oer A Oli n Owe k Kg tM mA uu rH Kg 44 KF Under Boend uf PROFIBUS Nutzerorganisation e V d PROFIBUS PROFINET Glossary of Profinet terms PROFINET IO like many other networking systems has a set of unique terminology Table below contains a few of the technical terms used in this guide to describe the PROFINET IO interface Sometimes they also refer more specifically to the
20. Hx58x Profinet Finally check the Profinet IO isochronous mode Right click the 2 CPU slot in the CPU configuration table and press the PROFINET IO Isochronous mode command i HW Config SIMATIC 300 1 Configuration Lika Ej Bj Station Edit Insert PLC View Options Window Help B8x DES Wy 5 Be doe MO Wire nixi Ethemet 1 PROFINET IO System 100 Find ati Profle Standard EI WE PROFIBUS DP PROFIBUS PA OEIL M PROFINET 10 Ctr SIMATIC 300 SIMATIC 400 Hm SIMATIC PC Based Control 300 400 Replace Object x RB SIMATIC PC Station DIT6xDC24V DO16xDC24V PROFINET IO Isc lt Delete Del 2 0 un Slot H Module Orde 2 cPusi amp 2PN DP EES object Properties Alt Return A ID WADE n aol Ava a AM Ze E AA Av Assign Asset ID 3 4 DESCH GES Product Support Information Cap 5 DO16xDC24V 0 54 pps FAQs Chr Find Manual Ctri F6 GoTo L PROFINET I0 System zd elle Allows settings For isochronous mode Cha Figure 45 Checking the Profinet IO isochronous mode MAN EM58 HS58 HM58 PT E 1 4 109 Real time class communication EMx58 Hx58x Profinet lixa The Isochronous Mode dialog box will appear on the screen The installed Standard Telegram is the only submodule which provides IO data In this page you can check which IO devices modules submodules hav
21. L Wileg4s T Request DB Format DBl DBBlO Parameter value data type 0x43 doublw word L w l6go T Request DB subindex DBl DBW amp Parameter address subindex L Response DB Value DB2 DBD Parameter value parameter value T P65000 Preset Value 1150 SPA PEND PEND NOP o Ed E Drove BL Press F1 to get Help Figure 68 FC2 offline labs 5 2 Mai Ln2t Insert Chg MAN EM58_HS58_HM58 PTE 1 4 130 Read amp write in acyclic communication lixa EMx58 Hx58x Profinet 13 1 10 Acyclic request of Preset See P65000 Preset value on page 83 Table Edit Insert PLC Variable View Options Window Help 8x sl osa ai leel x fs gei Ser e sape ze Al address Symbol Symbol comment Display format Status value Modity value 1 Hencoder 2038 0x7F6 2 MD 108 Diag Address of PAP Diagnostic address of Parameter Access Point in Slot DEC Le2038 L 2038 3 Request type 1 read parameter 2 write parameter 4 D DER 1 Request DB Request D Request header 0x0l request parameter 0x02 chang HEX B 16 01 B 16 01 g 6 M 1020 Req P65000 Preset Value BOOL 7 8 mate wrte 8 me DBD 12 Request D I Value Parameter value HEX DAWIBRODUNOO00 ovw 16 00000000 40 iNalue read M MO 150 PESODDPreset Value HEX Dreem 42 43 Lika SIMATIC 300 1 57 Programm 1 4 ii Abs 5 2 Figure 69 Acyclic request of Preset value NO
22. Primary Ok Run 19778 9 697224000 Siemens 16 fd 31 LikaSr 00 00 01 PNIO RTC3 ID OxO101 Len 40 Cycle 14720 Valid Primary Ok Run 19779 9 697231000 LikaSr 00 00 01 Siemens 16 fd 31 PNIO RTC3 ID 0x0100 Cycle 14720 Valid Primary Ok Run 19780 9 698222000 Siemens 16 fd 31 LikaSrl 00 00 01 PNIO RTC3 ID 0x0101 Cycle 14752 Valid Primary Ok Run 1 Dag 2 01 iemens 16 fd 31 Sp Primary Ok Run 9 699225000 Siemens 16 LikaSr1 00 00 01 PNIO RTC3 1D 0x0101 Cycle 14784 Valid Primary Ok Run 19783 9 699231000 LikaSr1_00 00 01 Siemens 16 fd 31 PNIO RTC3 ID 0xO100 Len 40 Cycle 14784 Valid Primary Ok Run 19784 9 700224000 Siemens 16 fd 31 LikaSr1 00 00 01 PNIO RTC3 ID OxO101 Len 40 Cycle 14816 Valid Primary Ok Run 19785 9 700230000 LikaSr1_00 00 01 Siemens 16 fd 31 PNIO RTC3 ID 0x0100 Len 40 Cycle 14816 Valid Primary Ok Run 19786 9 701226000 Siemens 16 fd 31 LikaSr 00 00 01 PNIO RTC3 ID 0xO101 Len 40 Cycle 14848 Valid Primary Ok Run 19787 9 701232000 LikaSr1_00 00 01 Siemens 16 fd 31 PNIO RTC3 ID 0x0100 Len 40 Cycle 14848 Valid Primary Ok Run 19788 9 702224000 Siemens 16 fd 31 LikaSr 00 00 01 PNIO RTC3 ID OxO101 Len 40 Cycle 14880 Valid Primary Ok Run 19789 9 702230000 LikaSr 00 00 01 Siemens 16 fd 31 PNIO RTC3 ID 0x0100 Len 40 Cycle 14880 Valid Primary Ok Run 19790 9 703223000 Siemens 16 fd 31 LikaSr1_00 00 01 PNIO RTC3 ID OxO101 Len 40 Cycle 14912 Valid Primary Ok Run 19791 9 703230000 Lika
23. Process Image Partition WARNING Use of PIPs requires both in depth skills and specific expertise in SIMATIC STEP 7 programming environment For detailed information please consult the STEP 7 Programmer s handbook and documentation 11 5 1 Consistency PIPs Process Image Partitions are used to update the distributed IO device synchronously with the constant bus cycle time clock Compared with direct access to the input output modules the main advantage of accessing the process image is that the CPU has a consistent image of the process signals for the duration of one program cycle If a signal state on an input module changes while the program is being executed the signal state in the process image is retained until the process image is updated again in the next cycle The process of repeatedly scanning an input signal within a user program ensures that consistent input information is always available You define process image partition with STEP 7 when you assign addresses which input output addresses of the modules are listed in which process image partition The process image partition is updated by the user with SFCs EHW Config SIMATIC 300 1 Configuration Lika DEM RS Hn Com dm MO S vw Properties Standard Telegram 83 jeneral Addresses DP CPU 315 2 H MPDP d ovo do Pot 2 H Por 2 H Drenoc H Goen A o o D Based Control 300 400 p Outputs Station
24. S7 programming environment They are listed in alphabetical order Acyclic Communications Unscheduled on demand communications Diagnostic messages from an IO Supervisor to an IO Device are Acyclic Refer to page 79 AP Application Process The application process running in the device PROFINET supports a default Application Processes and additional profile specific application processes API The value of the API Application Process Identifier parameter specifies the application that is processing the lO data PROFINET standard IEC 61158 assigns profiles to certain APIs PROFldrive PROFlslave which are defined by the PROFINET User Organization The standard API is 0 Application class An application class specifies a number of mandatory functions and addition optional functions to be supported by an IO device The Profinet encoders can be configured as CLASS 3 and CLASS 4 PROFINET IO devices according to the encoder profile Refer to page 64 AR Application Relation The relationship between a PROFINET IO Controller and an IO device A PROFINET IO device can support more than one Application Relationship Bus A bus is a communication medium connecting several nodes Data can be transferred via serial or parallel circuits that is via electrical conductors or fiber optic Channel A single IO point A Channel can be discrete or analog Consumer Status The Status an IO device provides to
25. The IO controller is often the controller on which the automation program runs Refer to page 62 10 Device A decentralized field device that is assigned to one of the IO controllers e g remote 10 encoders valve terminals frequency converters switches etc Refer to page 62 IO Parameter Server An IO Parameter Server is a server station usually a PC for loading and saving the configuration data records of IO Devices IO Supervisor Programming device PC or HMI device used for commissioning and diagnostics of IO Controllers and lO Devices Refer to page 62 IP address The IP address is the name of the unit in a network using the Internet protocol Refer to page 30 IRT Synchronized transmission procedure for the cyclic exchange of IRT data between PROFINET devices A reserved bandwidth within the send clock is available for the IRT IO data The reserved bandwidth ensures that the IRT data can be transmitted at reserved synchronized intervals whilst remaining uninfluenced even by other greater network loads e g TCP IP communication or additional real time communication The high flexibility enables simple planning and expansion of the system A topological configuration is not required Refer to page 97 MAC address The MAC address is an identifier unique wordlwide consisting of two parts the first 3 bytes are the manufacturer ID and are provided by IEE standard autorit
26. Then configure the IO device and set its port 1 to be connected to the port 2 of the lO controller Double click the X1 P1 PORT 1 slot in the Device configuration table and open the Port 1 properties dialog box The Properties Interface Port 1 property sheet will appear Enter the Topology tabbed page and set the Port 2 X2 P2 R value in the drop down menu in the Partner port item of the Partners group box Confirm pressing the OK button Refer also to section 11 7 Topology Editor on page 118 m SS aus 300 1 ageet E oh Deng Se dow mo ry Ki Sisi Properties Interface Port 1 X1 P1 General Addresses Topology Options DP Port Interconnection PA CPU 315 2 la EZA Local port SIMATIC 30001 HM Port 1 X1 P1 D A H ovo Meccan Local port Copper Partner port Copper Pi Cable Based Control 300 400 yt name M Station H Gun l Do16 Dc24 Partners Partner port ATT 300 1 PN 410 CPU 315 2 PN DP Port 2 R0 52 2 P2 R partner Bis TIC 300 1 PN 10 CPU 315 2 PN DP 7 SIMATIC 300 1 PN IO CPU 315 2 Ge RO SZ K2 EI a gt m nm p Cable Data Cable length Signal delay time 0 60 us Signal delay time us Cancel Help PROFINET 10 System Ki Press F1 to get Help Figure 44 Configuring the IO device topology Cha MAN EM58_HS58_HM58 PT E 1 4 108 Real time class communication li Ka EMx58
27. an IO Controller for the data it consumes from IO Controller CR Communication Relationship A virtual communication channel within an AR Cyclic Communications Scheduled repetitive communications IO data and alarm transfers are cyclic Data block In contrast to code blocks data blocks DB do not contain Step 7 statements They are used to save data i e variable data which are processed by the user program Global data blocks serve to accommodate user data which can be used by all other blocks DCP Discovery Control Protocol A communications protocol with PROFINET IO that allows an IO Controller or Supervisor to find every PROFINET IO device on a subnet Determinism Determinism means that a system responds in a predictable deterministic manner Device name Before an IO device can be addressed by an IO controller it must have a device name In PROFINET this method was selected because it is simpler to work with names than with complex IP addresses Refer to page 40 Encoder Profile The PROFINET profile for Encoders is intended to define a standard application interface for encoders The profile is a supplement to the PROFldrive profile so it is mandatory to read the PROFldrive profile before implementing the encoder profile Profinet encoders from Lika Electronic comply with the Encoder Profile Specifications V4 1 version 3 162 See also Profile Function Fun
28. are sent via the alarm channel For further information refer also to the section 10 2 Error messages via the Alarm Channel on page 95 Attribute Meanng LL Vawe No profile specific diagnosis 0 Profile specific diagnosis NOTE This parameter is only supported in compatibility mode see Compatibility mode on page 88 MAN EM58_HS58_HM58 PTE 1 4 87 Acyclic Data Exchange lixa EMx58 Hx58x Profinet Compatibility mode This parameter defines whether the encoder has to run in a mode compatible with Version 3 1 of the Encoder Profile See the table below for an overview of the functions affected when the compatibility mode is enabled Attribute Meaning Vake Compatibility with Encoder Profile V3 1 2 Disable No backward compatibility Compatibility mode Compatibility mode Control by PLC Ignored The control word Supported STW2_ENC G1 STW and setpoint values are always valid Control requested ZSW2 ENC is not supported and is set to O User parameter Supported Not supported One Sign Of Maximum Life failure tolerated P925 is Master Sign Of optional to control the life Life failures sign monitoring User parameter Supported Not supported The Alarm channel application alarm channel is control active and controlled by a PROFldrive parameter P965 Encoder 31 V3 1 41 V4 1 profile number Scaling function parameters Using the scaling function parameters
29. connected to connect the port of the IO controller and the port of the IO device see on page 107 they do not need to be first of all interconnected to a topology within the project So in the Table view tabbed page you will see the configured PROFINET devices and ports currently connected in the system The Interconnection table in the left area of the page lists all the configured PROFINET devices with their ports The Selection range group box in the top right section lists all the PROFINET devices that are available for the topological interconnection GHW Config SIMATIC 300 1 Configuration Lika Table view Graphic view Olfine oniine comparison Interconnection table JW Show station name Filter Show all ports 7 z Selection range Fiter Show all ports Bb Pot X PD SIMATIC 300 1 PN IO CPU 315 100m Port 2 x1 P2 E SIMATIC 3001 E PNHO CPU 315 2 PN DP E Port1 X2P1 R E Pot2 QP2R HM Port 1 X1 P1 Partner port Cable len Signal del Comment O 60us Press F1 to get Help Figure 53 Topology Editor Table view MAN EM58_HS58_HM58 PT E 1 4 119 HM SIMATIC 300 1 Passive Components SCALANCE X100 SCALANCE W medium converter PC Modules i Standard IE G SIMATIC HMI Cancel Help Real time class communication li Ka EMx58 Hx58x Profinet The Offline online comparison tabbed page lists the configured PROFINET devices with their
30. controller to the encoder and 20 bytes to input data from the encoder to the IO controller Output data CONTROLLER gt DEVICE STW2 ENC Gi STW Input data DEVICE gt CONTROLLER Actual value ZSW2_ENC G1 7SW GI XIST3 G1 XIST2 NIST B NOTE In the Standard Telegram 84 G1 XIST2 is used to transfer the error codes and optionally the position values if the measuring length exceeds 64 bits MAN EM58_HS58_HM58 PTE 1 4 68 PROFINET IO data description lixa EMx58 Hx58x Profinet 8 Cyclic Data Exchange Standard signals IO data is transferred via the Cyclic Data Exchange A series of standard signals are defined to configure the IO data In the following table the standard signals are summarily described Significance Abbreviation Length bits Data type Page SC 1 position actual value G1_XIST1 32 Unsigned 71 ln 1 position actual value G1 XIST2 32 Unsigned 72 Sensor 1 position actual value 3 G1 XIST3 64 Unsigned 72 Encoder Control word 2 SIW2 ENC 16 Unsigned 73 Encoder Status word 2 ZSW2 ENC 16 Unsigned 74 Sensor 1 control word G1 STW 16 Unsigned 74 Sensor 1 status word DI ZSW 16 Unsigned 78 Speed actual value A NIST A 16 Signed 78 Speed actual value B NIST B 32 Signed 78 MAN EM58_HS58_HM58 PTE 1 4 69 Cyclic Data Exchange Standard signals EMx58 Hx58x Profinet Parameter Manager
31. enter the required subnet mask in the Subnet mask field below Press the Assign IP configuration button to confirm IW Config SIMATIC 300 1 Configuration Lika Ethernet node Ss Nodes accessible online Sai MAC address 10 89 FE 00 00 04 Browse standard xi ROFIBUS DP Set IP configuration ROFIBUS PA ROFINET IO pec UR CPU 315 2 PN DP 5 UN pe Use IP parameters Additional Field Devices Wf ee Diem ZE aeren RE se 192 168 20 187 SE TI ES G Mulitun EE I oneoczw Subnet mask 255 255 255 0 C Use router TA mum Eon TEES ids H Multum 30 Bit Module a D Standard Telegram 81 Obtain IP address from a DHCP server H Standard Telegram 82 Identified by D Standard Telegram 83 H Standard Telegram 84 E E s Singletum Client ID Gateway HMI Vo Assign IP Configuration Network Components gt FUNT SE Switching devices Assign device name ATIC 300 y A ATIC 400 Device name hm i IATIC PC Based Control 300 400 ATIC PC Station Reset to factory settings 7 I Zones Fait 1 2 lf Standard Telegram 83 anual for detail description zd p 25 LIKA 0239 ROTACOD 20131024 ml Press F1 to get Help ES Figure 21 Assigning IP configuration The following confirmation message will appear on the screen Ethernet node EE Nodes accessible online at A i MAC address 10 BS FE 00 00 0A Browse Standard d ROFIBU
32. interfaces and ports and the associated neighbor ports in the left box Configured topology offline The right box Detected topology online shows the online view of the PROFINET IO system with its interconnection for the runtime Press the START button above in the box to import the PROFINET devices of your project i HW Config SIMATIC 300 1 Configuration Lika B Topology Editor Table view Graphic view Oifline online comparison Configured topology offline Detected topology online Filter Show all devices x Start 2 devices found Partner port Cable data Object name Partner port Press F1 to get Help j Cha Figure 54 Topology Editor Offline Online comparison MAN EM58_HS58_HM58 PTE 1 4 120 Real time class communication li Ka EMx58 Hx58x Profinet The Graphic view tabbed page displays the PROFINET devices in the project and their interconnections In the Miniature View in the top right section you can use the slider to select the section of the PROFINET IO system and its enlargement factor To change the section of the PROFINET IO system use the mouse to drag the frame across the desired area that you wish to see in detail Table view Graphic view Offine online comparison IP address MAC address List of nodes that cannot be assigned i Object name Name 49 CPU 3152 PN DP Porta 2 RO S2 K2 P2 R HM Interface Port 1 41
33. measuring UP ES cre ERE need 91 Z ZI SENE ota AA Ino ee es 74 Table of figures Figure 1 Connectors and diagnostic LES testen tani iaeeeees 29 one Ss Installing the GSDML Clees 34 Figure 3 Selecting realer 35 Figure 4 eet e Ree 35 Figure 5 Scrolling through Profinet families and categories eere 36 Figure 6 Inserting a module in the Profinet IO system eese ntn tnnt 37 Foure Inserted tte TE 38 Figure 8 Adding the Standard Felegkditti uode ettet ee 39 Figure 9 Assigning the device TIalTie sese oot oett meneenictnec te eco met epic ceseaestcecmu cer sedenek doe ce secte eec ioi 42 Figure T0 Assigning the lP Address ausos ecoute EEN 43 Figure 11 Downloading data to the PLE seach chen ee aoe a anderem 44 Figure 12 Assigning the device NAM ergeet 45 Figure 13 Confirming the devic DEE 46 Figure 14 Edit Ethernet Node dialog getest unco eaa caen 47 Figure 15 Edit Ethernet Node confilialilioietocs costis iet ocie p ocior caet eco ict oa ated canc needed 48 Figure T6 Browsing the ne twee escapee crease eterne anenai daaraan wees een acutus rure salen ce aD epa DS 48 Figure 17 Verifying deleng 49 Figure 18 Verifying device Dalmig sius ees 49 Figure 19 Setting the IP addf6ss uiscera teet itt teeta Mies ates dt Peace itat ieu aet 50 Figure 20 Bkowsmt dE 51 Figure 21 Assigning IP ContIQUFAL Olsen orco rnnt anam nonet antt ae enat rein asa ida ket ennen 52 Figure 22 Edit
34. processed only if Class 4 functionality is enabled Attribute Meaning IL Value Absolute position value increasing with CW clockwise rotation viewed from shaft end Absolute position value increasing with CCW counter clockwise rotation viewed from 1 shaft end MAN EM58 HS58 HM58 PTE 1 4 85 Acyclic Data Exchange lixa EMx58 Hx58x Profinet WARNING Changing this value causes also the position calculated by the controller to be necessarily affected Therefore it is mandatory to execute a new preset after setting this parameter Class 4 functionality For any information on the implemented Application Classes refer to the section 6 3 Application Class definition on page 64 If it is enabled Code sequence G1_XIST1 preset control and Scaling function control affect the position value in G1_XIST1 G1 XIST2 and G1 XIST3 However the preset will not affect the position value in G1_XIST1 if the parameter G1 XIST1 preset control is disabled it will always affect G1 XIST2 and G1 XIST3 instead Attribute Meaning Code sequence DI XIST1 preset Disable control and Scaling function control disabled Code sequence DI XIST1 preset Enable control and Scaling function control enabled G1 XIST1 preset control This parameter is available only if Class 4 functionality is enabled This parameter controls the effect of a preset on the G1 XIST1 actual value When it is enabled Preset will affec
35. refer to the section 9 4 Index OxBFOO user parameter data on page 85 For further information on the encoder specific profile parameters refer to the sections 9 2 Index OxBO2E supported PROFldrive specific parameters on page 80 and 9 3 Index OxBO2E supported encoder specific parameters on page 83 MAN EM58_HS58_HM58 PTE 1 4 141 Integrated web server li Ka EMx58 Hx58x Profinet fg EDO dh queens G smeti 0X28031B6A Figure 75 Encoder position page In the Encoder position page the current encoder position is shown Lg internet procu Figure 76 Change the preset value page For detailed information on setting the preset value please refer to the section 15 2 Setting the preset value on page 151 MAN EM58_HS58_HM58 PTE 1 4 142 Integrated web server li Ka EMx58 Hx58x Profinet The technical documentation command allows to enter the web page http www lika it eng prodotti php id_cat 267 amp tid_fam 270 amp id_sfam 492 in the corporate web site where specific technical information and documentation concerning the Profinet encoder can be found Lg Interret procu Figure 77 Firmware upgrade page This is a password protected page For detailed information on the firmware upgrade please refer to the section 15 1 Firmware upgrade on page 144 MAN EM58_HS58_HM58 PTE 1 4 143 Integrated web server lixa EMx58 Hx58x Profinet
36. sa etel tria Geeta Maid Addl dsl ettet at nud 131 13 2 Monitoringa ATIS OM ooi nu EEN 132 E 133 pax Normalop ratom Et sc eee ec ec ete nh teh id a att ees ere 134 14 2 PROSE TNA RR es 135 14 3 Parking Sensor SORTIS d euo gea 136 144 Error EBEN asa ciety acc ordeum tnde an buic an uc n da dee ene 137 14 4 1 Acknowledgment of acknowledgeable sensor error 137 14 4 2 Acknowledgment of not acknowledgeable sensor error 138 CET auno ang i ee ee 139 Set EE EE 144 15 2 Setting get 151 1G Default parameters Ue ate detainee a danielle ai E 155 Subject Index A Acknowledging a Sensor e EEN 77 Activate parking sensor 77 Alarm channel CODEFOL au s ein octies 87 B BLOCK HEADER te 80 C Class 4 TUnetioralibyou c etes 86 Code SCC UG eom oi cin ba aiat 85 Commissioning diagnostic 96 Compatibility OCG aa caet petas 88 COREBFOI OVOP LNG a coeno tdeo natu eee oe 73 E eege BE 74 Controller Sigris DT LITe etes ctas 73 E Encoder Sign OT EITe ia ua aep p den 74 G CURATI e n 74 EE 4 oerte cU Wr Rol toD 71 G1_XIST1 DresepeottfolussentoseE ecce ta 86 ER BE E 72 GIZA Bias e aU 72 GIZ S Warea nete itda NN ae UNT 78 H HARDWARE REVISI N cia tr tacite td 80 Home position TOOL uestes 75 IM SUPPORTED nirani 80 TIMERS ON nanan RU Nd 80 PCE OLAF FO cana Da iae xpi naaa 80 Index OxBO2E supported encoder specific DEIER 83 Index OxBO2E supported PROFldrive specific paramelers etu iiec lentes ide 80 Index AE 85 M MANUFACTURE
37. the encoder absolute position value is converted by software in order to change the resolution of the encoder The scaling parameters will only be activated if the parameters Class 4 functionality and Scaling function control are enabled The permissible range for the scaling parameters is limited by the hardware encoder resolution EXAMPLE In a 25 bit encoder having a singleturn resolution of 13 bits 8192 cpr and a multiturn resolution of 12 bits 4096 revolutions the permissible value for the Measuring units Revolution is between 2 and 2 2 8192 while the MAN EM58_HS58_HM58 PTE 1 4 88 Acyclic Data Exchange lixa EMx58 Hx58x Profinet permissible value for the Total measuring range is between 2 and 2 2 33554432 Measuring units Revolution It is used to program a user specific resolution per each revolution singleturn resolution Allowed values are equal to or lower than the hardware counts per revolution physical singleturn resolution We suggest setting values that are a power of 2 1 2 4 2048 4096 See the parameter Total measuring range below Default hardware counts per revolution min 1 max hardware counts per revolution NOTE There is no functionality of this parameter if the Scaling function control parameter Is disabled EXAMPLE The HS58 PT Profinet singleturn encoder has a singleturn resolution of 18 bits 262144 cpr the permissible value for the Measuring units Revolu
38. the manufacturer OUI namely Organizationally Unique Identifier while the last three bytes are the specific identifier of the unit The MAC address can be found on the label applied to the encoder The IP address and the subnet mask must be assigned by the user to each interface of the unit to be connected in the network For additional information on the MAC address refer to the section 5 2 Mac address on page 32 For additional information on the IP address refer to the section 5 3 7 Setting the IP address on page 50 MAN EM58_HS58_HM58 PTE 1 4 30 Electrical connections lixa 4 5 Diagnostic LEDs Figure 1 EMx58 Hx58x Profinet Six LEDs located in the cap of the encoder see Figure 1 are meant to show visually the operating or fault status of the encoder and the Profinet interface The meaning of each LED is explained in the following tables LED Description L1 green Link 1 link to another Ethernet component through port 1 A1 yellow Activity 1 incoming and outgoing traffic through port 1 S1 green Status 1 see table below S2 red Status 2 see table below L2 green Link 2 link to another Ethernet component through port 2 A2 yellow Activity 2 incoming and outgoing traffic through port 2 1 Status 1 S2 Status 2 Meaning Cause green red Unit switched off FF FF N 9 9 P e Cable disconnected No connection to another e Bus disconnected ON ON device Mast
39. the settable parameters When this is the case you have to use the Reset command NOTE When you restore the default values please always consider that the encoder parameters will be restored to the default values e the encoder offset will be reset the Device Name will be lost and replaced with a blank string e the IP address wil be set to 0 0 0 0 the parameters associated with the IP range will be set to O WARNING The execution of this command causes all the values which have been set previously next to each parameter to be overwritten NOTE The complete list of machine data and relevant default parameters preset by Lika Electronic engineers is available on page 155 MAN EM58_HS58_HM58 PTE 1 4 57 Getting started li Ka EMx58 Hx58x Profinet When you need to restore the default values proceed as follows Press PLC Ethernet and then Edit Ethernet node command in the menu bar of the HW Config window In the Edit Ethernet Node dialog box press the Browse button to find all the nodes connected to the network Select the LIKA ROTACOD device type you need to reset the parameters The MAC address of the encoder is written on the encoder label Press the OK button to confirm HW Config SIMATIC 300 1 Configuration Lika Ws DSS RNS ar me Ethernet node Sisi Nodes accessible online atal MAC address IJ Browse S
40. 3 and 4 thus they are intended for clock synchronous isochronous real time applications with cyclic and synchronous data transmission Anyway they can also be used in applications without clock synchronization For detailed information on the application classes refer to the section 6 3 Application Class definition on page 64 PROFINET encoders supports the standard telegrams 81 82 83 and 84 Further information can be found in the section 7 1 Telegrams on page 67 The IO data is transferred to and from the Encoder Object EO see the section 6 4 Encoder Object model on page 65 via the Cyclic Data Exchange Service The EO comprises the following mandatory functionalities e parameters e measuring task i e position value velocity value e O data cyclical transmission of control and actual values e support for Alarm Mechanism Among the parameters available in the Profinet encoders from Lika Electronic code sequence scaling function preset Class 4 functionalities position readout offset value velocity value velocity measuring unit acyclic Error Data communication and diagnostic information PROFINET at a glance Number of ER RE Transmission Cable SCOTI the IP the baud tfe Leen Cable Address rate g M12 D Virtually B S 100 Mbit s Up to 100 coded unlimited full duplex m 330ft Profinet via DCP connectors MAN EM58_HS58_HM58 PTE 1 4 63 Profinet interface lixa E
41. 400 f SIMATIC PC Station PROFINET IO System Chg Getting started lixa EMx58 Hx58x Profinet The Properties Parameter Access Point property sheet will appear Enter the Parameters tabbed page to display the complete list of the parameters available for the Profinet encoder The encoder specific parameters implemented by the manufacturer are shown in the table The parameters data is transferred to the encoder using OxBFOO data record at each system boot up To set the parameter data select the value in the drop down list next to each parameter in the column Value For detailed information on the implemented parameters please refer to the section 9 4 Index OxBFOO user parameter data on page 85 Properties Parameter Access Point General Addresses Parameters Value SEES H Encoder parameters E Code sequence CW 0 2 Class 4 functionality enable 8 G1 XIST1 Preset control enable E Scaling Function control disable E Alarm channel control disable E Compatibility Mode Disable Profile Version 4 1 amp Measuring units Revolution 65536 2 Total measuring range 1073741824 E Maximum tolerated Failures of M 1 amp Velocity measuring unit Steps s Cancel Help Figure 25 Parameter Access Point properties MAN EM58_HS58_HM58 PTE 1 4 55 Getting started lixa EMx58 Hx58x Profinet After having changed any parameter v
42. 6 Poenis EE 96 10 4 LED indication MM 96 11 Real time class communication 97 11 1 R al time classes 1n ESCHER 97 11 2 Real Time class 2 RT2 Not synchronized sectis ttt 97 11 2 1 Setting an anisoehronous COITITT GU DIOE ace ete oerte perebtebtsubtetesnb pub peer bnetieb Ee 98 11 3 Real Time class 3 URE TOP RUS usada apa e econtra ot nea od ele os 99 11 3 1 Setting an saehronmouscommbB le OTI sicui eadein bereitet tiber 100 TOBO Eee emer adum uU MED MEM RR RE ELM 111 11 5 PIP Process Image Partt Oll inen enn em me ne te mE nN en ne mnt een ee Oa 112 11 51 So alk ura ENCORE m Dn 112 LE5 3 5 PCT2B SNC ID aces eec IE i men erat emit ated nde iine E 113 ESAE ET OG PO c 113 116 Domaini Manage MEN NES 114 Wy FAS ee yd EANO aa E AE EE ee eee 118 T18 Message MONTONG us cette nter pete tat cepta tcc cat vaso ee 122 12 Encoder replacement using KEE eege 123 KEREN 125 13 1 Example reading and writing a parameter Preset Value s 126 13 1 1 System Function Block 52 ISPBR2L EE 126 13 1 2 System Function Block 53 ISFBS2L een 126 13 1 3 Data Block T DBT EN 127 13 1 4 Data HEEN 127 13 1 5 Data Block IR oes itti seeded rt Horne rint Da tenebit 128 13 1 6 Data Block DBA asas toiaiceien antt titre tatnen s 128 13 1 7 Organization Block 1 OB sudeste Fieber 129 13 1 8 Function TUR nem e cup stet tutt bL eset tren ftu 129 i fe aj Function EE 130 13 1 10 Acyclic reg est OTI ROS
43. A CPU 315 2 PN DP ean PROFINET 10 C3 Additional Field Devices ch Cl Encoders UKA R TACOD Mulitum LIKA EMx13 16384F d DI16xDC24V Ei LIKA HMx15 16384F DO15 DC24V 0 5A C3 Singletun a E Gateway HMI C vo amp C Network Components a 3 Sensors amp Gil Switching devices fi SIMATIC 300 lt i SIMATIC 400 E SIMATIC PC Based Control 300 400 a a 1 HM SIMATIC PC Station Porta 2 Diagnostic address dotenace Fw ET Fw ES Mudtsilurn FO Bit Module EZ Farameter Access Fort AU i gt IHMssrTB 16384PT An Ki Lika Electronic EE Multum encoder 30 bi 16 bit singleturn 14 bit mulitum I Cha i lt Slot is occupied module is too wide or the functionality of the inserted module is not transferable to the new module Figure 7 Inserted module MAN EM58_HS58_HM58 PTE 1 4 38 Getting started li Ka EMx58 Hx58x Profinet Now we need to choose the data length and the type of data that should be sent to and from the IO controller thus we need to install a Standard Telegram Four types of telegrams with different characteristics are available Standard Telegram 81 Standard Telegram 82 Standard Telegram 83 and Standard Telegram 84 For detailed information on the Standard Telegrams refer to the section 7 1 Telegrams on page 67 For instance we need to install the Standard Telegram 83 To
44. Assign IP Configuration Assign device name Device name hun Reset to factory settings aaner Access Foy Standard Telegram 83 Close zd Press F1 to get Help Figure 32 Reset executed message MAN EM58_HS58_HM58 PTE 1 4 60 Getting started li Ka EMx58 Hx58x Profinet When the operation is carried out browse the network by pressing the Browse button in the Edit Ethernet Node dialog box to find all the nodes connected to the network The LIKA ROTACOD device type will provide the value 0 0 0 0 under the IP address item and a blank string under the Name item GS HW Config SIMATIC 300 1 Configuration Lika Bl jit gt b n dow n Du E Wu 6 Ha me Ethemet node EEN Nodes accessible online ntal MAC address 1088FE 00 00104 Browse Standard OFIBUS DP OFIBUS PA CPU 315 2 PN DP Kim E ROFINET 10 ATIC 300 Start 1 IP address MAC address Device type Name ATIC 400 HI eege ATIC PC Based Control 300 400 TO BSFE O0 00 04 DEA ROTACOD ATIC PC Station I briesocosv M mens Iv Fast search Kol m 9 HM Flash MAC address I0BSFE 00000A Slot Module Order sm av Z xr A rere Cancel E Zei AM Az 7 Mudtitum 30 Bit Module r Reset to factory settings 71 Parameter Access Font 1 2 Standard Telegram 83 Press F1 to get Help Chg Figure 33 Checking data after reset
45. C MAC adii Deni lt ji fe Assign IP Configuration EZ 0 m Slot Module Assign device name m HN 3 A AT Wiehe Device name hm mg AT Fatt A7 Fit 2 F Midtiturn 30 Bit Move Reset to factory settings DIr WEE 12 Standard Telegram 83 Press F1 to get Help Figure 29 Reset to factory settings You will be requested to confirm the operation Press the YES button in the message that appears on the screen GH Config SIMATIC 300 1 Configuration Lika Dette Re ae w Ethemet node Bx Nodes accessible online atl il MAC address 1089 E 00 00 04 Browse Stra E UR z OFIBUS DP 1 x Set IP configuration OFIBUS PA gicrusszewmP 7 OFINET 10 MPUDP Use IP parameters _ Maric 300 Lag ATIC 400 ff Poot Gateway n IP address masar ATIC PC Based Control 300 400 A Pora aaien aner Donotuse router ATIC PC Station ENEE Edit Ethernet Node 4502 827 Do you realy want to reset the module to its Factory settings The module then only reacts over the LAN to the factory set MAC address m HM Assign device name Device name Reset to factory settings Parameter docens Font Standard Telegram 83 Sm ie Press F1 to get Help hg Figure 30 Reset first confirmation message MAN EM58_HS58_HM58 PTE 1 4 59 Getting started li Ka EMx58 Hx58x Profinet If the device is online and an application relation AR is curr
46. EMx58 Hx58x Profinet Request absolute value cyclically Activate parking sensor Acknowledging a sensor error NOTE If the Activate parking sensor is activated bit 14 1 the encoder is still on bus with the slave Sign Of Life active and the encoder error and diagnostics switched off Home position mode Bit 11 Request set shift of home position Bit 12 The preset function is controlled by bits 11 and 12 in this Sensor 1 control word G1 STW and acknowledged by the bit 12 Set shift of home position executed in the sensor status word G1_ZSW The preset value is O by default and may be set by an acyclic data exchange parameter defined in the parameters section see P65000 Preset value on page 83 The preset function has an absolute and a relative operating mode selectable by mean of the bit 11 Home position mode in this Sensor 1 control word G1_STW 0 absolute 1 relative Bit 11 and bit 12 in the Sensor 1 control word G1_STW control the preset function as described in the table below ME o c The encoder will make no change in the output value Preset mode absolute The encoder reads the current position value and calculates an internal offset value from the preset value P65000 Preset value and the read position value The position value is then shifted with the calculated offset value to get the current position value equal to the preset value The encoder acknowledges the preset by setting the bit 12 Set shift of home po
47. Isochronous Modules Submodules Module ___lsochtonous mode operation amp 0 HM16 14PT es amp 1 Multiturn 30 Bit Module he eter Access Point 1 2 Standard Telegram 83 E PROFINET 10 System Ee 1 ZE Real time class communication li Ka EMx58 Hx58x Profinet Double click the Standard Telegram slot 1 2 of the module to open the telegrams properties dialog box The Properties Standard Telegram property sheet will appear Enter the Addresses tabbed page and set the process image of the isochronous submodule as PIP 1 Select the PIP1 value in the drop down menu of the Process image items in both Inputs and Outputs group boxes Confirm pressing the OK button NOTE For more information on PIPs Process Image Partitions refer to the section 11 5 PIP Process Image Partition on page 112 i HW Config SIMATIC 300 1 Configuration Lika DERE Sy Rs d dn ED RP Properties Standard Telegram 83 J General Addresses CPU 315 2 H MPDP d ovo d w w2 H Fost 2 WBoneocav Sat Process image H Goen End 3 PIP1 E Based Control 300 400 m Outputs Station PROFINET ID System Zd Figure 42 Setting PIP for Standard Telegram IOs MAN EM58_HS58_HM58 PTE 1 4 106 Real time class communication li Ka EMx58 Hx58x Profinet Now you need to set a connection between the port of the controller and the port of the encoder Please check the s
48. MIMMMMHMMSI S SS Absolute position value in G1 XIST1 P GA e Lo Lo Lo Lo Lo Lo Lo Lo Lo MSB LSB 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 109 8 7 6 5 4 3 2 1 O0 MIMMIMIMIMMIMMMMMSIS IS IS Absolute position value in G1_XIST2 Lo Lo Lo Lo Lo Lo Lo Lo Lo MAN EM58_HS58_HM58 PTE 1 4 71 Cyclic Data Exchange Standard signals li a EMx58 Hx58x Profinet G1 XIST2 Unsigned 32 bits It is defined as Sensor 1 position actual value 2 By default this signal is the actual real absolute position of the encoder expressed in binary notation yet it has a different meaning if an error is active If no error is active this signal informs about the actual position value of the encoder provided that the bit Request absolute value cyclically bit 13 of control word G1 STW is set to 1 otherwise this value is O If an error is active this signal informs about the active error For the complete list of the error codes refer to the section 10 3 Error codes in G1 XIST2 on page 96 Format definition e all values are represented in binary notation the recommended default shift factor is zero right aligned value for both G1 XIST1 and G1 XIST2 e the settings in the encoder parameter da
49. Mx58 Hx58x Profinet 6 2 1 Overview of the encoder profiles Encoder Profile V4 Class 3 and 4 PNO No 3 162 Encoder Profile Class 1 and 2 PNO No 3 062 PROFIBUS PROFINET Network Network 6 3 Application Class definition The encoder profile defines two application classes Class 3 and Class 4 A number of mandatory functions are specified for each application class in addition all optional functions must be recognized by the encoder and handled so that the controller is able to determine whether an optional function is supported NOTE There is no relation between the Encoder application classes and the application classes defined in the PROFldrive profile 6 3 1 Application Class 3 Encoder with base mode parameter access and limited parametrization of the encoder functionality Isochronous mode is not supported 6 3 2 Application Class 4 Encoder with scaling preset isochronous mode and base mode parameter access A Class 4 configured encoder fully supports all functionalities according to the encoder profile V4 1 Lika Electronic encoders fulfill the requirements of CLASS 4 MAN EM58_HS58_HM58 PTE 1 4 64 Profinet interface li Ka EMx58 Hx58x Profinet 6 4 Encoder Object model The Figure shows the general Encoder Object EO architecture Central element of the EO is the Measuring Task where the measurements are made and the results are calculated The properties of the EO is represented and controlled by
50. O System 100 miai Properties PN IO RO S2 2 gaj a IBUS DP Media Redundancy Time of Day Synchronization l Options IBUS PA CPU 315 2 PN D General Addresses PROFINET Device Synchronization NET 10 H pe Tic 300 PAHO Tic 400 ree TIC PC Based Control 300 400 rn SRE TIC PC Station Synchronization role TRESCH Name of sync domain DO16 DC24v 0 54 E IRT option LE 0 UR DITEXDC24V gES7 321 18H02 04A0 DO16DC24V 0 5A 5ES7 322 1BHO1 0AAD PROFINET ID System xz I S m Figure 34 Setting the Not synchronized role of the IO controller MAN EM58_HS58_HM58 PTE 1 4 98 Real time class communication lixa EMx58 Hx58x Profinet To configure the IO device Figure 35 double click the Interface slot X1 of the module to open the interface properties dialog box The Properties Interface property sheet will appear Enter the Synchronization tabbed page and select the Not synchronized value in the drop down menu of the Synchronization role item Confirm pressing the OK button HW Config SIMATIC 300 1 Configuration Lika Deri e Hacc ge HO Bw Properties Interface X1 General Addresses Synchronization 10 Cycle Pa CEH b o d MPDP b l evo Ania role o Hoer 2 qne sims omen l Based Control 300 400 o7 RD Staton 2 IRT option DH DiiExDC24V DH DO16 DC24 PROFINET ID System Zd Fig
51. OFIBUS DP PROFIBUS PA m PROFINET IO gil SIMATIC PC Based Control 300 400 zs RB SIMATIC PC Station PROFIBUS DP slaves for SIMATIC 57 M7 Ki and C7 distributed rack Installs new GSD files in the system and updates the contents of the catalog I I Figure 2 Installing the GSDML file MAN EM58_HS58_HM58 PTE 1 4 34 Getting started li Ka EMx58 Hx58x Profinet The Install GSD Files dialog box will appear Press the Browse button to choose the folder where the GSDML file is located Please make sure that the bitmap file representing the encoder is located in the same folder as the GSDML file Select the file and press the Install button to install it Install GSD Files Install GSD Files non the directory ENEMP 000 000000000 Browse BSDML V2 25 LIKA 0239 ROTACOD 20131024 m 10 24 2013 12 00 00 amp M v2 25 English YraY Install Show Log Select All Deselect All Figure 3 Selecting the GSDML file As soon as the operation is carried out a confirmation dialog box will appear on the screen Install GSD Files Install GSD Files from the directory ENEMP o Browse BSDML V2 25 LIKA 0239 ROTACOD 20131024 ml 10 24 2013 12 00 00 4M v2 25 English Install GSD File 13 4986 i Installation was completed successfully Install Show Log Select All Deselect All Close Figure 4 GSDML file installation MAN EM58_HS58_HM58 PTE 1 4 35 Getting starte
52. P1 Press F1 to get Help Figure 55 Topology Editor Graphic view Save the settings and close the Topology Editor dialog page by pressing the OK button MAN EM58_HS58_HM58 PTE 1 4 121 Real time class communication li Ka EMx58 Hx58x Profinet 11 8 Message monitoring Below is an example of traffic between the IO controller and the IO device in IRT mode USB2 0 to Gigabit Ethernet Adapter Microsoft s Packet Scheduler DeviceWPf 0BB65553 B26C 463E BA9A 0B9FD68A08E5 Wireshark 1 8 6 fle Edit View Go Capture Analyze Statistics Telephony Tools Internals Help Beate uxs3Sesueseseqs EBauaeaBa amp m Hu Fiter V Expression o Time Source Destination Protocol Info 197729 094213000 L F atrI AAL STemens Ib TO 31 PNAU KIC3 IUIUXUIUU Len 4U Lycreriae24 varia Primary UK KUNJ 19773 9 694220000 Siemens 16 fd 31 LikaSrl_00 00 01 PNIO RTC3 ID 0xO101 Len 40 Cycle 14624 Valid Primary Ok Run 19774 9 695217000 Likasr 00 00 01 Siemens_16 fd 31 PNIO RTC3 ID 0x0100 Len 40 Cycle 14656 Valid Primary Ok Run 19775 9 695223000 Siemens 16 fd 31 LikaSr1_00 00 01 PNIO RTC3 ID 0x0101 Len 40 Cycle 14656 Valid Primary Ok Run 19776 9 696223000 LikaSr 00 00 01 Siemens 16 fd 31 PNIO RTC3 ID 0x0100 Len 40 Cycle 14688 Valid Primary Ok Run 19777 9 696229000 Siemens 16 fd 31 LikaSr1_00 00 01 PNIO RTC3 ID 0x0101 Len 40 Cycle 14688 Valid
53. P964 Profidrive Parameter Device identification Array 0 5 unsigned 16 RO Manufacturer ID Vendor ID assigned by Pl 0x239 RO DU Drive unit type Vendor specific 1 RO oftware version xxx RO RO RO S yy Software day and month dd mm Number of Drive Object DO MAN EM58_HS58_HM58 PTE 1 4 80 Acyclic Data Exchange lixa EMx58 Hx58x Profinet P965 Encoder profile number Octet string 2 RO Index Sub Meaning Value Access 965 Io Encoderprofle number 90 RO 965 1__ Encoder profile version set by customer 310r41 RO P971 Transfer to non volatile memory Unsigned16 RW It is used to save the current local parameters on a non volatile memory Write 1 to save the parameters The encoder confirms save by writing O on this parameter Index Sub Meaning Vale 971 D Save on non volatile memory P975 Encoder object identification Array 0 7 unsigned16 RO s jo Manufacturer ID Vendor assigned by PI 975 5 Profidrive DO type classification 0x8000 encoder 975 975 Profidrive DO subclassification 1 Application Class 4 supported 7 Drive object ID DO ID 0x01 RO MAN EM58_HS58_HM58 PTE 1 4 81 Acyclic Data Exchange li a EMx58 Hx58x Profinet P979 Sensor format Array 0 5 unsigned 16 RO Index Sub Meaning Value Access 979 0 Header J0x00005011 RO 979 ID Sensor type
54. R M itenim Rad eae 80 Master s sign of life Ee 96 Maximum Master Sign Of Life failures 90 Measuring units Revolution 89 NGHE VET POP aussi tera ata ated 96 N BIS eB oett Masa Nadu dii dur Deo 78 0 EIBDERSIBL sicui ane 80 P P61001 IP of STat OM ics tet ente at s 82 P65000 Preset values aet tette 83 P65001 Operating SEES pied cn n 83 P922 Telegram Selection 80 P964 Profidrive Parameter Device ERUN eo cese ete c OE E AME 80 P965 Encoder profile number 81 P971 Transfer to non volatile memory 81 P975 Encoder object identification 81 P979 EE ele EE ER P980 Number list of defined parameter 82 Patrametrizatlorer ee 96 Parking Sensor GE 78 e CAE EE 80 PROFILE SPECIFIC TYPE uai ti aas tia Cte 80 R Request absolute value cyclically 77 Request set shift of home position 75 Requirements of error acknowledge detected 78 REVISION COUNTER atc oaa ts 80 S Sea EECHELEN 87 SEDSBI BITOE deu emite ere 78 SERIAL NUIMIB ER ctia 80 Set shift of home position executed 78 SOPIVARE REVISI N dott cadet 80 Standard Telegram 81 67 Standard Telegram B2 eaae e EE ep rtu 67 Standard Telegram BO oe oc acce ool hn 68 Standard Telegram 84 68 STWA SEIN Gesta ate detracta dtd be 73 EIER EIERE ee 96 T Total reasurinQtatlg Sota ees Sc 89 Transmit absolute value cyclically 78 V Velocity
55. S DP Sel IP confusion ROFIBUS PA CPUGTS2PN DP vanis ROFINET io ET a Use IP parameters Additional Field Devices s Spee ZE aeten up E Ere Here EAE amp Do not use router Mulitun LIKA EMx13 16384PT H Dri amp scoav gg LIKA HMw16 1634PT DO16 DC24V 054 H Mulium 30 Bi Module DH Standard Telegram 81 The parameters were transferred successfully d Standard Tel 2 Please refer to the information on this message in the help d SE eet i d tandard Telegram H Standard Telegram 84 E Singletum Gateway Help HMI F Vo Network Components Sensors 1 HM eem Switching devices Assign device name ATIC 300 e ATIC 400 Device name hm Assign Name ATIC PC Based Control 300 400 ATIC PC Station Reset to factory settings Close il descripti b 25 LIKA 0239 ROTACOD 20131024 xml Press F1 to get Help Che Figure 22 Edit Ethernet Node confirmation MAN EM58_HS58_HM58 PTE 1 4 52 Getting started li Ka EMx58 Hx58x Profinet Now press the OK button to close the message and then press again the Browse button in the Edit Ethernet node page to find all the nodes connected to the network and check whether the encoder is listed properly in the page HW Config SIMATIC 300 1 Configuration Lika RT TTE S dow Edit Ethernet Node Ethemet node Nodes accessible online MAC address Browse
56. Sr 00 00 01 Siemens 16 fd 31 PNIO RTC3 ID 0x0100 Len 40 Cycle 14912 Valid Primary Ok Run 19792 9 704184000 Siemens 16 fd 31 LikaSr 00 00 01 PNIO RTC3 ID OxO101 Len 40 Cycle 14944 Valid Primary Ok Run 19793 9 704191000 LikaSr 00 00 01 Siemens 16 fd 31 PNIO EICH ID 0x0100 Len 40 Cycle 14944 Valid Primary Ok Run x Frame 19781 60 bytes on wire 480 bits 60 bytes captured 480 bits on interface O Ethernet II Src LikaSr 00 00 01 10 b9 fe 00 00 01 Dst Siemens 16 fd 31 00 ib ib 16 fd 31 PROFINET Isochronous Real Time RTC3 ID 0x0100 Len 40 Cycle 14752 Valid Primary Ok Run amp DataStatus 0x35 Frame Valid and Primary Provider Ok and Run PROFINET IO Cyclic Service Data Unit 40 bytes User Data including GAP and RTCPadding 39 bytes Figure 56 Message monitoring MAN EM58 HS58 HM58 PT E 1 4 122 Real time class communication lixa EMx58 Hx58x Profinet 12 Encoder replacement using LLDP LLDP Link Layer Discovery Protocol is a Layer 2 protocol that is used to detect the closest neighbors in the network It enables a device to send information about itself and to save information received from neighboring devices i e it provides the option of communicating data between neighboring devices e g device name port MAC address This information allows a network management system to determine the network topology The protocol is formally referred to by the IEEE as Station and Medi
57. Start Process image End 3 WW i lt gt 1 HM PROFINET ID System Zd Figure 48 Process Image Partition MAN EM58_HS58_HM58 PTE 1 4 112 Real time class communication lixa EMx58 Hx58x Profinet The assigned process image partitions must be updated in the synchronous cycle interrupt OB61 at the call of the functions SFC126 SYNC PI and SFC127 SYNC PO The call of the function SFC126 SYNC PI updates the process image partition input table the call of the function SFC127 SYNC PO updates the process image partition output table So cyclic interrupt OB61 works with consistent image of the process signals Refer also to page 106 11 5 1 SFC126 SYNC PI This special function is used to update a process image partition input table in a synchronous cycle Synchronous cycle interrupt OB61 calls the function SFC126 SYNC PI to consistently and synchronously update the input data located in a process image partition 11 5 2 SFC127 SYNC PO This special function update a process image partition output table in a synchronous cycle Synchronous cycle interrupt OB61 calls the function SFC127 SYNC PO to synchronously update the output data located in a process image partition and consistently transmit them to the encoder MAN EM58_HS58_HM58 PTE 1 4 113 Real time class communication lixa EMx58 Hx58x Profinet 11 6 Domain Management WARNING The configuration of the Sync doma
58. T Class 3 Device must be member of a sync domain too The properties of the sync domain must be set in the dialog boxes described in this section especially the cycle time of the send clock Only those values may be entered which are common to both the Master and all devices on the bus MAN EM58_HS58_HM58 PTE 1 4 114 Real time class communication li Ka EMx58 Hx58x Profinet To assign the IO device to a sync domain select and right click the Profinet IO system in the HW Config window Press the PROFINET IO Domain Management command in the shortcut menu 53 HW Config SIMATIC 300 1 Configuration Lika Eek Mj Station Edit Insert PLC View Options Window Help Os2 WE te dod MO We weil ojx Ethemet 1 PROFINET O System 100 Find atai Copy Ctrl C Profle Standard zl Mf PROFIBUS DP s PROFIBUS PA CPU 315 2 PN DP Teste PROFINET IO MPDP Edit PROFINET 10 System IP addresses d SIMATIC 300 Gs PROFINET 10 Do nagemen GREG Pot T PROEINET HO ege Bl SIMATIC PC Based Control 300 400 Post 2 SIMATIC PC Station ESCH Delete Del DDT amp DC24V 0 5A Move Go To gt Object Properties Alt Return lt i Assign Asset ID zl Ethernet t PROFINET 10 System 100 Device Number IP addres Device Name Order nu d 192 168 20 HM DC PROFINET ID System Re Displays properties of the sync domains of the current
59. TE Please always ascertain that MD 108 Diag Address of PAP is the same as the diagnostic address of Parameter Access Point in Slot 1 1 EX Ed Tabie Edt insert PLC Variable Vew Options Window Hep al oela al slee x e gl el Sie ve all ze lz My Station Edt Ime PLC Mew Options Window Help Dain See da HOB of Parameter Access Pointin Slot eem Brest Ethemet 1 PROFINET O System 100 e M 1020 Req PB5000 Preset r p aue wie E mem 12 Request DB Value Parameter value HEX aieka o1 5 00000000 CPU 315 2 PN DP 3 10 value rea DP M WD 150 PeSODOPresel Value HEX Diiieeiooop0000 DS DDTRIDC2AVAUSR lt MAN EM58_HS58_HM58 PTE 1 4 131 Read amp write in acyclic communication li Ka EMx58 Hx58x Profinet 13 2 Monitoring a variable Below is an example of variable monitor in case of Telegram 83 and IRT communication NOTE Controller Sign Of Life is active Table Edit Insert PLC Variable View Options Window Help ax a Deng a slale x s 8 gl Symbol Display formet Status value Modify value STANDARD TELEGRAM 83 nenn OUTPUT DATA CONTROLLER gt DEVICE STW2_ENC Encoder control word BIN 280000 0100 0000 0000 240000 D000 0000 0000 2 STW2 ENC 10 Control by PLC BOOL Bue true 61 STW Sensor 1 control word HEX Wit 6 2000 Home position mod
60. UE SIN IS DRE 75 Request absolute value eyelieal ly utt eege 77 Activate parking EE 77 EE EE 77 EL BS Canteen oe ee 78 Requirements of error SERIES iere 78 Setjshift of home positio SXSCUTGD usse ttitmentm o sra tin Rus 78 Transmit absolute value Eltere eene 78 Partite eet a aaia 78 Kee 78 IHE GTP 78 NIST ep E H 78 9 _Aeyelie Data Rn oris NOR 79 9 1 Index OxAFFO Identification amp Maintenance I amp M functions 80 BLOCKHEADER C Eaa 80 MANUFACTURER ID VENDOR ID 80 ORDER IUS aceto ada e m omm e it i mtn i ou asus ghana ees 80 STEP Oe TE estes oieutaautctiato tute eiue eutu itia suba iseeem pur UE D CDD UU a MOD aud 80 HARDWARE BEVISIDN attt nitatur edited dU aud Hua Had uas endum 80 SOFTWARE sue e s Hr n 80 humum P EWO E Rp ERI CI EN 80 PROFILE ID API 80 PROFILE SPECIFIC TYPE uites tiri dabat ursettagrt upra DR v og 80 I ES inen RM 80 IVESUPRORTED e R 80 9 2 Index OxBOZE supported PROFIdrive specific DEET e 80 P922 Telegrami EIERE 80 P964 Profidrive Parameter Device EECHER eeschter 80 F9ES e Encoder Prone SUNDSE eaten nonne EE 81 P971 Transfer to non volatile OFEN icai ctis ceti herba e etuer eege 81 pars Encoder object EENS 81 P979 Sensor CT E 82 P980 Number list of defined SEHR 82 P1001 IP of Stat
61. User s guide EM58 PI li a Smart encoders amp actuators This publication was produced by Lika Electronic s r l 2014 All rights reserved Tutti i diritti riservati Alle Rechte vorbehalten Todos los derechos reservados Tous droits r serv s This document and information contained herein are the property of Lika Electronic s r l and shall not be reproduced in whole or in part without prior written approval of Lika Electronic s r l Translation reproduction and total or partial modification photostat copies film and microfilm included and any other means are forbidden without written authorisation of Lika Electronic s r l The information herein is subject to change without notice and should not be construed as a commitment by Lika Electronic s r l Lika Electronic s r l reserves the right to make all modifications at any moments and without forewarning This manual is periodically reviewed and revised As required we suggest checking if a new or updated edition of this document is available at Lika Electronic s r l s website Lika Electronic s r l assumes no responsibility for any errors or omissions in this document Critical evaluation of this manual by the user is welcomed Your comments assist us in preparation of future documentation in order to make it as clear and complete as possible Please send an e mail to the following address info lika it for submitting your a Table of contents Ee TP NI TES oo e
62. Value 13 1 1 System Function Block 52 SFB52 MSTLIFBD SFB52 RDREC Lika SIMATIC 300 1 CPU 315 2 PN DP SFB52 File Edit Insert PLC Debug View Options Window Help ax Das ua cmo ca eu elt IIR e 0 ae e amp s e Contents Of Environment Interface Interface Name BS New network In rr Gi Bit logic sg HER OUT GI Comparator ip ZR IN OUT Converter INDEX Ha STAT Counter MLEN B8 DB call ZE our E Jumps VALID D I Integer function Busy 9 Floating point fct ERROR Move sTATUS pi Program control LEN E Shift Rotate c IN opt Gei Status bits RECORD Timers di stat Gi Word logic gg FB blocks gy FC blocks gg SFB blocks E REC d seen WRREC j SFC blocks SFBS2 Title A Multiple instances Ee H Libraries lt a C DP t E E v Posen BECalst xi A TTT s A Zeie A a Crossteferences A 4Addiessinfo A EHoib A 6 Diagnostics A 7 Comparison Press F1 to get Help offline Abs 5 2 Rd Figure 59 SFB52 13 1 2 System Function Block 53 SFB53 STLIFBD SFB53 WRREC Lika SIMATIC 300 1 CPU 315 2 PN DP SF File Edi Insert PLC Debug View Options Window Help 8x aE AAE o c t do n 6 IDAHO f 5 HIR 94 e e F by EF Contents 0f Environment Interface GP Interface FB blocks I
63. a Access Control Connectivity Discovery specified in standards document IEEE 802 1AB Among the main uses LLDP allows to replace a device of the Profinet network The partner ports before and behind the replaced device save the relevant information so that no additional configuration is necessary The flag Support device replacement without exchangeable medium must be activated in the Controller To activate deactivate the function double click the PN IO slot X2 to open the PN IO properties dialog box The Properties PN IO property sheet will appear Enter the General tabbed page to find the Support device replacement without exchangeable medium check box Please note that the Support device replacement without exchangeable medium function is activated by default in the IO controller Dee Be ge MO W re Ethemet 1 PROFINET10 System 100 Find antail Time of Day Synchronization Options IBUS PA CPU 315 2 PN D PROFINET MDevice Synchronization INET 10 H aa E og H s Wez oeccon DO16 0C24v 0 3 S TIC PC Based Control 300 400 TIC PC Station Ethernet D 192 168 20 180 o Yes Properties Slam al Module der CPU 315 2 PN DP WAVE a Avia ZA Ze 7 GAR Ze 3 DO16xD024V 0 54 BES 322 1BHO1 0440 4 5 J DI16xDC24V BES 321 1BH02 0AA0 20 24 PROFINET IO System Ki Cha Figure 57 Link Laye
64. a eae cece cus ccna araa dele ee E S 82 9 3 Index OxBO2E supported encoder specific Dal alTiB eieiei cei 83 WR EE 83 Eeer 83 Kill 83 PO el 83 ESTE ER RETO RH MORE Pratt TEN 83 eege 83 II ocu uu uacua Ce eee ern eee MUN 83 EE 83 Ene der profile EE 83 Operating UME RR E 83 UE 83 Measuring units per ENEE deer eeh e 83 Total measuring range in VAS UT A acuta at tuat detain dled 83 Velocity Elie E 84 Op rating status table Val UGS ac saca ilc led R ARA RE cR 84 EE 84 SUE PMC faults ed axed Seeders is dle tit alata het cles sh Dee here e 84 9 4 Index OXBEOU user parameter ee 85 Code SEQUENCE su ba bu piment rro prada rada rui trt 85 Class e E eee tance decine eee ever Sm eee Weel he ree Orrin nee toe D Le IE E 86 GI XISTI Ke d 86 Scaling Function Ee ue 87 Alarm channel ODDO ite eege een test 87 Compatibility rore c e 88 sealing function eege 88 Measuring units BevolitlOFiusseassas cniin ittrtnsepni tatnen abo gnata nackt 89 Io bus CU re 89 Maximum Master Sign Of Life leede 90 Velocity measuring EU NO E ENS 91 SEO Red ZOnE Je X EPc 92 10 Vera Os ant Eet 94 10 1 Acyclic diagnosis parameter P65001 Operating status 95 10 2 Error messages via the Alarm CHAT eenegen 95 10 2 1 Use of eege eege 96 MEMON ossia auti ae iita a maa eA a ee eT ee rye 96 Kette 96 10 3 Error codes in G1 ASIA 96 BEE ESTE lfe TE 96 Synchronization TN Bases cis ae Retire oti cat cust ee 96 MEMO ENON gaten E A A A A EN 9
65. ad memory of the current module i cha Figure 11 Downloading data to the PLC MAN EM58_HS58_HM58 PTE 1 4 44 Getting started lixa EMx58 Hx58x Profinet Now press PLC Ethernet and then Assign Device Name command in the menu bar of the HW Config window W Config SIMATIC 300 1 Configuration Lika Gil Station Edit Insert ES View Options Window Help DELE Ei d Gs ESO FINET 10 System 100 1 Module Information Ctrl D Eh eret xt ie d DIHM Gas AX2P2n F Edt Ethernet Node PROFIBUS L Verify Device Hat i aso m Slot Module Order number laddress Qaddress Diagnostic address HM Hibs TE TERPAPT un AM At Jniedace ADT AY Ati EC AT Fit AR Multum 30 Bit Module Ana Hu aaner Access Fait LORE 12 Assignment of PROFINET IO device names Figure 12 Assigning the device name MAN EM58_HS58_HM58 PTE 1 4 45 Profile Standard DI PROFIBUS DP Bi PROFIBUS PA B PROFINET 10 Additional Field Devices Encoders CH LIKA ROTACOD 9 Mulitun amp gg LIKA EMx13 16304PT LIKA HMx16 16384PT H Mutitum 30 Bit Module J Standard Telegram 81 Standard Telegram 82 Standard Telegram 83 f Standard Telegram 84 a Singletum aE Gateway amp Cg HMI a vao w Network Components a E Sensors a Switching devices SIMATIC 300 fi SIMATIC 400 fl SIMATIC PC Based Contro
66. al value FALSE FALSE DWitt ea Dit ego H o IL me FALSE FALSE FALSE FALSE FALSE DWESR0 Dumeen o PPP 0 0 V P P 0 0 VOD 0 gRRRRRPETT D The default view was loaded because the relevant system attribute is not set or does not exist Press F1 for help E offre NUM Figure 63 DB3 13 1 6 Data Block 4 DB4 Im Param DB4 Datablock Edt PLC Debug View Window Help uE amp GEESS a 8 DB4 Lika SIMATIC 300 1 CPU 315 2 PN DP Actual value FALSE Dye 6 0 o o FALSE FALSE FALSE DW 16 0 PaP 0 0 VODO The default view was loaded because the relevant system attribute is not set or does not exist Press F1 for help offline num Figure 64 DB4 MAN EM58_HS58_HM58 PTE 1 4 128 Read amp write in acyclic communication li Ka EMx58 Hx58x Profinet 13 1 7 Organization Block 1 OB1 Fie Edit Insert PLC Debug View Options Window Help Bx D amp ES XS od fe e iesen by Contents Of Environment Interface Interface Name BS New nete 4 Temp Har TEMP y FB blocks a E gy FC blocks o gg SFB block amp gg SFC block MB Multiple ir H Libraries OBl Main Program Cyclic Network 1 call FCl for asynchronous request of reading writing parameter Call FCl
67. alues you need to download data to the PLC pressing the Download button in the Toolbar ES HW Config SIMATIC 300 1 Configuration Lika Gly station Edit Insert PLC View Options Window Help DR Ny E Har de MS gw Download to Module Ethemet 1 PROFINET IO System 100 CPU 315 2 PN DP MPDP PNHO Porta T Porta 2 Dl15xDC24V DO16 DC24V 0 56 1 ER ES End nai Brofle see zl ME PROFIBUS DP D PROFIBUS PA cA PROFINET 10 Additional Field Devices Encoders LIKA ROTACOD Mulitun gg LIKA EMx13 16384PT a 8 LIKA HMx16 16384PT H Mutitum 30 Bit Module J Standard Telegram 81 D Standard Telegram 82 H Standard Telegram 83 J Standard Telegram 84 a Singletum D Gateway HMI 9 va EI DI HM e CH Network Components Slot H Module Order number address G address Diagnostic address C i Hoc MN o a HW Hibs PEON ax E SB SIMA CI 300 i iue A wg SIMATIC 400 MA wr E gi SIMATIC PC Based Control 300 400 E E z Ed B SIMATIC PC Station 7 Aen 30 Bit Module E 11 B RE E 12 Loads the current station into the load memory of the current module HMxxxT16 16384PT ae ika Electronic Multitur encoder 30 bit 16 bit singleturn 14 bit multitum GSDML V2 25 LIKA 0233 ROTACOD 20131024 xml ad cha Figure 26 Downloading data to the PLC Please note that a descrip
68. ample Measuring units Revolution and Total measuring range not compatible 10 4 LED indication Errors are further indicated through LEDs Six LEDs located in the cap of the encoder see Figure 1 are meant to show visually the operating or fault status of the encoder and the Profinet interface For detailed information refer to the section 4 5 Diagnostic LEDs Figure 1 on page 31 MAN EM58_HS58_HM58 PTE 1 4 96 Diagnostics and Alarms li a EMx58 Hx58x Profinet 11 Real time class communication Within PROFINET IO process data and alarms are always transmitted in real time Real Time for PROFINET RT is based on the definitions of IEEE and IEC for high performance data exchange of I O data RT communication constitutes the basis for data exchange in PROFINET IO Real time data are handled with higher priority compared to TCP UDP IP data This method of data exchange allows bus cycle times in the range of a few hundred milliseconds to be achieved Isochronous data exchange with PROFINET is defined in the Isochronous Real Time IRT concept IRT communication is always clock synchronized and only possible within an IRT domain lsochronous realtime communication differs from realtime communication mainly in its isochronous behavior the start of a bus cycle can deviate by a maximum of 1 us jitter is less then 1 ys IRT is required in motion control applications positioning operations for example This communication is requ
69. and save the value not to execute the preset If you need to execute the preset you must set the bit 12 Request set shift of home position of the G1 STW control word see on page 74 Refer also to the index P65000 Preset value on page 83 to G1 XIST1 preset control on page 86 and to the section 14 2 Preset diagram on page 135 In a customary way you should always use the asynchronous transmission to set the preset value Using this page the preset value is stored automatically on the non volatile memory you do not need to use the parameter P971 Transfer to non volatile memory To enter a preset value please proceed as follows 1 open the Profinet encoder web server by typing the IP address of the encoder you want to connect to in the example 192 168 20 195 in the address bar of your web browser and confirm by pressing ENTER Figure 87 Opening the web server MAN EM58_HS58_HM58 PTE 1 4 151 Integrated web server li Ka EMx58 Hx58x Profinet 2 in the Home page press the Change the preset value command to enter the Change the preset value page S se x cass aces Jer v B Opere mme 7 B Bin e E lixa Encoderintormation Lika Electronic s Profinet encoders Encoder position web server Change the preset value Technical documentation Password protected menus Firmware upgrade Quintet nm gt Figure 88 Web server Home page 3 before entering the page yo
70. ata exchange with the IO device PROFINET IO devices can be described using XML based GSD The description language of the GSD file ie GSDML General Station Description Markup Language is based on international standards As the name suggests the GSD file is a language independent XML file Extensible Markup Language Profinet encoders from Lika Electronic are supplied with their own GSDML file GSDML V2 25 LIKA 0239 ROTACOD XXXXXXXX XML where XXXXXXXX is the release date of the file in a 8 digit format encompassing information about year 4 digits month 2 digits and day 2 digits 20131024 is the first GSDML file released by Lika Electronic for Profinet encoders See the enclosed documentation or click www lika biz ROTARY ENCODERS ABSOLUTE ENCODERS gt PROFINET to get the GSDML file WARNING Please always comply with the specifications indicated in the following table GSDML file Encoder HW Encoder SW User s guide version version version version 1 0 1 1 0 1 1 From release 1 0 2 1 2 20131024 to 1 0 3 1 3 1 0 4 1 4 MAN EM58_HS58_HM58 PTE 1 4 33 Getting started lixa EMx58 Hx58x Profinet 5 3 2 Installing the GSDML file In the menu bar of the HW Config window press Options and then Install GSD File command Sa Ctrlealt e Edit Catalog Profile Update Catalog Install HW Updates Find in Service amp Support Create GSD file for I Device PR
71. bbe babies dM eau M DM ED D UU 3 erer eo earn ne da d queen aired n moda ced cel cota tole cfr cfr ima Len cra iren Doa 7 ESL TS ESSO E NR RR RI IRR RR e 8 Typographic and iconographic CORVEFITIOFIS uec datu tiet tat tanuiehaskee t e REEF rdiet 10 Preliminary leed le E 11 el 1 SE 12 Glossary of Profinet dE 13 ege E E E 18 REH 20 E a 00 2 RIOT mmc EDEPEN 21 jb 2s T E E P 21 EE ge aono inerenti anat tile N E eU MuR Et EUM 21 13 M chanical Safe BU aedis edes nt picea et peer bna ur utar vu EUER Ei E Rp cH ERE 22 E o or o me M 23 3 Mechanical Installation asthe secrete ett ate eui a htec m pistes o niet edant 24 EE 24 3 1 1 EE mm M 24 3 1 2 Installation using fixing clamps code LKM 386 senes 25 3 1 3 Installation using a mounting bell code EES iere 25 3 2 e Eu 26 SEDES gp Meo osea Po eRe Rene mC REN OORT Reon cina URL CS LOS otto R ve 26 3 22 EMC59 1 E 27 SO Lee E 28 5 Electrical COINS ccs ct aceasta vt a lca wen deest dune 29 4 1 PWR Power supply Gemeckers en D eg tette a bte Aeris 29 42 P1 Part 1 and P2 Port 2 connectors Figure T tarii tcc detur eegener ZE 30 4 3 Ground connection Figure Tossa istniebn cadence nto rc Ero rendue al fes 30 4 4 MAC address and IP address 30 4 5 Diagnostic LEDs Figure E 31 E s uan coo PEN RE A E ARE EERE 32 5 1 Configuring the encoder with Siemens SIMATIC STEP T aaa iieri eutect threat
72. be between 2 and 275 25 65536 while the permissible value for the Total measuring range will be between 2 and 2 2 2 1073741824 NOTE When you change the value next to this parameter then you are required to enter a new preset Maximum Master Sign Of Life failures With this parameter the number of allowed failures of the master s sign of life is defined The default value is one 1 Default 1 min 1 max 255 NOTE This parameter is only supported in compatibility mode see Compatibility mode on page 88 MAN EM58_HS58_HM58 PTE 1 4 90 Acyclic Data Exchange lixa EMx58 Hx58x Profinet Velocity measuring units This parameter defines the coding of the velocity measuring units used to configure the signals NIST_A and NIST_B Standard telegram 81 has no velocity information included and the encoder does not use the velocity measuring unit information in this case Standard telegrams 82 83 and 84 include velocity output and need a declaration of the velocity measuring unit Parameter Meaning age e e Definition of the units for the Velocity measuring units See table below encoder velocity output value Steps s O0 RM 0 3 RPM Default 0 min 0 max 3 NOTE Please note that the velocity value is always calculated every 100 ms MAN EM58_HS58_HM58 PTE 1 4 91 Acyclic Data Exchange lixa EMx58 Hx58x Profinet 9 5 Red Zone The so called Red Zone problem occurs when th
73. ctions FC are code blocks which can be programmed by the user A FC does not have a memory Temporary variables as well as parameters transferred to the function when the latter is called are saved in a L stack They are lost following processing of the FC Function block Function blocks FB are code blocks with a memory which are programmed by the user They have an assigned instance data block instance DB as memory Parameters transferred to a FB as well as the static variables are saved in this data block An FB contains a program which is always executed when the FB is called by another code block Function blocks facilitate the programming of frequently repeated complex functions Frame ID The two byte field in the Ethernet frame which defines the type of PROFINET IO message GSD The properties of a PROFINET device are described in a GSD file General Station Description that contains all the information required for configuration In PROFINET IO the GSD file is in XML format The structure of the GSD file conforms to ISO 15734 which is the world wide standard for device descriptions Refer to page 33 GSDML General Station Description Markup Language The file containing the XML description of the PROFINET IO device Refer to page 33 IO Controller Device used to address the connected IO devices This means that the IO controller exchanges input and output signals with assigned field devices
74. d li a EMx58 Hx58x Profinet Now scroll through the directory tree in the left pane of the HW Config window and select the path Catalog V PROFINET IO Additional Field Devices Encoders the LIKA ROTACOD family can be found inside the folder The installation modules are contained in the directories MULTITURN for multiturn version encoders and SINGLETURN for singleturn version encoders GS HW Config Configuring hardware Station PLC View Options Help Dag 2 9 Go l al f f m SR 2 E M Cavo E Network Components i Sensors e CH Switching devices SIMATIC 300 cg SIMATIC 400 SIMATIC PC Based Control 300 400 56 SIMATIC PC Station PROFIBUS DP slaves for SIMATIC S7 M7 Ki and C7 distributed rack Press F1 to get Help I i Figure 5 Scrolling through Profinet families and categories MAN EM58_HS58_HM58 PTE 1 4 36 Getting started lixa 5 3 3 Inserting the module in the Profinet lO system EMx58 Hx58x Profinet Now we need to install the module of the desired model For instance we want to configure the HMx16 16384PT model In the right pane open the LIKA ROTACOD directory and then choose the MULTITURN directory Drag the required module LIKA HMx16 16384PT to the window on the left and drop it on the PROFINET IO system GS HW Config SIMATIC 300 1 Configuration Lika Station Edit Insert PLC View Options Window Help DG E 9 Xy 2 Be m
75. d Telegram 83 Press F1 to get Help Figure 14 Edit Ethernet Node dialog box NOTE The device name default setting is the name from the GSD file With integral Profinet interfaces the device name is derived from the short description If several devices of the same type are arranged in the same Profinet IO system Step 7 automatically supplements the name from the GSD file with a serial number The second device is assigned the extension 1 the third device the extension 2 etc MAN EM58_HS58_HM58 PTE 1 4 47 Getting started li Ka EMx58 Hx58x Profinet The following confirmation message will appear on the screen ae Config SIMATIC 300 1 Configuration Lika B Station Edt insert m r Dg i 5 S e Be ge Edit Ethernet Node Ethernet node ait Nodes accessible online atjail MAC address 1088 FE 000004 Browse Standard Si IP i WIcPusiszP7op Troine ume C Use IP parameters Mart am Gateway ATIC PC Based Control 300 400 ATIC PC Station Nmme2 x PACE Do not use router J DITEsDC24V Subnet mask 255 255 255 0 2 DO15 DC24 0 54 C Use router Edit Ethernet Node 4502 703 he parameters were transferred successfully ie Help i Assign IP Configuration 2 0 HM Assign device name Device name m Assign Name Reset to factory settings Firamefey Access Fit Standard Telegram 83 C
76. d or the frame to ground Make sure that ground is not affected by MAN EM58_HS58_HM58 PTE 1 4 21 Safety summary li a EMx58 Hx58x Profinet noise The connection point to ground can be situated both on the device side and on user s side The best solution to minimize the interference must be carried out by the user Provide the ground connection as close as possible to the encoder We suggest using the ground point provided in the cap use one TCEI M3 x 6 cylindrical head screw with two tooth lock washers 1 3 Mechanical safety Install the device following strictly the information in the section Mechanical installation on page 24 mechanical installation has to be carried out with stationary mechanical parts do not disassemble the unit do not tool the unit or its shaft delicate electronic equipment handle with care do not subject the device and the shaft to knocks or shocks respect the environmental characteristics of the product unit with solid shaft in order to guarantee maximum reliability over time of mechanical parts we recommend a flexible coupling to be installed to connect the encoder and user s shaft make sure the misalignment tolerances of the flexible coupling are respected unit with hollow shaft the encoder can be mounted directly on a shaft whose diameter has to respect the technical characteristics specified in the purchase order and clamped by means of the collar and when requested the anti rotation pi
77. do this select the desired Telegram available for the LIKA HMx16 16384PT module it can be found under LIKA HMx16 16384PT MULTITURN 30 bit MODULE and drag and drop it onto the variables table in the bottom left as shown in the Figure EC HW Config SIMATIC 300 1 Configuration Lika ll Station Edit Insert PLC View Options Window Help 8x DESE Ry e Be dod MO Wry Ss Ethemet 1 PROFINET10 System 100 Eind milai Profile Standard d Xf PROFIBUS DP Si PROFIBUS PA CPU 315 2 PN DP given ME PROFINET ID MPU DP 3 E Additional Field Devices PIO 3 a EJ Encoders Porta T CH LIKA ROTACOD Ports 2 E Mulitum amp gg LIKA EMx13 16384PT H Det c ga LKA HMx16 16384PT lj Do16 DC24v 055 H Mulitum 30 Bi Module Standard Telegram 81 Singletum ateway HMI lt C vo Network Components j C3 Sensors 9 m m GG EI Switching devices Slot H Module Order number laddress Q address Diagggeiie Sddress Comment 2m Matt 300 p sw ene 5 gl SIMATIC 400 bi unico ED Bi SIMATIC PC Based Control 300 400 AM Far EZA EB SIMATIC PC Station AME AL Le 7 Ate 30 Bit Module 22287 LIE Parameter derer Foni E See user manual fd Selecting the hardware Zd GSDML V2 25 LIKA 0239 ROTACOD 20131 024 xml Selecting the hardware J Cha Figure 8 Adding the Standard Telegram MAN EM58_HS58_HM58 PTE 1 4 39 Getting start
78. dth for TCP IP 977 270 500 000 us 20 J 100 000 us Cyclic data Station 10 system SIMATIC 300 1 PROFINET I0 System 100 LOB mee Station Device Name Synchronizatid 7 SIMATIC 300 1 PN 0 Sync master Upper limit for IRT 100 000 us E DE TI SSCS UEM Syne slave B Caiculated alocation forint T8590 us PROFINET 0 System 100 zl reret PROF EI Calculated allocation for pt 7046 us PROFINET O System 100 Device Number d F d Cancel Help Modules Display 7 OK Figure 51 Sync domain details dialog box ad The PROFINET IO system of the sync domain is established now on a send clock Save the settings and close both the Details Sync Domain and the Domain management dialog boxes pressing the OK button Finally save compile and then download the configuration to the controller MAN EM58_HS58_HM58 PTE 1 4 117 Real time class communication lixa EMx58 Hx58x Profinet 11 7 Topology Editor Using the Topology Editor you can topologically configure your PROFINET IO system The topology editor has a series of functions for setting interconnecting and diagnosing the properties of all PROFINET devices including their ports So it supports you in the following tasks obtaining topology information about all ports of the PROFINET devices in the project configuring the set topology on PROFINET b
79. e 0 sbsolute 1 relative BOOL B false Set this bit for preset position it enabled BOOL I aise Transmit absolute value cyclically BOOL Bree true Activate parking sensor BOOL Iase Acknowledging a sensor error BOOL I taise INPUT DATA DEVICE gt CONTROLLER ZSW2_ENC Encoder status word BIN 280000 0000 0000 0000 61 ZSWw Sensor status word HEX Wir 6 2000 61 ZSWAt Error ack detected BOOL Baise 61 ZSWA2 preset executed BOOL tase G1 ZSWA3 Enc is transmitting position value ciclically BOOL Gime 61 ZSWw1a Parking sensor active BOOL Wase 61 ZSWAS Sensor error BOOL tase 1 MET Enc position value HEX DW BRODADADGA G1 XIST2 Enc position value error telegram HEX D 1 B 0DA0A054 NIST B Velocity 32 bit DEC Lan y UkalSIMATIC 300 1 4 57 Programm 1 BN labs lt 5 2 Figure 70 Monitoring a variable MAN EM58_HS58_HM58 PTE 1 4 132 Read amp write in acyclic communication lixa 14 Encoder state machine PARKING see on page 136 EMx58 Hx58x Profinet NORMAL OPERATION see on page 134 ALARM see on page 137 Figure 71 Encoder state machine MAN EM58_HS58_HM58 PTE 1 4 133 PRESET see on page 135 Encoder state machine lixa 14 1 Normal operation diagram EMx58 Hx58x Profinet Profile 3 1 Compatibility mode enabled 0 ZSW2_ENC 09 Control requested 0 Profile 4 1 Compatibility mode disabled 1
80. e us 1000 000 1000000 Fata DIGKDC24V 6ES7 321 1BHO2 04A0 l Goen BES7 322 1BHO1 0AA0 PROFINET IO System Figure 39 PIP of OB61 MAN EM58_HS58_HM58 PT E 1 4 103 Real time class communication li Ka EMx58 Hx58x Profinet Now set the encoder in isochronous mode To do this double click the Interface slot X1 of the module to open the interface properties dialog box The Properties Interface property sheet will appear Enter the IO cycle tabbed page and select the OB61 value in the drop down menu of the Assign IO device in isochronous mode item For further information see also the section 11 4 OB61 on page 111 GH Config SIMATIC 300 1 Configuration Lika Dg E 2 ae wma MO Rw Properties Interface X1 General Addresses Synchronization 10 Cycle Update Time rusma Wee LI NN wee Ge Send clock ms H ap Update time ms SES rom H Gei M Gei H Gong H Do16 DC24 Based Control 300 400 Station Watchdog Time 3 Number of accepted update cycles with missing IO data Isochronous Mode Assign ID device in isochronous mode Ls Ae Meme us pert ycle us 1000 000 Ti To mode Time Ti read in process values us 125 000 gt 1 HM Module Timebase Ti To us 125 000 EES Time To output p
81. e Number of revolutions i e the Total measuring range Measuring units Revolution is not a power of 2 When this problem arises the device must operate within the red zone for a certain number of positions The size of the red zone is variable To calculate it we must subtract the overall set resolution from the overall physical resolution of the device as many times as until the difference is less than the overall set resolution When the encoder crosses the limit of the last value in the overall physical resolution a counting error occurs i e a jump in the position count The problem is represented graphically in the following Figure Overall set Overall physical Transmitted resolution resolution position RED Position ZONE EXAMPLE HM58 16 16384 PT multiturn encoder Physical resolution e Singleturn physical resolution 65536 counts rev 16 bits DI e Multiturn physical resolution 16384 revolutions 14 bits 2 4 e Overall physical resolution 1073741824 30 bits 2 Set values Measuring units Revolution 65536 2 e Total measuring range 442236928 it is NOT a power of 2 It results from this Number of revolutions 6748 it is NOT a power of 2 MAN EM58_HS58_HM58 PTE 1 4 92 Acyclic Data Exchange lixa EMx58 Hx58x Profinet This can be proved easily Overall physical resolution 1073741824 z 2 427 Overall set resolution 442236928 It follows t
82. e been set in isochronous mode with the IO controller GH Conte c ISIMATICOU Isochronous Mode CPU Isochronous mode application CPU 315 2 PN DP OB61 Bix Application details IER Application cycle ust i000 Process image panttion s D Delay time ps T8000 Date cuc list Roo Details 10 system number 100 z S c Control 300 400 T Temode Ti iMn Tax Te ToMm TeMex TioTime Automaticaly 125 000 125 000 1000000 250000 250000 1000000 125000 D devices in isochronous mode Address 1 100 Designation HM 1 TioTime 125 000 inthene 125 000 250000 125000 250 000 mJ or un p Modules submodules Slot Designation PIPs Synchro TDPMin TDPMax_ TiMin TCl ToMin TCO 0 HM no 0 000 0 000 i Multitum 30 Bit Module no 0 000 0 000 11 Parameter Access Point no 0 000 0 000 12 Standard Telegram 83 1 yes 125 000 125 000 H uge H DO16 DC24V 054 Press F1 to get Help Figure 46 Isochronous Mode dialog box MAN EM58 HS58 HM58 PT E 1 4 110 Real time class communication lixa EMx58 Hx58x Profinet 11 4 OB61 WARNING Use of OBs requires both in depth skills and specific expertise in SIMATIC STEP 7 programming environment For detailed information please consult the STEP 7 Programmer s handbook and documentation Organization blocks OBs
83. ead screws 5 fix the collar 3 to the encoder shaft apply threadlocker to screw 3 maxi 1596 MAN EM58_HS58_HM58 PTE 1 4 27 Mechanical installation li Ka EMx58 Hx58x Profinet 3 2 3 EMC60 HxC60 Fix the tempered pin 6 to the rear of the motor mount the encoder on the motor shaft using the reducing sleeve 8 if supplied Avoid forcing the encoder shaft make sure the anti rotation pin 6 is inserted properly into the fixing plate 7 fixthe collar 3 to the encoder shaft apply threadlocker to screw 3 ir max 1596 I a MAN EM58_HS58_HM58 PTE 1 4 28 Mechanical installation lixa EMx58 Hx58x Profinet 4 Electrical connections WARNING Power supply must be turned off before performing any electrical connection Never force manually the rotation of the shaft not to cause permanent damages For any information on the mechanical and electrical characteristics of the encoder please refer to the technical catalogue Grounding point Figure 1 Connectors and diagnostic LEDs 4 1 PWR Power supply connector Figure 1 M12 4 pin male connector with A coding is used for power supply Description Pin 4 3 10VDC 30VDC 1 n c 2 1 2 OVDC 3 n c 4 MAN EM58_HS58_HM58 PTE 1 4 29 Electrical connections li a EMx58 Hx58x Profinet 4 2 P1 Port 1 and P2 Port 2 connectors Figure 1 Two M12 4 pin female connectors with D coding a
84. ed lixa EMx58 Hx58x Profinet 5 3 4 Device name and IP address at delivery In a Profinet network it is mandatory that each IO device is provided with its own Device name and IP address By default before delivery the device name of the encoder is set to a blank string and its IP address is set to 0 0 0 0 When the system boots up the IO controller assigns the IP address to the IO device Please make sure that the Assign IP address via IO controller check box in the Properties dialog box is selected if the IP address has to be assigned to the encoder via the IO controller Anyway the assignment of the IP Address can be disabled by deselecting the Assign IP address via IO controller check box In this case the IP address set in the IO device is used the IP address is uploaded from the internal memory You are required to enter the Device name first and then the IP address 5 3 5 Setting the device name Before the PROFINET IO controller can address a PROFINET IO device a name has to be assigned to the PROFINET IO device PROFINET uses this method because names are easier to use and recall than complex IP addresses Devices on an Ethernet subnet must have unique names NOTE An IO Device does not have a device name when delivered By default the device name of Lika s Profinet encoders is set to a blank string The device names must satisfy DNS Domain Name System conventions e Names are limited to a total of 127 characters letters
85. eed with any new firmware installation Current firmware version can be verified in the Encoder Specific Profile Parameters page after connection to the web server NOTE If you are not confident that you can perform the update successfully please contact Lika Electronic Technical Assistance amp After Sale Service Before proceeding with the firmware upgrade please ascertain that the following requirements are fully satisfied e the encoder is connected to the network e the encoder has valid device name and IP address e the PC is connected both to the network and the IO controller MAN EM58_HS58_HM58 PTE 1 4 144 Integrated web server li a EMx58 Hx58x Profinet e a web browser Internet Explorer Mozilla Firefox Google Chrome Opera is installed in the PC or device used for connection e you have the SW PN EXE executable file e you have the BIN file for firmware upgrade To upgrade the firmware program please proceed as follows 1 open the Profinet encoder web server by typing the IP address of the encoder you want to connect to in the example 192 168 20 195 in the address bar of your web browser and confirm by pressing ENTER Figure 78 Opening the web server MAN EM58_HS58_HM58 PTE 1 4 145 Integrated web server li Ka EMx58 Hx58x Profinet 2 in the Home page press the Firmware upgrade command to enter the Firmware upgrade page v x Jak v E B ED o Para s Gstrumenti
86. ently established a second message will appear on the screen Again you will be requested to confirm the operation by pressing the YES button CS HW Config SIMATIC 300 1 Configuration Lika Det E Eb ae dot Ethemet node xt Nodes accessible online atai MAC address 10 B9 FE 00 00 04 Browse Standard zl Set IP configuration CPU 315 2 PN DP c ROFINET IO M MPDP Use IP parameters ATIC 300 4 H ATIC 400 Gateway IP address fiszieazo1e7 ATIC PC Based Control 300 400 JE E Do nat use router ATIC PC Station near DO16 DC24v 0 5 It was recognized that a communication relation is established to the module Do you still want to reset the module gt 1 HM Assign device name Device name See Reset to factory settings Famela Access Ger Standard Telegram 83 Rem Close Help Ki Press F1 to get Help Figure 31 Reset second confirmation message Press the OK button to close the message e HW Config SIMATIC 300 1 Configurati ee Ei e Dor gn Edit Ethernet Node Ethernet node Ss Nodes accessible online at ai MAC address 10 B9 FE 00 00 0A Browse Standard CECA A MPDP Use IP parameters DEN n Porta T peel ATIC PC Based Control 300 400 OZ IP address 192 168 20 187 Donotuse router ATIC PC Staton DIT8xDC24V Subnet mask 255 255 255 0 Use router DOSS Edit Ethernet Node 4502 920
87. er not available or Criteria no data exchange switched off Parametrization fault no data Pee configured Gondel wrong configuration exchange SS ud e A wrong address has been Blinking Criteria data exchange is e ON assigned to the unit at 1Hz_ correct but the encoder does Cu not switch to the data joe Ed or the exchange mode slave di ers rom the nominal configuration Diagnostic data exists slave in OFF ON System failure data exchange mode ON OFF Data exchange the encoder is SE working properly Blinking Flash memory upgrade process The user is upgrading the flash OFF at 1 Hz is active see on page 144 memory Cable disconnected Power switched off OFF Blinking Flash memory upgrade process e Internal error at 1Hz failed see on page 144 Flash memory damaged Upgrade process aborted before completion MAN EM58_HS58_HM58 PTE 1 4 31 Electrical connections lixa EMx58 Hx58x Profinet 5 Getting started 5 1 Configuring the encoder with Siemens SIMATIC STEP 7 In this manual some screenshots are shown to explain how to install and configure the encoder in a supervisor In the specific example the development environment is STEP 7 V5 5 SP1 with SIEMENS PLC CPU 315 2 PN DP Therefore the installation of the GSDML file the assignement of the IP address and the device name the configuration of the encoder in the network topology diagnostics etc will always refer to the aforementioned development tools If
88. eset function and is intended to shift the position value The offset value is saved on the internal memory This parameter is a read only parameter MAN EM58 HS58 HM58 PTE 1 4 84 Acyclic Data Exchange lixa EMx58 Hx58x Profinet 9 4 Index OxBFOO user parameter data The 31 byte user parameter data listed in the table below is sent to the encoder in the start up phase using the data record OxBFOO User Data Code sequence Bt otw Byte bit Class 4 functionality D 1 enabled LU ByteObit1 G1 SIT preset control D O enabled Senn Scaling function contro D O disabled ByteObit3 e e Only supported in Alarm channel control O disabled Compatibility mode Byte O bit 4 Compatibility mode ee E Byte O bit 5 Reserved 0 SetoO0 Byte O bits 6 7 Revolution Total measuring range Unsigned64 variable Bytes9 16 Maximum Master Sign Of e Only supported in Life failures VIS eap Compatibility mode ew Velocity measuring units Unsigned8 O Steps rev Byte18 Reserved LL Seto Bytes 19 30 NOTE Default values are highlighted in bold in the following tables Code sequence Code sequence sets whether the absolute position value output by the encoder increases when the encoder shaft rotates clockwise 0 CW or counter clockwise 1 CCW CW and CCW rotations are viewed from shaft end This parameter is
89. f you try to enter a preset value that is already stored on the memory the following message will be returned The preset value 021000 entered is already in memory Fre i ym Rin gt Figure 92 Preset value already stored MAN EM58_HS58_HM58 PTE 1 4 154 Integrated web server lixa 16 Default parameters list EMx58 Hx58x Profinet Parameters list Default value Code sequence 0 Class 4 functionality G1_XIST1 preset control Sealing function control Alarm channel control Compatibility mode oloo25 Measuring units Hardware singleturn Revolution resolution e Hardware multiturn Total measuring range resolution Maximum Master Sign 1 Of Life failures Velocity measuring units 0 MAN EM58_HS58_HM58 PTE 1 4 155 Default parameters list gsi E SGS GSDML file Encoder HW Encoder SW Document i Description version version version release From release 20131024 to From release 20131024 1 0 1 1 Profinet certificates irm tion From re ware upgrade sec 20131024 to 1 0 2 5 GER web server ware upgrade section ntegrated web server ted are upgrade section From release ntegrated web server 20131024 to ted Reading of the Preset value From release 1 sent in asynchronous 20131024 to CH communication mode corrected 09 14 This device is to be supplied by a Class 2 Circuit
90. followed strictly in order to guarantee the safety of the user and a correct use of the device Failure to heed a warning or comply with instructions could lead to personal injury and or damage to the unit or other equipment This icon followed by the word NOTE is meant to highlight the parts of the text where important notes needful for a correct and reliable use of the device can be found User must pay attention to them Failure to comply with instructions could cause the equipment to be set wrongly hence a faulty and improper working of the device could be the consequence This icon is meant to highlight the parts of the text where suggestions useful for making it easier to set the device and optimize performance and reliability can be found Sometimes this symbol is followed by the word EXAMPLE when instructions for setting parameters are accompanied by examples to clarify the explanation Preliminary information This guide is designed to provide the most complete information the operator needs to correctly and safely install and operate the following encoders fitted with Profinet interface EMxxx13 16384PT xx DAP 1 multiturn encoder 13 14 bits HSxxx18 PT xx DAP 2 singleturn encoder 18 bits HMxxx16 16384PT xx DAP 3 multiturn encoder 16 14 bits To make it easier to read the text this guide can be divided into some main sections In the first section from chapter 1 to chapter 4 general information conce
91. form the interface between the CPU operating system and the user program The order in which the user program is executed is defined in the organization blocks The synchronization with the user program is maintained through the clocked interrupt OB61 OB61 is a synchronous cycle interrupt in other words it is an isochronous event that is called with the start of every PROFINET cycle It is synchronous with the Profinet send clock T LADISTL FBD OB61 SYNC 1 Lika SIMATIC 300 1 CPU 315 2 PN DP 0B61 G File Edit Insert PLC Debug View Options Window Help z Do SS lo gc Se TE 8 JE X L Lid Jl Contents Of Environment Inter face Lee s PR New nete OB61 DP Synchronous Interrupt E FB blocks S g FC blocks Comment E SFB block DE block Network 1 SFCl26 A Multiple ir Libraries Comment CALL SYNC PI srC126 Synchronous updating of a process image partition of the input PART B lesl RET V L RetVal SFCl26 miisoz FLADDR FLADDR SFCl26 m1504 CALL SYNC Po FC127 Synchronous updating of a process image partition of the output PART B16 1 RET_VAL RetVal SFC127 m1506 FLADDR FLADDR SFC127 m1508 lt gt Zd d v Press E am 3 Press F1 to get Help 9 offline Abs 5 2 Insert Chg Figure 47 OB61 MAN EM58_HS58_HM58 PTE 1 4 111 Real time class communication li a EMx58 Hx58x Profinet 11 5 PIP
92. hat for 189267968 positions 1073741824 442236928 2 189267968 i e for 11552 revolutions the encoder will work within the limits of the so called red zone After position 189267968 i e at the end of the red zone a position error namely a jump in the position count would happen as the following position would be 0 See the Figure in the previous page NOTE Make attention using the values sent by the encoder while working within the limits of the Red Zone When the encoder changes from normal status to Red Zone status and vice versa a jump of position occurs MAN EM58_HS58_HM58 PTE 1 4 93 Acyclic Data Exchange li a EMx58 Hx58x Profinet 10 Diagnostics and Alarms Diagnostics data is always transferred acyclically using Record Data communication over the non real time channel A PN IO controller can request diagnostic data from the PN IO device using RDO Record Data Object services Alarm data is transmitted from the IO device to the IO controller via the RT channel The encoder errors are divided into Faults and Warnings they are defined as follows FAULT A Fault is set if a malfunction in the encoder could lead to incorrect position values WARNING Warnings indicate that the tolerance for certain internal parameters of the encoder has been exceeded Unlike faults warnings do not imply incorrect position values NOTE Please note that warnings are not supported in this encoder There are severa
93. he Internet In particular it makes monitoring and advanced maintenance of the encoder from every PC running a web browser possible Since its only requirement is a HITP connection between the web browser and the web server running on the device it is perfectly fitted also for remote access scenarios Before opening the Profinet encoder web server please ascertain that the following requirements are fully satisfied e the encoder is connected to the network e the encoder has valid device name and IP address e the PC is connected to the network e a web browser Internet Explorer Mozilla Firefox Google Chrome Opera is installed in the PC or in the device used for connection NOTE This web server has been tested and verified using the following web browsers e Internet Explorer IE7 version 7 0 5730 13 e Mozilla Firefox version 28 0 e Google Chrome version 33 0 1847 116 m e Opera version 20 0 1387 91 NOTE Please note that the snapshot look may vary depending on the used web browser The following snapshots have been taken from Internet Explorer MAN EM58_HS58_HM58 PT E 1 4 139 Integrated web server Figure 72 Opening the web server li a EMx58 Hx58x Profinet To open the Profinet encoder web server proceed as follows 1 type the IP address of the encoder you want to connect to in the example 192 168 20 195 in the address bar of your web browser and confirm by pressing ENTER as soon as the connection
94. ide 32 EE I E E E OE ee 32 5 3 Encoder installation under STEP Cl 33 5 31 De seriptionof the MO mE UEM 33 5 3 2 Installing the EM 34 5 3 3 Inserting the module in the Protinet lD SUSteITI eee dttetintntettenest tenure tnter teretibus 37 5 3 4 Device name and Kaes 40 5 3 5 Setting thedevice NIME eene 40 536 Ch cking the device Ee 49 5 3 7 Setting ell 50 5 4 Setting the parameters Parameter Access Eent eessen 54 5 5 Resetting the parameters to default factory walugs s a aint Gad ae att e ee 57 OPORNE MEN E EE 62 Sch PO PIT introduction EE ee EE 62 6 2 Profinet encoders from DkaHectronie 62 6 2 1 Overview of the Neel n iiicbnasbtuste bout anus dadeetsdntee tices bat aa USD 64 6 3 OID aE MU CSS EH e ene inimi nati aad trant itn tiunt uec b DN edt 64 EE 64 CEET 64 6 4 E e TEE 65 6 5 TEPC FO A eiert che 66 d PROFINET O0 data description EP 67 FW VRP RN 67 e Beet 67 Fm accio uis t ilo ET 67 EA esee pac toes sei gs Rm 68 TAA Standardi UG VG it EN Or nd 68 8 Cyclic Data Exchange Standard signals ecran erac 69 8 1 List the available standaraStente S ausente teft tuor EE 71 DINE s PETENTE CNET 71 LE M ica 72 EN De ane e ree eee eee ee ee E ee eee 72 E ONE 73 ETONE o Te 73 Controller S de Ce aah tee ei eaaet dieta iii tust ae tendras Genaue 73 E Eege 74 Reger 74 Encoder SOHO SL iranan a E eebe 74 ee EE 74 Home postales eet 75 Request set shift Ee E eod acie ratae Rue iN I
95. in requires both in depth skills and specific expertise in SIMATIC STEP 7 programming environment For detailed information please consult the STEP 7 Programmer s handbook and documentation In the case of PROFINET IO with IRT a sync master transmits a synchronization message to which all sync slaves synchronize themselves The synchronization mechanisms will be controlled by ERTEC Enhanced Real Time Ethernet Controller of the integrated PROFINET interface This ensures a synchronization accuracy of less than one microsecond The synchronization of all IRT capable PROFINET devices on a common time base is the prerequisite for the scheduled communication control and the bandwidth reservation You assign the device roles syn master and sync slave by configuring the PROFINET devices in STEP 7 as described below The role of a sync master can be assigned both to an IO controller as well as a switched configured on an IO device provided these support the sync master function The sync master and the sync slaves together form the sync domain A sync domain has exactly one active sync master for the runtime It is mandatory that all PROFINET devices that are to be synchronized via PROFINET IO with IRT must belong to a sync domain The sync domain consists of precisely one sync master and at least one sync slave IO controllers and switches can hold the role of a sync master or sync slave Other IO devices support only the role as sync slave An IR
96. indow Help ax Des H e BER c Eam 9 6 1 5 IT ER 2 4E AF 0 F5 tHe e 1 BE Contents Of Environnent Interface BS New netv FB blocks 9 FC blocks gg SFB block SFC block Network 3 Read request Use SFB52 RDREC read record for read a data record AB Mutiple ir W Libraries uv Reques R W record index RSA UN Write in progress gei UN Read in progress n 3 UN Write request He o s Read request LCB L WHLEsBOZE T INDEX OxBOZE Noo CALL RDREC InstanceDB SFB52 SFBS2 DBS Read a Process Data Record REQ Read request N8 2 ID Diag Address of PAP ND108 Diagnostic address of Parameter Access Point in Slot 1 Sub NDEX OxBOZE 1100 6 0 Read in progress Sea M16 2 P STATUS MD18 MU22 RECORD P DB2 DBX0 0 BYTE 10 H Read in progress mes R Read request N8 2 v ia gt Insert Press F1 to get Help a offline Abs 5 2 Wei n Figure 67 FC1 13 1 9 Function 2 FC2 ax Contents 0 invironment Interface ES New nete LE FCZ Select Record Index amp gg FB blocks a FC blocks Comment M SFB block E SFC block MDI titie AB Multiple ir amp H Libraries Select the record index for read write operation uU Req P65000 Preset Value mioz o0 SPB Pl SPA PEND P65000 PRESET Pl L L 6s000 T Request DB parameter number 0l pi DBI Parameter address
97. ing 1 on the motor shaft make sure the alignment tolerances of the flexible coupling 1 are respected 3 1 1 Customary installation a mm b mm e mm d mm EM58 Hx58 42 50 F7 4 EM58S Hx58S 36 H7 48 MAN EM58_HS58_HM58 PTE 1 4 24 Mechanical installation li Ka EMx58 Hx58x Profinet 3 1 2 Installation using fixing clamps code LKM 386 a mm b mm c mm d mm EM58 Hx58 50 F7 67 4 EMB8S Hx58S 36 H7 67 3 1 3 Installation using a mounting bell code PF4256 MAN EM58_HS58_HM58 PTE 1 4 25 Mechanical installation li Ka EMx58 Hx58x Profinet 3 2 Hollow shaft encoders 3 2 1 EMC58 HxC58 Fasten the anti rotation pin 1 to the rear of the motor secure it using a locknut mount the encoder on the motor shaft using the reducing sleeve 8 if supplied Avoid forcing the encoder shaft insert the anti rotation pin 1 into the slot on the flange of the encoder this secures it in place by grub screw 2 preset at Lika fixthe collar 3 to the encoder shaft apply threadlocker to screw 3 mm nn max 1596 MAN EM58_HS58_HM58 PTE 1 4 26 Mechanical installation li Ka EMx58 Hx58x Profinet 3 2 2 EMC59 HxC59 Mount the encoder on the motor shaft using the reducing sleeve 8 if supplied Avoid forcing the encoder shaft fasten the fixing plate 4 to the rear of the motor using two M3 cylindrical h
98. ious personal and or the environment damage high current voltage and moving mechanical parts can cause serious or fatal injury warning Do not use in explosive or flammable areas failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design manufacture and intended use of the equipment Lika Electronic s r l assumes no liability for the customer s failure to comply with these requirements 1 2 Electrical safety Turn OFF power supply before connecting the device connect according to explanation in section Electrical connections on page 29 in compliance with 2004 108 EC norm on electromagnetic compatibility following precautions must be taken before handling and installing the equipment discharge Ae electrical charge from your body and tools which may come in touch with the device power supply must be stabilized without noise install EMC filters on device power supply if needed always use shielded cables twisted pair cables whenever possible avoid cables runs longer than necessary avoid running the signal cable near high voltage power cables mount the device as far as possible from any capacitive or inductive noise source shield the device from noise source if needed to guarantee a correct working of the device avoid using strong magnets on or near by the unit minimize noise by connecting the shield and or the connector housing an
99. ired for example for high accuracy closed loop control tasks 11 1 Real time classes in PROFINET IO To enable enhanced scaling of communication options and thus also of determinism in PROFINET 10 real time classes have been defined for data exchange From the user perspective these classes involve unsynchronized and synchronized communication PROFINET IO differentiates the following classes for RT communication They differ not in terms of performance but in determinism 11 2 Real Time class 2 RT2 Not synchronized In real time class 2 frames are transmitted via unsynchronized communication anysochronous communication To activate the real time class 2 both the IO controller and the IO device must be set exactly the same as Not synchronized To do this proceed as follows MAN EM58_HS58_HM58 PTE 1 4 97 Real time class communication li Ka EMx58 Hx58x Profinet 11 2 1 Setting an anisochronous communication To configure the IO controller Figure 34 double click the PN IO slot X2 to open the PN IO properties dialog box The Properties PN IO property sheet will appear Enter the Synchronization tabbed page and select the Not synchronized value in the drop down menu of the Synchronization role item Confirm pressing the OK button HW Config SIMATIC 300 1 Configuration Lika Dees Hsc dod MO RR ON Bhd LL LLLEleme lPROFINETA
100. is established the web server Home page will appear on the screen J Ei htiio2 169 2 195 a Die Strunerti 7 e SEO cor SE DECIES LI ES li a website certificates Encoder infomation ika Electronic s Profinet encoders Encoder position b Change the preset value web server Technical documentation Password protected menus Firmware upgrade Figure 73 Web server Home page MAN EM58_HS58_HM58 PTE 1 4 140 Integrated web server li Ka EMx58 Hx58x Profinet In the Home page some commands are available in the menu bar Press the website command to enter Lika s web site www lika biz Press the certificates command to enter the Product certifications page on Lika s web site http www lika it eng certificazioni php Furthermore some commands are available in the left navigation bar The menu bar is divided into two sections the commands in the above section allow to enter freely accessible pages while the commands in the below section under the label Password protected menus allow to enter password protected pages These commands allow to enter specific pages where information and diagnostics on the connected encoder can be achieved They are shown in the following snapshots Figure 74 Encoder Information page Parameters listed in the Encoder Information page are sent by the controller to the encoder during initialization for further information
101. item Confirm pressing the OK button GHW Config SIMATIC 300 1 Configuration Lika CSS LC Vw Opti v Heb Dg E E Eb Be ge MO Rw EOS Properties PN IO RO S2 2 1 Erea Media Redundancy 2 I CPU 315 2 rum General Addresses Xt d w n PNO Ethemet 1 PROFINET I0 System 100 Time of D ay Synchronization PROFINET Device l Options Synchronization Parameter Configuration E Synchronization role E Name of sync domain SJ RT dass E IRT option SS T ao xe ex 28 Pots 3 Dec 4 IN p ieco4v 5 g DO16 DC24v 0 5A Value syncdomain default TIC PC Based Control 300 400 TIC PC Station Dao High performance lt da sl 0 UR Slot Module CPU 315 2 PN DP AD Bv Ftal Pavia 2 BES 321 1BHO2 0440_ H uge H Do16 DC24v 0 5A 6ES7 322 1BH01 0AA0 ER STEE BERS PROFINET IO System ES v Cha Figure 36 Setting the sync master role of the IO controller MAN EM58_HS58_HM58 PTE 1 4 100 Real time class communication li Ka EMx58 Hx58x Profinet To configure the IO device Figure 35 double click the Interface slot X1 of the module to open the interface properties dialog box The Properties Interface property sheet will appear Enter the Synchronization tabbed page and select the Syne slave value in the drop down menu of
102. ity high perfor Full SIMATIC 300 1 1 HM inc slave IRT high perf Full x Press F1 to get Help Figure 50 Domain management dialog box Chg MAN EM58_HS58_HM58 PTE 1 4 116 Real time class communication li a EMx58 Hx58x Profinet You have the option of establishing the reserved transmission bandwidth for IRT data as a proportion of the maximum reservable transmission bandwidth for cyclic user data communication The proportion is specified in percent 96 In doing so the maximum transmission bandwidth set by the system for cyclic data may not be exceeded by the reserved transmission bandwidth for IRT plus the transmission bandwidth that is required for the cyclic data in the free transmission bandwidth RT communication Press the Details button in the Domain Management dialog box The Details Sync domain dialog box will appear on the screen In the Upper limit for IRT drop down list available in the Cyclic data group box select one of the default values in 90 STEP 7 offers the following selections 0 10 100 Ce HM Config SIMATIC 775 E i Domain management Ethernet 1 Sync Domain MAP Domain Dez Ru a Sync Domain Sync domain syncdomain default Details Sync Domain Send clock time S K LO Ll Maximum bandwidth for cyclic data 500 000 Bandwidth used for cyclic data 22 730 Nodes Bl Free bandwi
103. l 300 400 amp SIMATIC PC Station HMxxx1 6 16384PT x Lika Electronic Multitum encoder 30 bit 16 bit singleturn 14 bit multitum IBSDML V2 25LIKA 0239 ROTACOD 20131024 ml cho Getting started li Ka EMx58 Hx58x Profinet Choose the device you need to change the name in the Device name drop box and then press the Assign name button ae HW Config SIMATIC 300 1 Configuration DG SSH Xy ar dum MO Ww RW SS FE Ethemet 1 PROFINET I0 System 100 Fing Profle Standard Assign device name po Sc Q evo Pene IER Device ype LIKA ROTACOD Hoer COD DH Fora Available devices A EMx13 15384PT W onec 1P address MAC address Device type Device name __Assignname HEFTE TERME lj ooieoe 10897E 3 0001 LIKAROTACOD MTS Multitu 30 Bit Module 3 H Standard Telegram 81 d Duration seconds 3 v DH Standard Telegram 82 Standard Telegram 83 Standard Telegram 84 Flashing on Flashing is 1 HM aso Show only devices of the same type I Display only devices without names Update Export Cose trol 300 400 HMw 6 1 6384P Tx Zd ika Electronic Multitum encoder 30 FE bit singletum 14 bit multitum GSDML V2 25 LIK4 0233 ROTACOD 201 31024 xml Press F1 to get Help E Figure 13 Confirming the device name MAN EM58_HS58_HM58 PTE 1 4 46 Getting started
104. l diagnosis mechanisms that are used to monitor encoder diagnostics Please refer to the table below for an overview of the available diagnosis mechanisms Function Reference RA diagnosis parameter P65001 Operating See on page 95 Channel related diagnosis via the Alarm Channel See on page 95 Error codes in G1 XIST2 See on page 96 LED indication See on page 96 MAN EM58_HS58_HM58 PTE 1 4 94 Diagnostics and Alarms li Ka EMx58 Hx58x Profinet 10 1 Acyclic diagnosis parameter P65001 Operating status With the Acyclic parameter P65001 Operating status the current status of the Encoder Faults and Warnings as well as the support of the individual Fault and Warning bits can be read from the encoder For detailed information on the parameter P65001 Operating status please refer to page 83 10 2 Error messages via the Alarm Channel The encoder diagnosis is reported to the controller via the Alarm channel as Channel Related Diagnosis Both warnings and faults are reported in the same manner but with different error types NOTE In compatibility mode see the parameter Compatibility mode on page 88 channel related diagnostics can be switched off by the Alarm channel control parameter please refer to its description on page 87 For a detailed definition of the use of the channel related diagnosis please refer to the Alarm mechanism definition for the respective communication system in the mapping part of the profile
105. lose Press F1 to get Help Figure 15 Edit Ethernet Node confirmation After completing the operation we can easily check the entered Device Name To do this press again the Browse button in the Edit Ethernet node page to find all the nodes connected to the network Check that the encoder is listed properly in the page GHW Config SIMATIC 300 1 Configuration Lika e ar d Edit Ethernet Node Nodes accessible online mai 1088 FE 000004 Browse 20180 008 S IATIC PC Based Control 300 400 20 10 89 MA LIKA ROTAC D hm ATIC PC Station MAE address Device type T amp FD 3T 57 300 00 00 0 H D te Dc24v H DO16 DC24v 0 56 Fast search H Framery Access Poor H Standard Telegram 83 Press F to get Help cho Figure 16 Browsing the network MAN EM58_HS58_HM58 PTE 1 4 48 Getting started li Ka EMx58 Hx58x Profinet 5 3 6 Checking the device name After completing the operation we recommend the Device Name to be checked To do this press PLC Ethernet and then Verify Device Name command in the menu bar of the HW Config window 35 HW Config SIMATIC 300 1 Configuration Lika Ach fj Station Edit Insert D S view Options Window Help 3x 2 G M Eu g Downoad Ctrl IDEE m o a ojx PROFINET 0 System 100 Eind atai _
106. m MO Bw Ethemet 1 PROFINET IO System 100 CPU 315 2 PN DP MOD PNO Porta T Porta 2 DIExDC24V DO1GxDC24V 0 54 gt 0 UR Slot Module Order number K 1 Q Comment zi a a 2 CPU 315 2 PN DP BES7 315 2EH14 0ABO V3 2 AT MPP MS xg ovo ET A Awat MA M Fal EU 3 4 Dep 6ES7 321 1BHO2 04A0 20 2 5 l bote c24v 0 54 BES 322 1BHO1 0440 4 5 5 8 D Press F1 to get Help End ntaj Profile Standard x TE PROFIBUS DP ER PROFIBUS PA S PROFINET 10 CH Additional Field Devices G Encoders CH LIKA ROTACOD Mulitum amp E Gateway CI HMI vo E Network Components amp C3 Sensors Switching devices se ls SIMATIC 300 a BN SIMATIC 400 SIMATIC PC Based Control 300 400 RB SIMATIC PC Station lt gt Hal 6 1 6384PT ac a ke Lika Electronic 3 KR Multitum encoder 30 bit 16 bit singleturn 14 bit mulitum g Figure 6 Inserting a module in the Profinet IO system MAN EM58_HS58_HM58 PTE 1 4 37 Getting started li Ka EMx58 Hx58x Profinet The inserted module will appear as shown in the following screenshot Lika 4 HW Config SIMATIC 300 1 Configuration lj Station Edit Insert PLC View Options Window Help Prae er dem EDO g w Ethemet 1 PROFINETO System 100 Profle stna WE PROFIBUS DP 482 PROFIBUS P
107. meter request and response essent tenen 125 Late 126 Muir itl Ce SP NS NP ae ae M M 126 Figure 61e EE 127 ATA E EEE E AE EEEE TT E A A TE 127 Figure 63 DB3 aiit ck et EEN 128 Figuret64 E 128 Barco enee 129 i Tg a duds ei meu Dr 129 t UTC ER n uec M 130 ee 130 Figure 69 Acyclic request OF Preset Valle acc cenae citrus cecal ee 131 Figure 70 Monitoring a Varlable accorto cetur epu ecce tus een eather eeteeee ee 132 Fiqure 71 Encoder State MISE suuin acus tusu cene tuerunt pneus ceste ve saca pa adean 133 Figure Doehimig the WeDISPEVEf eet 140 Figure Z3 Webserver Home Deler eet 140 Figure 74 Encoder Information page naonnaon aaaeeeaa traten iada itin peu UR 141 Figure 75 Encoder DESEN 142 Figure 76 Change the preset value Pad Cnet scence antes eee mune 142 Figure 2 7 Firmware upgrade pae acea caret tee atrae cm deeg 143 Figure 78 Opening the Web Servers asi oso eet Ae Drei ee eee eee 145 Figure 79 Web SEEM EE Homepages decedens Seca aa tust iiu RANT 146 Figure 80 Confirming the access to the Firmware upgrade page seen 146 Figure 81 Firmware upgrade Bagger eebe 147 Figure 82 Webserver SU fo Chics acacia n San eect 147 autre ee EE 148 Figure 84 Firmware upgrade executable file eee esee eene tette tnnt ennt 148 Figure 85 Starting the firmware upgrade Operation 149 Figure 86 Firmware upgrade operation process esee ntntn tente tn
108. n G1_STW 13 Restore Request absolute value cyclically MAN EM58_HS58_HM58 PTE 1 4 136 Encoder state machine lixa EMx58 Hx58x Profinet 14 4 Error diagram 14 4 1 Acknowledgment of acknowledgeable sensor error Controller Device G1_XIST2 ERROR CODE G1_ZSW 15 1 Sensor error G1_STW 15 1 Acknowledging a sensor error G1_ZSW 11 1 Requirements of error acknowledge detected acknowledgment in process 6 G1_STW 15 0 Acknowledging a sensor error ERROR SOLVED G1 XIST2 POSITION VALUE G1 ZSW 15 0 Sensor error G1 ZSW 11 0 Requirements of error acknowledge detected acknowledgment in process MAN EM58 HS58 HM58 PT E 1 4 137 Encoder state machine lixa EMx58 Hx58x Profinet 14 4 2 Acknowledgment of not acknowledgeable sensor error Controller Device G1_XIST2 ERROR CODE G1_ZSW 15 1 Sensor error G1_STW 15 1 Acknowledging a sensor error G1_ZSW 11 1 Requirements of error acknowledge detected acknowledgment in process G1_STW 15 0 Acknowledging a sensor error ERROR NOT SOLVED G1_ZSW 11 0 Requirements of error acknowledge detected acknowledgment in process i e a MAN EM58 HS58 HM58 PT E 1 4 138 Encoder state machine li a EMx58 Hx58x Profinet 15 Integrated web server Profinet encoders from Lika Electronic integrate a web server This web based user interface is designed to deliver helpful information on the device that can be accessed through t
109. n MAN EM58_HS58_HM58 PTE 1 4 22 Safety summary li a EMx58 Hx58x Profinet 2 Identification Device can be identified through the ordering code the serial number and the MAC address printed on the label applied to its body Information is listed in the delivery document too Please always quote the ordering code the serial number and the MAC address when reaching Lika Electronic s r l for purchasing spare parts or needing assistance For any information on the technical characteristics of the product refer to the technical catalogue Warning encoders having ordering code ending with Sxxx may have mechanical and electrical characteristics different from standard and be supplied with additional documentation for special connections Technical info MAN EM58_HS58_HM58 PTE 1 4 23 Identification li Ka EMx58 Hx58x Profinet 3 Mechanical installation WARNING Installation and maintenance operations have to be carried out by qualified personnel only with power supply disconnected Shaft and mechanical components must be in stop For any information on the mechanical data and the electrical characteristics of the encoder please refer to the technical catalogue 3 1 Solid shaft encoders Mount the flexible coupling 1 on the encoder shaft fix the encoder to the flange 2 or to the mounting bell by means of the screws 3 secure the flange 2 to the support or the mounting bell to the motor mount the flexible coupl
110. n EH FC blocks REQ SFB blocks ID SFBS2 RDREC INDEX Har stat uE C LEN SFC blocks ovr ZA SFC126 SYNC F D DONE ick sFCI27 SYNC F sus AB Multiple instances ERROR H Libraries STATUS In_out RECORD d stat SFBS3 Title Comment TOP t v Bipeaan EE Cast ie E n II s A ze A S Giossieterences CA 7 amp Ad esin o X oS Modi A Discs A 7 Comparison Press F1 to get Help offline labs 5 2 Rd Figure 60 SFB53 MAN EM58_HS58_HM58 PTE 1 4 126 Read amp write in acyclic communication li Ka EMx58 Hx58x Profinet 13 1 3 Data Block 1 DB1 Edit Insert PLC Debug View Options Window Help E gt a d S ce et ain ien Bu oe f gt II Rd Initial value Comment H Libraries Request reference psieso Request header unique identification of the request response 1 0 Request 1D BYTE Be1682 Request header 0xOl request parameter 0x02 change parameter 32 0 Axis Be po rp BYTE Bs1680 Request header DO addressing for multi axis or modular device 43 0 No of parameters BYTE Saien Request header number of parameterer range 0x01 0x27 34 0 attribute parameter_o1 BYTE psiesio Parameter address type of object Oxl value He of elements O1 BYTE ps1ego Parameter address nun of elements O special function parameter muxber O1 WORD
111. n System functions SFC are integral functions in the operating system of a S7 CPU In addition SFCs are frequently called implicitly by SFBs SFCs can be called by the user program like normal functions SFCs are used to implement a number of important system functions for Profinet IO System function block System function blocks SFB are integral functions in the operating system of a S7 CPU SFBs can be called by the user program like normal function blocks SFBs are used to implement a number of important system functions for Profinet IO TCP IP The Ethernet system is designed solely to carry data lt is comparable to a highway as a system for transporting goods and passengers The data is actually transported by protocols This is comparable to cars and commercial vehicles transporting passengers and goods on the highway Tasks handled by the basic Transmission Control Protocol TCP and Internet Protocol IP abbreviated to TCP IP 1 The sender splits the data into a sequence of packets 2 The packets are transported over the Ethernet to the correct recipient 3 The recipient reassembles the data packets in the correct order 4 Faulty packets are sent again until the recipient acknowledges that they have been transferred successfully Telegram A telegram is a rigidly defined bit stream carrying data A telegram specifies the data length and the type of data which is sent to and from the IO c
112. ngst vendors increased choice for users and full interoperability Provider Status The Status an IO device provides to an IO Controller with the data transferred to the Controller Proxy A device which maps non PROFINET IO data to PROFInet Real time Real time means that a system processes external events within a defined time If the reaction of a system is predictable one speaks of a deterministic system The general requirements for real time are therefore deterministic response and defined response time Refer to page 97 RT Real Time The Real Time PROFINET IO Channel I O and Alarm Data are transferred over the RT Channel Refer to page 97 Slot A group of one or more Subslots Slots can be real or virtual Standard signal The encoder profile defines a series of standard signals which are used to configure the IO data Refer to page 69 Submodule A component of a module that is plugged into a subslot A submodule is real or virtual Subslot A group of one or more channels Subslots can be real or virtual Sync domain All PROFINET devices that are to be synchronized via PROFINET IO with IRT must belong to a sync domain The sync domain consists of precisely one sync master and at least one sync slave IO controllers and switches can hold the role of a sync master or sync slave Other IO devices support only the role as sync slave Refer to page 114 System functio
113. nt are checked only if the bit Control by PLC is set Control from Control via interface EO O Data is 10 PLC processed No control EJ from PLC EO IO Data not valid except Sign Of Life Controller Sign Of Life bits 12 15 For more information on the control word STW2 ENC please refer to the PROFldrive Technical Specification document MAN EM58_HS58_HM58 PTE 1 4 73 Cyclic Data Exchange Standard signals li a EMx58 Hx58x Profinet ZSW2 ENC Unsigned 16 bits It is defined as Encoder status word 2 The encoder status word 2 ZSW2 ENC includes the Control by PLC mechanism from PROFldrive ZSW1 and the Slave Sign Of Life mechanism from PROFldrive ZSW2 a 2 Notused 0 0000 Besch i pem Besene Control requested Bit 9 E The automation system is requested to Requested assume control 9 Control by the automation system is not No Control requested possible only possible at the device or by another interface Encoder Sign Of Life Bits 12 15 For more information on the status word 2 ZSW2 ENC please refer to the PROFldrive Technical Specification document G1 STW Unsigned 16 bits It is defined as Sensor 1 control word This control word controls the functionality of major encoder functions Bit Meaning 8 10 Home position mode Request set shift of home position MAN EM58_HS58_HM58 PTE 1 4 74 Cyclic Data Exchange Standard signals lixa
114. numbers dashes or dots Any component part that is a character string between two dots of the device name may only be up to 63 characters long Names cannot contain any special character such as umlauts parentheses underscores forward or backward slashes empty spaces etc The dash is the only special character allowed e Names must neither start nor end with the minus sign There are a couple of ways to assign the device name to the encoder The steps are described in the following tables MAN EM58_HS58_HM58 PTE 1 4 40 Getting started lixa EMx58 Hx58x Profinet Steps for system startup Controller Device Checking of device name Assignment of IP address Connection establishment Data exchange Startup response IO CONTROLLER IO DEVICE Event power supply on or Call Event power supply on or loading of configuration 4 corresponding modification of device or IO device failure error OB name Wait for checking of device name Check reachable IO devices using device name IO device present Is IP address to be Received configuration assigned vacant data OK Connection establishment and data exchange Connection established and data exchange MAN EM58_HS58_HM58 PTE 1 4 41 Getting started li Ka EMx58 Hx58x Profinet Mode 1 Enter the Properties dialog box by double clicking the encoder icon in the HW Config window and
115. ontroller The encoder profile supports Standard Telegrams 81 82 83 and 84 Refer to page 67 Topology Network structure Commonly used structures e Line topology e Ring topology Star topology e ree topology Refer to page 118 Transmission rate Data transfer rate in bps User program The user program contains all instructions declarations and data for signal processing required to control a plant or a process It is assigned to a programmable module for example CPU and can be structured in smaller units blocks List of abbreviations Table below contains a list of abbreviations in alphabetical order which may be used in this guide to describe the PROFINET IO interface Sometimes they also refer more specifically to the S7 programming environment AR Application Relation API Application Process Identifier C LS Controller s Sign Of Life CR Communication Relation DB Data block DO Drive Object DO LS Driver Object Sign Of Life DU Drive Unit EO Encoder Object EU Encoder Unit FB Function block FC Function IOM Identification amp Maintenance IRT Isochronous Real Time Ethernet IRT Flex IRT High Flexibility IRT Top IRT High Performance GSDML General Station Description Markup Language IO Input Output IP Internet Protocol LLDP Link Layer Discovery Protocol LS Sign Of Life MAC Media
116. or Low Voltage Limited Energy VAL or Energy Source not exceeding 30 Vdc Refer to the product datasheet for C US supply voltage rate From re 20131024 Dispose separately s li a LIKA Electronic Via S Lorenzo 25 36010 Carr VI Italy Tel 39 0445 806600 Fax 39 0445 806699 Italy eMail info lika it www lika it World eMail info lika biz www lika biz
117. osition mode and Request set shift of home position in G1 STW on page 75 and G1 XIST1 preset control on page 86 Index Sub Meaning Valke 65000 o JPresetvale Label RW EXAMPLE An example of setting the Preset value is provided on page 126 P65001 Operating status Array 0 11 unsigned32 RO This parameter has a read only structure where information on the encoder operating status can be found It is a complement to the PROFldrive parameter 979 described in the PROFldrive profile Index Sub Meaning Value Access 0x000C0101 See Operating status table values See Faults Total measuring range in MAN EM58_HS58_HM58 PTE 1 4 83 Acyclic Data Exchange li a EMx58 Hx58x Profinet measuring units 65001 Velocity measuring unit user setting variable RO Warnings are not supported in this encoder The encoder profile version is the version of the encoder profile document implemented in the encoder This parameter is not affected by the Compatibility mode settings See Velocity measuring units in the section 9 4 Index OxBFOO user parameter data on page 91 Operating status table values Bit Meaning 0 i O Code sequence Faults table Bit Meaning Supported faults table Bit Meaning 1 O Commissioning diagnostics supported Memory error supported Offset value is calculated in the pr
118. pecific configuration of your Profinet network In the example the port 2 of the IO controller is connected to the port 1 of the IO device see Figure 55 So first configure the IO controller and set its port 2 to be connected to the port 1 of the IO device Double click the X2 P2 R PORT 2 slot in the CPU configuration table and open the Port 2 properties dialog box The Properties PN IO Port 2 property sheet will appear Enter the Topology tabbed page and set the Port 1 X1 P1 value in the drop down menu in the Partner port item of the Partners group box Confirm pressing the OK button Refer also to section 11 7 Topology Editor on page 118 GHW Config SIMATIC 300 1 Configuration Lika Dg e 5 h 6 58 waa MO Ww 5 Bi xi ant aaj operties PN IO Port 2 RO S2 X2 P2 R i Addresses Topology Options P Port Interconnection PA CPU 315 2 o Fea Local port SIMATIC 300f1 NPN ID CPU 315 2 PN DP Port 2 RO S2 X2 P2 A D lg ovo Locdpot Copper Patnerpot TI d Alig For Based Control 300 400 8 Sa S Station H D iexDc24v DO16 DC24 ajo u Slot 7 AP 3 4 f neoc EES 7 321 T8HUZ OAAD 5 DOI amp DC24V OSA EES7 322 1BH01 084D 4 5 3 PROFINET 10 System ad H 8 Figure 43 Configuring the IO controller topology MAN EM58_HS58_HM58 PTE 1 4 107 Real time class communication li Ka EMx58 Hx58x Profinet
119. permits cycle times lower than 250 us with less than 1 us jitter The standard TCP IP channel is used for parametrization configuration and acyclic read write operations A PROFINET IO system requires at least one IO Controller and one IO Device The most frequent network topologies can be implemented and even mixed together including Star Line Tree and Ring structures by means of copper or fiber optic cables The number of devices each one fitted with its own MAC address IP address and device name which can be connected in the PROFINET network is virtually unlimited The transmission rate is 100Mbit s with full duplex communication Fast Ethernet PROFINET IO Devices are configured using a configuration tool which acts as the IO Supervisor The IO Supervisor uses a GSD General Station Description file based on XML language thus it is called GSDML file see on page 33 6 2 Profinet encoders from Lika Electronic PROFINET encoders from Lika Electronic fully comply with the encoder profile specifications V4 1 version 3 162 the encoder profile is based on the PROFIdrive profile For any information on the encoder profile please refer to the following document MAN EM58_HS58_HM58 PTE 1 4 62 Profinet interface li Ka EMx58 Hx58x Profinet ENCODER PROFILE Technical specifications for Profibus and Profinet related to PROFIdrive edited by PI International Furthermore these encoders fulfil the requirements of the Application Classes
120. r Discovery Protocol LLDP MAN EM58_HS58_HM58 PT E 1 4 123 Encoder replacement using LLDP lixa EMx58 Hx58x Profinet NOTE When you replace a device make sure that the PROFINET cable is then inserted into the correct port as it is configured in STEP 7 Otherwise the system will not run MAN EM58_HS58_HM58 PTE 1 4 124 Encoder replacement using LLDP li Ka EMx58 Hx58x Profinet 13 Read e write in communication Request Reference Response ID acyclic BlockHeader transfer request to BlockHeader ParameterResponse response to P t ParameterRequest Data Record arame er Manager Request Reference Request ID pom No of Parameters PROFidrive PROFIdrive Base Mode Parameter Base Mode Parameter response request Parameter Data Base Drive DO 1 Error because the parameter manager is busy but not finished with the processing yet or the parameter manager is idle 2 Processing of only one parameter requests per connection Multiple connections cause multiple state machines for the processing each for every connection 3 Also error OxBO may be used if there is no PAP available and error OxB7 if there is an error in the request header Figure 58 Base mode parameter request and response MAN EM58_HS58_HM58 PTE 1 4 125 Read amp write in acyclic communication li Ka EMx58 Hx58x Profinet 13 1 Example reading and writing a parameter Preset
121. re used for Ethernet connection through port 1 and port 2 Description Pin Tx Data 1 Rx Data 2 Tx Data 3 Rx Data 4 4 3 Ground connection Figure 1 To minimize noise connect properly the shield and or the connector housing and or the frame to ground Connect properly the cable shield to ground on user s side Lika s EC pre assembled cables are fitted with shield connection to the connector ring nut in order to allow grounding through the body of the device Lika s E connectors have a plastic gland thus grounding is not possible If metal connectors are used connect the cable shield properly as recommended by the manufacturer Anyway make sure that ground is not affected by noise It is recommended to provide the ground connection as close as possible to the device We suggest using the ground point provided in the cap see Figure 1 use 1 TCEI M3 x 6 cylindrical head screw with 2 tooth lock washers 4 4 MAC address and IP address The unit can be identified in the network through the MAC address and the IP address MAC address has to be intended as a permanent and globally unique identifier assigned to the unit for communication on the physical layer while the IP address is the name of the unit in a network using the Internet protocol MAC address is 6 byte long and cannot be modified It consists of two parts numbers are expressed in hexadecimal notation the first three bytes are used to identify
122. rning the safety the mechanical installation and the electrical connection In the second section chapter 5 information on how to install and configure the encoder in the STEP 7 development environment as well as tips for setting up and running properly and efficiently the unit are provided In the third section from chapter 6 to chapter 12 both general and specific information is given on the Profinet interface In this section the interface features and the parameters implemented in the unit are fully described In the last section from chapter 13 to chapter 15 some examples of programming and advanced maintenance information are explained Lika Electronic Profinet encoder documentation is complete with an example project provided free of charge This program is designed to make your own project planning programming communication and diagnostics with the STEP 7 V5 5 SP1 development environment user friendly and reliable You can find it in the Lika Step 7 Profinet example project zip compressed file contained in the SW Hx58x PT zip file Profinet certificates PROFIBUS gt PROFINET Certificate PROFIBUS Nutzerorganisation e V grants to Lika Electronic Sri Via S Lorenzo 25 36010 Carr VI Italy the Certificate No Z10681 for the PROFINET IO Device Model Name HMxxx16 16384PT xx Revision SW FW V1 0 1 HW 1 Identnumber 0x0239 0x0001 GSD GSDML V2 25 LIKA 0239 ROTACOD 20131024 XML DAP DAP3 LIKA
123. rocess values us 125 000 Isochronous Mode Modules Submodules NA H Medtiturn 30 Bit Modde H Asvanstersecess Paint 12 l Standard Telegram 83 OK Cancel Help PROFINET IO System Ki Figure 40 OB61 assigning IO device in isochronous mode MAN EM58_HS58_HM58 PTE 1 4 104 Real time class communication lixa EMx58 Hx58x Profinet Press the Isochronous Mode Modules Submodules button below in the Properties Interface property sheet and enter the Isochronous Modules Submodules dialog box Check that an isochronous submodule has been installed Standard Telegram 83 in the example Confirm pressing the OK button HW Config SIMATIC 300 1 Configuration Lika Dg ESS Ey e pr soo MO We Properties Interface X1 General Addresses Synchronization 10 Cycle Update Time Made Update time ms Watchdog Time Number of accepted update cycles with missing IO data Watchdog time ms Isochronous Mode Assign ID device in isochronous mode Application cycle us Ti To mode 125 000 Time To output process values us 125 000 ach 107 000 01 isochronous Mode Modules Submodules Time Ti read in process values us Figure 41 Standard Telegram as isochronous submodule MAN EM58_HS58_HM58 PTE 1 4 105 amp Bixi Eind ht ail z T D
124. rts four types of telegrams Standard Telegram 81 Standard Telegram 82 Standard Telegram 83 and Standard Telegram 84 They are described hereafter Standard signals are fully described in the section Cyclic Data Exchange Standard signals on page 69 7 1 1 Standard Telegram 81 The Standard Telegram 81 is the default telegram It uses 4 bytes to output data from the IO controller to the encoder and 12 bytes to input data from the encoder to the IO controller Output data CONTROLLER gt DEVICE STW2 ENC o SIW IO Data Set point I0 Data 1 2 8 4 ZSW2 ENC G1 ZSW G1 XIST E 7 1 2 Standard Telegram 82 The Standard Telegram 82 uses 4 bytes to output data from the IO controller to the encoder and 14 bytes to input data from the encoder to the IO controller Output data CONTROLLER gt DEVICE 2 bytes STW2 ENC IO Data Set point lODta 1 2 J3 4 5 6 7 G1 XIST G1 XIST2 MAN EM58_HS58_HM58 PTE 1 4 67 PROFINET IO data description lixa EMx58 Hx58x Profinet 7 1 3 Standard Telegram 83 The Standard Telegram 83 uses 4 bytes to output data from the IO controller to the encoder and 16 bytes to input data from the encoder to the IO controller Output data CONTROLLER gt DEVICE STW2 ENC GI SIW IO Data Set point lOData 1 2 3 4 5j 6 G1 XIST1 Te g 7 1 4 Standard Telegram 84 The Standard Telegram 84 uses 4 bytes to output data from the IO
125. s Bin e E lixa Encoderintormation Lika Electronic s Profinet encoders Encoder position b Change the preset value web server Technical documentation Password protected menus Firmware upgrade Figure 79 Web server Home page 3 before entering the page you are requested to confirm the operation press OK to continue HomePage Windoves Interns Explorar v imi e ES li a website certificates Ewsermemin Lika Electronic s Profinet encoders an err web server Technical documentation Password protected menus Firmware upgrade Fire Tp Interret Ly Figure 80 Confirming the access to the Firmware upgrade page MAN EM58_HS58_HM58 PTE 1 4 146 Integrated web server lixa EMx58 Hx58x Profinet 4 in the Password text box type the password lika and then press the Submit button Figure 81 Firmware upgrade page 5 a message will appear on the screen while the background color of the page will be changed to red now the web server is stopped and the encoder is ready to accept the firmware program DS ER Figure 82 Web server stopped MAN EM58_HS58_HM58 PTE 1 4 147 Integrated web server lixa EMx58 Hx58x Profinet 6 as soon as you press the OK button the following message will appear on the page now you must launch the SW_PN EXE executable file to continue with the procedure
126. s on page 69 the Acyclic Data Exchange gives the possibility to read and write parameters over the non real time channel CC Parameter Manager Control values Actual values p Parameter Data Base Sync trigger Encoder Object Sub 1 SubSlot 0x8001 Sub2 SubSlot 0x8002 Sub 1 SubSlot f Sub2 SubSlot 2 BUS INTERFACE Mo data BS PORT 1 PORT 2 MAN EM58_HS58_HM58 PTE 1 4 79 Standard Telegram 81 82 83 or 84 Cyclic Data Channel Acyclic Data Channel Parameter Manager EM Parameter Data Base d Acyclic Data Exchange lixa EMx58 Hx58x Profinet 9 1 Index OxAFFO Identification amp Maintenance I amp M functions Profinet encoders from Lika Electronic only implement I amp M 0 Module IMO IMO is accessible with record OxAFFO and provides general information on the device such as vendor ID order ID serial number etc BLOCKHEADER 6 MANUFACTURER ID VENDOR ID 6 SERIAL NUMBER 6 HARDWARE REVISION 2 d sms SOFTWARE REVISION 4 O REVISION COUNTER 2 O IM VERSION Li IM SUPPORTED 2 O N d No NO 9 2 Index OxBO2E supported PROFIdrive specific parameters P922 Telegram Selection Unsigned16 RO It indicates the type of telegram which is currently in use Possible values 81 82 83 and 84
127. s 2695332 67 of total memory available optimization none an 16 12 2013 11 16 36 100 Sending image file done 100 Erasing flash done 100 Programming flash done Host name LIKAZIZ C Host address 10 10 10 63 send data header send program It DO NOT SWITCH POWER OFF flash pr verify flash program done Figure 86 Firmware upgrade operation process 12 during download operation S1 Status 1 LED starts blinking green at 1 Hz while S2 Status 2 LED is OFF see on page 31 13 as soon as the operation is carried out successfully the FLASH PROGRAMMED SUCCESSFULLY message appears on the screen 14 turn encoder power off and then on to complete the operation NOTE While downloading the firmware upgrading program unexpected conditions may arise which could lead to a failure of the installation process When such a matter occurs download process cannot be carried out successfully and thus the operation is aborted S2 Status 2 LED starts blinking red at 1 Hz while S1 Status 1 LED is OFF see on page 31 In case of flash upgrade error the program is lost irreversibly there is not a bootloader and the device must be sent back to Lika Electronic for restoring MAN EM58_HS58_HM58 PT E 1 4 150 Integrated web server lixa EMx58 Hx58x Profinet 15 2 Setting the preset value NOTE This page is designed to help you setting a Preset value easily Please note it allows you just to enter
128. set the device name in the Device name field Check that the Assign IP address via IO controller check box is selected if you want the IP address being assigned by the IO controller otherwise deselect it if you want it to be uploaded from the internal memory of the IO device LC HW Config SIMATIC 300 1 Configuration Lika Dg R8 Wy a Be ge MO Wr Properties HM General Shott description HN Mukitum encoder 30 bit 6 bit singletumn 14 bit multitu CPU 3152 P Order No firmware HMxxx16 16384PT xx 7 V1 0 H Powe Family LIKA ROTACOD H Gong Device name HM H D016 DC24V 0 GSD file GSDML V2 25 LIKA 0239 ROTACDD 20131024 xml Node in PROFINET ID System IKA EMy13 16384PT IKA HMx16 16384PT H Multum 30 Bit Module D Standard Telegram 81 f Standard Telegram 82 D Standard Telegram 83 D Standard Telegram 84 jetum Mo HM Device number fi PROFINET 10 System 100 Slot Module IP address 182 168 20 187 Ethernet a A 5 IV Assign IP address via ID controller AT An Comment 7 control 300 400 Z 1 2 H Arames Access For Press F1 to get Help Figure 9 Assigning the device name NOTE EE t Lika Electronic Z Mulitum encoder 30 bit 16 bit singleturn 14 bit multum GSDML V2 25 LIKA 0239 ROTACOD 201 31 024 xml Cha The device name default setting is the name from the GSD file With integral Profinet in
129. sition executed in the sensor status word G1 ZSW Now bit 12 Request set shift of home position in the sensor 1 control word G1 STW can be set to zero by the Master The encoder will end the preset cycle by clearing the bit 12 Set shift of home position executed in the sensor status word DI ZSW The new internal offset value can be read with an acyclic data exchange parameter if implemented and is securely stored MAN EM58_HS58_HM58 PTE 1 4 75 Cyclic Data Exchange Standard signals e li Ka EMx58 Hx58x Profinet in case of voltage breakdown and uploaded again at each power on 1 1 Preset mode relative offset The encoder uses the preset value P65000 Preset value as a relative offset value In this mode the current position value is shifted by the value deriving from the preset value EXAMPLE A preset value 1000 is intended to shift the current position value by 1000 steps in the positive counting direction So a real position value of 5000 will have the value 6000 after the relative shifting sequence The encoder will set bit 12 Set shift of home position executed in the sensor status word G1 ZSW to acknowledge the execution of the shifting Bit 12 Request set shift of home position in the sensor control word G1 STW can now be set to zero by the Master The encoder will end the preset cycle by clearing the bit 12 Set shift of home position executed in the sensor status word DI ZSW The internal offset value will be shif
130. subnet and allows editing cha Figure 49 Assigning the IO device to a sync domain MAN EM58_HS58_HM58 PTE 1 4 115 Real time class communication lixa EMx58 Hx58x Profinet The Domain Management dialog box will appear on the screen Using the Domain management dialog box you can check the settings of the PROFINET IO system The name of the syne domain is automatically assigned by STEP 7 with syncdomain default when the first sync domain is configured You find it under the Syne domain item in the Syne domain group box Alternatively you can create further sync domains The Send clock time ms is the period between two successive intervals for IRT or RT communication The send clock is the shortest possible transmit interval for exchanging data You have the option to establish the send clock for your sync domain in order to achieve an optimum coordination of the transmission bandwidth to the data volume Depending on the PROFINET devices of the respective PROFINET IO systems STEP 7 calculates the possible values that can be set Select one of the default send clock time values in the drop down list Sync Domain Sync domain Send clock time Ims Nodes Station ID system SIMATIC 300 1 PROFINET O System 100 Introl 300 400 Loo H JL See Station Device Name Synchronization Role RT Class IRT Option Redundancy SIMATIC 300 1 PN IG Syne master RT IRT high flexibil
131. t the position value in G1_XIST1 Attribute Meaning Value G1 XIST1 is affected by a Preset Enable command Preset does not affect G1 XIST1 WARNING G1 XIST1 preset control is disabled by setting the value 1 NOTE There is no functionality of this parameter if the Class 4 functionality parameter is disabled MAN EM58_HS58_HM58 PTE 1 4 86 Acyclic Data Exchange lixa EMx58 Hx58x Profinet EXAMPLE An example of setting the Preset value is provided on page 126 Scaling function control This parameter enables disables the Scaling function When this parameter is disabled the device uses the hardware singleturn and multiturn resolutions when it is enabled the device uses the resolutions set next to the parameters Measuring units Revolution and Total measuring range Refer also to the section Scaling function parameters on page 88 Attribute Meanng JL Value Scaling function disabled 0 Scaling function enabled NOTE There is no functionality of this parameter if the Class 4 functionality parameter is disabled Alarm channel control This parameter enables disables the encoder specific Alarm channel transferred as Channel Related Diagnosis This functionality is used to limit the amount of data sent in isochronous mode If the value is zero 0 default value only the communication related alarms are sent via the alarm channel If the value is one 1 also the encoder specific faults and warnings
132. ta affect the position value in both G1 XIST1 and G1 XIST2 e G1 XIST2 displays the error telegram instead of the position value if an error occurs For the format example see G1 AIST above G1 XIST3 Unsigned 64 bits It is defined as Sensor 1 position actual value 3 This 64 bit position value is intended to support the encoders having a measuring length which exceeds 32 bits G1 XIST3 has the following format binary format the actual position value is always right aligned a shifting factor is not used e the settings in the encoder parameter data affect the position value in G1 XIST3 if Application Class 4 is enabled 10 data 1 2 3 4 Format 64 bit position value MAN EM58_HS58_HM58 PTE 1 4 72 Cyclic Data Exchange Standard signals lixa EMx58 Hx58x Profinet STW2_ENC Unsigned 16 bits It is defined as Encoder control word 2 Control word STW2_ENC includes the Control by PLC mechanisms from PROFldrive STW1 and the Controller Sign Of Life mechanism from PROFldrive STW2 Bit Meaning O 0 6 Reserved 8 9 Reserved 0 Control by PLC Controller Sign Of Life Control by PLC Bit 10 If the Compatibility mode is enabled see on page 88 then bit 10 Control by PLC is ignored In this case control word G1 STW and setpoint are always checked If the Compatibility mode is disabled see on page 88 then bit 10 Control by PLC is checked So control word G1 STW and setpoi
133. tandard x OFIBUS DP ROFIBUS PA ff CPU 315 2 PN DP RI etd DECHE Edforiner io Lt DEE g Awo Start IP address MAC add Device type ATIC 400 doe 5 58 19216820180 _00 18 18 16 F0 31__57 300 pnio ATIC PC Based Corirol 300 400 fd ss 5 5 19216820187 1089FE 00 000 LIKAROTACOD hm ATIC PC Station one c2av H DO16 DC24V 05 amp F Fast search a D lt i KEA Flash M Cad ess DOE Slot i Cancel Reset to factory settings Farameter docens Fir Standard Telegram 83 Close ad Press F1 to get Help cha Figure 28 Restoring default values MAN EM58_HS58_HM58 PTE 1 4 58 Getting started li Ka EMx58 Hx58x Profinet The Edit Ethernet Node dialog box will show the identification parameters of the chosen device Now press the Reset button in the Reset to factory settings box below in the dialog box GHW Config SIMATIC 300 1 Configuration Lika Window Help DES Wu g Ha ge Edit Ethernet Node Ethemet node Nodes accessible online DEN MAC address 10 B9 FE 00 00 04 Browse Standard Set IP configuration ij CPU 315 2 PN DP ROFINET IO mz sel parameters 4 IATIC 400 f 5 i na o5 IP address 192 168 20 187 ATIC PC Based Control 300 400 Do not use router ATIC PC Station I Ee Subnet mask 255 255 255 0 H Gong Use router 7 Obtain IP address from a DHCP server p Identified by et
134. ted according to the transferred preset value The new offset value is securely stored in case of voltage breakdown and uploaded again at each power on The Preset command automatically saves the calculated internal offset values NOTE Refer also to the index P65000 Preset value on page 83 to G1 XIST1 preset control on page 86 and to the section 14 2 Preset diagram on page 135 See also the section 15 2 Setting the preset value on page 151 EXAMPLE An example of setting the Preset value is provided on page 126 MAN EM58_HS58_HM58 PTE 1 4 76 Cyclic Data Exchange Standard signals lixa EMx58 Hx58x Profinet Request absolute value cyclically Bit 13 E 1 Request absolute Request of additional cyclic value cyclically transmission of the current absolute position in DI XIST2 Activate parking sensor Bit 14 Bit 14 1 Activate parking Request to stop monitoring the measuring system and the current value measurements in the drive This makes it possible to disconnect the encoder from the line without having to change the drive configuration or causing a fault In this case all current errors of the encoder are cleared The parking of the encoder while the drive is running is not allowed and will result in a sensor interface error error code 0x03 in GI XIST2 See also 14 3 Parking sensor diagram on page 136 Acknowledging a sensor error Bit 15 15 1 Acknowledging a Request
135. terfaces the device name is derived from the short description If several devices of the same type are arranged in the same Profinet IO system Step 7 automatically supplements the name from the GSD file with a serial number The second device is assigned the extension 1 the third device the extension 2 etc MAN EM58_HS58_HM58 PTE 1 4 42 Getting started li a EMx58 Hx58x Profinet Press the Ethernet button in the Node in PROFINET IO system group if you want to assign an IP address different from the one suggested by the system GH Config SIMATIC 300 1 Configuration Lika GY Station Edit Insert PLC View Optior ndow Hal DESE Wi E Ge deuda MO Ww Properties HM General Short description HM CPU SIS Z PR deno ovo sei EE Order No firmware Family Han 6 16384PT xx 7 LIKA ROTACOD H DtiexDco4v H Device name GSD file GSDML V2 25 LIKA 0239 Node in PROFINET IO System ems m n Device number n Multitum encoder 30 bil 16 bit singletum 14 bit multum C g 05 Le A7 IN see AM Ant IP address 192 168 20 187 I Assign IP address via IO controller SIA Aw Comment 7 H Aaf 30 Bit Modele AH E Aarametesocess Fait Properties Ethernet interface HM General Parameters IP address Subnet mask Press F1 to get Help Figure 10 Assigning the IP address MAN EM58_HS58_HM58 PTE 1 4 43 Lika
136. the Synchronization role item select the High performance value in the drop down menu of the IRT option item Confirm pressing the OK button C HW Config SIMATIC 300 1 Configuration Lika De SS HS Hao do da ED CO Wr Properties Interface X1 X m ail General Addresses Synchronization 10 Cycle DP gj cru zis2 Parameter Value f I UPDP I Configuration l r E E Synchronization role Sync slave E in defauit Hoer i et cal SSES j Based Control 300 400 H Pots Station H ong H Do16 DC2 A o o o gt 1 HM PROFINET IO System Ze Cha Figure 37 Setting the sync slave role of the IO device MAN EM58_HS58_HM58 PTE 1 4 101 Real time class communication li Ka EMx58 Hx58x Profinet Now double click the CPU slot 2 in the CPU configuration table to open the CPU properties dialog box The Properties CPU 315 property sheet will appear Enter the Synchronous Cycle Interrupts tabbed page and press the Details button CF HW Config SIMATIC 300 1 Configuration Lika Dezpg EE dn MS Wire a ox Ethemet 1 PROFINET O System 100 End D il Properties CPU 315 2 PNP RO S2 Dee standard EI zn WY PROFIBUS DP 1 Cycle Clock Memory Retentive Memory Interrupts Time of Day Interrupts Cyclic Interr
137. tion help message appears on the display when you move the cursor over the items listed on the left Properties Parameter Access Point General Addresses Parameters z SEES Encoder parameters E Code sequence amp Class 4 Functionality HEJ 81 XIST1 Preset control SI E HE Measuring units 7 Revolution I SI Total measuring range E Maximum tolerated failures of M Class 4 functionality is disabled L s Velocity measuring unit Value CW 0 Enable disable preset command on G1 XIST1 This parameter is ignored if enable 65536 1073741824 1 Steps s Figure 27 Parameter Access Point help messages MAN EM58_HS58_HM58 PTE 1 4 56 Getting started lixa EMx58 Hx58x Profinet 5 5 Resetting the parameters to default factory values Default values are provided to each parameter of the device and are preset at the factory by Lika Electronic engineers The first time you install the encoder it will operate using the default values They allow the operator to run the IO device for standard and safe operation They are plainly not optimized for specific application yet they provide maximum performance for most systems To suit the specific application requirements it may be advisable and even necessary to enter new parameters instead of the factory default settings There could be exceptional circumstances where it would be necessary for you to restore the default values of
138. tion will be between 2 and 2 8 2 8 262144 NOTE When you change the value next to this parameter then you are required to enter a new preset Total measuring range This parameter sets the number of distinguishable steps over the total measuring range Allowed values are equal to or lower than the total hardware resolution value physical multiturn resolution We recommend the Number of revolutions to be set to a power of 2 The set Number of revolutions results from the following calculation Total measuring range Number of revolutions Measuring units Revolution MAN EM58_HS58_HM58 PTE 1 4 89 Acyclic Data Exchange lixa EMx58 Hx58x Profinet Setting the Number of revolutions to a value which is a power of 2 is meant to avoid problems when using the device in endless operations requiring the physical zero to be overstepped If you set the Number of revolutions which is not a power of 2 a so called Red Zone is generated before the physical zero For more detailed information refer to the section 9 5 Red Zone on page 92 Default total hardware resolution min 2 max total hardware resolution NOTE There is no functionality of this parameter if the Scaling function control parameter is disabled EXAMPLE The HM58 PT Profinet encoder has a singleturn resolution of 16 bits 65536 cpr and a multiturn resolution of 14 bits 16384 revolutions the permissible value for the Measuring units Revolution will
139. tnnnntn tnnt 150 Figure 87 Opening the WED ENEE ee EE ee 151 Figure 88 Web server Home D se 152 Figure 89 Confirming the access to the Preset page tenente tnnt 152 Figure 90 Changing the Preset Malte ect eet Eege 153 ouer Preser value stored PRO DCE Vos siistisi ce acta Feud ava cute ciate edit auc tun aiaa 154 Figure 92 Preset ER E d e perte ne rbere portet neon recrutent ama neps 154 Typographic and iconographic conventions In this guide to make it easier to understand and read the text the following typographic and iconographic conventions are used parameters and objects of both Lika device and interface are coloured in ORANGE alarms are coloured in RED States are coloured in FUCSIA When scrolling through the text some icons can be found on the side of the page they are expressly designed to highlight the parts of the text which are of great interest and significance for the user Sometimes they are used to warn against dangers or potential sources of danger arising from the use of the device You are advised to follow strictly the instructions given in this guide in order to guarantee the safety of the user and ensure the performance of the device In this guide the following symbols are used This icon followed by the word WARNING is meant to highlight the parts of the text where information of great significance for the user can be found user must pay the greatest attention to them Instructions must be
140. to acknowledge a sensor error sensor error bit 15 Sensor error of G1 ZSW MAN EM58_HS58_HM58 PTE 1 4 77 Cyclic Data Exchange Standard signals lixa EMx58 Hx58x Profinet G1_ZSW Unsigned 16 bits It is defined as Sensor 1 status word This status word defines the states acknowledgments and error messages of the encoder and its main functions Bit Meaning o O 0 9 Notued o Transmit absolute value cyclically Parking sensor active Sensor error NOTE If bit13 Transmit absolute value cyclically or bit15 Sensor error are not set there is no valid value or error code transferred in G1 XIST2 NOTE Bit 13 Transmit absolute value cyclically and bit 15 Sensor error cannot be set at the same time as they are used to indicate either a valid position value transmission bit 13 or the error code transmission bit 15 in G1 XIST2 NIST A Signed 16 bits It is defined as Current velocity value A Velocity value is calculated every 100 ms Refer also to the parameter Velocity measuring units on page 91 NIST B Signed 32 bits It is defined as Current velocity value B Velocity value is calculated every 100 ms Refer also to the parameter Velocity measuring units on page 91 MAN EM58_HS58_HM58 PTE 1 4 78 Cyclic Data Exchange Standard signals li a EMx58 Hx58x Profinet 9 Acyclic Data Exchange In addition to the Cyclic Data Exchange see the section Cyclic Data Exchange Standard signal
141. u are requested to confirm the operation press OK to continue HomePage Windoves Internet Explorar FS 1 e li q a website certificates Encoderinformation ika Electronic s Profinet encoders web server Encoder position Change the preset value Technical documentation Password protected menus Firmware upgrade Fre Li temet Ae 7 Figure 89 Confirming the access to the Preset page MAN EM58_HS58_HM58 PTE 1 4 152 Integrated web server li Ka EMx58 Hx58x Profinet 4 in the page that appears you have to enter the desired preset value expressed in hexadecimal format please enter the value without the Ox prefix Press ENTER to confirm In the example the value 0x1000 hex 4096 dec is entered The preset value is stored automatically on the non volatile memory you do not need to use the parameter P971 Transfer to non volatile memory Lg intere Figure 90 Changing the Preset value MAN EM58_HS58_HM58 PT E 1 4 153 Integrated web server li Ka EMx58 Hx58x Profinet 5 after completing the operation the following page will appear the preset value has been stored properly on the non volatile memory http 1 92 168 20 1 95 ChangePreset_1 asp fname 1000 Windows Internet Explorer LANA The preset value 021000 has been properly stored in permanent memory Fre ym um gt Figure 91 Preset value stored properly 6 i
142. ubmodule This MAP Submodule contains at least the mandatory Parameter Access Point PAP which is mapped to a dedicated Record Data Object Via the EO representative Submodule MAP and the specified Record Data Object the access to the EO parameter manager is possible The EO parameter manager has access to the EO local Parameter Data Base In addition to the mandatory MAP submodule the EO may contain additional submodules which may be used to represent communication end points for IO Data cyclic data channel and also to structure the IO Data in data blocks telegrams signals represent physical or logical Subobjects of the EO Slot 0 Slot 1 Sub 0 Sub 1 Sub 2 Sub 0 Sub 1 Sub2 SubSlot SubSlot SubSlot SubSlot SubSlot SubSlot 0x8000 0x8001 0x8002 O 1 2 Standard T Telegram T 81 82 83 o or 84 o Lan N LLI O z z dk i E Oo Oo Cex N uw a a p G i Acyclic Cyclic i Data Data Channel Channel ie 2 Bea D Parameter Manager Gees Parameter Data Base MAN EM58_HS58_HM58 PTE 1 4 66 Profinet interface li a EMx58 Hx58x Profinet 7 PROFINET IO data description 7 1 Telegrams A telegram is a rigidly defined bit stream carrying data In each telegram the data length and the type of data which is sent to and from the IO controller is specified PROFINET interface devices communicate and stay in sync by sending each other telegrams The encoder profile suppo
143. upts D PROFIBUS PA 2 Diagnostics Clock Protection Communication Web B PROFINET IO General Startup Synchronous Cycle Interrupts fl SIMATIC 300 amp i SIMATIC 400 Process image pattition s SIMATIC PC Based Control 300 400 leg LAJSFCI2S SFCI27 Delay time B a Genee P oiy 10 systemno Callis required c Dpp 25 fioo 0 000 ps Details o un CPU 315 2 PN DP Ard wee Avg og ATA wer ACA i i 4 IR onec EES7 321 18H02 08A0 5 f dois cess 6ES7 3221BH01 0AA0 J 5 T PROFINET 10 System zd 7 8 S E Figure 38 CPU property sheet MAN EM58_HS58_HM58 PTE 1 4 102 Real time class communication li Ka EMx58 Hx58x Profinet The OB61 dialog box will appear on the screen Set the value 1 next to the Process image partition s item Confirm pressing the OK button NOTE For more information on PIPs Process Image Partitions refer to the section 11 5 PIP Process Image Partition on page 112 3i HW Config SIMATIC 300 1 Configuration Lika De E A fr TET Ethemet 1 PROFINET O System 100 Application Diagnostics Clock e riot EE Factor Data cycle us Application cycle us 1000 000 h ls 1o00 000 Priority D 25 Details jv Automatic settings Time Ti read in process values us Timebase us 0 000 Time To output process values us i Wiel gt 0 UR 4 Y 1 0 10 system no Factor Transmit cycle ps Data cycl
144. ure 35 Setting the Not synchronized role of the IO device 11 3 Real Time class 3 IRT TOP RT3 Isochronous data exchange with PROFINET is defined in the Isochronous Real Time IRT concept IRT communication is always clock synchronized and only possible within an IRT domain Isochronous realtime communication differs from realtime communication mainly in its isochronous behavior the start of a bus cycle can deviate by a maximum of 1 us jitter is less then 1 us This communication is required for example for high accuracy closed loop control tasks Only industrial IRT switches can be used Typical cycle time 1 ms or less All network components must support PROFINET IRT frame priority processing Position values are captured with an accuracy of 1 us or better with respect to the highly accurate bus clock MAN EM58_HS58_HM58 PTE 1 4 99 Real time class communication lixa EMx58 Hx58x Profinet 11 3 1 Setting an isochronous communication To activate the real time class 3 both the IO controller and the IO device must be configured To do this proceed as follows To configure the IO controller Figure 36 double click the PN IO slot X2 to open the PN IO properties dialog box The Properties PN IO property sheet will appear Enter the Synchronization tabbed page and select the Sync master value in the drop down menu of the Synchronization role item select the High performance value in the drop down menu of the IRT option
145. us1esaps Paraneter address subindex ES us1ego Parameter address subindex Format BYTE B 16843 Parameter value data type 0x43 doublw word NIe of value BYTE ps1egi Parameter value nunber of following values Value L832 Parameter value CEER Ero A Zino A 3 Cosseferences A 4 Addessino A 5 Modiy A Diagnostics A 7 Comparison Press F1 to get Help offline Abs lt 5 2 Insert Figure 61 DB1 13 1 4 Data Block 2 DB2 315 2 PN DP DB2 Hmm M Initial value Comment E W Libraries Request reference mirror BYTE Ips1eso Response header mirroring of the request reference Response ID pyre ps1eso Response header x0lerequest parameter 32 0 axis No DO ID mirrorea BYTE Bs1680 Response header axis mirrored 33 0 No_ot_paraneters pyre Bsies0 Response header nunber of parameters 34 0 Format pyre ps1eso Parameter value data type De of value BYTE Bs1ego Parameter valu Value number of following values WORD Dusieso Parameter value parameter value PEN Press F1 to get Help offline Abs lt 5 2 reet Figure 62 DB2 A SModiy Diagnostics MAN EM58_HS58_HM58 PTE 1 4 127 Read amp write in acyclic communication lixa EMx58 Hx58x Profinet 13 1 5 Data Block 3 DB3 E EK SE Gib T r TE DB3 Lika SIMATIC 300 1 CPU 315 2 PNP i Initial value Actu
146. utton in the Node in PROFINET IO system group if you want to assign an IP address different from the one suggested by the system Press the OK button to confirm Download data to the PLC pressing the Download button in the Toolbar Li HW Config SIMATIC 300 1 Configuration Lika Ei d d Des 4 Wy 2 Hn dod MO W re General Short description HM fg CPU 315 2 PN d ww Hop H eoar M Pos H DD d DO16 DC24V 0 Order No firmware Family LIKA ROTACOD Device name GSD fie GSDMLV2 25IKA 0239 RO IP address 182 168 20 187 Se Subnet mask Node in PROFINET IO System Device number hn ox IP address Subnet 192 168 20 189 zial J Module IV Assign IP address via 10 controller gn w Press F1 to get Help Figure 19 Setting the IP address MAN EM58_HS58_HM58 PTE 1 4 50 Getting started li Ka EMx58 Hx58x Profinet If you want to change both the IP address and the subnet mask you can also proceed as follows Press PLC Ethernet and then Edit Ethernet node command in the menu bar of the HW Config window Press the Browse button to find all the nodes connected to the network Select the IO device you want to assign the IP address to The MAC address of the encoder is written on the encoder label Select the LIKA ROTACOD device type and then press the OK button to confirm Gi HW Config
147. y the last three bytes represent a consecutive number of the manufacturer Refer to page 30 Module Modules are user defined components that plug into slots Modules can be real or virtual NRT Non Real Time The non Real Time PROFINET IO Channel Configuration and diagnostic messages are transferred over the NRT Channel Organization block A range of organization blocks 0B are designed to execute the user program OBs are the interface interface between the user program and the operating system of a CPU They permit event controlled processing of special program components within the user program The order in which the user program is executed is defined in the organization blocks Profile Profiles define application specific functionality to ensure the openness of PROFIBUS and PROFINET is utilized consistently PI Profiles can cover simple devices such as encoders by defining how signals are used and how they are physically connected However profiles are increasingly covered more complex systems or requirements Profiles such as PROFldrive and PROFIsafe deliver active functionality as well An advanced profile covering active power management for end devices like lasers and robots is now under development with the aim of bringing significant reductions in energy consumption for the automotive industry Profiles guarantee quicker system design and they support faster device interchange promoting competition amo
148. y interconnecting the interfaces and ports by simply dragging and dropping and establishing properties Enter the Topology Editor dialog box to edit the topology of your Profinet lO System To do so select and right click the Profinet IO system in the HW Config window and then press the PROFINET IO Topology command in the shortcut menu ES HW Config SIMATIC 300 1 Configuration Lika li Station Edit Insert PLC View Options Window Help DGERSM Ey e ae dom MO XA e B8x Ethemet 1 PROFINET IO System 100 Eind Ctrl C Copy SZ PROFIBUS DP Insert Object PROFIBUS PA Edit PROFINET IO System IP addresses a ES PROFINET 10 PROFINET IO Domain Management zB SIMATIC 300 PROFINET IO Topology SIMATIC 400 il SIMATIC PC Based Control 300 400 B SIMATIC PC Station Profile Standard DO16xDC24V 0 E d DITExXDC24V Delete Del t Go To Object Properties Alt Return Assign Asset ID KE Ethemet 1 PROFINET IO System 100 tial feat Device Number IP addres Device Name 192 168 20 HM i PROFINET I0 System ad Edit topology of the current subnet Figure 52 Entering the Topology Editor MAN EM58_HS58_HM58 PTE 1 4 118 Real time class communication li Ka EMx58 Hx58x Profinet The Topology Editor dialog box will appear on the screen As the PROFINET IO system has already been set up and the PROFINET devices
149. you need to install the encoder using a different configuration tool please read and follow carefully the instructions given in the documentation provided by the manufacturer Lika Electronic Profinet encoder documentation is S complete with an example project provided free of goBTIEP charge This program iS designed to make your own eh wu project planning programming communication and ke diagnostics with the STEP 7 V5 5 SP1 development environment user friendly and reliable You can find it in the Lika Step 7 Profinet example project zip compressed file contained in the SW Hx58x PT zip file 5 2 Mac address The MAC address is an identifier unique wordlwide The MAC ID consists of two parts the first 3 bytes are the manufacturer ID and are provided by IEE standard autority the last three bytes represent a consecutive number of the manufacturer NOTE The MAC address is always printed on the encoder label for commissioning purposes The MAC address has the following structure Bit value 47 24 Bit value 23 0 10 B9 FE X X X Company code OUI Consecutive number MAN EM58_HS58_HM58 PTE 1 4 32 Getting started lixa EMx58 Hx58x Profinet 5 3 Encoder installation under STEP 7 environment 5 3 1 Description of the GSDML file The functionality of a PROFINET IO device is always described in a GSDML file This file contains all data that are relevant for engineering as well as for d
Download Pdf Manuals
Related Search
Related Contents
Samsung MV800 Benutzerhandbuch ST.AR90 F4 - Material de Osteosintesis los proyectos hacen los objetos eternos, las modas los 1103-- PACE-WR instruction manual, p.01 Troubleshooting Guide Self Service Applications User Manual - Discount Medical Supply HP LASERJET M1522 User's Manual MicroStorage External Firewire with 3,5" harddrive. 120GB HD465-7E1 HD605-7E1 Copyright © All rights reserved.
Failed to retrieve file