background image

Acyclical communication

57/95

10.2.2

Read request example

The following step-by-step instructions show how to read the error counter
of SmartWire-DT slave #1 by using the IndraWorks

® 

 ML 14V10 P2

engineering tool.

·

SWD Index of error counter: 

127

 (hex: 

0x7F

)

·

Request type for reading task: 

(hex: 

0x00

)

·

Maximum length of expected response in bytes: 

120 

(hex: 

0x78

)

Prerequisites

·

You are connected and logged-in at the Sercos PLC/Master via
IndraWorks.

·

The gateway is connected to the Sercos PLC/Master and is in
communication phase 4 (CP4).

Step-by-step instructions

1. Open parameter editor.

Ø

In the 

Project Explorer

, select the gateway then click the 

 parameter

editor symbol in the tool bar.

Figure 22: Open parameter editor

Ê

The parameter editor opens.

SmartWire-DT Gateway | EU5C-SWD-SERCOS 
DOC160805UM01EN | Revision 1 | English | 2017-02 | Released | Public

© Hilscher 2017

Summary of Contents for EU5C-SWD-SERCOS

Page 1: ...User Manual SmartWire DT Gateway EU5C SWD SERCOS Hilscher Gesellschaft f r Systemautomation mbH www hilscher com DOC160805UM01EN Revision 1 English 2017 02 Released Public...

Page 2: ...References safety 15 2 5 Safety instructions to avoid personal injury 16 2 5 1 Electrical shock hazard 16 2 5 2 Danger of unintended starting up of machines 16 2 6 Safety instructions to avoid propert...

Page 3: ...8 2 3 Step by step instructions 39 8 3 Configuring gateway in Sercos 40 8 3 1 Device description files 40 8 3 2 Configuring gateway in IndraWorks 41 9 Parameterization 49 9 1 Configuring EU5C SWD SER...

Page 4: ...1 Overview 78 13 2 Updating firmware via web interface 79 14 Firmware recovery via HTTP 83 14 1 Overview 83 14 2 Prerequisites 84 14 3 Step by step instructions 84 15 Technical data 89 15 1 Technical...

Page 5: ...e SERCOS Real Time Ethernet system is presumed In addition readers should also be familiar with the SmartWire DT system Important To avoid personal injuries or damage of electrical devices please read...

Page 6: ...re to find further information Operation instructions 1 operational step instruction instruction 2 operational step instruction instruction Results intermediate result final result For a description o...

Page 7: ...s manual refers to the following hardware revision and firmware version of the EU5C SWD SERCOS Gateway Device type name Protocol Part number Hardware revision Firmware Firmware version EU5C SWD SERCOS...

Page 8: ...artWire DT EU5C SWD SERCOS Downloads Software 1 3 2 Contents of the product DVD The SmartWire DT Gateway Solutions product DVD contains software for all types of SmartWire DT gateways Depending on the...

Page 9: ...e software available on the DVD and for downloading the latest version of the SWD Assist software from the internet Folder Setup Installation program for Ethernet Device Configuration Tool Folder EnDe...

Page 10: ...Configuration Tool installs the Hilscher Ethernet Device Configuration Tool GSDML EDS SDDML ESI files HTML page opens a web page containing links to the device description files In the main menu of t...

Page 11: ...dividual SmartWire DT slaves Eaton MN05006001Z EN Documentation english 3 SmartWire DT SmartWire DT Units MN05006001Z_EN pdf SmartWire DT The System Information on function installation commissioning...

Page 12: ...or this reason no guarantee can be made and neither juristic responsibility for erroneous information nor any liability can be assumed Descriptions accompanying texts and documentation included in the...

Page 13: ...lead to personal injury or injuries leading to death We inform you that the software was not developed for use in dangerous environments requiring fail proof control mechanisms Use of the software in...

Page 14: ...that you may require permission from state authorities to export re export or import the product 1 5 6 Registered Trademarks Adobe Reader is a registered trademark of Adobe Systems Incorporated IndraW...

Page 15: ...d personnel only Job specific technical skills for people professionally working with electricity must be present concerning the following issues Safety and health at work Mounting and connecting of e...

Page 16: ...ts in a way that they are well protected against unintentional operation Emergency stop devices complying with IEC EN 60204 1 must be effective in all operating modes of the automation devices Unlatch...

Page 17: ...tective earth PE or to the potential equalization The system installer is responsible for implementing this connection Connecting cables and signal lines should be installed so that inductive or capac...

Page 18: ...atic discharge when you install or remove the gateway Follow the guidelines listed hereafter when you handle the gateway Touch a grounded object to discharge potential static before you handle the gat...

Page 19: ...with high risk which will have as consequence death or grievous bodily harm if it is not avoided Indicates a possible hazard with medium risk which will have as consequence death or grievous bodily h...

Page 20: ...hand as modular slave in the Sercos network It thereby presents each connected SmartWire DT participant as individual module to the Sercos master The cyclic process data is exchanged transparently bet...

Page 21: ...et configuration the gateway gets ready for Sercos and waits for the Sercos configuration The gateway checks the project configuration which it receives from the Sercos master against the target confi...

Page 22: ...an be diagnosed by connecting the SWD Assist software to the Mini USB interface For further information please refer to the SWD Assist online help 3 5 Firmware and device description files The EU5C SW...

Page 23: ...system You must take safety precautions emergency switching off in the external circuitry of the gateway and any power modules type EU5C SWD PF1 1 or EU5C SWDPF2 1 that are used To do so plan to swit...

Page 24: ...aves a 24 V DC supply will also be required at the AUX power connection This provides the supply for activating the contactor coils This supply must be protected by an automatic circuit breaker 3A gG...

Page 25: ...s see subsequent section for details 4 Mini USB interface 5 Configuration button 6 LEDs indicating gateway functions see subsequent section for details 7 24 V power supply AUX 8 SmartWire DT connectio...

Page 26: ...r State Meaning POW System status Number in picture 1 Duo LED yellow green yellow On Operating system running firmware has been started green yellow Blinking green yellow Second Stage Bootloader is no...

Page 27: ...e Data exchange between gateway and PLC via Sercos is not possible off Off No communication with the Sercos PLC or the gateway does not have a project configuration SWD SmartWire DT status Number in p...

Page 28: ...orresponds to S DEV Bit 15 in the Device Status indicating a communication warning Master SYNC telegrams have not been received red orange Flashing 2 Hz Application error C1D See GDP FSP Status codes...

Page 29: ...e The Ethernet interface supports auto crossover 5 4 Device type label The EU5C SWD SERCOS Gateway is equipped with a device type label which provides the following information 1 Version of firmware a...

Page 30: ...Configuring gateway page 38 2 1 Configure SmartWire DT network in gateway Section Configuring SmartWire DT network in gateway creating target configuration page 38 2 2 Configure gateway in Sercos wit...

Page 31: ...which can cause internal damage and affect its normal operation Therefore adhere to the necessary safety precautions for components that are vulnerable to electrostatic discharge when you install or...

Page 32: ...l To mount the gateway onto the top hat rail proceed as follows Electrical shock Make sure that the gateway is disconnected from any power supply Cover or enclose neighboring units that are live Tilt...

Page 33: ...wer railing Hook gateway to lower railing Let go of the gateway The spring inside the bolt automatically pushes the gateway upwards into the railings thereby fixing the gateway to the top hat rail Gat...

Page 34: ...y integrated devices into a system secure the operating range of any connected parts of the system against access so that nobody is endangered by motors or machinery starting up unexpectedly Danger of...

Page 35: ...odule with an amperage of 0 7 A If necessary connect the 24 V DC voltage for the contactor coils to the AUX terminals on the front side of the gateway Figure 4 Gateway power supply Note The AUX supply...

Page 36: ...d the SWD4 8MF2 relevant blade terminal or prefabricated cables of type SWD4 3 5 10 F8 24 2S Figure 5 Connecting SmartWire DT to gateway Device destruction Switch off the power supply before you are r...

Page 37: ...conformant wiring of the network Undesired faults can occur on the bus due to electromagnetic interference This can be minimized beforehand by the implementation of suitable EMC measures These includ...

Page 38: ...work configuration takes place by pressing the configuration button on the gateway for the position of the configuration button see figure Device picture page 25 All SmartWire DT slaves are re address...

Page 39: ...T slaves are on or are flashing The SmartWire DT network is connected to the gateway The voltage POW is applied to the gateway and the power POW LED is on The voltage AUX is applied if necessary 8 2 3...

Page 40: ...e gateway and the SmartWire devices You will find the device description files on the product DVD in the SDDML zip folder in the EDS EU5C SWD SERCOS Vx x x x directory You can also download the latest...

Page 41: ...ing program like 7 Zip to unpack the device description files from the SDDML zip archive folder before importing them into IndraWorks 8 3 2 3 Adding gateway and SmartWire DT devices to Sercos bus 1 Un...

Page 42: ...s SDDML Select all device description files then click Open Note If you know exactly which SmartWire DT devices you are using in your SmartWire DT network and thus which device description files you n...

Page 43: ...dow Figure 8 Imported SDDML files In the Device Database dialog window select Close The Device Database dialog window closes You can display the imported device description files in the Library area o...

Page 44: ...ject choose File New Project from the menu The Create new project dialog window opens Figure 10 Create new project dialog window Enter the parameters of your project then click OK The Create new proje...

Page 45: ...the menu then select the appropriate master device e g IndraMotion MLC IndraControl L65 Figure 11 Add Sercos master to project A wizard for configuring the master controller opens Figure 12 Wizard for...

Page 46: ...he Sercos master is IndraMotion Mlc1 then choose Add EU5C SWD SERCOS from the context menu Figure 13 Add gateway to project Note As an alternative you can select the gateway in the Library under Perip...

Page 47: ...rtWire DT participants see section Configuring EU5C SWD SERCOS gateway as SmartWire DT Coordinator page 49 for more information on this Figure 14 Gateway added as Sercos slave 6 Configure gateway as S...

Page 48: ...can select the SWD device in the Library under Periphery Sercos EU5C SWD SERCOS and then drag drop it onto the EU5C_SWD_SERCOS object in the Project Explorer Figure 16 Add SmartWire DT device as Serc...

Page 49: ...rate of the SmartWire DT network Baudrate the handling of failing SmartWire DT devices All Modules Optional the handling of the replacement of SmartWire DT devices during bus operation Replace Mode T...

Page 50: ...DT device thus have no effect and will be overruled Replace Mode Online replacement of SmartWire DT devices during bus operation is allowed No Online replacement is not allowed new SmartWire DT device...

Page 51: ...able parameters of the SmartWire DT devices are described in the manual SmartWire DT Modules Doc ID MN05006001Z EN which is stored on the product DVD in the directory Documentation english 3 SmartWire...

Page 52: ...Presence is a feature of all SmartWire DT devices the other parameters listed here are specific to the EU5C SWD 2A2A module which means that other SmartWire DT may have different parameters Individua...

Page 53: ...ent sensor 0 20 mA Type of actuator output 0 Actuator selector signal range output 0 Voltage 0 10V Voltage 0 10 V default Current 0 20mA Current 0 20 mA Type of actuator output 1 Actuator selector sig...

Page 54: ...ication process see also diagram on the following page 1 The Sercos master writes a task read or write request for a SmartWire DT slave into the IDN P 0 2000 x 1 2 The tasks is activated by the proced...

Page 55: ...Acyclical communication 55 95 Figure 21 Acyclic communication SmartWire DT Gateway EU5C SWD SERCOS DOC160805UM01EN Revision 1 English 2017 02 Released Public Hilscher 2017...

Page 56: ...P 0 2000 x 3 to activate the task whereby x is representing the address of the concerned SWD slave Reading response of read request After the procedure command has been completed the Sercos master can...

Page 57: ...esponse in bytes 120 hex 0x78 Prerequisites You are connected and logged in at the Sercos PLC Master via IndraWorks The gateway is connected to the Sercos PLC Master and is in communication phase 4 CP...

Page 58: ...gure read request Press Enter on your keyboard 3 Activate read request In the IDN field enter S 0 2000 1 3 then press Enter on your keyboard In the Value field set the last two digits to 11 Figure 24...

Page 59: ...2 then press Enter on your keyboard to view the response of the read request Figure 25 View response Field 0 SWD Index Field 1 Request Type Field 2 Length Feld 3 6 Result Feld 7 n Data SmartWire DT G...

Page 60: ...aster uses the procedure command IDN P 0 2000 x 3 to activate the task whereby x is representing the address of the concerned SWD slave Reading result of write request After the procedure command has...

Page 61: ...1 hex 0x01 Data value to be written 0 hex 0x00 Prerequisites You are connected and logged in at the Sercos PLC Master via IndraWorks The gateway is connected to the Sercos PLC Master and is in commun...

Page 62: ...27 Configure write request Press Enter on your keyboard 3 Activate write request In the IDN field enter S 0 2000 1 3 then press Enter on your keyboard In the Value field set the last two digits to 11...

Page 63: ...2 then press Enter on your keyboard to view the result of the write request Figure 29 View result of write request Field 0 SWD Index Field 1 Request Type Field 2 Length Field 3 Result SmartWire DT Ga...

Page 64: ...ble in IO Diagnostic message 23 20 Reserved 19 16 Diagnosis Class 0x0E Warning C2D see section Diagnosis messages of individual SWD slaves Diagnosis Class Warning page 66 0x0F Error C1D see section Di...

Page 65: ...enerated by the gateway Diagnosis Class Error page 70 55 40 Status Code 0x0000 0xFFFF In case of Diagnosis Class 0x0E warning this is the SWD specific Diagnosis Code of the concerned SWD slave In case...

Page 66: ...devices manufactured by Eaton for example this would be the manual SmartWire DT modules MN05006001Z EN In case of Diagnosis Class Warning the IDN S 0 0095 0 0 Diagnostic Message always contains the s...

Page 67: ...sis No sensor connected to connector X2 Status Code 0x001C This diagnosis will be shown in IndraWorks as follows Double click the gateway in the Project Explorer then open Status tab Figure 30 SmartWi...

Page 68: ...P IO further details available in IO Diagnostic message 23 20 Reserved 19 16 Diagnosis Class 0x0E Warning C2D 15 0 Status Code 0x001C SWD specific Diagnosis Code of the concerned SWD device No sensor...

Page 69: ...is Class 0x0E Warning C2D 55 40 Status Code 0x001C SWD specific Diagnosis Code of the concerned SWD device No sensor connected to connector X2 see manual of concerned SWD device 39 24 Number of IO Fun...

Page 70: ...390 0 0 and S 0 1500 0 32 next to the corresponding descriptive text statement of the IDN S 0 0095 0 0 Diagnostic Message Status Code Diagnostic Message Meaning 0x0001 Internal error Internal error of...

Page 71: ...ce Type and Diagnosis Class are defined by Sercos Bits 15 0 Status Code are defined by manufacturer 29 24 Source Type 0x01 FSP IO further details available in IO Diagnostic message 23 20 Reserved 19 1...

Page 72: ...ass 0x0F Error C1D 55 40 Status Code 0x000B Gateway specific Diagnosis Code Mandatory SmartWire DT module missing see table Diagnosis Codes of Gateway in section Overview Error page 70 39 24 Number of...

Page 73: ...irmware via web interface page 79 To change the IP network settings use the following Sercos standard parameter Changing IP address IDN S 0 1020 0 0 Changing subnet mask IDN S 0 1021 0 0 Changing gate...

Page 74: ...and logged in at the Sercos PLC Master via IndraWorks The gateway is connected to the Sercos PLC Master and is in communication phase 2 CP2 Step by step instructions 1 Open parameter editor In the Pr...

Page 75: ...ur keyboard Figure 38 Changing IP address in parameter editor 3 Change subnet mask In the IDN field enter S 0 1021 0 0 then press Enter on your keyboard Enter new subnet mask values in fields 0 to 3 t...

Page 76: ...teway router address in parameter editor 5 Activate new IP network settings In the IDN field enter S 0 1048 0 0 then press Enter on your keyboard In the Value field set the last two digits to 11 Press...

Page 77: ...new IP network settings by using the IDNs S 0 1020 0 1 IP address S 0 1021 0 1 subnet mask and S 0 1022 0 1 standard gateway router address Figure 42 Checking new IP address SmartWire DT Gateway EU5C...

Page 78: ...the file system can cause severe malfunctioning of the device Note In case of a missing or defective firmware which is indicated by a green POW LED the regular firmware update process described in th...

Page 79: ...ns a valid SmartWire DT configuration The SWD LED of the gateway shows steady green light see position 4 in section Positions of the LEDs page 26 PC with web browser connected to an IP network The Eth...

Page 80: ...ate of creation of loaded firmware The Firmware Update section features the following control elements Control element Function Browse Opens the file selection dialog Transfer Uploads selected firmwar...

Page 81: ...he file will not be stored in the gateway and an error message will be displayed If the file passes the old firmware file in the gateway is overwritten by the new firmware This might take a minute Aft...

Page 82: ...edge that you want to reset the device Note You can use the Cancel button to uncheck the checkbox in front of Please confirm Click Submit button to start the reset The device is being reset SmartWire...

Page 83: ...HCP server is to assign an IP address to the gateway This assigned IP address can then be used by the configuration PC to connect to the download function of the backup firmware running in the gateway...

Page 84: ...twork An installer for this program can be found on the product DVD in the Software EnDeviceCfg folder the program can also be installed by using the menu of the product DVD 14 3 Step by step instruct...

Page 85: ...l opens Figure 45 Ethernet Device Configuration Tool Click Search Devices button to start searching for the gateway within the local Ethernet network The tool starts scanning for devices and lists all...

Page 86: ...web browser on your configuration PC In the address bar of your browser enter the IP address of the gateway http IP address The Firmware Update page opens Figure 47 Firmware recovery via HTTP as depic...

Page 87: ...set in order to start the new firmware Figure 48 Reset after firmware download via HTTP as depicted in Internet Explorer 6 Perform reset Activate the checkbox in front of Please confirm to acknowledge...

Page 88: ...system status LED at the gateway shows steady yellow light The new firmware has been loaded and the gateway is ready for operation SmartWire DT Gateway EU5C SWD SERCOS DOC160805UM01EN Revision 1 Engli...

Page 89: ...t 50 mm Free fall packaged IEC EN 60068 2 32 Drop height 1 m Ambient climatic conditions Operating ambient temperature IEC 60068 2 25 55 C Condensation Prevent by suitable measures Storage 40 70 C Rel...

Page 90: ...tween UPOW and 15 V SmartWire DT supply voltage No Bridging voltage dips 10 ms Repeat rate 1 s Status display POW LED SmartWire DT supply voltage Rated operational voltage Ue 15 V 3 max current Imax 0...

Page 91: ...and output data used Topology Line and ring Communication phases NRT CP0 CP1 CP2 CP3 CP4 HP0 HP1 HP2 Connections 1 Consumer Connection 1 Producer Connection Cross Communication CC Supported Acyclic c...

Page 92: ...ameters 50 Figure 19 Configure device parameters 51 Figure 20 Change device parameter values 52 Figure 21 Acyclic communication 55 Figure 22 Open parameter editor 57 Figure 23 Configure read request 5...

Page 93: ...Ethernet Device Configuration Tool 85 Figure 46 Found gateway in Ethernet Device Configuration Tool 85 Figure 47 Firmware recovery via HTTP as depicted in Internet Explorer 86 Figure 48 Reset after fi...

Page 94: ...EU5C SWD SERCOS Gateway 29 Table 17 Getting started 30 Table 18 Coordinator parameters 50 Table 19 Configurable device options and parameters of SWD slave EU5C SWD 2A2A example 53 Table 20 Elements o...

Page 95: ...91 8888 750 777 E mail info hilscher in Italy Hilscher Italia S r l 20090 Vimodrone MI Phone 39 02 25007068 E mail info hilscher it Support Phone 39 02 25007068 E mail it support hilscher com Japan Hi...

Reviews: