background image

5 Commissioning the PLC programming environment

5.1 For Ethernet/IP, using RSLogix 5000 as an example

SmartWire-DT Gateway EU5C-SWD-EIP-MODTCP

08/17 MN120003Z EN

www.eaton.com

43

5 Commissioning the PLC programming environment

Two things are required in order to be able to create a PLC application:

Creating the planned SmartWire-DT configuration with the SWD-Assist 
planning program, regardless of the protocol that you want to use.

Creating the corresponding user program with the PLC programming 
environment for the PLC being used.

An example for EtherNet/IP would be the Allen-Bradley 
RSLogix 5000 PLC programming environment in conjunction with a 
Compact Logix PLC

An example for Modbus/TCP would be the 
XSoft-CoDeSys PLC programming environment in conjunction with 
an Eaton XC20x or XV20x PLC.

5.1 For Ethernet/IP, using RSLogix 5000 as an example

In order to use the EU5C-SWD-EIP-MODTCP gateway in the RSLogix 5000 
PLC programming environment, you will have to follow the steps below:

Configure and set the parameters for the EtherNet/IP 
EU5C-SWD-EIP-MODTCP module

Import the SmartWire-DT modules' I/O data (tag list) and use it in the 
application program

5.1.1 Selecting the EU5C-SWD-EIP-MODTCP gateway

In order to be able to use an EU5C-SWC-EIP-MODTCP gateway, you will 
need a controller with an EtherNet/IP interface. The PLC programming envi-
ronment's "Controller Organizer" pane will show the Ethernet interfaces 
under "I/O Configuration."

Figure 26:

Ethernet interface in the RSLogix 5000 V19.01.00 controller I/O configuration

Содержание EU5C-SWD-EIP-MODTCP

Страница 1: ...Manual SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN...

Страница 2: ...4th Edition 2010 publication date 06 10 5th Edition 2011 publication date 03 11 6th Edition 2011 publication date 09 11 7th Edition 2013 publication date 01 13 8th Edition 2016 publication date 12 16...

Страница 3: ...tes in the automation device Ensure a reliable electrical isolation of the low voltage for the 24 V supply Only use power supply units complying with IEC 60 364 4 41 VDE 0100 Part 410 or HD 384 4 41 S...

Страница 4: ...II...

Страница 5: ...onsiderations 18 2 2 1 Mounting the EU5C SWD EIP MODTCP gateway on a top hat rail18 2 2 2 Screwing the EU5C SWD EIP MODTCP gateway into place 19 2 3 Potential Relationship between the Components 19 2...

Страница 6: ...g the gateway s communication parameters 45 5 1 3 What the SWD Assist CSV file looks like 46 5 1 4 Importing the SmartWire DT modules I O data 47 5 2 For Modbus TCP 49 5 2 1 What the SWD Assist text f...

Страница 7: ...vice paramters of the SWD gateway 92 8 5 2 Device parameters of SWD modules 93 8 5 3 Application cases for the effective use of the device parameters 94 8 6 Faults on the SWD line 95 8 7 LEDs on the d...

Страница 8: ...4 SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN www eaton com...

Страница 9: ...well as the SWD Assist engineering tool can be downloaded by visiting the Eaton Download Center at http www eaton eu software 0 1 List of revisions This is a fully revised version and replaces versio...

Страница 10: ...rticular proper ties The devices described here must only be set up and operated as specified in this manual and in the installation instructions provided with the device The devices must be installed...

Страница 11: ...s instructions to be followed For greater clarity the name of the current chapter and the name of the cur rent section are shown at the top of each page DANGER Warns of hazardous situations that resul...

Страница 12: ...0 About this Manual 0 4 Reading conventions 8 SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN www eaton eu...

Страница 13: ...ISO 13849 1 and SIL Cl2 as per EN 62061 if specific add ons are incorporated For more information please consult manual SmartWire DT Modules IP20 MN05006001Z 1 2 Overview of functions EU5C SWD EIP MO...

Страница 14: ...AUX for powering the contactor coils if these are also operated via SmartWire DT modules The 8 pin ribbon cable is used to run data communications as well as the power for the SmartWire DT modules an...

Страница 15: ...e extended up to 600 m 1 4 1 Field bus connection The field bus connection on the gateway uses RJ45 sockets These sockets are connected to each other by means of an integrated Ethernet switch The ETH2...

Страница 16: ...rate automatically LED Category Status Meaning Yellow Link Activity To Link active Flashing Ethernet data exchange off Link not active Green Baud rate To 100 MBit s off 10 MBit s Even though the DLR p...

Страница 17: ...e gateway 2 1 1 Default settings Ethernet address The EU5C SWD EIP MODTCP gateway comes with the following default settings IP address 192 168 001 254 Subnet mask 255 255 255 000 Standard Gateway 192...

Страница 18: ...erating mode the dip switches 1 and 9 are set to ON The dip switches 2 3 4 are set to OFF The DHCP server will deliver the IP address the subnet mask and the default gateway address DHCP supports thre...

Страница 19: ...1 3 and 4 are set to OFF The BOOTP server will deliver the IP address the subnet mask and the default gateway address Address setting PGM PGM refers to a method used to obtain addresses from the gate...

Страница 20: ...D Assist can be used to read and edit address information as well as to store it in the gateway s non volatile memory If you want to reset the gateway in the PGM DHPC operating mode you will have to r...

Страница 21: ...am This way the last byte of the field bus address can be set to an address of 18dec directly on the gateway Figure 5 Setting the field bus address on an EU5C SWD EIP MODTCP gateway 2 1 3 Resetting th...

Страница 22: ...be mounted either vertically or hori zontally For ease of wiring leave a clearance of at least 3 cm between the device ter minals and the wall or adjacent devices 2 2 1 Mounting the EU5C SWD EIP MODT...

Страница 23: ...ing you will need two fixing brackets that can be used on the back of the EU5C SWD EIP MODTCP gateway Fixing brackets ZB4 101 GF1 are available as accessories 2 3 Potential Relationship between the Co...

Страница 24: ...e additional supply units such as power feeder modules in your design The SWD assist software program will pro vide support when you are carrying out the corresponding calculations In addition it will...

Страница 25: ...11 IEC EN 60898 Miniature circuit breaker 24 V DC rated operational current 3 A trip type C or Fuse 3 A utilization class gL gG Cable protection for cable AWG 24 in accordance with UL 508 and CSA 22...

Страница 26: ...s SmartWire DT connection To do so use the SmartWire DT cable SWD 4 100LF8 24 and the SWD 4 8MF2 relevant blade terminal or prefabricated cables of type SWD 4 3 5 10 F8 24 2S Figure 12 Connection Smar...

Страница 27: ...herNet IP Modbus TCP Connect the EU5C SWD EIP MODTCP gateway to the field bus To do so use the integrated Ethernet switch marked with ETH1 ETH2 In the case of EU5C SWD EIP MODTCP the operating system...

Страница 28: ...it to a computer and do the following with the corresponding software Online SmartWire DT line diagnostics using the SWD assist program Create a planned SWD configuration and load it into the gateway...

Страница 29: ...his can be minimized beforehand by the implementation of suitable EMC measures These include EMC conformant system configuration EMC compliant cable routing Measures designed to reduce potential diffe...

Страница 30: ...2 Installation 2 8 Wiring in accordance with EMC requirements 26 SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN www eaton eu...

Страница 31: ...n matches the target configu ration when the device starts and the target configuration matches the planned SWD configuration 3 1 Putting the SmartWire DT into operation Chapter 8 What you need to kno...

Страница 32: ...rget configuration The target configuration needs to be imported the first time the device is commissioned whenever a module is replaced and whenever the SWD module layout on the SWD line is changed R...

Страница 33: ...or if the order of the modules on the SWD line has changed follow the steps in the following description Chapter 4 Creating a planned SmartWire DTSmart Wire DT configuration in SWD Assist page 33 3 2...

Страница 34: ...will show a solid green light You will find the LEDs in Section Table 28 LED SWD coordinator page 97 Use the PLC programming environment to load the application program into the PLC Start the PLC If a...

Страница 35: ...n Green flashing No Cyclic data exchange via Ethernet IP or Modbus TCP active Green continuous light yes The gateway is signaling a communications error For example the original connection for cyclic...

Страница 36: ...3 Commissioning 3 2 Take the field bus into operation 32 SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN www eaton com...

Страница 37: ...lanning program you will need to follow the steps below 1 Select the EU5C SWD EIP MODTCP gateway and configure its parame ters 2 Select the SmartWire DT modules you want and configure their parame ter...

Страница 38: ...Net IP field bus and when naming the I O data corresponding to the SmartWire DT modules in the export file A device name is used for the gateway in SWD Assist EIPSWD will be the default name used by t...

Страница 39: ...tWire DT modules sorted according to various applications Select the SmartWire DT modules that you need for the SWD line and drag them to the workspace Figure 18 Selecting SmartWire DT modules in SWD...

Страница 40: ...ame must be unique i e it cannot be used for any other Smart Wire DT modules The maximum permitted length is 24 characters The name can contain letters numbers and underscores _ Vowels like are not pe...

Страница 41: ...environment Modbus TCP If you select Modbus TCP as the mode instead the I O data will be mapped to the relevant register data structure as per the specifications for Modbus TCP The address assignments...

Страница 42: ...information Device parameters etc tabs refer to the gateway or to the SmartWire DT modules The specific device to which they refer will depend on the device you clicked on previously on the workspace...

Страница 43: ...ce information Device parameters etc tabs refer either to the gateway or to the SmartWire DT modules The specific device to which they refer will depend on the device you clicked on previously on the...

Страница 44: ...ons which can be selected using the Refresh drop down menu These settings are found in the Device parameters tab for the module For information regarding the parameter configuration options available...

Страница 45: ...ng which is shown for every SmartWire DT module Figure 25 I O addresses for the PKE n2 SmartWire DT module EtherNet IP protocol in SWD Assist The process of providing access to the SmartWire DT module...

Страница 46: ...IP operating mode this data can be exported as a CSV file for the RSLogix 5000 PLC programming environment and can then be imported into RSLogix 5000 PLC programming environment V17 0 or higher Modbu...

Страница 47: ...LC An example for Modbus TCP would be the XSoft CoDeSys PLC programming environment in conjunction with an Eaton XC20x or XV20x PLC 5 1 For Ethernet IP using RSLogix 5000 as an example In order to use...

Страница 48: ...ct the Smart Wire DT gateway Open the context menu and select the New modules option The Select modules dialog box for selecting available Ethernet module groups will appear Figure 27 Selecting the ga...

Страница 49: ...roject file that you created with the SWD Assist planning program in order to enter the additional necessary information manually Figure 28 Entering the gateway parameters found in the SWD Assist plan...

Страница 50: ...device name of the field bus module the EU5C SWD EIP MODTCP gateway EIPSWD in this particular case The device name PKEn1 in this particular case of the module for con necting a contactor to SmartWire...

Страница 51: ...Open the Extras menu item and select the Import option Now select Tags and logic comments In the dialog box that appears select the CSV file that you previously cre ated with the SWD Assist planning...

Страница 52: ...5 1 For Ethernet IP using RSLogix 5000 as an example 48 SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN www eaton com Figure 31 Tag list containing all of the SWD line s I O data in the RS...

Страница 53: ...d in I O addresses and symbolic names in the TXT file Figure 32 I O data for Modbus TCP sample extract from a TXT file The following information is included The symbolic name in the Name column made u...

Страница 54: ...sure that all data is processed 5 2 3 Using gateways with Eaton controllers Eaton controllers XC20x and HMI displays with a PLC runtime functionality can be used as Modbus TCP servers and clients The...

Страница 55: ...es Showing all connected SmartWire DT modules with their serial num bers statuses etc Showing and changing network settings Showing and changing password protection Updating the operating system To es...

Страница 56: ...IP MOD BUS TCP SmartWire DT Gateway software and click on Download Once on the FTP server click on directory V1 0 Then click on EU5C SWD EIP MODTCP_V1 03_Build0051 bin to start downloading the file S...

Страница 57: ...l network communications network ser vices and typical automation functions It supports the following types of communication Point to point or multicast implicit I O messaging Unconnected explicit mes...

Страница 58: ...e device s classes and instances Page 57 04 0x04 Assembly Object A package of multiple data corresponding to a data object in a data field A typical application is using them to group all cyclic input...

Страница 59: ...ription Value 1 0x01 REVISION G UINT Version 0x00 01 2 0x02 MAX OBJECT INSTANCE G UINT Maximum number of object instances 0x00 01 3 0x03 NUMBER OF INSTANCES G UINT maximum number of instances 0x00 01...

Страница 60: ...does not have a planned SmartWire DT config uration 3 reserved 4 7 Extended device status 0011 0110 0111 No input output connection active At least one input output connection in RUN operating mode A...

Страница 61: ...Description Value 1 0x01 REVISION G UINT Version 0x00 01 2 0x02 MAX OBJECT INSTANCE G UINT Maximum number of object instances 0x00 01 3 0x03 NUMBER OF INSTANCES G UINT maximum number of instances 0x00...

Страница 62: ...ass codes supported by the device Number of classes Classes supported by the gateway 0x 00 0B 0x00 01 0x00 02 0x00 04 0x00 06 0x00 F4 0x00 F5 0x00 F6 0x00 64 0x00 65 0x00 00 0x00 00 2 0x02 MAX NUMBER...

Страница 63: ...0x03 0x04 0x06 0x07 Services 0x0E Instances Attributes 0x03 0x04 Services 0x10 for instance 100 only 0x0E For explanations regarding the services see Tabelle 6 Attribute number Attribute Name Get Set...

Страница 64: ...dual output data for each module are also specified individually in SWD Assist How the SmartWire DT modules input data is mapped to instance 101 The first two bytes of the data field contain the gatew...

Страница 65: ...1 of the assembly object Figure 35 Sample configuration in SWD Assist SWD Assist shows the length of the instances of the assembly object for this configuration Module 0 Gateway EU5C SWD EIP MODTCP Mo...

Страница 66: ...Byte of analog output 2 EU5E SWD 2A2A I I I High Byte of analog output 1 EU5E SWD 2A2A I I Low Byte of analog output 1 EU5E SWD 2A2A I Output M22 SWD K22LED G Output M22 SWD LED G Byte 0 1 Byte Byte...

Страница 67: ...es of gateway object Table 13 Class attributes of gateway object 0x64 Class Property Name Description 100 0x64 Gateway Data corresponding to gateway EU5C SWD EIP MODTCP and the SmartWire DT system as...

Страница 68: ...ay 107 0x6B PROJECT PARAMETER STRUCT of UINT USINT USINT UINT Gateway Parameters SWD Baud rate in kBit s Number of modules in the planned SmartWire DT configuration CyclicExchangeDelay in ms SmartWire...

Страница 69: ...bject classes SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN www eaton com 65 115 0x73 LENGTH G S USINT Length of acyclic read write data 1 120 116 0x74 ERROR G UINT Error Message Attribu...

Страница 70: ...n 0x007F SmartWire DT initialization 0x0080 Wiring test active 0x0081 Error when comparing the target configuration and the actual configuration 0x0082 Error when comparing the project configuration a...

Страница 71: ...a for reading or writing acyclic data 115 0x73 LENGTH G S USINT Length of the acyclic read write data 116 0x74 ERROR G UINT Error Message see Table 18 page 67 The number and meaning of the available o...

Страница 72: ...r acyclic data Entry specifying which object should be read GET attribute 114 0x72h Read data GET attribute 115 0x73h Length of received data GET attribute 116 0x74h Read the request s error status SE...

Страница 73: ...ding the services see Tabelle 6 Attribute number Attribute Name Get Set Data type Description Value 100 0x64 CLASS REVISION G UINT Version 0x00 01 101 0x65 MAX OBJECT INSTANCE G UINT Maximum number of...

Страница 74: ...TENDED PARAMETER G ARRAY of USINT Extended parameter data 0 120 bytes 112 0x70 113 0x71 INDEX G S USINT Object index for cyclic data 114 0x72 DATA G S ARRAY of USINT Databufferfor acyclicread write da...

Страница 75: ...stic messages currently pending A maximum of 5 error values will be stored in this list The following table describes the possible error values Table 21 Meaning of error values in the list of currentl...

Страница 76: ...st e g because a request is not permitted the client will receive an error message Data model and Modbus registers In principle Modbus differentiates between bit data and word data Each of these is fu...

Страница 77: ...ing time in milliseconds 0x1020 4128 44129 404129 Defined monitoring time in milliseconds 0x1120 4384 44385 404385 Modbus connection monitoring in seconds 0x1121 4385 44386 404386 Modbus connection op...

Страница 78: ...it length of the digital inputs 0x1017 R WORD 1 Version of mappings register Gateway device information 0x1000 0x100B R STRING EU5C SWD EIP MODTCP Name of the gateway 0x100C Status of the gateway Sect...

Страница 79: ...hile can include data such as the contactor state of an M22 control device or analog values correspond ing to a SmartWire DT module The SmartWire DT modules data byte or word format is allocated to Mo...

Страница 80: ...ponse when a communications connection is lost the operating mode of the Modbus connection and saving these parameters as new default parameters for the gateway Registers 0x1020 0x1120 0x1121 Time mon...

Страница 81: ...on itoring time the monitoring time can also be reset with write access to regis ter 0x1121 This can also be done with any other Modbus TCP frame Registers 0x1113C 0x1113D Restore Modbus TCP connectio...

Страница 82: ...ime the PLC will manage them The following table describes the detailed structure of these register spaces Registers 8000h 807Fh Acyclic service objects request space MODBUS register Description 0x800...

Страница 83: ...module status MODBUS register Name Data type Value Description 0x8080 SERVICE NUMBER UINT 0 0xFFFF This register holds a user specific value that is deleted after the service is run The value is copi...

Страница 84: ...by using acyclic services SmartWire DT Modules IP20 MN05006001Z describes the various possible diag nostic alarms for each SmartWire DT module 6 PRSNT 0 Communications cannot be established between th...

Страница 85: ...re DT Modules IP20 MN05006001Z SmartWire DT Modules IP6x MN120006 With SmartWire DT you can interconnect up to 99 modules very quickly in simple steps Modules can consist of switchgears as well as I O...

Страница 86: ...elements are passive SWD components that do not exchange data but are required for operating the SmartWire DT network SWD elements are for example the power feeder modules SWD cables adapters etc SWD...

Страница 87: ...stem MN05006002Z Power feeder modules are power supply units that are connected addition ally to the SmartWire DT when there is an increased current consumption or increased voltage drop Being a passi...

Страница 88: ...ter mined and compared with the stored target configuration 8 2 Changing the planned SWD configuration in SWD assist To change the configuration of the SWD line e g to add a new module or replace an e...

Страница 89: ...e the M22 SWD K11LED W module in the Project view To do so go to the device catalog and drag M22 SWD K22LED W to drop it where M22 SWD K11LED W is located on your workspace The SWD line will show the...

Страница 90: ...t and output bytes of a module There are commonplace modules such as switches that transmit little pay load data However there are also modules with multiple settings and read out values such as motor...

Страница 91: ...dule with n user data bytes c 250 kBit s 1 SmartWire DT module with n user data bytes d 250 kBit s 99 SmartWire DT module with n user data bytes When the baud rate doubles the SWD cycle time is cut in...

Страница 92: ...anufacturer specific object classes page 63 Diagnostics possibilities The SWD coordinator can provide the following diagnostic information Cyclic diagnostic information Extended diagnostics informatio...

Страница 93: ...forma tion Byte 0 Extended diagnostic services If a SWD module is signaling Diagnose i e if bit 4 of input byte 0 is set to 1 the corresponding details can be obtained by evaluating the extended diag...

Страница 94: ...tics buffer tab The table in the Properties field shows you the extended diagnostic alarms The alarms are logged and displayed with a time stamp The time stamp is based on the system time of your PC T...

Страница 95: ...an automatic addressing routine if it detects any differences between the target configuration and the actual con figuration when comparing them The comparison between the planned SmartWire DT config...

Страница 96: ...the field bus master The Section Required module page 93 setting in the SWD modules will have no effect Compatible devices permissible 0 0 Default setting The planned SWD modules in the SWD configurat...

Страница 97: ...eration A missing SWD module causes following PRSNT diagnostic bit to be set to 0 DIAG diagnostic bit to be set to 1 The SWD line will not start running or will be stopped as the case may be Note This...

Страница 98: ...a difference between both The sys tem will then check whether the Compatible devices permissible option has been enabled If it has the SWD coordinator will check whether the module in the target conf...

Страница 99: ...The Config LED and the SWD LED will show a solid green light If the All devices are optional device parameter on the SmartWire DT coor dinator 0 the Required module device parameter on the individual...

Страница 100: ...determines that an SWD module of the actual config uration does not match the target configuration it defines it as an wrong module The DIAG diagnostic bit stays at 0 The same response also takes pla...

Страница 101: ...ing a planned SWD configuration with s No red flashing actual configuration target configuration e g a required module is missing or one module too many No Red continuous light No SWD line present No...

Страница 102: ...ay or vice versa from a gateway to the current SWD assist project Status indication of the inputs outputs Wiring test Reading of the stored actual configuration Importing the planned SWD configuration...

Страница 103: ...Dimensions W x H x D mm 35 X 90 X 124 5 inch 1 38 X 3 54 X 4 9 Dimensions a mm 120 inch 4 7 Space units SU width 2 Weight kg 0 16 lb 0 35 Mounting Considerations Top hatrail IEC EN 60715 35 mm or scr...

Страница 104: ...50 Free fall packaged IEC EN 60068 2 32 m 0 3 Ambient climatic conditions Operating ambient temperature IEC 60068 2 C 25 to 55 Condensation prevent with suitable measures Storage C 40 to 70 Relative...

Страница 105: ...from SmartWire DT No from fieldbus interface Yes Rated operating voltage of 24 V DC modules V typical UAUX 0 2 DC power supply POW Supply voltage V 24 DC 15 20 F 5 Yes Rated operational current Ie A_x...

Страница 106: ...ion type Push in terminals solid mm2 0 2 1 5 AWG 24 16 flexible with ferrule mm2 0 25 1 5 SmartWire DT line Module type SWD configurator Max number of SmartWire DT modules 99 Baud rate kBd 125 250 500...

Страница 107: ...Baud rate MBit 10 100 Baud rate detection automatic Address setting automatic Module address Address setting with Dip switch DHCP BOOTP Status display MS LED two colored red green Status display at th...

Страница 108: ...2 SWD K11LED W M22 SWD K22LED W M22 SWD K11LED W Function element 2 pos LED W front M22 SWD K22LED W M22 SWD K22LED W Function element 3 pos LED W front M22 SWD LED R Function element LED R front M22...

Страница 109: ...M22 SWD K11LEDC G Function element 2 pos LED G base M22 SWD K22LEDC G M22 SWD K22LEDC G Function element 3 pos LED G base M22 SWD LEDC B Function element LED B base M22 SWD K11LEDC B M22 SWD K22LEDC...

Страница 110: ...9 Appendix 9 3 Compatible SWD module types 106 SmartWire DT Gateway EU5C SWD EIP MODTCP 08 17 MN120003Z EN www eaton com...

Страница 111: ...e parameters 91 DHCP Server Address setting 14 Diagnostics SmartWire DT 88 Diagnostics interface 10 24 DIP 13 DIP Switch 17 DLR 12 Download Center 5 E Engineering 11 Error at SWD line 91 EU5C SWD EIP...

Страница 112: ...ostic messages 89 LED displays SWD coordinator 97 LED displays SWD module 98 Module 11 Network 11 Power feeder module 83 Universal module 82 Support Center 5 SWD Components 82 Elements 82 Line 10 81 S...

Страница 113: ...olution for the application But decision makers demand more than just innovative products They turn to Eaton for an unwavering commitment to personal support that makes customer success a top priority...

Отзывы: