background image

Drive Technology \ Drive Automation \ System Integration \ Services

Manual 

UHX71B Controller (Performance Class power) 
with OSR71B Fieldbus Interface (EtherNet/IP, Modbus/TCP 
and PROFINET) 

Edition 04/2013

20101341 / EN

Summary of Contents for UHX71B

Page 1: ...ve Technology Drive Automation System Integration Services Manual UHX71B Controller Performance Class power with OSR71B Fieldbus Interface EtherNet IP Modbus TCP and PROFINET Edition 04 2013 20101341...

Page 2: ...SEW EURODRIVE Driving the world...

Page 3: ...t group 10 2 3 Bus systems 11 2 4 Functional safety technology 11 2 5 Hoist applications 11 3 Introduction 12 3 1 Content of this manual 12 3 2 Characteristics 12 3 2 1 Process data exchange 12 3 2 2...

Page 4: ...he UHX71B OSR71B controller 25 5 3 1 Process data configuration Ethernet IP slave and modbus TCP 25 5 3 2 Status of the Ethernet IP fieldbus interface 26 5 3 3 Checking the process data communication...

Page 5: ...oring 51 9 Error Diagnostics for Operation on EtherNet IP and Modbus TCP 52 9 1 Diagnostic procedure 52 9 1 1 Step 1 Checking the LED status 52 9 1 2 Step 2 Check the Status LED and the Status display...

Page 6: ...s interface 69 11 2 3 Checking the process data communication 70 12 Error Diagnostics on PROFINET 71 12 1 Diagnostic procedures 71 12 1 1 Diagnostic problem 1 UHX71B OSR71B does not work on PROFINET I...

Page 7: ...isks of damage to property and other notes 1 2 2 Structure of the section safety notes Section safety notes do not apply to a specific action but to several actions pertaining to one subject The symbo...

Page 8: ...non observance of these operating instructions In such cases any liability for defects is excluded 1 6 Other applicable documentation Observe the following applicable documents Controller UHX71B perf...

Page 9: ...ldbus Interface 9 1 Copyright General information 1 8 Copyright 2013 SEW EURODRIVE All rights reserved Unauthorized duplication modification distribution or any other use of the whole or any part of t...

Page 10: ...to the shipping company immediately in the event of damage During operation the devices may have live uninsulated and sometimes moving or rotating parts as well as hot surfaces depending on their deg...

Page 11: ...th the standards of safety technology All work in further areas of transportation storage operation and waste disposal must only be carried out by persons who are trained appropriately 2 3 Bus systems...

Page 12: ...data to a higher level controller The meaning of the transferred data depends on the IEC pro gram 3 2 2 Parameter access The UHX71B OSR71B controller does not support the MOVILINK parameter channel T...

Page 13: ...4 2 Pin assignment X21 and X22 Use prefabricated shielded RJ45 plug connectors compliant with IEC 11801 edition 2 0 category 5 Front view UHX71B with OSR71B Ethernet Designation LED Terminal Function...

Page 14: ...n the connector over a wide surface area Apply the shielding of the bus cable on both ends Route signal and bus cables in separate cable ducts Do not route them parallel to power cables motor leads Us...

Page 15: ...r to the scanners PLC are passed on to all switch ports IGMP Snooping e g Managed Switches is not supported SEW EURODRIVE therefore recommends to connect the UHX71B OSR71B con troller in EtherNet IP n...

Page 16: ...s in Standby state Flashing green red The UHX71B OSR71B controller performs a self test Green The UHX71B OSR71B controller is in normal operating state Red The UHX71B OSR71B controller is in error sta...

Page 17: ...grated in the RJ45 plug connec tors X21 X22 display the state of the Ethernet connection State of LED 23 4 Diagnostics Troubleshooting Green The fieldbus hardware is OK Orange Hardware is being initia...

Page 18: ...0 0F 69 xx xx xx The MAC address is dif ficult to handle for larger networks This is why freely assignable IP addresses are used 4 6 3 IP address The IP address is a 32 bit value that uniquely identif...

Page 19: ...the station address see following table The class C network with the address 192 168 10 is further subdivided by the subnet mask 255 255 255 128 2 networks are created with the address 192 168 10 0 a...

Page 20: ...thernet net work This means the IP address is assigned from a table which contains the allocation of MAC address to IP address Parameter P785 indicates whether the UHX71B OSR71B controller expects the...

Page 21: ...layed or changed in the parameter P785 DHCP Startup Configuration Stored IP parameters setting The stored IP address parameters are used DHCP setting The IP address parameters are requested by a DHCP...

Page 22: ...ile for configuring the scanner Ether Net IP master SEW_CONTROLLER_POWER eds 5 2 Configuring the master EtherNet IP scanner The following example refers to configuration for the Allen Bradley CompactL...

Page 23: ...he RSLogix 5000 program as shown in the screenshot below use the tree structure on the left side of the screen In the IO Configuration folder select the entry 1769 L32E Ethernet Port Lo calENB as the...

Page 24: ...lish a controlling connection in the Connection Parameters group box enter the value 161 in the Output Assembly Instance input field The input data of the PLC must be linked to the output instance of...

Page 25: ...can be implemented without any problems Click OK You have now configured process data exchange with a UHX71B OSR71B 5 3 Settings in the UHX71B OSR71B controller The creation of IEC programs is describ...

Page 26: ...iagnostics If there is no communication with the fieldbus master the output Error is set to TRUE During an active fieldbus connection the output Done is set to TRUE and the outputs Address Baud rate t...

Page 27: ...ddress of the UHX71B OSR71B controller see chapter Setting the IP ad dress parameters 2 Add the UHX71B OSR71B to the Ehernet IP configuration according to chapter Configuration of the master Ethernet...

Page 28: ...the UHX71B OSR71B insert a CPS command at the end of the MainRoutine see following figure 5 Now the project is saved and uploaded to the PLC The PLC is set to RUN mode Now actual values can be read fr...

Page 29: ...visualization devices If there is already a controlling connection via Modbus TCP you cannot activate an Ex clusive Owner Connection via EtherNet IP before a power on reset 6 2 1 Timeout response The...

Page 30: ...t 07 Register Object 0F Parameter Object 64 Vardata Object F5 TCP IP Interface Object F6 EtherNet Link Object Attribute Access Name Data type Default value hex Description 1 Get Revision UINT 0001 Rev...

Page 31: ...r error that can be remedied 11 Major Unrecoverable Fault Major error that cannot be remedied 12 15 Reserved Value binary Description 0000 Unknown 0010 At least one faulty I O connection 0011 No I O c...

Page 32: ...cess the UHX71B OSR71B process input data Several mul ticast connections or a point to point connection can be established to this instance Supported ser vices Service code hex Service Name Class Inst...

Page 33: ...1 Valid configuration 2 Get Configuration capability DWORD 00000014 The interface configura tion attribute 5 is writable The DHCP can be used for configuration 3 Set Configuration control DWORD 000000...

Page 34: ...link Bit 1 displays full duplex mode Bit 2 bit 4 indicate the negotia tion status Bit 5 shows whether the manual setting has to be reset Bit 6 indicates a local hardware error 3 Get Physical Address...

Page 35: ...Object state conflict The selected object cannot perform the service in its current status 0D Reserved 0E Attribute not settable It is not possible to access the selected object for writing 10 Device...

Page 36: ...e PL7 PRO An ETY4103 is used as the Ethernet component The information and illustrations are based on the English version of the PL7 PRO software 7 1 1 Hardware configuration Start PL7 PRO and enter t...

Page 37: ...lugged into here 2 in the input field Station in the XWAY address section 2 In this case the XWAY address is 1 2 In the section IP address configuration select the checkbox Configured Enter the IP add...

Page 38: ...ripherals group In the IP address input field enter the IP address of the SEW drive In the Unit ID field enter 0 In the Repetitive rate dropdown menu enter the cycle time that is used to ad dress the...

Page 39: ...nStudio index 8451 the currently set value is displayed in the field PD configuration see following figure 7 3 Project planning example in PL7 PRO 7 3 1 UHX71B OSR71B controller with 16 PD data exchan...

Page 40: ...and uploaded to the PLC The PLC is set to RUN mode Now actual values can be read from the UHX71B OSR71B controller and setpoint values can be written The process data should correspond to the values d...

Page 41: ...cord ing telegrams via the Ethernet network e g Wireshark see following figure Packetizer etc These freeware tools are available on the Internet Observe that tracing all Ethernet telegrams in a networ...

Page 42: ...low byte length field is corrected to value 6 Byte Value Meaning Interpretation Help 0 0x00 Transaction identifier For a detailed description refer to the Modbus TCP specification and section Modbus p...

Page 43: ...Read word count Number of PD here 3 Must for PD 1 64 11 0x03 12 0x00 Write reference number Offset where PD start Must always be 4 13 0x04 14 0x00 Write word count Number of PD here 3 see read word co...

Page 44: ...Binary outputs RW Input register RO Output register RW The tables can be separated or overlapping The UHX71B OSR71B option provides the following data areas For process data transfer there is a table...

Page 45: ...col structure The Modbus protocol consists of a header and function code data The header is the same for all request response telegrams and error messages exceptions Depending on the function code a d...

Page 46: ...the unit that is addressed via the unit identifier 0 or FFhex The 7 bytes of the header are followed by the function code and the data Byte Designation Meaning 0 Transaction identifier Often 0 is sim...

Page 47: ...e Designation Meaning permitted values 0 6 MBAP header See section Header 7 Function code Requested service 3 Read Holding Register 8 Reference number high Offset 9 Reference number low Offset 10 Word...

Page 48: ...tion Header 7 Function code Requested service 16 Write Multiple Registers 8 Reference number high Offset 9 Reference number low Offset 10 Word count high Number of words register 11 Word count low Num...

Page 49: ...Header 7 Function code Requested service 23 Read Write Multiple Registers 8 Read reference number high Offset 9 Read reference number low Offset 10 Read word count high Number of words register alway...

Page 50: ...Objects UHX71B OSR71B Byte Designation Meaning permitted values 0 6 MBAP header See section Header 7 Function code Requested service 43 Read Device Identification 8 MEI type 0x0E 9 Read device ID cod...

Page 51: ...permitted if the connection already is a controlling connection or if there is no controlling connection If the unit accepts the connection it transfers the process output data to the process data ima...

Page 52: ...a Ethernet 9 1 2 Step 2 Check the Status LED and the Status display of the master scanner To do so use the documentation of the controller or master module Should there be no working EtherNet IP or Mo...

Page 53: ...terface 53 9 Diagnostic procedure Error Diagnostics for Operation on EtherNet IP and Modbus TCP G Which status is displayed in the IEC application for the communication interface via the FBusGetInfo m...

Page 54: ...EW con troller yyyymmdd represents the date 3 Click OK for confirmation 4 You find the PROFINET IO interface for the respective controller in the hardware cat alog under PROFINET IO Other field units...

Page 55: ...k the Browse 1 button in the Ethernet node group You receive an overview of all PROFINET IO nodes that you can reach online with your configuration tool In addition you can use the flash test to visua...

Page 56: ...roject 1 Start the SIMATIC Manager and create a new project Select your control type and add the required modules The following modules make sense OB82 module This module makes sure that the controlle...

Page 57: ...d to a controller fieldbus interface The following structure is used Do not modify the default configuration Slot not used Slot 1 is reserved for future PROFIsafe applications Slots 2 17 can be assign...

Page 58: ...e for the new node Proceed as follows to configure a node 1 Double click on the device symbol of the new node The following window opens 2 Enter the device name mentioned above in the Device name edit...

Page 59: ...nds information using its own PROFINET device name and port number The neighboring unit receives and stores this information A PROFINET IO controller can now read the stored information from the PROFI...

Page 60: ...ogy editor The purpose of topology detection is to compare the current topology online topology with the configured topology offline topology Any deviation suggests faulty connec tions in the PROFINET...

Page 61: ...uirements and is applied to the configuration Click the plus sign 2 in front of the respective device in the right part of the win dow online topology 3 to display the partner ports Change the connect...

Page 62: ...PROFINET interface are set to Automatic setup by de fault Observe the following for this default setup Auto negotiation and auto crossover are activated in this setup Baud rate and duplex mode are co...

Page 63: ...T IO Configuration 4 Select the Options tab 1 5 From the Transmission medium duplex 2 drop down menu select TP ITP with 100 Mbit s full duplex 6 Deactivate Auto negotiation auto crossover checkbox 3 7...

Page 64: ...F LED of the PROFINET IO controller is lit The error is also indicated by a red cross 1 in STEP 7 HW Config Possible causes Ethernet ports swapped Incorrectly set port properties Units cannot be addre...

Page 65: ...discarded valid packets sug gests a high load on the bus system In this case try to reduce the utilization by re ducing in particular the number of broadcast and multicast telegrams and reducing the...

Page 66: ...configuration with topology detection PROFINET IO Configuration Bad sent packets transmit collisions Shows the number of discarded Ethernet packets due to collisions There should be no collisions in...

Page 67: ...vel programmable logic controller is used as PROFINET IO controller and can thus be ad dressed in the usual way 11 1 1 Control example for SIMATIC S7 Depending on the selected process data configurati...

Page 68: ...W 16 200 Input address 512 RET_VAL MW 30 Result in flag word 30 RECORD P DB3 DBX 0 0 BYTE 20 Pointer NETWORK TITLE PLC program with drive application PLC program uses the process data in DB3 for data...

Page 69: ...er to the parameter tree in MOVITOOLS MotionStudio via menu Display values Bus diagnostics 11 2 2 Status of the PROFINET fieldbus interface The FbusGetInfoV2 function block makes the status and some d...

Page 70: ...l values can be read from the UHX71B OSR71B controller and setpoint val ues can be written The process data should correspond with the values displayed in the PLC Editor or in the diagnostics plug in...

Page 71: ...procedures described in the following section demonstrate the error analysis methods for the most frequent problems The UHX71B OSR71B controller does not work on PROFINET IO The UHX71B OSR71B controll...

Page 72: ...rnet Compare the set PROFINET name to the configured one PROFINET names identical No C Yes You may have configured an incorrect unit type or defined an incorrect configuration Delete configuration for...

Page 73: ...No process data exchange with the I O controller Check the settings in the higher level I O controller again Is the user program switched off correctly see sample program in chapter Process data excha...

Page 74: ...data configuration Modbus TCP always120 process data words 8452 0 Fieldbus type 8362 0 Option 1 10497 1 Fieldbus timeout For Modbus TCP additonal timeout monitoring is necessary according to the appli...

Page 75: ...Profibus address x 8453 0 Fieldbus baud rate x 10520 1 ACD Enable x 10520 2 ACD Last Activity x 10520 3 ACD Last MAC Low x 10520 4 ACD Last MAC High x 10520 5 ACD Last IP x 9233 0 DHCP startup contro...

Page 76: ...scanner Project planning example in RSLogix 5000 27 Configuring the master Modbus scanner Hardware configuration 36 Configuring the PROFINET interface for the UHX71B OSR71B controller Configuring stat...

Page 77: ...T device name 55 Installing the GSDML file for UHX71B OSR71B 54 Protocol structure Modbus TCP Service FC3 Read Holding Registers 47 Protocol structure Modbus TCP Header 46 Service FC16 Write Multiple...

Page 78: ...CP 20 Introduction 18 IP address 18 MAC address 18 Network classes 19 Standard gateway 20 Subnet mask 19 Topology detection 60 PROFINET 59 Topology editor 60 Trademarks 8 U UHX71B OSR71B Configuring t...

Page 79: ......

Page 80: ...URODRIVE Driving the world SEW EURODRIVE Driving the world www sew eurodrive com SEW EURODRIVE GmbH Co KG P O Box 3023 D 76642 Bruchsal Germany Phone 49 7251 75 0 Fax 49 7251 75 1970 sew sew eurodrive...

Reviews: