Lika SFA-10000-EC User Manual Download Page 50

SFA-5000 • SFA-10000 EtherCAT

6.1.2 ISO/OSI Layer model

* “Empty” means that the layer behaviour exists, but it is not shown explicitly.

6.1.3 Topology

Several topologies of connection are supported by EtherCAT networks: line, tree,
daisy-chain,   star,   …).   EtherCAT   networks   can   be   configured   in   almost   any
topology in the same structure. The maximum length of the cable between two
Slaves is 100 m (328 ft); standard EtherCAT cables commercially available can be
used.
The choice of the topology depends on the structural characteristics of the plant
and it is made in order to reduce the complexity and time for cabling.
Inside an EtherCAT network up to 65,535 devices can be connected.
Some topology examples are shown in the Figures below:

LINE topology:

MAN SFA_5000_10000_EC E 1.0.odt

6 - EtherCAT® interface

50 of 84

Summary of Contents for SFA-10000-EC

Page 1: ...mplements the CoE protocol and the EtherCAT State Machine Suitable for the following models SFA 5000 EC SFA 10000 EC General Contents 1 Safety summary 16 2 Identification 18 3 Mechanical installation...

Page 2: ...on 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...

Page 3: ...Line Termination 25 4 5 Ground connection 25 4 6 Diagnostic LEDs 26 5 Quick reference TwinCAT 27 5 1 System configuration using TwinCAT software system from Beckhoff 27 5 1 1 Setting the Network Card...

Page 4: ...63 1018 Identity 64 01 Vendor ID 64 02 Product code 64 03 Revision 64 04 Serial number 65 1A00 01 TxPDO mapping 65 01 Mapped Object 001 65 1C00 Sync Manager Communication Type 65 01 SM MailBox Receiv...

Page 5: ...r of turns 78 6503 00 Errors 78 6504 00 Supported errors 78 6505 00 Warnings 78 6506 00 Supported warnings 78 Flash memory error 79 6509 00 Offset value 79 6 2 6 SDO Abort codes 80 6 2 7 Emergency Err...

Page 6: ...ng status 77 6501 00 Hardware counts per revolution 77 6502 00 Hardware number of turns 78 6503 00 Errors 78 6504 00 Supported errors 78 6505 00 Warnings 78 6506 00 Supported warnings 78 6509 00 Offse...

Page 7: ...nt 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 followed strictly in order to...

Page 8: ...of the moving equipment causes the wire to reel and unreel and thus the linear movement to be converted into a rotary motion detected by the encoder which is coupled to the drum The stroke per turn is...

Page 9: ...network device Application process Part of a distributed application on a network which is located on one device and unambiguously addressed Application relationship Cooperative association between tw...

Page 10: ...f messages across the network Connection Logical binding between two application objects within the same or different devices Consume Act of receiving data from a provider Consumer Node or sink receiv...

Page 11: ...l element and or a final element transducer actuator etc Device profile Collection of device dependent information and functionality providing consistency between similar devices of the same device ty...

Page 12: ...chine Interface Host Device that covers the automation functionality of an automation device I O data Input data and output data that would typically need to be updated on a regular basis e g periodic...

Page 13: ...connected by some type of communication medium including any intervening repeaters bridges routers and lower layer gateways Node Single DL entity as it appears on one local link End point of a link i...

Page 14: ...stems Reference variable Input variable to a comparing element in a controlling system which sets the desired value of the controlled variable and is deducted from the command variable Resource Proces...

Page 15: ...Synchronous with SM3 In this mode data is sampled and then copied into Sync Manager buffer as soon as previous data was read from the Master SM event in this way new sampled data is synchronous with...

Page 16: ...on in the 4 Electrical connections section on page 23 in compliance with 2014 30 EU norm on electromagnetic compatibility following precautions must be taken before handling and installing the equipme...

Page 17: ...ronmental characteristics of the product we suggest installing the unit providing protection means against waste especially swarf as turnings chips or filings should this not be possible please make s...

Page 18: ...rder code and the serial number when reaching Lika Electronic For any information on the technical characteristics of the product refer to the technical catalogue Warning encoders having order code en...

Page 19: ...trical connection and maintenance operations must be carried out by qualified personnel only with power supply disconnected Mechanical components must be in stop 3 1 Overall dimensions Values are expr...

Page 20: ...the provided M6 nuts 2 WARNING We suggest installing the unit providing protection means against waste especially swarf as turnings chips or filings should this not be possible please make sure that a...

Page 21: ...200 mm 7 874 the maximum number of turns is 25 for SFA 5000 and 50 for SFA 10000 EXAMPLE 1 SFA 5000 EC 8192 M12 using the physical resolution Scaling function in 6000 00 Operating parameters 0 Stroke...

Page 22: ...revolutions 6002 00 Total Measuring Range 4 096 6001 00 Units per revolution Linear resolution 0 1 mm 100 m Max number of turns of the drum 50 Max measuring length 10 000 mm 393 7 Number of informati...

Page 23: ...the technical catalogue Figure 1 Connectors and diagnostic LEDs 4 1 M12 connectors The connection cap is fitted with three M12 connectors with pin out in compliance with the EtherCAT standard Therefor...

Page 24: ...ccording to IEEE 802 3 remains intact right up to the individual device no sub bus is required In order to meet the requirements of a modular device like an electronic terminal block the physical laye...

Page 25: ...automatically in fact every Slave is able to detect the presence of the downstream Slaves For complete information refer to the 6 1 4 Line Termination section on page 51 4 5 Ground connection To mini...

Page 26: ...wed by a long OFF phase 1000 ms L A Link Activity yellow It shows the state of the physical links IN and OUT and the activity in the links OFF condition port closed link YES activity N A FLICKERING co...

Page 27: ...Device profile for encoders documents available at the address www can cia org For any omitted specification on EtherCAT protocol please refer to ETG 1000 EtherCAT Specification documents available at...

Page 28: ...and show the list of the installed devices Select the network card you want to use and then confirm the choice pressing the OK button If there are no network cards installed you must install one befor...

Page 29: ...ation of TwinCAT RT Ethernet Adapter window will appear Now select the Compatible Devices item and choose the network card you want to install finally press the Install button to confirm your choice M...

Page 30: ...es If devices are connected to the network and switched ON right click the Device 1 EtherCAT item in the left pane of the TwinCAT System Manager main window and press the Scan Boxes command MAN SFA_50...

Page 31: ...re here below If devices are not already connected to the network it is necessary to use the XML file supplied with the draw wire encoder Lika_SFA_XXXXX_ECx_Vx xml V6 or higher see at www lika biz ROT...

Page 32: ...tem in the left pane of the TwinCAT System Manager main window some tabbed pages for configuring and managing the device will appear in the right pane Enter the CoE Online page and refer to the 1009 0...

Page 33: ...he Insert EtherCAT Device window will appear In the Insert EtherCAT Device window that appears select Lika Electronic srl and then EtherCAT Encoder items now choose from the list the encoder you want...

Page 34: ...es for configuring and managing the device will appear in the right pane Enter DC page Select the Synchronous with SM3 Inputs option in the Operation Mode box For any further information on the Synchr...

Page 35: ...box Then press the Advanced Settings button The Advanced Settings window will appear In the section tabbed SYNC 0 set the cycle time next to the Sync Unit Cycle box sync time is calculated as multipl...

Page 36: ...e tabbed pages for configuring and managing the device will appear in the right pane Enter the Process Data page In this page process data objects TxPDO Mapping are shown Process data objects can be d...

Page 37: ...managing the device will appear in the right pane Enter the CoE Online page In this page the Object Dictionary is shown This is the offline version of the objects dictionary as read from the XML file...

Page 38: ...n real time click the Safe OP button if you want to display inputs only click the OP button if you want to display both inputs and outputs WARNING The structure of Data Objects PDO and SDO requires by...

Page 39: ...t then install the XML file version V6 WARNING It is mandatory that in an EtherCAT network all devices are provided with the same version of the firmware EEProm and XML file So when you need to replac...

Page 40: ...the HEX Editor item 3 Press the Read from File button and select the BIN file provided by Lika Electronic to upgrade the EEProm please make sure you select the file suitable for the model you need to...

Page 41: ...previous Advanced Settings page and press the Download button Now wait until the EEProm writing process is carried out The progress bar below in the page displays the progress of the operation As soo...

Page 42: ...XXXX EC items in the list Select each box and then press the DEL key in the PC keyboard Press OK to confirm 7 In the left pane of the TwinCAT System Manager main window select and right click the Devi...

Page 43: ...SFA 10000 EtherCAT 8 At the end of the scanning process all the devices available in the network are listed as shown in the Figure here below MAN SFA_5000_10000_EC E 1 0 odt 5 Quick reference TwinCAT...

Page 44: ...upgrade all the encoders in the network to the last version compatible with the new encoder or you must downgrade the new encoder to the older version compatible with the encoders already installed in...

Page 45: ...d pages for configuring and managing the device will appear in the right pane Enter the Online page 2 Press the Bootstrap button in the State Machine box in the BOOT state the encoder is ready to acce...

Page 46: ...must select the file ECATFW_SFA_Hx_Sy efw finally press the Open button NOTE In the EFW file Hx is the hardware version of the encoder while Sy is the software version 4 In the Edit FoE Name page tha...

Page 47: ...the Online page in the TwinCAT System Manager main window and press the Pre Op button in the State Machine box if everything is ok the encoder enters the PREOPERATIONAL state the PREOP message appear...

Page 48: ...can be viewed as a single and large Ethernet device that receives and sends Ethernet telegrams it can be considered an Ethernet subnet supported by an Ethernet dataframes structure However this subnet...

Page 49: ...ire all data from all Slaves In fact the frame sent by the Master is read by each Slave node the data is addressed to while the telegram passes through the device similarly input data is inserted whil...

Page 50: ...in the same structure The maximum length of the cable between two Slaves is 100 m 328 ft standard EtherCAT cables commercially available can be used The choice of the topology depends on the structur...

Page 51: ...ect the signal in its return line then it closes the communication ring by short circuiting the TX signal of its outgoing line with the RX signal of its return line in this way a telegram received thr...

Page 52: ...cal position of the Slave inside the network while 16 bits are scheduled for local memory addressing when the Slave receives the frame then it increments the position address and the Slave receiving a...

Page 53: ...ter a certain time and the measure of the variability over time is the jitter FreeRun Asynchronous mode the encoder position is sampled directly from EtherCAT frame sent by the Master the position upd...

Page 54: ...s See the 1C33 SM input parameter entry on page 66 Synchronous with DC SYNC0 In this operating mode data is sampled and then copied into Sync Manager buffer simultaneously at SYNC0 event generated by...

Page 55: ...re is not direct communication between the Master and the Slave on the Application Layer some configuration registers are initialized and the Sync Managers are configured PRE OPERATIONAL PREOP in this...

Page 56: ...his goal can be achieved by using distributed clocks The Master downloads its clock into one of the Slaves customarily the first Slave which becomes the reference clock for all the Slaves in the netwo...

Page 57: ...th the Master and the Slave for writing and reading the Master or the Slave is enabled to write only when the buffer is empty that is when the Slave or the Master has finished reading the data buffer...

Page 58: ...SFA 5000 SFA 10000 EtherCAT It contains the TxPDOs i e Sync Manager 3 holds the Write Process Data MAN SFA_5000_10000_EC E 1 0 odt 6 EtherCAT interface 58 of 84...

Page 59: ...G 1000 EtherCAT Specification document available at the address www ethercat org 6 2 1 XML file EtherCAT draw wire encoders are supplied with their own XML file Lika_SFA_XXXXX_ECx_Vx xml V6 or higher...

Page 60: ...O response 4 Transmitted PDO TxPDO 5 Received PDO RxPDO 6 Remote transmission request of TxPDO 7 Remote transmission request of RxPDO 8 SDO information 9 15 reserved Cmd specific data PDO messages are...

Page 61: ...maximum of 65 536 entries The user related objects are grouped in two main areas the Communication Profile Area and the Standardised Device Profile Area The objects are all described in the XML file...

Page 62: ...2 1 0 MSbit LSbit Signed16 Unsigned16 data type Process data bytes byte 4 byte 5 7 0 15 8 LSByte MSByte Signed32 Unsigned32 data type Process data bytes byte 4 byte 5 byte 6 byte 7 7 0 15 8 23 16 31 2...

Page 63: ...hardware version 2 100A 00 Software version String ro It shows the software version of the device expressed in ASCII code Default 533036h S06 software version 6 1010 01 Store parameters Unsigned32 rw...

Page 64: ...saved are lost 1018 Identity Unsigned8 ro This object contains general information about the device Sub Index 00 contains the number of entries Default 4 01 Vendor ID Unsigned32 ro It provides the man...

Page 65: ...object describes the content of the PDO by its index sub index and length The length contains the length of the application object in bits This may be used to verify the mapping 7 0 15 8 23 16 31 24 L...

Page 66: ...dex 00 specifies the number of entries i e the number of assigned TxPDOs 01 SubIndex 001 Unsigned32 ro This device uses TxPDO messages to send the position value Default 0000 1A00h 1A00 01 TxPDO mappi...

Page 67: ...d bit 2 Synchronous with DC SYNC0 supported Default 7 05 Minimum cycle time Unsigned32 ro Max duration of the encoder internal cycle time This parameter is calculated dynamically and depends on the op...

Page 68: ...the bit 0 Code sequence of the 6500 00 Operating status object see on page 77 WARNING Every time you change the Code sequence then you are required to set a new preset value see the 6003 00 Preset va...

Page 69: ...2 00 Total Measuring Range objects that are consistent with the physical values In the case of inconsistent values the system will warn about the wrong parametrization and fault condition by means of...

Page 70: ...554 43210 8 192 cpr 4 096 rev Let s set a new singleturn resolution for instance 6001 00 Units per revolution 360 cpr If we do not change the 6002 00 Total Measuring Range value at the same time we wi...

Page 71: ...whatever integer value less than or equal to the overall hardware resolution see the encoder identification label The overall hardware resolution results from 6501 00 Hardware counts per revolution 65...

Page 72: ...4 217 728 information Physical linear resolution 0 024 mm 24 m Max number of turns of the drum 25 Max measuring length 5 000 mm 196 85 Number of information 204 800 Let s suppose that we need a tenth...

Page 73: ...e 10 6001 00 Units per revolution In this case you will obtain several 20 000 information sections following each other all along the whole measuring length The position information will be from 0 to...

Page 74: ...he position is physical or scaled 6003 00 Preset value 6509 00 Offset value If you never set the 6003 00 Preset value and you never performed the preset setting then the transmitted value and the read...

Page 75: ...value object and perform the preset operation every time you change the Code sequence or the scaled values 6001 00 Units per revolution and or 6002 00 Total Measuring Range objects 6004 00 Position v...

Page 76: ...the bit 2 Scaling function in the 6000 00 Operating parameters object 0 The physical singleturn resolution of the measuring device is 8 192 cpr 0 024 mm see the order code in the product datasheet As...

Page 77: ...the counting direction function refer to the 6000 00 Operating parameters object on page 68 Scaling function It shows the value that is currently set through the bit 2 Scaling function in the 6000 00...

Page 78: ...ysical revolutions The Total hardware resolution results from 6501 00 Hardware counts per revolution 6502 00 Hardware number of turns If you want to set a custom number of revolutions see the 6001 00...

Page 79: ...he value in this object you must upload the factory default values see the 1011 01 Restore default parameters object on page 63 For any further information on the preset function and the meaning and u...

Page 80: ...ibility reason 0604 0047h General internal incompatibility in the device 0606 0000h Access failed due to a hardware error 0607 0010h Data type does not match length of service parameter does not match...

Page 81: ...ONAL to OPERATIONAL not successful Encoder errors 5000hex Hardware error 5001hex Diagnostic data wrong parameters loaded from flash memory Error Register EtherCAT state machine current status ESM Diag...

Page 82: ...te using the protocol File over EtherCAT FoE For any specification on FoE protocol please refer to ETG 1000 EtherCAT Specification document available at the address www ethercat org Please refer also...

Page 83: ...00 00 Operating parameters 0100h Bit 0 Code sequence 1 count up information when pulling the cable out Bit 2 Scaling function 0 disabled 6001 00 Units per revolution 0000 2000h 8 192 cpr 6002 00 Total...

Page 84: ...Release date Description HW SW XML file version 1 0 22 01 2018 First issue 2 6 From release V6 to Lika Electronic Via S Lorenzo 25 36010 Carr VI Italy Tel 39 0445 806600 Fax 39 0445 806699 info lika...

Reviews: