Programmable encoder with analogue interface, current and voltage programmable outputs, 24 bit resolution 4,096 cpr x 16,384 rev., programmable scaling and teach-in function, programmable overrun mode, solid and hollow shaft versions, free-of-charge progr (60 pages)
27-bit multiturn/18-bit singleturn/30-bit multiturn encoder for standard purposes/high precision demands/high end applications m12 connectors (104 pages)
Summary of Contents for Lika EXM58 EP
Page 1
User's guide Smart encoders & actuators EXM58 EP EXO58 EP • EXM58 up to 30-bit multiturn encoder for standard purposes • EXO58 up to 30-bit multiturn encoder for high end applications • In compliance with ODVA specification, edition April 2023 •...
Page 2
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.
Page 3
5.1.1 Setting the node address............................50 5.1.2 Setting scaling function and custom resolution...................50 5.1.3 Reading the absolute position..........................51 5.1.4 Reading the velocity value............................51 5.1.5 Setting and executing the preset.........................51 5.1.6 Saving data..................................52 5.1.7 Restoring defaults...............................52 5.2 About Lika encoders................................53 5.2.1 Network identity................................54...
Page 4
5.2.2 Network and communication settings......................54 5.3 Configuring the encoder with Studio 5000 V30.00 from Rockwell Automation........55 5.4 MAC address..................................55 5.5 Encoder installation under Studio 5000 design environment.................56 5.5.1 Description of the EDS file............................56 5.5.2 Configuring the network interface controller (NIC) of the computer..........57 5.5.3 Networking the PC and the Controller......................60 5.5.4 Configuring the driver..............................60 5.5.5 Starting a new project..............................62...
Page 5
Extended device status............................95 Minor recoverable fault............................95 Minor unrecoverable fault............................95 Major recoverable fault............................95 Major unrecoverable fault............................95 01-01-06 Serial number............................96 01-01-07 Product name............................96 01-01-08 State................................96 Nonexistent...................................96 Device Self Testing..............................96 Standby....................................96 Operational..................................96 Major Recoverable Fault............................96 Major Unrecoverable Fault...........................96 01-01-09 Configuration Consistency Value....................97 01-01-13 Protection Mode............................97 6.12.2 Class 02h: Message Router Object........................99 6.12.2.1 Supported Class Services..........................99...
Page 6
6.12.4.2 Class Attributes..............................105 06-01 Revision................................105 06-02 Max Instance..............................105 06-03 Number of Instances..........................106 06-06 Maximum ID Number Class Attributes...................106 06-07 Maximum ID Number Instance Attributes..................106 6.12.4.3 Supported Instance Services........................106 6.12.4.4 Instance Attributes............................106 06-01-01 Open Requests............................106 6.12.5 Class 23h: Position Sensor Object........................107 6.12.5.1 Supported Class Services..........................107 6.12.5.2 Class Attributes..............................107 23-01...
Page 7
Offset Value exceeded............................121 23-01-68 Command Register..........................122 Activate Preset................................122 Save Parameters...............................123 Restore Parameters to Defaults........................123 23-01-69 Warning/Alarm Flags.........................124 23-01-6A Encoder Serial Number........................124 6.12.6 Class 43h: Time Sync Object..........................125 6.12.6.1 Supported Class Services..........................125 6.12.6.2 Class Attributes..............................125 43-01 Revision................................125 43-02 Max Instance..............................125 43-03 Number of Instances..........................125 43-06 Maximum ID Number Class Attributes...................125...
Page 8
43-01-13 Clock Type..............................130 43-01-14 Manufacturer Identity........................131 43-01-15 Product Description..........................131 Size....................................131 Description..................................131 43-01-16 Revision Data............................131 Size....................................131 Revision..................................131 43-01-17 User Description............................132 Size....................................132 Description..................................132 43-01-18 Port Profile Identity Info.........................132 43-01-19 Port Physical Address Info......................132 43-01-1A Port Protocol Address Info......................133 43-01-1B Steps Removed............................133 43-01-1C System Time and Offset........................133 43-01-1D Associated Interface Objects......................133...
Page 9
48-07 Maximum ID Number Instance Attributes..................138 6.12.8.3 Supported Instance Services........................139 6.12.8.4 Instance Attributes............................139 48-01-01 802.1Q Tag Enable..........................139 48-01-02 DSCP PTP Event.............................139 48-01-03 DSCP PTP General..........................139 48-01-04 DSCP Urgent............................140 48-01-05 DSCP Scheduled............................140 48-01-06 DSCP High..............................140 48-01-07 DSCP Low..............................140 48-01-08 DSCP Explicit............................141 6.12.9 Class F5h: TCP/IP Interface Object........................142 6.12.9.1 Supported Class Services..........................142 6.12.9.2 Class Attributes..............................142...
Page 10
Domain Name................................148 F5-01-06 Host Name..............................148 F5-01-07 Safety Network Number........................148 F5-01-08 TTL Value..............................148 F5-01-09 Mcast Config............................149 Alloc Control................................149 Num Mcast..................................149 Mcast Start Addr..............................149 F5-01-0A SelectAcd..............................150 F5-01-0B LastConflictDetected..........................150 AcdActivity..................................150 RemoteMAC................................150 ArpPDU...................................150 F5-01-0C EtheNet/IP QuickConnect........................150 F5-01-0D Encapsulation Inactivity Timeout....................150 F5-01-0E IANA Port Admin...........................151 6.12.10 Class F6h: Ethernet Link Object........................152 6.12.10.1 Supported Class Services..........................152 6.12.10.2 Class Attributes.............................152...
Page 11
Single Collisions...............................155 Multiple Collisions..............................155 SQE Test Errors................................155 Deferred Transmissions............................155 Late Collisions................................155 Excessive Collisions..............................155 MAC Transmit Errors.............................155 Carrier Sense Errors...............................155 Frame Too Long................................156 MAC Receive Errors..............................156 F6-01-06 Interface Control...........................156 Control Bits.................................156 Auto-negotiate...............................156 Forced Duplex Mode............................156 Forced Interface Speed............................156 F6-01-07 Interface Type............................157 F6-01-08 Interface State............................157 F6-01-09 Admin...
Page 13
7.1 Integrated web server – Preliminary information....................173 7.2 Web server Home page..............................174 7.3 Encoder position and speed............................175 7.3.1 Specific notes on using Internet Explorer......................176 7.4 Setting the attributes..............................177 7.5 Encoder information (EtherNet/IP attributes)......................179 7.6 Firmware update................................180 7.7 Network configuration..............................184 8 Default parameters list..............................186 8.1 Attributes of the Class 01h Identity Object......................186 8.2 Attributes of the Class 23h Position Sensor Object...................186...
Page 14
Subject index 109-01-01 LLDP Enable..........160 109-01-02 MsgTxInterval..........160 01-01 Revision..............91 109-01-03 MsgTxHold..........160 01-01-01 Vendor ID............92 109-01-04 LLDP Datastore........160 01-01-02 Device type............93 109-01-05 Last Change..........160 01-01-03 Product code..........93 109-02 Max Instance...........159 01-01-04 Revision............93 109-03 Number of Instances........159 01-01-05 Status...............93 109-06 Maximum ID Number Class Attributes159 01-01-06 Serial number..........95 109-07 Maximum ID Number Instance Attributes 01-01-07 Product name..........95...
Page 15
401-02 Max Instance...........161 43-01-1D Associated Interface Objects....132 401-03 Number of Instances........161 43-01-300 Sync Parameters........133 401-06 Maximum ID Number Class Attributes162 43-02 Max Instance.............124 401-07 Maximum ID Number Instance Attributes 43-03 Number of Instances........124 ..................162 43-06 Maximum ID Number Class Attributes...124 402-01 Revision.............167 43-07 Maximum ID Number Instance Attributes 402-01-01 Status............168...
Page 16
Carrier Sense Errors............154 F6-01 Revision..............151 Change of State.............165 F6-01-01 Interface Speed..........152 Clock Class............126 e seg. F6-01-02 Interface Flags..........152 Clock Identity.............126 e seg. F6-01-03 Physical Address........153 Configuration Connection Point......164 F6-01-04 Interface Counters........153 Configuration Method..........144 F6-01-05 Media Counters.........154 Configuration Settable..........143 F6-01-06 Interface Control........155 Configured................93 F6-01-07 Interface Type..........156 Connection Type............166...
Page 17
Partial Network Fault...........135 Path..................146 MAC Receive Errors............155 Path size................146 MAC Transmit Errors............154 Port Number..............127 Major recoverable fault..........94 Position error..............116 Major Recoverable Fault..........95 Position Warning............117 Major unrecoverable fault...........94 Preset Value exceeded..........120 Major Unrecoverable Fault...........95 Priority 1................126 Manual Setting Requires Reset.....152, 157 Priority 2................126 Manual Speed/Duplex..........158 Producer Connection Point........164...
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 both of the device and the interface are colored in GREEN; • alarms are colored in RED;...
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 equipped with EtherNet/IP interface: EXMxxx-13-14-EP4-... (multiturn encoder 13 + 14 bits) EXMxxx-18-12-EP4-... (multiturn encoder 18 + 12 bits) EXOxxx-18-00-EP4-...
Page 20
Glossary of EtherNet/IP terms EtherNet/IP, 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 Ethernet/IP interface. They are listed in alphabetical order. Adapter Devices such as drives, controllers, and computers usually require an adapter to provide a communication interface...
Page 21
A class contains the objects that relate to a device, they are organized in instances. Ethernet/IP encoders from Lika supports the following classes: Identity Object (Class Code 01h); • Message Router Object (Class Code 02h);...
Page 22
establishes a virtual circuit between end points for transfer of data. Node resources are reserved in advance of data transfer and are dedicated and always available. Connected messaging reduces data handling of messages in the node. Connected messages can be Implicit (I/O) or Explicit. Connection Connections are established Connection Originators using the ForwardOpen service and closed by using the ForwardClose...
Page 23
EDS files describe a product device type, revision, and configurable parameters. EDS files can be downloaded from Lika web site. EDS File An Electronic Data Sheet (EDS) is an ASCII text file that...
Page 24
Explicit Message Client An explicit message client initiates request/response oriented communications with other devices. Examples of explicit message clients are HMI devices, programming tools, or PC or Linux based applications that gather data from control devices. Explicit Message Server An explicit message server responds to request/response oriented communications initiated by explicit message clients.
Page 25
Output is transmitted by the controller and consumed by the device. Input is transmitted by the device and consumed by the controller. I/O Messaging Used interchangeably with the term Implicit Messaging. I/O Scanner An I/O scanner initiates implicit connections with I/O adapter devices, i.e., it is an I/O Client.
Page 26
four segments of one byte each. It appears as four decimal integers separated by periods (xxx.xxx.xxx.xxx). Each “xxx” can have a decimal value from 0 to 255. For example, an IP address could be 192.168.0.1. An IP address has two parts: a network ID and a host ID.
Page 27
Ethernet destination addresses. See Producer/Consumer Communications Model. Object A CIP node is modeled as a collection of Objects. An Object provides an abstract representation of a particular component within a product. The realization of this abstract object model within a product is implementation dependent. In other words, a product internally maps this object model in a fashion specific to its implementation.
Page 28
classes or the attributes of a class or to generate specific events. Slave EtherNet/IP does not use Master/Slave technology or terminology. Subnet Mask A subnet mask is an extension to the IP addressing scheme that lets you use a single network ID for multiple physical networks.
List of abbreviations Table below contains a list of abbreviations (in alphabetical order) which may be used in this guide to describe the EtherNet/IP interface. Actual Packet Interval ASCII American Standard Code for Information Interchange ASN.1 Abstract Syntax Notation The Common Industrial Protocol defined in this volume of the CIP Networks Library.
Page 30
References THE CIP NETWORKS LIBRARY, Volume 1, Common Industrial Protocol (CIP™), Edition 3.34, April 2023 THE CIP NETWORKS LIBRARY, Volume 2, EtherNet/IP Adaptation of CIP, Edition 1.32, April 2023...
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 assumes no liability for the customer's failure to comply with these requirements. 1.2 Electrical safety ...
Page 32
EXM58 • EXO58 EtherNet/IP encoder. We suggest using the ground point provided in the housing, use one TCEI UNI M3 x 6 cylindrical head screw with two tooth lock washers. 1.3 Mechanical safety Install the device following strictly the information in the “3 -Mounting instructions”...
Page 33
MAC address printed on the label applied to its body. Information is listed in the delivery document too. Please always quote the order code, the serial number and the MAC address when reaching Lika Electronic for purchasing spare parts or needing assistance. For any information on the technical characteristics of the product refer to the technical catalog.
EXM58 • EXO58 EtherNet/IP Mounting instructions 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.
Page 35
EXM58 • EXO58 EtherNet/IP 3.1.2 Installation using fixing clamps (code LKM386) a [mm] b [mm] c [mm] d [mm] EXM58, EXO58 50 F7 EXM58S, EXO58S 36 H7 3.1.3 Installation using a mounting bell (code PF4256) EXM58S, EXO58S encoders only NOTE In order to guarantee reliability over time of the encoder mechanical parts, we recommend a flexible coupling to be installed between the encoder and the motor shaft.
Page 36
• insert the M4 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; • fix the collar to the encoder shaft (apply threadlocker to M2.5 screw 3).
Page 37
EXM58 • EXO58 EtherNet/IP 3.2.2 EXM59C, EXO59C • Mount the encoder on the motor shaft using the reducing sleeve 6 (if supplied). Avoid forcing the encoder shaft; • fasten the fixing plate 4 to the rear of the motor using two M3 cylindrical head screws 5;...
EXM58 • EXO58 EtherNet/IP Electrical connections WARNING Power supply must be turned off before performing any electrical connection! Installation, electrical connection, and maintenance operations must be carried out by qualified personnel only, with power supply disconnected. Mechanical components must be in stop. Do not remove the plug A on the rear of the encoder unless otherwise indicated.
Page 39
EXM58 • EXO58 EtherNet/IP WARNING Connect +Vdc and 0Vdc and check the power supply is correct first before connecting the communication ports. 4.2 P1 Port 1 and P2 Port 2 connectors (Figure 1) Two M12 4-pin female connectors with D coding are used for Ethernet connection through port 1 and port 2.
Page 40
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.
Page 41
EXM58 • EXO58 EtherNet/IP 4.6 Connection of the shield Disentangle and shorten the shielding 1 and then bend it over the part 2; finally place the ring nut 3 of the connector. Be sure that the shielding 1 is in tight contact with the ring nut 3.
Page 42
EXM58 • EXO58 EtherNet/IP The following table summarizes the default software IP parameters. IP Parameter IP address IP address 192.168.1.10 Subnet mask 255.255.255.0 Gateway address 0.0.0.0 DHCP Disabled As an alternative, the node address can be set via hardware by using the DIP switch located inside the enclosure.
Page 43
EXM58 • EXO58 EtherNet/IP Value 0 (00000000 ) means that the system uses the software IP address, Subnet mask, and Gateway address that are saved internally (default value, see the “4.8.1 Setting the node ID via software” section on page 42). Value 255 (11111111 ) enables the use of a DHCP Server.
Page 44
EXM58 • EXO58 EtherNet/IP 4.9 Diagnostic LEDs (Figure 1) Five LEDs located in the rear of the encoder (see Figure 1) are meant to show visually the operating or fault status of the encoder and the EtherNet/IP interface. The meaning of each LED is explained in the following tables. MS Module Status LED (green / red)
Page 45
EXM58 • EXO58 EtherNet/IP NS Network Status LED (green / red) It shows the current state of the network. Description • The device is switched OFF. • No IP address has been set, the device has not an IP address. The device is connected, an IP address is configured, at least one CIP connection (any transport class) is green...
Page 46
EXM58 • EXO58 EtherNet/IP PWR Power LED (green / red) It shows the power supply and system state. It is also referred to as SYS (System) LED. PWR LED Description Meaning The encoder power supply is switched Power OFF OFF. No supply voltage for the device or hardware fault.
Page 47
EXM58 • EXO58 EtherNet/IP L/A Link/Activity LED for port 1 P1 (green / yellow) It shows the state and the activity of the physical link (port 1 P1). Description Meaning The device has no link to the Ethernet, the link through port 1 P1 is not active. No link There is no activity on port 1 P1, the No activity...
Page 48
The B tactile switch is located inside the enclosure. You must remove the A plug (see Figure 1) to access it. It has no useful function to the operator under normal usage conditions, so never press it unless specifically requested by Lika Electronic's technicians.
EXO58 18 bit singleturn encoders; ◦ Lika EXO5XX-16-14-EP_vx_x.eds: it is intended for installation of EXO58 30 bit multiturn encoders. in the software tool insert the Lika module and select the encoder type, • see on page 66 ff; in the software tool set the device name, see on page 66 ff;...
Page 50
IP address and the subnet mask to the node, see here • later for alternative setting modes; the default address (software address) set by Lika is 192.168.1.10; the attributes used to specifically configure the encoder are grouped in •...
Page 51
EXM58 • EXO58 EtherNet/IP You can also use the Integrated Web Server, see the “7.4 Setting the attributes” section on page 177; or a software tool, see the “5.5.11 Configuring the encoder” section on page 69; on the contrary, if you need a custom resolution, you must enable the •...
Page 52
EXM58 • EXO58 EtherNet/IP Use the Test_EXM1314_Lika.acd sample program, you can find it in the • Examples_EXM1314_EP.zip compressed file. Refer also to the “5.5.12 How to create a sample program and send the parameters” section on page 69. 5.1.6 Saving data To save the parameters permanently you can choose among the following methods.
Page 53
EXM58 • EXO58 EtherNet/IP 5.2 About Lika encoders Lika encoders are 22 hex type devices and comply with the specifications reported in the Chapter 6 “Device Profiles, Encoder Device Type 22 hex” of the publication “THE CIP NETWORKS LIBRARY, Volume 1, Common Industrial Protocol (CIP™)”.
Page 54
EXM58 • EXO58 EtherNet/IP 5.2.1 Network identity Lika EtherNet/IP encoders use the following identity settings available in the Identity Object, see the “6.12.1 Class 01h: Identity Object” section on page 92: Identity Name: Vendor ID 01-01-01 Vendor ID Attribute: Setting: 0299h = 665dec = Lika Electronic Srl...
Page 55
In the following pages the Controller is assumed to have 192.168.1.20 IP address and 255.255.255.0 Subnet mask. Lika Electronic EtherNet/IP encoder documentation is complete with a sample project supplied free of charge. This program is designed to make your own...
Page 56
It must be installed in the Controller. EtherNet/IP encoders from Lika Electronic are supplied with their own EDS file. Specific EDS files are provided to each encoder model, please refer to the order code: EXM58-13-14-...
Page 57
EXM58 • EXO58 EtherNet/IP 5.5.2 Configuring the network interface controller (NIC) of the computer To set the computer’s IP address in Windows, type network and sharing into the Search box in the Start menu and select Network and Sharing Center when the Control Panel comes up.
Page 58
EXM58 • EXO58 EtherNet/IP Right-click on your local adapter and select Properties. Figure 6 - Local Area Connection properties In the Local Area Connection Properties window highlight Internet Protocol Version 4 (TCP/IPv4) , then click the Properties button. Figure 7 - Internet Protocol Version 4 properties MAN EXM58_EXO58 EP E 1.0.odt Quick reference 58 of 188...
Page 59
EXM58 • EXO58 EtherNet/IP Now select the Use the following IP address radio button and enter in the correct IP, Subnet mask, and Default gateway that corresponds with your network setup. Then, if required, enter your Preferred and Alternate DNS Server addresses.
Page 60
EXM58 • EXO58 EtherNet/IP 5.5.3 Networking the PC and the Controller Use a Category 5 minimum cable to network the Ethernet port of the PC to the Ethernet port of the Controller. 5.5.4 Configuring the driver Launch the RSLinx Classic communication software and then open RSWho by pressing Communication and then the RSWho command.
Page 61
EXM58 • EXO58 EtherNet/IP Now right-click the driver you have just installed and press Configure Driver. Figure 10 - Configure Driver In the Configure Driver dialog box, select the network interface controller you configured and connected to the PLC; finally press OK to confirm. Figure 11 - Browse Local Subnet MAN EXM58_EXO58 EP E 1.0.odt Quick reference...
Page 62
EXM58 • EXO58 EtherNet/IP 5.5.5 Starting a new project Double-click on the Studio 5000 icon on your Desktop to launch Studio 5000 software. The Studio 5000 Splash Screen appears. Select New Project under the Create section. Figure 12 - Studio 5000 New Project When the New Project pop-up is displayed, select Logix and the type of controller (such as “1769-L16ER-BB1B”, in the example).
Page 63
EXM58 • EXO58 EtherNet/IP Press the Next button and then set the Revision and the Expansion I/O settings. Finalize by pressing the Finish button. Figure 14 - Controller's settings 5.5.6 Installing the EDS file To manually register the EDS files of the encoder in the EDS Hardware Installation Tool, perform the following steps.
Page 64
On the Registration screen select Register a single file to register one EDS file at a time, and click Browse to select the EDS file corresponding to the encoder to be installed (such as Lika EXM5XX-13-14-EP_V0.eds in the screenshot Figure 16, please check the order code) and press the Next button until the registration is finalized.
Page 65
EXM58 • EXO58 EtherNet/IP Browse to the Controller, select it and click the Set Project Path button. Figure 18 - Set Project Path Close the dialog box: the selected path will appear on the main page. Figure 19 - Project Path set MAN EXM58_EXO58 EP E 1.0.odt Quick reference 65 of 188...
Page 66
EXM58 • EXO58 EtherNet/IP 5.5.8 Adding the encoder to the project On the Controller Organizer, right-click on Ethernet and select New Module ... from the pull-down menu. Figure 20 - New Module On the Select Module Type dialog box select the installed encoder module (EXM5X...
Page 67
EXM58 • EXO58 EtherNet/IP Configure the encoder module by setting the required parameters Name and Ethernet Address. Then press the Change... button to select the connection type. Figure 22 - New module configuration Select the required connection type and then click OK. For more information on the available connection types refer to the “6.12.3.4 Supported connection types”...
Page 68
EXM58 • EXO58 EtherNet/IP 5.5.9 Checking the communication You can check whether the communication between the Controller and the encoder is established properly by displaying the encoder parameters. On the Controller Organizer, double-click on Controller Tags in the Controller Test_EXM1314_Lika folder: the encoder parameters will be displayed in the Monitor Tags tabbed page.
Page 69
EXM58 • EXO58 EtherNet/IP Press Download in the Who Active window to start the download process; the Download window will be displayed. Before pressing the Download button once more please note the cautionary messages. Click Download to continue the download process. When the download process is completed, the Controller may return to Remote Program mode or ask whether you want to return to Run mode.
Page 70
EXM58 • EXO58 EtherNet/IP NOTE As previously stated, Lika Electronic EtherNet/IP encoder documentation is complete with a sample project supplied free of charge. This program is designed to make your own project planning, programming, communication and diagnostics with Studio 5000 V30.00 design environment user-friendly and reliable.
Page 71
EXM58 • EXO58 EtherNet/IP We need to create some tags (variables) that are needful for the program. On the Controller Organizer, right-click on Controller Tags and select New Tag... from the pull-down menu. Figure 27 - New Tag The following tags need to be created: PresetTrigger tag, data type BOOL PresetOneShot tag, data type BOOL MAN EXM58_EXO58 EP E 1.0.odt...
Page 72
EXM58 • EXO58 EtherNet/IP PresetMessage tag, data type MESSAGE PresetValue tag, data type DINT NOTE You can type any name for the tags. Now we need to add ladder logics to the program. To enter logics you must drag buttons from the Logic Element toolbar to the desired location. A green dot shows a valid placement location (drop point).
Page 73
EXM58 • EXO58 EtherNet/IP NOTE If you place an instruction in the wrong location on a rung, simply click and hold on the instruction and drag it to the correct location. Double-click the question mark in the “Examine ON (XIC)” logic to assign the PresetTrigger tag.
Page 74
EXM58 • EXO58 EtherNet/IP Now drag a “Message (MSG)” logic from the Logic Element toolbar to the desired location. Assign the PresetMessage tag as described above. Figure 31 - Message logic element ellipsis icon next to the PresetMessage Configure the message, press the label to open the Message Configuration dialog box.
Page 75
EXM58 • EXO58 EtherNet/IP On the Controller Organizer, double-click on Controller Tags in the Controller Test_EXM1314_Lika folder: the encoder parameters will be displayed in the Monitor Tags tabbed page. The Monitor Tags page displays the tags. Figure 33 - Setting variables Set the PresetOneShot variable to “0”, the PresetTrigger variable to “0”...
Page 76
EXM58 • EXO58 EtherNet/IP On the Controller Organizer, expand the Tasks, MainTask and MainProgram folders and double-click on MainRoutine: the MainProgram – MainRoutine ladder window appears. Figure 34 - MainProgram – MainRoutine ladder window Right-click on the PresetTrigger logic element and select Toggle Bit from the pull-down menu.
Page 77
EXM58 • EXO58 EtherNet/IP Both the PresetOneShot variable and the PresetTrigger variable in the Monitor Tags tabbed page will be set to “1”. Figure 36 - Monitor Tags Again right-click on the PresetTrigger logic element and select Toggle Bit from the pull-down menu to set the variables back to 0.
EXM58 • EXO58 EtherNet/IP EtherNet/IP interface 6.1 Introduction to EtherNet/IP EtherNet/IP is the name given to the Common Industrial Protocol (CIP), as implemented over standard Ethernet (IEEE 802.3 and the TCP/IP protocol suite). EtherNet/IP was introduced in 2001 and today is the most developed, proven and complete industrial Ethernet network solution available for manufacturing automation, with rapid growth as users seek to harness the advantages of open technologies and the Internet.
Page 79
EXM58 • EXO58 EtherNet/IP specifications for CIP, as well as EtherNet/IP and ControlNet-specific protocol elements, as Type 2. IEC 61784-1 and IEC 61784-2: Specify general-purpose and real time • Ethernet fieldbus Communication Profiles (CPs) (i.e., how to build a specific communication network using IEC 61158 and other standards). ControlNet, EtherNet/IP and DeviceNet are defined respectively as CP 2/1, CP 2/2 (CP 2/2.1 with CIP Sync), and CP 2/3.
Page 80
EXM58 • EXO58 EtherNet/IP Figure 37 - EtherNet/IP adaptation to CIP To further decrease complexity, EtherNet/IP systems require only a single point of connection for both configuration and control, because EtherNet/IP supports both I/O (or implicit) messages—those that typically contain time-critical control data—and explicit messages—those in which the data field carries both protocol information and instructions for service performance (see the “6.9.4 Types of EtherNet/IP communications”...
Page 81
EXM58 • EXO58 EtherNet/IP a CSMA/CD media access mechanism that determines how networked devices share a common bus (i.e., cable), and how they detect and respond to data collisions. Originally, Ethernet worked in a half-duplex mode of operation, meaning that a node could send or receive data, but it could not do both at the same time.
Page 82
EXM58 • EXO58 EtherNet/IP This data format is used to implement the Media Access Control (MAC) protocol that allows a device to "talk" on the Ethernet network. Each MAC device has a unique Source Address (SA) comprised of a 6-byte number (48 bits or 12 hexadecimal digits) that was assigned to it at the time of manufacture.
Page 83
EXM58 • EXO58 EtherNet/IP Ethernet-based system must be assigned an IP address. This is most commonly identified by the four-byte address listed in the “network properties” on personal computers that use TCP/IP as their Ethernet network connection (e.g., 192.168.1.10). IP addresses must be unique on a given network (see also the “4.8 EtherNet/IP Node ID”...
Page 84
EXM58 • EXO58 EtherNet/IP 6.9.2 Simplified EtherNet/IP Object Model Overview Within the CIP application layer, devices are represented using an object model (Figure 39). Application objects define how device data is represented and accessed in a common way. Network-specific objects define how parameters such as IP addresses are configured and EtherNet/IP specific functions.
Page 85
EXM58 • EXO58 EtherNet/IP of an object, called object instances, within a device. This set of objects is called an object class. Each instance of the object class will have the same set of attributes, but will have a unique set of values. An object instance or an object class has attributes, providing services and implementing behavior.
Page 86
EXM58 • EXO58 EtherNet/IP Accessing data within a device using a non-time critical message (an explicit message – see “6.9.4 Types of EtherNet/IP communications” section on page 86) typically contains the following address information: Device network address • Class ID •...
Page 87
EXM58 • EXO58 EtherNet/IP you establish an association (a “CIP connection”) between two devices and produce the Implicit Messages according to a predetermined trigger mechanism, typically at a specified packet rate. The devices both know and agree on the data formats they will use (i.e., the format is “implied”). For EtherNet/IP, Implicit Messaging uses UDP and can be multicast or unicast.
Page 88
It must be installed in the Controller. EtherNet/IP encoders from Lika Electronic are supplied with their own EDS file. Specific EDS files are provided to each encoder model, please refer to the order code: EXM58-13-14-...
Page 89
For more information refer to the “6.9.3 Exposing Application Data with CIP” section on page 84. This section contains the description of the objects specific to Lika encoders, including services and attributes. The following objects are implemented:...
Page 90
EXM58 • EXO58 EtherNet/IP In the following pages the Class Attributes are listed and described as follows: Class-Attribute ID Attribute name [Data type, Access Rule, NV] While the Instance Attributes are listed and described as follows: Class-Instance-Attribute ID Attribute name [Data type, Access Rule, NV] ...
Page 91
EXM58 • EXO58 EtherNet/IP NV / V It indicates whether an attribute value is maintained through power cycles. An entry of ‘NV’ indicates value shall be saved, ‘V’ means not saved. Default, Min. and Max. values Default, Min. and Max. values are expressed in hexadecimal notation, unless otherwise indicated.
Page 92
EXM58 • EXO58 EtherNet/IP 6.12.1 Class 01h: Identity Object Class Code Object Class Access Nr. of Instances Identity Object The Identity Object provides identification of and general information about the encoder (e.g. Vendor ID, device type, product code, etc.). Instance 1, which is the only mandatory instance, describes the whole product.
Page 93
6.12.1.4 Instance Attributes 01-01-01 Vendor ID [UINT, Get, NV] Identification of the vendor by its own number. Lika Vendor ID is 0299h = 665. Vendor IDs are managed by ODVA. Default = 0299h = Lika Electronic Srl MAN EXM58_EXO58 EP E 1.0.odt...
Page 94
EXM58 • EXO58 EtherNet/IP 01-01-02 Device type [UINT, Get, NV] The Device Type value is used to identify the device profile that a particular product is using. Device profiles are managed by ODVA and define minimum requirements a device must implement, as well as common options. Default = 0022h: Encoder Device Profile 01-01-03 Product code [UINT, Get, NV]...
Page 95
EXM58 • EXO58 EtherNet/IP different than the “out–of–box” default. This shall not include configuration of the communications. 0 = encoder is set to default parameters 1 = encoder is not set to default parameters Reserved Reserved, shall be 0 Extended device status Bits are defined as follows: 0000 Self Testing or Unknown...
Page 96
CIP network. The Serial Number is shown in the following format: YYwwnnnnn. YY = Year ww = week nnnnn = unique number in ascending order assigned by Lika Electronic Default = device dependent EXAMPLE 172100123 has to be intended as follows:...
Page 97
EXM58 • EXO58 EtherNet/IP 6 … 254 Reserved Default Value 1 The Default Value shall be used in the Get_Attributes_All response if the attribute is not implemented. NOTE Please note that the nature of a Major Unrecoverable Fault could be such that 01-01-08 State it may not be accurately reflected by the attribute.
Page 98
EXM58 • EXO58 EtherNet/IP device, subject to any object-specific or device-specific rules regarding state conflicts. The Implicit Protection setting shall indicate that the device has entered a state in which it rejects explicit message requests that would disrupt its operation. The conditions under which a device enters the Implicit Protection setting are device-specific.
Page 99
The EtherNet/IP protocol stack implements the Message Router object exclusively at class level. In Lika encoders it is used internally to direct object requests. 6.12.2.1 Supported Class Services The supported Class Services of the Message Router Object are: 0Eh = Get_Attribute_Single: used to read the value of an attribute.
Page 100
EXM58 • EXO58 EtherNet/IP 6.12.2.3 Supported Instance Services The supported Instance Services of the Message Router Object are: 0Eh = Get_Attribute_Single: used to read the value of an attribute. 10h = Set_Attribute_Single: used to write connection class attribute value. 6.12.2.4 Instance Attributes The EtherNet/IP protocol stack implements the Message Router object exclusively at class level.
Page 101
EXM58 • EXO58 EtherNet/IP 6.12.3 Class 04h: Assembly Object Class Code Object Class Access Nr. of Instances Assembly Object The Assembly Object binds attributes of multiple objects, which allows data to or from each object to be sent or received over a single connection. Assembly objects can be used to bind input data or output data.
Page 102
18h = Get_Member: used to get a member of instance attribute. 6.12.3.4 Supported connection types Lika EtherNet/IP encoders support “Input only” connections. Input Only connection This type of connection is used to read data from the encoder without controlling the outputs. It does not depend on other connections.
Page 103
EXM58 • EXO58 EtherNet/IP 04-01-301 Parameter Assembly parameter. 04-01-302 Status Status of the assembly. 6.12.3.6 I/O Assembly Instances The following table identifies the I/O Assembly instances, which are supported by the encoder device. Instance ID Attribute Access Description Bits Bytes 23-01-03 Position value 32 23-01-03 Position value 32 23-01-69...
Page 104
EXM58 • EXO58 EtherNet/IP (high byte) 23-01-31 23-01-2E Warning Flag Alarm Flag (low byte) 23-01-03 Position value 32 bit (high byte) (low byte) 23-01-18 Velocity Value (high byte) 6.12.3.8 Configuration Assembly Instance Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Attribute ID 23-01-0C Direction Counting Toggle 23-01-0E Scaling Function Control (low byte)
Page 105
EXM58 • EXO58 EtherNet/IP 6.12.4 Class 06h: Connection Manager Object Class Code Object Class Access Nr. of Instances Connection Manager Object The Connection Manager Class allocates and manages the internal resources associated to both “I/O Messages” and “Explicit Messaging Connections”. For complete information refer to “THE CIP NETWORKS LIBRARY, Volume 1, Common Industrial Protocol (CIP™), Chapter 3: Communication Object Classes”.
Page 106
EXM58 • EXO58 EtherNet/IP 06-03 Number of Instances [UINT, Get, NV] The number of object instances in this class. Default = 0001h 06-06 Maximum ID Number Class Attributes [UINT, Get, NV] The attribute ID number of the last class attribute of the class definition implemented in the encoder.
Page 107
EXM58 • EXO58 EtherNet/IP 6.12.5 Class 23h: Position Sensor Object Class Code Object Class Access Nr. of Instances Position Sensor Object Set/Get The Position Sensor Object is meant to describe the attributes used by the device to calculate the transmitted position values. It contains all attributes for acyclic process data and for setting the encoder.
Page 108
EXM58 • EXO58 EtherNet/IP 6.12.5.4 Instance Attributes 23-01-03 Position value 32 bit [UDINT, Get, V] This attribute represents the absolute position detected by the encoder conditioned by the scaling value attributes (see on page 109). 23-01-0B Position Sensor type [UINT, Get, NV] This attribute specifies the type of device.
Page 109
EXM58 • EXO58 EtherNet/IP 23-01-0E Scaling Function Control [BOOL, Set, NV] If this attribute is disabled (00 = OFF), the device uses the physical resolution 23-01-2A Physical Resolution Span 23-01-2B Number of (see the Spans attributes) to calculate the absolute position value; if it is enabled (01 = 23-01-10 ON, default), the device uses the custom resolution set next to the Measuring Units per Span...
Page 110
EXM58 • EXO58 EtherNet/IP Warnings attribute signals the error (see the bit 0 Measuring Units per Span exceeded in the 23-01-67 Wrong Parameters List and the LEDs). To avoid counting errors, check that: 23-01-2A Physical Resolution Span = integer value. 23-01-10 Measuring Units per Span Allowed values must be less than or equal to the physical singleturn resolution (23-01-2A Physical Resolution...
Page 111
EXM58 • EXO58 EtherNet/IP WARNING Every time you change the value in this attribute then you are required to set 23-01-13 Preset Value 32 bit the preset again (see the attribute) and finally save the new parameters (by means of the Class Service 16h, see on page 107; or by setting the bit 6 Save Parameters in the 23-01-68 Command Register attribute to 1, see on page 123).
Page 112
EXM58 • EXO58 EtherNet/IP 23-01-11 Total Measuring Range 32 bit As the must be greater than or 23-01-10 Measuring Units per Span, the above setting is not equal to the 23-01-2F Warnings allowed. When this happens, the attribute signals the error (see also the 23-01-67 Wrong Parameters List attribute and the LEDs).
Page 113
EXM58 • EXO58 EtherNet/IP 23-01-13 Preset Value 32 bit [UDINT, Set, NV] This attribute allows to set the encoder position to a Preset value. The Preset function is meant to assign a desired value to a physical position of the encoder shaft.
Page 114
EXM58 • EXO58 EtherNet/IP 23-01-13 For example, let's assume that the value “50” is set next to the Preset Value 32 bit attribute when the encoder position is “1000”. In other words, you want to receive the value “50” when the encoder reaches the position “1000”.
Page 115
EXM58 • EXO58 EtherNet/IP 1F05h = counts per millisecond: number of steps per millisecond; the minimum resolution is 1 cpms; 1F07h = counts per minute: number of steps per minute; the minimum resolution is 600 cpm; 1F0Eh = revolutions per second: number of revolutions per second; the minimum resolution is 1 rps;...
Page 116
EXM58 • EXO58 EtherNet/IP 23-01-2A Physical Resolution Span [UDINT, Get, NV] WARNING 23-01-0E Scaling Function Control This attribute is active only if the attribute is set to “=0”; otherwise it is ignored and the system uses the custom (23-01-10 Measuring Units per Span 23-01-11 Total resolution values Measuring Range 32...
Page 117
EXM58 • EXO58 EtherNet/IP 2E Alarm Flag attribute is set to 1. The attribute is defined according to the following table. 23-01-2D Supported Alarms Refer also to the following attribute. Function bit = 0 bit = 1 Position error Alarm not active Alarm active Diagnostic error Alarm not active...
Page 118
EXM58 • EXO58 EtherNet/IP 23-01-2F Warnings [UINT, Get, V] 23-01-2F Warnings attribute indicates that tolerances for certain internal parameters of the encoder have been exceeded. It does not imply incorrect position values. The warning is cleared if the tolerances are again within normal 23-01-31 Warning Flag parameters.
Page 119
EXM58 • EXO58 EtherNet/IP 23-01-31 Warning Flag [BOOL, Get, V] The attribute indicates whether any of the defined warnings are active (1) or not (0). 23-01-32 Operating Time [UDINT, Get, NV] This attribute contains the information on the operating time and is incremented as long as the encoder is powered.
Page 120
EXM58 • EXO58 EtherNet/IP 23-01-65 Hardware Version [UDINT, Get, NV] This attribute contains the version of the electronics the device is currently equipped with. The meaning of the 32 bits in the attribute is as follows: 31 … 16 15 … 0 Major version Minor version For example, the value 0002 0001 hex in hexadecimal notation corresponds to...
Page 121
EXM58 • EXO58 EtherNet/IP Byte 0 Measuring Units per Span exceeded 23-01-10 Measuring bit 0 Wrong data has been set next to the Units per Span attribute. The tolerances for the parameter have been exceeded. Set proper values to restore the normal work condition.
Page 122
EXM58 • EXO58 EtherNet/IP 23-01-68 Command Register [BYTE, Set, V] This attribute contains some commands to be sent in real time to the encoder in order to manage it. Function bit = 1 bit = 0 Activate Preset Activate Finalize 1 …...
Page 123
This function allows the operator to restore all parameters to default values. The default values are set at the factory by Lika Electronic engineers to allow the operator to run the device for standard operation in a safe mode. This function...
Page 124
EXM58 • EXO58 EtherNet/IP 23-01-69 Warning/Alarm Flags [BYTE, Get, NV] This attribute is used in conjunction with the I/O assembly data attributes, refer to the “6.12.3.7 I/O Assembly Data Attribute Format” section on page 103. Its value is 00h (0000 0000 ) when neither warnings nor alarms are active.
Page 125
EXM58 • EXO58 EtherNet/IP 6.12.6 Class 43h: Time Sync Object Class Code Object Class Access Nr. of Instances Time Sync Object The Time Sync Object provides a CIP interface to the IEEE 1588 (IEC 61588) Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems, commonly referred to as the Precision Time Protocol (PTP).
Page 126
EXM58 • EXO58 EtherNet/IP 43-07 Maximum ID Number Instance Attributes [UINT, Get, NV] The attribute ID number of the last instance attribute of the class definition implemented in the encoder. Default = 0300h 6.12.6.3 Supported Instance Services The supported Instance Services of the Time Sync Object are: 03h = Get_Attribute_List: the Get_Attribute_List service returns the contents of the selected attributes of the specified object class or instance.
Page 127
EXM58 • EXO58 EtherNet/IP Default = 0000h Clock Identity [USINT] It specifies the unique identifier for the clock. The format of the identifier depends on the network protocol. Ethernet encodes the MAC address into the identifier. Clock Class [UINT] It specifies the class of the clock quality. The clock class represents a relative measure of the clock quality used by the Best Master algorithm to determine the grandmaster.
Page 128
EXM58 • EXO58 EtherNet/IP 43-01-09 Parent Clock Info [Struct of, Get, V] 43-01-08 Grandmaster Clock Info, 43-01-09 Parent Clock Info, and 01-0A Local Clock Info specify clock property information for the Grandmaster, Parent and Local PTP clock respectively. The data is extracted from the PTP data sets maintained by the PTP device.
Page 129
EXM58 • EXO58 EtherNet/IP determine the grandmaster. The class is a value between 0 and 255, with 0 as the best clock. These are the values most likely to be used in CIP Sync. Time Accuracy [UINT] It specifies the expected absolute accuracy of the clock relative to the PTP epoch.
Page 130
EXM58 • EXO58 EtherNet/IP 43-01-0D Port Enable Cfg [Struct of, Set, NV] It specifies the port enable configuration of each port on the device. The Port Enable member is set to 1 if the port is enabled and 0 if the port is disabled. The default value is Enabled.
Page 131
• the serial number. • For example: Lika Electronic;EXM58;123456 The format is UTF-8 Unicode. The maximum number of symbols is 64. The Size field of the data type is the total number of bytes for the Description field. Convert the number of symbols into bytes.
Page 132
EXM58 • EXO58 EtherNet/IP 43-01-17 User Description [Struct of, Get, V] It specifies the user description of the device that contains the clock. The format a user defined name or description of the device followed by a • semicolon; a user defined physical location of the device. •...
Page 133
EXM58 • EXO58 EtherNet/IP 43-01-1A Port Protocol Address Info [Struct of, Get, V] It specifies the network protocol and protocol address of each port of the device (e.g. IP address). The Network Protocol specifies the protocol for the network. The maximum number of bytes for the Port Protocol Address is 16. Unused array bytes are zero-filled.
Page 134
EXM58 • EXO58 EtherNet/IP 43-01-300 Sync Parameters [Struct of, Get, NV] 43-01-300 Sync Parameters attribute is not available through the Get_Attribute_List and the Set_Attribute_List services. It controls synchronization-related parameters. These parameters are used to adjust intervals and offsets of the hardware synchronization signals Sync 0 and Sync 1.
Page 135
EXM58 • EXO58 EtherNet/IP 6.12.7 Class 47h: Device Level Ring (DLR) Object Class Code Object Class Access Nr. of Instances Device Level Ring (DLR) Object The Device Level Ring (DLR) Object provides the configuration and status information interface for the DLR protocol. The DLR protocol is a layer 2 protocol that enables the use of an Ethernet ring topology.
Page 136
EXM58 • EXO58 EtherNet/IP 6.12.7.3 Supported Instance Services The supported Instance Services of the Device Level Ring (DLR) Object are: 01h = Get_Attribute_All: used to read the value of all attributes. 0Eh = Get_Attribute_Single: used to read the value of an attribute. 6.12.7.4 Instance Attributes 47-01-01 Network Topology [USINT, Get, V]...
Page 137
EXM58 • EXO58 EtherNet/IP 47-01-0C Capability Flags [DWORD, Get, NV] 47-01-0C Capability Flags attribute describes the DLR capabilities of the device, according to the following table. Bit(s) Called Definition Announce-based Ring It sets if device’s ring node implementation is based on processing of Announce frames. Node Bits 0 and 1 are mutually exclusive.
Page 138
EXM58 • EXO58 EtherNet/IP 6.12.8 Class 48h: Quality of Service (QoS) Object Class Code Object Class Access Nr. of Instances Quality of Service (QoS) Object The Quality of Service (QoS) Object is used to treat traffic streams with different relative priorities or other delivery characteristics. Standard QoS mechanisms include IEEE 802.1D/Q (Ethernet frame priority) and Differentiated Services (DiffServ) in the TCP/IP protocol suite.
Page 139
EXM58 • EXO58 EtherNet/IP 6.12.8.3 Supported Instance Services The supported Instance Services of the Quality of Service (QoS) Object are: 0Eh = Get_Attribute_Single: used to read the value of an attribute. 10h = Set_Attribute_Single: used to write connection class attribute value. 6.12.8.4 Instance Attributes 48-01-01 802.1Q Tag Enable [USINT, Set, NV]...
Page 140
EXM58 • EXO58 EtherNet/IP 48-01-04 DSCP Urgent [USINT, Set, NV] Attributes 2 through 8 contain the DSCP values that shall be used for the different types of EtherNet/IP traffic. Refer to the ODVA documentation for the format of the DSCP value within the IP header.
Page 141
EXM58 • EXO58 EtherNet/IP Default = 001Fh 48-01-08 DSCP Explicit [USINT, Set, NV] Attributes 2 through 8 contain the DSCP values that shall be used for the different types of EtherNet/IP traffic. Refer to the ODVA documentation for the format of the DSCP value within the IP header.
Page 142
EXM58 • EXO58 EtherNet/IP 6.12.9 Class F5h: TCP/IP Interface Object Class Code Object Class Access Nr. of Instances TCP/IP Interface Object The TCP/IP Interface Object provides the mechanism to configure the TCP/IP network interface of a device. Examples of configurable items include the device's IP Address, Network Mask, and Gateway Address.
Page 143
EXM58 • EXO58 EtherNet/IP F5-06 Maximum ID Number Class Attributes [UINT, Get, NV] The attribute ID number of the last class attribute of the class definition implemented in the encoder. Default = 0007h F5-07 Maximum ID Number Instance Attributes [UINT, Get, NV] The attribute ID number of the last instance attribute of the class definition implemented in the encoder.
Page 144
EXM58 • EXO58 EtherNet/IP time the device starts. Interface Configuration It indicates a pending configuration change F5-01-05 Interface Configuration Pending in the attribute. This bit shall be 1 (TRUE) when the F5-01-05 Interface Configuration attribute is set and the device requires a reset in order for the configuration change F5-01-02 to take effect (as indicated in the...
Page 145
EXM58 • EXO58 EtherNet/IP 01-05 Interface Configuration attribute is settable. Hardware Configurable 1 (TRUE) shall indicate that the IP Address F5-01-05 Interface member Configuration attribute can be obtained from hardware settings. If this bit is 0 F5-01-01 Status (FALSE) the Instance Interface Configuration...
Page 146
EXM58 • EXO58 EtherNet/IP Default = 0000h NOTE As previously stated, the Configuration Method determines how a device shall obtain its IP-related configuration: If the Configuration Method is 0, the device shall use statically- • F5-01-05 Interface assigned IP configuration contained in the Configuration attribute (or assigned via non-CIP methods).
Page 147
EXM58 • EXO58 EtherNet/IP the physical link object. The maximum Path size is 6 (assuming a 32 bit logical segment for each of the class and instance). Default = 20 F6 24 01h Path size [UINT] Size of path (0002h). Path F6-01-03 Physical Address [Padded EPATH] Path to Ethernet Link Object,...
Page 148
EXM58 • EXO58 EtherNet/IP Name Server [UDINT] The IP address of the primary name server (primary DNS). The name server is used to resolve host names. For example, that might be contained in a CIP connection path. Name Server 2 [UDINT] The IP address of the secondary name server (secondary DNS).
Page 149
EXM58 • EXO58 EtherNet/IP Default = 0001h F5-01-09 Mcast Config [Struct of, Get, NV] It contains the configuration of the device's IP multicast addresses to be used for EtherNet/IP multicast packets. Default = 0000h Alloc Control [USINT] 0 = multicast addresses shall be generated using the default allocation algorithm according to specifications.
Page 150
EXM58 • EXO58 EtherNet/IP F5-01-0A SelectAcd [BOOL, Set, NV] It allows to enable (1) / disable (0) the Address Conflict Detection (ACD). If ACD AcdStatus is enabled, as soon as an address conflict is detected, the bit 6 in the F5-01-01 Status attribute will be set to 1 and NS Network State Error LED will light on red (refer to page 44).
Page 151
EXM58 • EXO58 EtherNet/IP subsequently-opened connections. It is disabled by setting 0. The timeout can be set in the range 1 to 3600 and is expressed in seconds. Default = 0078h F5-01-0E IANA Port Admin [Struct of, Get, NV] The TCP and UDP port numbers are a part of the transport layer. The port numbers are used to identify the sending and receiving applications within the communicating devices.
Page 152
EXM58 • EXO58 EtherNet/IP 6.12.10 Class F6h: Ethernet Link Object Class Code Object Class Access Nr. of Instances Ethernet Link Object The EtherNet Link Object maintains link-specific counters and status information for an IEEE 802.3 communications interface such as transmission speed, interface status and the MAC address.
Page 153
EXM58 • EXO58 EtherNet/IP 6.12.10.3 Supported Instance Services The supported Instance Services of the Ethernet Link Object are: 01h = Get_Attribute_All: used to read the value of all attributes. 0Eh = Get_Attribute_Single: used to read the value of an attribute. 10h = Set_Attribute_Single: used to write connection class attribute value.
Page 154
EXM58 • EXO58 EtherNet/IP Local Hardware Fault 0 indicates the interface detects no local hardware fault; 1 indicates a local hardware fault is detected. 7 … 31 Reserved Reserved, shall be 0 Default = 0020h F6-01-03 Physical Address [Array of 6 UINTs, Get, NV] MAC ID.
Page 155
EXM58 • EXO58 EtherNet/IP Out Discards [UDINT] Outbound packets discarded. Out Errors [UDINT] Outbound packets that contain errors (does not include Out Discards). F6-01-05 Media Counters [Struct of, Get, V] This attribute contains counters specific to Ethernet media. Alignment Errors [UDINT] Frames received that are not integral number of octets in length.
Page 156
EXM58 • EXO58 EtherNet/IP Frame Too Long [UDINT] Frames received that exceed the maximum permitted frame size. MAC Receive Errors [UDINT] Frames for which reception on an interface fails due to an internal MAC sublayer receive error. F6-01-06 Interface Control [Struct of, Get/Set, NV] This attribute is a structure consisting of the following parameters.
Page 157
EXM58 • EXO58 EtherNet/IP F6-01-07 Interface Type [USINT, Get, NV] This attribute indicates the type of the physical interface according to the following table. Instance Value Type of interface Twisted-pair Twisted-pair The interface is internal to the device Default = 0002h F6-01-08 Interface State [USINT, Get, V] This attribute indicates the current operational state of the interface according...
Page 158
EXM58 • EXO58 EtherNet/IP F6-01-0A Interface Label [SHORT_STRING, Get, NV] This attribute is a string that describes the interface according to the following table. Instance Value Port 1 Port 2 Internal Default = “Port 1” or “Port 2” F6-01-0B Interface Capability [Struct of, Get, NV] This attribute indicates the set of capabilities for the interface according to the following table.
Page 159
EXM58 • EXO58 EtherNet/IP auto MDIX operation (external interface) Manual Speed/Duplex 0 = It indicates that the interface does not support manual setting of speed/duplex. The F6-01-06 Interface Control attribute shall not be supported (internal interface) 1 = It indicates that the interface supports manual setting of speed/duplex via the 01-06 Interface Control attribute (external...
Page 160
EXM58 • EXO58 EtherNet/IP 6.12.11 Class 109h: LLDP Management Object Class Code Object Class Access Nr. of Instances 109h LLDP Management Object The LLDP Management Object provides administrative information for the LLDP protocol. It functions as an interface to configure aspects of the LLDP protocol that is running in the device.
Page 161
EXM58 • EXO58 EtherNet/IP 6.12.11.3 Supported Instance Services The supported Instance Services of the LLDP Management Object are: 0Eh = Get_Attribute_Single: used to read the value of an attribute. 10h = Set_Attribute_Single: used to write connection class attribute value. 6.12.11.4 Instance Attributes 109-01-01 LLDP Enable [Struct of, Set, NV] It enables / disables LLDP global or per port.
Page 162
EXM58 • EXO58 EtherNet/IP 6.12.12 Class 401h: Predefined Connection Object Class Code Object Class Access Nr. of Instances 401h Predefined Connection Object The Predefined Connection Object (PDC) defines and maintains the implicit (class 0/1) connections of the EtherNet/IP Adapter. It is a manufacturer-specific CIP object, which is not covered by the CIP specification.
Page 163
EXM58 • EXO58 EtherNet/IP 401-06 Maximum ID Number Class Attributes [UINT, Get, NV] The attribute ID number of the last class attribute of the class definition implemented in the encoder. Default = 0007h 401-07 Maximum ID Number Instance Attributes [UINT, Get, NV] The attribute ID number of the last instance attribute of the class definition implemented in the encoder.
Page 164
EXM58 • EXO58 EtherNet/IP active connection. Otherwise, the service will be answered with general status (Bad Object Mode). code 0x0C Request Service Data Field Parameters The service does not accept any parameters. Success Response Service Data Field Parameters The service has no response parameters. Unsuccessful Response Service Data Field Parameters The unsuccessful response does not provide any data.
Page 165
EXM58 • EXO58 EtherNet/IP Producer Connection Point [Byte size = 4] Connection point addressing the T2O (Target to Originator) direction. Typically, this is an assembly instance number. The value 0xFFFFFFFF serves a wildcard (don’t care) purpose. If the wildcard is given, any Assembly of the proper data direction, type, and size will be accepted as the connection endpoint.
Page 166
EXM58 • EXO58 EtherNet/IP depends on what the originator of the connection (e.g. the PLC) is requesting. Here, we only configure what types the specific connection supports. The following description of the different trigger types reference the Transmission Trigger Timer and the Production Inhibit Timer . These timers are described in more detail below.
Page 167
EXM58 • EXO58 EtherNet/IP The originator of the connection can configure the timer via a “Production Inhibit Time” segment attached to the ForwardOpen message. If this segment is not present, the stack will set the timer value to ¼ of the RPI (as defined by CIP).
Page 168
EXM58 • EXO58 EtherNet/IP 6.12.13 Class 402h: IO Mapping Object Class Code Object Class Access Nr. of Instances 402h IO Mapping Object The IO Mapping Object is responsible for partitioning of the DPM I/O input and output areas and mapping of those partitions, i.e. members, to the related instances of the Assembly object (see the “6.12.3 Class 04h: Assembly Object”...
Page 169
EXM58 • EXO58 EtherNet/IP 6.12.13.3 Supported Instance Services The supported Instance Services of the IO Mapping Object are: 0Eh = Get_Attribute_Single: used to read the value of an attribute. 10h = Set_Attribute_Single: used to write connection class attribute value. 6.12.13.4 Instance Attributes 402-01-01 Status [Get] This attribute provides information about the current status of I/O data (Data...
Page 170
EXM58 • EXO58 EtherNet/IP 6.12.14 Class 403h: Diagnosis Object Class Code Object Class Access Nr. of Instances 403h Diagnosis Object The Diagnosis object provides diagnostic information on the product. Any user may read the diagnostic information through the EtherNet/IP network or the host interface and provide it to the support team, precisely identifying the affected product.
Page 171
EXM58 • EXO58 EtherNet/IP 6.12.14.3 Supported Instance Services The supported Instance Services of the Diagnosis Object are: 0Eh = Get_Attribute_Single: used to read the value of an attribute. 6.12.13.4 Instance Attributes 403-01-01 Chip info [SHORT_STRING, Get] This attribute provides the name of the used EtherNet/IP chip. Default = device-specific 403-01-02 OS info [SHORT_STRING, Get]...
Page 172
EXM58 • EXO58 EtherNet/IP 403-01-08 Build host [SHORT_STRING, Get] This attribute provides information on the build machine name of the used EtherNet/IP firmware. Default = device-specific 403-01-09 Uptime [UDINT, Get] This attribute informs about the device uptime expressed in seconds. Default = 0000h MAN EXM58_EXO58 EP E 1.0.odt EtherNet/IP interface...
Integrated Web Server 7.1 Integrated web server – Preliminary information EtherNet/IP encoders from Lika Electronic integrate a web server. This web- based user interface is designed to offer helpful functions and deliver complete information on the device that can be accessed through the Internet.
Page 174
1. type the IP address of the encoder you want to connect to (in the example: 192.168.1.10, this is the default software IP address set at Lika, see on page 41) in the address bar of your web browser and confirm by pressing ENTER;...
Page 175
EXM58 • EXO58 EtherNet/IP Press the Lika logo to enter Lika's web site (www.lika.biz). Press the DOCUMENTATION button to enter the EtherNet/IP encoder technical documentation page available Lika's site (https://www.lika.it/eng/products/rotary-encoders/absolute/ethernet/ ) where specific technical information and documentation concerning the EtherNet/IP encoder can be found.
Page 176
EXM58 • EXO58 EtherNet/IP 23-01-18 it is expressed in counts per second). For any information refer to the Velocity Value attribute on page 114. NOTE The current encoder position and speed values are real-time processed and updated continuously (every 200 msec. on the screen). Press the HOMEPAGE button to move back to the Web server Home page.
Page 177
EXM58 • EXO58 EtherNet/IP 7.4 Setting the attributes Press the SETTINGS button in the left navigation bar of the Web server Home page to enter the Set Encoder Attributes page. In this page the read-write (Set) access EtherNet/IP encoder attributes available in the Position Sensor Object (Class 23h) are displayed and their value can be changed.
Page 178
Press the LOAD button next to the Load Default item to restore all parameters to default values. Default values are set at the factory by Lika Electronic engineers to allow the operator to run the device for standard operation in a safe mode.
Page 179
EXM58 • EXO58 EtherNet/IP 7.5 Encoder information (EtherNet/IP attributes) Press the ENCODER INFORMATION button in the left navigation bar of the Web server Home page to enter the Encoder Information page. In this page the list of the most useful EtherNet/IP attributes available for the encoder is displayed.
Page 180
Home page to enter the Firmware Update page. Please note that this is a password protected page, thus a password is requested to access the page. Password: LiKa (“L” and “K” in uppercase letters; “i” and “a” in lowercase letters) WARNING Firmware updating process has to be accomplished by skilled and competent personnel.
Page 181
2. the operator is requested to submit a password before starting the firmware update procedure; Figure 46 - Firmware Update page 3. in the Insert password text box type the password LiKa (“L” and “K” in uppercase letters; “i” and “a” in lowercase letters) and then press the SEND button;...
Page 182
6. press the SELECT FIRMWARE FILE button; once you press the SELECT FIRMWARE FILE button an OPEN dialog box appears on the screen: open the folder where the firmware updating .ZIP file released by Lika Electronic is located, select the file and confirm. Please check the file properties and ascertain that you are installing the correct update file;...
Page 183
EXM58 • EXO58 EtherNet/IP WARNING Before installation always ascertain that the firmware program is compatible with the hardware and software of the device. Never turn the power supply off during the flash update operation. 7. press the SEND FILE button to start the upload of the firmware program;...
Page 184
EXM58 • EXO58 EtherNet/IP NOTE While downloading the firmware updating program, unexpected conditions may arise which could lead to a failure of the installation process. When such a matter occurs, the download process cannot be carried out successfully and thus the operation is aborted. In case of flash update error, please switch the encoder off and then on again and retry the operation.
Page 185
EXM58 • EXO58 EtherNet/IP WARNING Only competent technicians, who are properly trained, have adequate experience and are familiar with computer architecture, network design and operating systems should configure the network communication parameters. The inappropriate setting of the network parameters results in an incorrect operation of the system.
Default values are expressed in hexadecimal (h) notation, unless otherwise indicated. 8.1 Attributes of the Class 01h Identity Object Parameters list Default values 01-01-01 Vendor ID 0299h = Lika Electronic srl 0022h = Encoder Device 01-01-02 Device type Profile 0064h = EXM58 27 bit...
Page 187
EXM58 • EXO58 EtherNet/IP 23-01-13 Preset Value 32 bit 23-01-19 Velocity Format 1F04h = cps 8,192 = EXM58-13-14-... encoder 262,144 = EXM58-18-12-... 23-01-2A Physical Resolution Span and EXO58-18-00-... encoders 65,536 = EXO58-16-14-... encoder 16,384 = EXM58-13-14-... and EXO58-16-14-... encoders 23-01-2B Number of Spans 4,096 = EXM58-18-12-...
Page 188
Ce dispositif doit être alimenté par un circuit de Classe 2 ou à très basse tension ou bien en appliquant une tension maxi de 30Vcc. Voir le code de commande pour la tension d'alimentation. Lika Electronic Via S. Lorenzo, 25 • 36010 Carrè (VI) •...
Need help?
Do you have a question about the EXM58 EP and is the answer not in the manual?
Questions and answers