TMA Recover EtherCat Line#

Overview#

This guide addresses the frequent issue of some systems on the TMA becoming non-responsive due to EtherCAT communication interface problems. It provides a detailed procedure for resetting the EtherCAT interface, focusing primarily on the main TMA cabinet. By following this guide, users can restore the responsiveness of critical systems, ensuring continuous operation even when specialized support is unavailable.

Error diagnosis#

Some set of systems on the TMA could be non-responsive in some ocasions. In these cases the ethercat communication interface must be reset to regain connection to these systems. This is often done by the day crew when needed, or by Tekniker/Phase support when on site. Observers knowing and following this procedure can help rescue nights when additional support is not available.

A non exhaustive list of systems that may not be responsive as a result of ethercat issues are:

  • Az/El Drives

  • Thermal Systems

  • Limit Switches (will show as active when they are not)

  • Inclinometer

  • Power Supply

  • More…

Typically it is sufficient to reset the ethercat in the TMA main cabinet. On rare occasions (once in current knowledge), ethercat in other cabinets may need to be reset. Different systems not responding may be indicative of which cabinet this procedure needs to be performed in.

Solution#

Important

Ethercat can be reset for different systems in different TMA cabinets. This guide covers the main TMA cabinet where it most commonly must be reset. Similar steps may be used for other cabinets.

Definition

This guide uses the term RJ45, the formal name for the connector of an ethernet cable. This is used to avoid incorrectly calling a connection “ethercat” or “ethernet” which both use RJ45 connectors.

  1. Lock out the TMA: follow (TMA LOTO GUIDE PAGE) for this procedure

  2. Head up to the main TMA cabinet: This can be found on level 8, on the TMA. If on the side of the TMA with the stairs up to the deploy able platforms, it is on the left on the other side of the corner.

    1. Next to the cabinet is the physical TMA Tekniker Support Computer (tma-pc01.cp.lsst.org).

  3. Connect to TMA Tekniker Support Computer: details for this can be found in 1password.

    1. Typically the monitor is turned off to prevent stray light. You may need to turn it on. Remember to turn it off when you are done!

    2. Alternatively you may use your laptop and Microsoft Remote Desktop (available for Mac as well) to connect to this computer. More details on 1password.

  4. Identify dark green Ethernet cable connected to the support computer: this cable plays a pivotal role in the reset of the procedure.

    1. The cable is a darker green from the other ethercat ethernet cables which are a pale green.

    2. This cable connects to a “Moxa” switch in the right section of the cabinet

    3. The cable goes through a hole in the floor of the cabinet and out to connect to the support PC.

    4. Remember its original slot in the switch, it will be returned here at the end of this procedure.

      ../../../../_images/cable-1.png

      Dark green ethernet cable.#

  5. Connect the support PC directly to the Phoenix Connect remote IO input

    1. Identify the location of the Phoenix Connect system. It is in the center section of the cabinet, below the Bosch controller. It has Phoenix Connect branding and two RJ45 connectors on it.

    Caution

    Ensure that the existing RJ45 connection on the Phoenix Connect are tight by gently pushing them in.

    1. Disconnect the Support PC ethernet cable from the Moxa switch and move it to the middle section of the cabinet (an extra hand to hold it can be helpful)

    2. Replace the blue, upper RJ45 connection on the Phoenix Connect with the Support PC ethernet cable.

      ../../../../_images/cable-2.png

      Phoenix Connect system.#

  6. Reset Ethercat from the TMA Support PC

    1. Open the PowerSupplyAndIOs project in TwinCAT software on the PC

    2. Click “restart TwinCAT System”

      ../../../../_images/screen-1.png

      TwinCAT System#

    3. Check that all is perfect

      ../../../../_images/screen-2.png

      PowerSupplyAndIOs#

    4. Trial license may need to be renewed during this step — see appendix

  7. Re-activate System in NI manager and TwinCAT

    1. On the Phoenix Connect, replace the green support PC ethernet connection with the original blue RJ45 connection

    2. DO NOT return the green support PC ethernet to its original position yet!

      ../../../../_images/cable-3.png

      Green ethernet cable#

    3. You may hear audible clicks in the cabinet

    4. Change 139.229.171.3 to active in NI Distributed System Manager software on Support PC

      ../../../../_images/screen-3.png

      NI Distributed System Manager#

    5. Configure ethercat in TwinCAT software (blue box in upper left)

      ../../../../_images/screen-4.png

      TwinCAT#

  8. Disable and Re-enable Integrated Ethernet Network Interface Card in windows network settings

    1. Open network settings in windows, can be accessed through the wifi symbol in the lower right corner

    2. Go to ethernet and click on “Cambiar Opciones del adaptador” to open up control panel version of the app

    3. Right click on the IntegratedEthernet adaptor

    4. Click Desactivar

    5. Right click again after a brief wait

    6. Click Activar

      ../../../../_images/screen-5.png

      Windows network settings#

  9. Return Support PC ethernet cable to its original position

    ../../../../_images/cable-1.png

    Returning ethernet cable.#

  10. Ethercat should be reset and systems should be responsive now. If they are not, double check that the RJ45 connections to the Phoenix Connect are tight and try again.

Appendix#

  1. Renew trial license on TwinCAT

    ../../../../_images/screen-6.png

    TwinCAT#

  2. Pier 6 cabinet pictures

    1. Cabinet

      ../../../../_images/cabinet-1.png

      Cabinet#

    2. Level 6 Phoenix Connect

      ../../../../_images/cabinet-2.png

      Level 6 Phoenix Cabinet#

Contingency#

If the procedure was not successful, report the issue in [relevant Slack channel] and/or activate the Out of hours support.