Pepperl+Fuchs WCS-ECG410 Manual
Pepperl+Fuchs WCS-ECG410 Manual

Pepperl+Fuchs WCS-ECG410 Manual

Interface module ethercat

Advertisement

Quick Links

WCS-ECG410
Interface Module
EtherCAT
Manual

Advertisement

Table of Contents
loading

Summary of Contents for Pepperl+Fuchs WCS-ECG410

  • Page 1 WCS-ECG410 Interface Module EtherCAT Manual...
  • Page 2 Phone: +49 621 776 - 0 E-mail: info@de.pepperl-fuchs.com North American Headquarters Pepperl+Fuchs Inc. 1600 Enterprise Parkway Twinsburg, Ohio 44087 Phone: +1 330 425-3555 E-mail: sales@us.pepperl-fuchs.com Asia Headquarters Pepperl+Fuchs Pte. Ltd. P+F Building 18 Ayer Rajah Crescent Singapore 139942 Phone: +65 6779-9091 E-mail: sales@sg.pepperl-fuchs.com https://www.pepperl-fuchs.com...
  • Page 3: Table Of Contents

    WCS-ECG410 Contents Introduction........................ 4 Content of this Document ................4 Target Group, Personnel ................4 Symbols Used ....................4 Product description....................6 Use and Application ..................6 Dimensions..................... 6 Design of the Device..................7 Installation........................ 11 Mounting....................... 11 Electrical Connection .................. 12 Dismounting ....................
  • Page 4: Introduction

    WCS-ECG410 Introduction Introduction Content of this Document This document contains information required to use the product in the relevant phases of the product life cycle. This may include information on the following: • Product identification • Delivery, transport, and storage •...
  • Page 5: Symbols Used

    WCS-ECG410 Introduction Symbols Used This document contains symbols for the identification of warning messages and of informative messages. Warning Messages You will find warning messages, whenever dangers may arise from your actions. It is mandatory that you observe these warning messages for your personal safety and in order to avoid prop- erty damage.
  • Page 6: Product Description

    Product Description Use and Application The WCS-ECG410 interface module acts as an interface between the WCS read head and the EtherCAT controller. The device has two EtherCAT ports. Data is transferred between the WCS read head or WCS read heads and the interface module via the RS-485 interface and from the interface module to the controller via the EtherCAT protocol.
  • Page 7: Design Of The Device

    WCS-ECG410 Product Description Design of the Device Device Components Figure 2.2 Interface module overview RS-485 bus termination slide switch X1: RS-485 interface Mounting bracket X2: Connection for power supply X3: EtherCAT communication interface Front panel with rotary coding switch and LED status indicator...
  • Page 8 WCS-ECG410 Product Description Front Panel WCS-ECG410 Modul EtherCAT Figure 2.3 Front panel overview WCS read head: LED status indicator and rotary coding switch Power: The "Power" LED lights up green: power supply is present. State: The "State" LED is green: Data is being exchanged with the WCS read heads. The four "Error No/Select ID"...
  • Page 9 WCS-ECG410 Product Description LED ErrorNo/Select ID Error number Error description LED8 LED4 LED2 LED1 Reserved Hardware error EEPROM error Internal memory error Fieldbus hardware error or incorrect fieldbus ID Script error Reserved WCS read head communication, RS send buffer overflow...
  • Page 10 WCS-ECG410 Product Description EtherCAT: LED Status Indicator Bus State: ERR State (red LED) Error Description No error The EtherCAT communication of the device is ready for operation. Flashing Invalid configuration General configuration error (example: wrong object settings) 1 x flashing...
  • Page 11: Installation

    WCS-ECG410 Installation Installation Mounting Mounting the Modules The module is fastened to a DIN mounting rail with a width of 35 mm using a snap-on fixing method. Figure 3.1 Mounting Hook the module (1) onto the DIN mounting rail (2) from above and press it down until it snaps into place.
  • Page 12: Electrical Connection

    WCS-ECG410 Installation Electrical Connection Danger! Device damage due to incorrect installation Incorrect installation of cables and connection lines can endanger the function and the electri- cal safety of the device. • Observe the permissible core cross section of the conductor.
  • Page 13 WCS-ECG410 Installation Connecting the Power Supply Connect the operating voltage (10 VDC...30 VDC) to terminals 1 and 2 of the 4-pin plug X2 on the interface module. In addition, note the label on the module. The "Power" LED lights up green.
  • Page 14 WCS-ECG410 Installation Preparing for Operation on RS-485 Interface For operation on an RS-485 interface, the terminal on plug X1 must be connected: Connect the read head to the terminal. Use the enclosed jumper to connect the terminals to each other...
  • Page 15: Dismounting

    WCS-ECG410 Installation Dismounting Dismounting the modules Use a suitable slot-head screwdriver for dismounting the module. Disconnect all the supply and signal lines. Figure 3.4 Dismounting Insert the screwdriver (2) into the groove of the mounting bracket (3). Press the screwdriver (2) in the specified direction until the lock on the DIN mounting rail (4) opens, see figure.
  • Page 16: Commissioning

    Installation and commissioning must be carried out only by trained personnel in accor- dance with safety regulations. Components To commission the module, you will require the following components: • WCS-ECG410 interface module • ESI file (the ESI file can be obtained free of charge from our website www.pepperl- fuchs.com.) •...
  • Page 17 WCS-ECG410 Commissioning Connecting the Interface Module To ensure that the assembly functions correctly, you must carry out the following steps during commissioning: Assign an EtherCAT address. Note On delivery, the module does not yet have an IP address. In normal operation, the IP address is usually assigned to the module by the EtherCAT IO controller (PLC).
  • Page 18: Connecting The Wcs Read Head

    WCS-ECG410 Commissioning Connecting the WCS Read Head If you connect several WCS read heads to one interface module, the WCS read heads must have different addresses. This will allow the programmable logic controller to allocate the data to the correct WCS read heads. If you connect only one WCS read head to an interface mod- ule, this WCS read head always receives the address 0.
  • Page 19 WCS-ECG410 Commissioning Connecting the WCS Read Head Connect the voltage supply for the WCS read head on terminals 1 and 2 of the 4-pin plug X2 on the interface module. Connect the RS-485 data cable to the WCS read head on terminals 4 and 5 of plug X1.
  • Page 20: Connection To The Network

    WCS-ECG410 Commissioning Connection to the Network The connection to the EtherCAT IO is made via the two "RJ45 EtherCAT IN and OUT" sockets on the underside of the interface module. The front socket is labeled "X3 IN," and the rear socket is labeled "X4 OUT."...
  • Page 21: Integrate Interface Module Into The Network

    WCS-ECG410 Commissioning Integrate Interface Module into the Network Caution! Malfunction due to incorrectly configured devices Incorrectly configured devices can cause malfunction of the plant. • Only put devices into operation after they have been configured correctly. You will need an ESI file to operate the module described in this manual. The ESI file must be imported into the corresponding configuration tool before commissioning the module.
  • Page 22 WCS-ECG410 Commissioning Adding the device to the network Download and install the software "TwinCAT 3.1 - eXtended Automation Engineering" (XAE). The software is available on the website of the manufacturer Beckhoff at http://www.beckhoff.com/english.asp?download/tc3-download-xae.htm. After the installation, copy the ESI file into the following folder: C:\TwinCAT\3.1\Config\Io\EtherCAT...
  • Page 23 WCS-ECG410 Commissioning A window 1 new I/O devices found opens if a device was detected. The device can now be added to the device tree. Double-click on the device symbol. The Properties window opens. Enter the required network configuration.
  • Page 24 Stop communication if it is active. Select Pepperl+Fuchs WCS from the list of nodes (default device name: UNIGATE-IC) and double-click on the device symbol. In the WCS module Properties window, enter the new device name in the Name field and save the configuration.
  • Page 25: Data Format For Modules

    WCS-ECG410 Commissioning Data Format for Modules In "only Position" operating mode, 4 bytes are reserved for each WCS reader. Byte 0 Byte 1 Byte 2 Byte 3 Table 4.4 Data format for each connected WCS reader in "only Position" operating mode, reader address = 0...3...
  • Page 26 WCS-ECG410 Commissioning Status bits Optical state of Description WCS reader Current position value binary coded in P00...P18 Good WCS reader outside of the code rail, not a posi- Good tion value P0...P18=0: WCS reader partly outside the code rail P0=1, P2...P18=0: WCS reader completely out- side of the code rail Current position value binary coded in P00...P18 Poor...
  • Page 27: Communication With Wcs Read Heads

    WCS-ECG410 Communication with WCS Read Heads Communication with WCS Read Heads Data Protocols Data protocol 1 Request byte for read head Byte Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0...
  • Page 28 WCS-ECG410 Communication with WCS Read Heads Description of the protocol data Activation of the read head Read head address Read head address 0 Read head address 1 Read head address 2 Read head address 3 Send position value Send diagnosis result...
  • Page 29 WCS-ECG410 Communication with WCS Read Heads Diagnostic bit (DB) Diagnostic bit DB displays the result of the integrated diagnostics of the read head. Function number for read head F0 = 1 (send diagnosis result) State of the read Description head lens...
  • Page 30 WCS-ECG410 Communication with WCS Read Heads OUT message Function number for read head F0 = 0 (send position value) Description State P00...P18 = 0 -> read head is par- tially outside the code rail P00 = 1, P02...P18 = 0 -> read head...
  • Page 31: Option-E-Extended, Type Wcs3B-Ls2*E*, Rs-485

    WCS-ECG410 Communication with WCS Read Heads Option-E—Extended, Type WCS3B-LS2*E*, RS-485 The read head WCS3-Extended: WCS3B-LS*E* with RS-485 interface is used for routes of more than 314.573 m. In this case, the additional "E" in the type code identifies the extended version for the extending code rail.
  • Page 32 WCS-ECG410 Communication with WCS Read Heads Description of the protocol data Byte 1 A1, A0 Address bits of the read head. Addresses 0 ... 3, binary coding The read head is located in the readable area of the code rail...
  • Page 33 WCS-ECG410 Communication with WCS Read Heads Behavior of the read head in the area of the WCS3 code rail extender (WCS3-CS70-E) The read head retains the last measured end position of the first code rail segment (position = 393203) when traversing the WCS3 code rail extender. The OVL bit is set at the same time. As soon as the first valid position of the second code rail segment is read, the read head switches to the first valid position of the second code rail segment (position = 393318).
  • Page 34: Appendix

    WCS-ECG410 Appendix Appendix Cable Routing in the RS-485 Bus The data cables must always form an in-line connection between the first and the last node. This in-line connection must end with a terminator. The RS-485 terminators are integrated in the WCS readers and can be switched on and off with the interface module.
  • Page 35 WCS-ECG410 Appendix Reading head Reading head Interface or control (PLC) Figure 6.2 Connection of two reading heads, Version A • Version B: The interface module is located at the beginning of the data line; one WCS reader is located at the end of the data line. Both need the RS-485 terminator. The second WCS reader is connected to the line connection between the interface module and the first WCS reader through a short spur (length <1 m).
  • Page 36 WCS-ECG410 Appendix Reading head Spur line (max. 1 m) Reading head Interface or control (PLC) Figure 6.3 Connection of two reading heads, Version B The wiring version used depends on which is best suited for the application. If three or four WCS readers are used on the same interface module, connect these using spurs as shown in variant B.
  • Page 37: Data Cable

    WCS-ECG410 Appendix Data Cable A shielded data cable with twisted-pair cores is used for the electrical connection. Pep- perl+Fuchs can supply suitable preassembled M12 single-ended female cordsets () or field- attachable M12 female connectors and data cables. Data Cable WCS-DC* There are two types of data cable available: •...
  • Page 38 WCS-ECG410 Appendix Cable Length For the RS-485 data transfer path, a four-wire, shielded, twisted pair data cable must be used. One core pair is used for the supply voltage, and one pair for the RS-485 data connection. The maximum length of the cable depends on the capacitance of the data cable—core-core—for data transfer, and on the cross section of the cables for voltage supply to the read heads.
  • Page 39 WCS-ECG410 Appendix Cable Overview The cable types listed below represent a selection of the types available from Pepperl+Fuchs. You can find additional cable types on our website. Note For customizable cables, observe the cable length restrictions specified by the interface specifications.
  • Page 40 Pepperl+Fuchs Quality Download our latest policy here: www.pepperl-fuchs.com/quality www.pepperl-fuchs.com © Pepperl+Fuchs · Subject to modifications Printed in Germany / DOCT-6497...

Table of Contents