background image

                             MEM-BUS 

EtherNet/IP™ ENCODER

 

 

Instruction Manual

 

ENIP_Manual_ENG  17/07/2018

                                                                                                                              21 

 

The data format of the input assembly instances are listed in the table below. 

Instance  Byte  Bit7  Bit6  Bit5  Bit4  Bit3  Bit2  Bit1 

Bit0 

 

Position LSB 

Position 

Position 

Position MSB 

 

 

Position LSB 

Position 

Position 

Position MSB 

 

 

 

 

 

 

Warn 

Flag 

Alarm 

Flag 

 

 

Position LSB 

Position 

Position 

Position MSB 

Velocity LSB 

Velocity 

Velocity 

Velocity MSB 

 

 

110 

Position LSB 

Position 

Position 

Position MSB 

Velocity LSB 

Velocity 

Velocity 

Velocity MSB 

Position Status Register 

Reserved  

10 

Warnings LSB 

11 

Warnings MSB 

Table 3.10 – Input assembly instance data format 

Instance 110 is ELAP specific. It consists of 3 input data of type 

DINT

. The last value has to be read as an 

array of flag bit: 

 

Bit1 

 1 if position value has exceeded its high limit 

 

Bit2 

 1 if position value has dropped below its low limit 

 

Bit20 

 1 if battery charge is too low 

 

Bit22 

 1 if velocity value has dropped below its minimum setpoint 

 

Bit23 

 1 if velocity value  has exceeded its maximum setpoint 

 

 

Summary of Contents for MEM440-Bus

Page 1: ...1 MEM BUS ABSOLUTE ENCODER Instruction Manual ...

Page 2: ...CIP Edition 1 23 For more information regarding ODVA visit www odva org Registered Trademarks RSLinx and RSLogix5000 are registered trademarks of Rockwell Automation EtherNet IP and CIP are registered trademarks of ODVA All other specified products names and logos serve exclusively for information purposes and may be trademarks of their respective owners without any special marking to indicate thi...

Page 3: ... 2 5 IP Address H W Setting 10 2 6 IP Address S W Setting 11 2 7 Preset button 12 2 8 LED Indicators 12 3 CIP Objects 13 3 1 Identity Object 01H 14 3 2 Position Sensor Object 23H 15 3 3 Assembly Object 04H 20 3 4 TCP IP Interface Object F5H 23 3 5 Ethernet Link Object F6H 26 4 Configuring the encoder using RSLogix5000 29 4 1 General tab 30 4 2 Connection tab 32 4 3 Module Info tab 33 4 4 Internet ...

Page 4: ...s data across network connections Different transport protocols may support a range of optional capabilities including error recovery flow control and support for re transmission 3 Network Logical addressing is translated here into physical addressing 2 Data Link It checks for physical transmission errors and packages bits into data frames 1 Physical It is responsible for ultimate transmission of ...

Page 5: ...AC address MAC ID consists of 6 bytes The first three bytes identify the manufacturer The last three bytes are unique to the device The MAC address of ELAP MEM BUS encoders is 60 D7 E3 1x xx xx EtherNet IP is based on the standard Ethernet frame which consists of the Ethernet header the Ethernet data and the Ethernet trailer The MAC IDs of the receiver destination address and of the source source ...

Page 6: ...ntroller can also produce data for other controllers to consume The produced and consumed data is accessible by multiple controllers and other devices over the EtherNet IP network This data exchange conforms to the Producer Consumer model 1 4 RPI Parameter The requested packet interval RPI is the update rate that is specified for a particular piece of data in the network This value specifies how o...

Page 7: ...nt to higher layers protocols such as TCP IP and CIP with the exception of a DLR object that provides a DLR configuration and diagnostic interface via CIP 1 6 CIP Object Model EtherNet IP uses an object model for network communication wherein all functions and data of a device are defined CIP objects are organized in Classes Instances and Attributes Class It contains related objects of a device wh...

Page 8: ...heet file provided by ELAP contains all information that is related to the measuring system specific parameters and the operating modes of the MEM BUS EtherNet IP encoders The EDS file is integrated using the EtherNet IP network configuration tool to configure and place in operation the MEM BUS EtherNet IP encoder ...

Page 9: ...supply Carry out the wiring operations exclusively with unplugged voltage supply Do not operate on the electrical plant while the encoder is on Ensure that the entire plant complies with EMC requirements The installation environment and wiring affect the electromagnetic compatibility of the encoder In particular o before handling and installing the encoder eliminate any electrostatic charge from y...

Page 10: ...01 254 and take a cycle power to the encoder The MEM BUS encoder will power up with the IP address set to 192 168 1 xxx where xxx is given by the position of the three network address switches In the picture below it is xxx 123 2 Use the BOOTP DHCP protocol to assign a dynamic IP address Set the three rotary switches to 777 for BOOTP or 999 for DHCP and then take a cycle power to the encoder At po...

Page 11: ...y switches to 000 and take a cycle power in order to enable S W configuration 3 Run RXLinx Classic Lite for Rockwell Automation networks ELAP MEM BUS encoder appears in the main window with its default IP address 192 168 1 123 Click the right mouse button and select Module Configuration command In the Port Configuration table it is possible to configure the TCP IP interface see attributes 3 e 5 of...

Page 12: ...onnection established Yellow Data transmission TxD RxD Table 2 1 Ethernet link indicators The Mod LED shows the device status Mod OFF Power off Steady Green Device in operation Flashing Green Standby device not configured no IP address assigned Flashing Red Major recoverable fault for example inconsistent configuration Steady Red Major unrecoverable fault device not operational Flashing Green Red ...

Page 13: ...of several objects to one single object for example position and velocity values 4 06H Connection Manager Object It includes connection specific attributes for triggering transport connection type etc 1 23H Position Sensor Object It includes the attributes for programming the encoder parameters such as scaling counting direction etc 1 F5H TCP IP Interface Object It includes the attributes for TCP ...

Page 14: ...lue 1 Get Revision UINT 0001H 2 Get Max instance UINT 0001H 6 Get Number ID of the last class attribute UINT 0007H 7 Get Number ID of the last instance attribute UINT 0009H Table 3 2 Class attributes of the object 01H Table 3 3 shows the supported attributes for instance 1 INSTANCE 1 CLASS 01H Attribute Access Name Description Data type Value 1 Get Manufacturer identification UINT 0580H ELAP 2 Get...

Page 15: ...atus 0111 1 I O connection at least is in the Established status IDLE status 1000 1111 Values reserved for manufacturer information not used 8 Minor Recoverable Fault 1 if the device has detected a non serious and reparable fault for example a I O connection has detected a timeout 9 Minor Unrecoverable Fault 10 Major Recoverable Fault 11 Major Unrecoverable Fault 12 15 Reserved value 0 Table 3 4 D...

Page 16: ...F0FH turns min 26 Get Set Velocity Resolution UDINT 1 27 Get Set Minimum Velocity Setpoint DINT 2147483648 2147483647 28 Get Set Maximum Velocity Setpoint DINT 2147483648 2147483647 41 Get Operating status of the encoder BYTE Bit0 Direction 0 CW Bit1 Scaling 0 Disabled Bit2 7 Not used 42 Get Physical Resolution Span UDINT 8192 13 Bit 43 Get Physical Resolution Number of Span UINT 65535 44 Get Alar...

Page 17: ...as Measuring Units per Revolution 6001 00 x Number of Revolutions Values lower or equal to the global physical resolution that is 536870912 are accepted Note When the scaling parameters change it is recommended to execute a Preset function writing of attribute 19 in order to reset the encoder and restart it from a correct position Attribute 19 Preset Value It sets the Preset value The Preset funct...

Page 18: ...aximum can be configured in attributes 27 and 28 The corresponding flags in attribute 47 Bit6 and Bit7 are affected Attribute 41 Operating Status This attribute contains the operating status of the encoder Bit0 Information about rotation direction is given Position value is increasing 0 or decreasing 1 Attribute 12 shall be used to set the counting direction Bit1 Information about scaling function...

Page 19: ...ped below its minimum value attribute 27 Bit7 Velocity has exceeded its maximum value attribute 28 Bit10 Position limits exceeded see attributes 22 and 23 Attribute 48 Supported Warnings This attribute contains information about the warnings supported by the device ELAP MEM BUS encoder supports the warnings of battery charge Bit 4 Position limits exceeded Bit 10 and Velocity limits exceeded Bit6 B...

Page 20: ...bytes in attribute 3 UINT See table 3 9 Table 3 8 Assembly object instance attributes ELAP MEM BUS encoder supports 4 I O assembly instances Assembly instances are also called connection points Two connection point types are defined O T Originator Target Encoder These connection points represent output data from the control system PLC T O Target Encoder Originator These connection points represent...

Page 21: ...Velocity MSB 110 0 Position LSB 1 Position 2 Position 3 Position MSB 4 Velocity LSB 5 Velocity 6 Velocity 7 Velocity MSB 8 Position Status Register 9 Reserved 10 Warnings LSB 11 Warnings MSB Table 3 10 Input assembly instance data format Instance 110 is ELAP specific It consists of 3 input data of type DINT The last value has to be read as an array of flag bit Bit1 1 if position value has exceeded...

Page 22: ... Range 5 6 7 MSB 8 Object 23H Attribute 12 Direction Counting Toggle in Bit0 9 Object 23H Attribute 14 Scaling Function Control in Bit0 10 LSB Object 23H Attribute 25 Velocity Format 11 MSB 12 LSB Object 23H Attribute 22 Position Low Limit 13 14 15 MSB 16 LSB Object 23H Attribute 23 Position High Limit 17 18 19 MSB 20 LSB Object 23H Attribute 27 Minimum Velocity Setpoint 21 22 23 MSB 24 LSB Object...

Page 23: ... Attribute Access Name Description Data type Value 1 Get Interface Status DWORD 2 Get Configuration Capability DWORD 0000 00B5H 3 Get Set Configuration Control DWORD 0000 0000H 4 Get Path to Physical Link Object F6H Path Size number of 16 bit words Path logical segment STRUCT UINT EPATH 2 20H F6H 24H 01H 5 Get Set TCP IP Interface Configuration IP Address Network Mask Gateway Address Primary Serve...

Page 24: ... conflicts ACD Attribute 3 Interface Control This attribute is a bitmap and it is used to control network configuration options The following values are accepted 0 In order to assign a static IP address through the rotary switches see section 2 5 1 In order to assign an IP address via BOOTP 2 In order to assign an IP address via DHCP Attribute 4 Path to Physical Link Object This attribute identifi...

Page 25: ...tribute 9 Multicast Configuration This attribute contains the configuration of the device s IP multicast addresses to be used for EtherNet IP multicast packets There are 3 elements in this data structure IP Multicast Addresses Allocation Control 0 Multicast addresses shall be generated using the default allocation algorithm 1 Multicast addresses shall be allocated according to the values specified...

Page 26: ...STANCES 1 and 2 CLASS F6H Attribute Access Name Description Data type Value 1 Get Interface Speed Mbps UDINT 100 2 Get Interface Flags DWORD 0000 000FH 3 Get Physical Address MAC ARRAY of 6 USINT 60H D7H E3H 1xH 4 Get Interface Counters STRUCT 5 Get Media Counters STRUCT 6 Get Set Interface Control Control Bits Forced Interface Speed STRUCT WORD UINT 7 Get Interface Type USINT 2 Twisted Pair 8 Get...

Page 27: ...ardware faults Bit7 Bit31 Reserved Attribute 3 Physical Address MAC This attribute value contains the interface s MAC layer address The MAC address consists a 6 byte Ethernet address for each individual device and it is unique worldwide The MAC address consists of two parts the first 3 bytes represents the manufacturer specific ID while the last 3 bytes represents a consecutive number The MAC addr...

Page 28: ... 10 Interface Label This attribute value is a text string describing the interface Attribute 11 Interface Capability This attribute value indicates the set of capabilities for the interface It is a data structure with two main elements Capability Bits and Speed Duplex Options Capability Bits it is an array of bits indicating whether the interface supports capabilities such as auto negotiation and ...

Page 29: ...l Automation 1 Use command File New in order to create a new project and select the proper CPU In this case it is 1769 L18ERM BB1B CompactLogix controller 2 Install your EDS file provided by ELAP using command Tools EDS Hardware Installation Tool 3 Select the Ethernet network and press your mouse right button then select New Module 4 Select MEM_BUS Eth IP encoder and click the Create button 5 Comp...

Page 30: ... Enter a name for the encoder for example Encoder_1 Short descriptive names are recommended Enter a description of the encoder s function and then set its Ethernet address In this example the address is 192 168 1 123 where the value 123 is the address assigned with the hardware rotary switches ...

Page 31: ...ble Private Network Enter a value of 1 254 for the last segment of the address Be sure not to duplicate the address of an existing device IP Address Enter the desired address Host Name Enter the name of the host In this example the host name is ELAP1 Click the Change button in Module Definition section in order to select input data for controller and their format ...

Page 32: ...ed Connection over EtherNet IP Unicast connections are point to point connections while multicast connections are considered one to many Select unicast in order to reduce the amount of network bandwidth used Inhibit Module When checked the encoder is not polled for information any more Any data provided will be ignored by the controller Major Fault On Controller If Connection Fails While In Run Mo...

Page 33: ...Status panel shows the fault status internal state for example Run Mode and whether the module corresponds to its description file EDS The Refresh and Reset Module buttons are active when the controller is online Click Refresh in order to refresh data in the window Click Reset Module with care as it momentarily disconnects the module and control is interrupted 4 4 Internet Protocol Port Configurat...

Page 34: ...n 8192 Total resolution 536870912 Velocity measuring Unit 1F04H step s These values can be changed in the Controller Tags table of your project with tool RSLogix5000 Here the encoder data are divided into 2 categories whose names are composed by the name assigned to the encoder in this case Encoder_1 followed by C for configuration I for input Expand the configuration table Encoder_1 C in order to...

Page 35: ...age to the product or equipment PLC command The preset function can be performed by writing the Preset attribute value class 23H instance 1 attribute 19 with an explicit message in the PLC program Note 1 When the scaling parameters change it is recommended to execute a Preset function writing of attribute 19 in order to reset the encoder and restart it from a correct position 2 When the scaling fu...

Page 36: ...instruction to configure it In the configuration tab select Message Type CIP Generic Service Type Set Attribute Single Service Code 10H automatic Class 23H Position Sensor Object Instance 1 Attribute 13H 19 Source Element Preset_val Source Length 4 Note the numbers of class instance and attribute are hexadecimal values ...

Page 37: ...MEM BUS EtherNet IP ENCODER Instruction Manual ENIP_Manual_ENG 17 07 2018 37 In the communication tab browse to the MEM_BUS Eth IP encoder on the Ethernet network then click OK ...

Page 38: ... Magnetic Resolution revolution 8192 steps rev 13 bit Revolutions no 65536 16 bit Initializing time 1 s Data memory 20 years No motion Power off Field bus EtherNet IP Supply 10 30 V dc Protection against polarity reversal Power consumption 2 W Accuracy LSB Connection 2 M12 female connectors 1 M12 male connector Interference immunity EN 61000 6 2 Emitted interference EN 61000 6 4 EtherNet IP IEC 61...

Page 39: ...Ø 6 Shaft 6 8 10 mm 6 Joint 8 10 12 14 15 mm No No of TURNS M M Multiturn TYPE MEM520 Bus Round flange Ø 58 mm MEM540 Bus Round flange Ø 58 mm MEM620 Bus Square flange 63 5x63 5 mm MEM440 Bus Blind hollow shaft for motor coupling MEM450 Bus Blind hollow shaft fixing by elastic support EIP MEM520B INTERFACE EIP EtherNet IP ...

Page 40: ......

Page 41: ......

Page 42: ...MEM BUS EtherNet IP ENCODER Instruction Manual ENIP_Manual_ENG 17 07 2018 40 ...

Reviews: