Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

Teaser__5.png

Establish connection to ctrlX DRIVE via ctrlX CORE

RexCode
Long-established Member
Overview

When EtherCAT master communication is configured in ctrlX DRIVE, we need a running and configured EtherCAT master (if panel not equipped) to connect with ctrlX DRIVE Engineering.

Sample structure where a communication trough Ethercat master is necessary:

  • ctrlX DRIVE is configured with ctrlX CORE option (type plate code X3). To access local/integrated ctrlX DRIVE or drives connected via EtherCAT we need to configure EtherCAT master

EthercatM3_2.png

  • ctrlX DRIVE is configured with multi ethernet option (type plate code ET) and master control protocol EtherCAT is active. To access drive we need to configure EtherCAT master of ctrlX CORE

EthercatM4_2.png

Possible ways of connection to drive
  1. - Use a operating panel (optional)
  2. - Connection via ctrlX CORE
    1. Search for drives (no route settings necessary on engineering PC). Simply select a control type, enter IP of control and search for devices. Only possible if EtherCAT state is min. Preop (For general setup follow steps a to f and h below) HINT: Firmware update of drive is not possible via this connection type
      search_drive_ctrl.png

  3. - TCP/IP connection via EtherCAT EoE by routing trough ctrlX CORE

    1. Select EtherCAT protocol on drive side via display or ctrlX DRIVE Engineering and connect the fieldbus cables. Wiring order is mandatory: for EtherCAT IN (cable from control) use lower ethernet port, for EtherCAT OUT (cable to next drive) use upper ethernet port on drive.

    2. Use ctrlX WORKS or Windows network devices to find connected ctrlX CORE via ethernet (Engineering Port ctrlX CORE: XF10)

    3. Open setup site of ctrlX CORE in a web browser, login and go to EtherCAT > Configuration to define the ethernet adapter to be used as EtherCAT master (EthercatMaster App needs to be installed). Connect your EtherCAT devices to port XF50.

      ctrlX OS webUI 1.20/2.6 - add EtherCat masterctrlX OS webUI 1.20/2.6 - add EtherCat masterctrlX OS web UI 1.12 - add EtherCat masterctrlX OS web UI 1.12 - add EtherCat master

    4. Navigate to Automation and open ctrlX IO Engineering

      open_ctrlx_io.png

    5. Push “Scan for devices” to find EtherCAT devices connected to defined EtherCAT adapter.

      scan_devices.png

    6. Add devices to project

      found_devices.png

    7. Activate EoE on master and each drive.
      1. For 1.20, 2.6 and newer the EoE settings only needs to done on master side and is written autmatically to the drives
        ctrlX IO Engineering - EtherCat master EoE settingsctrlX IO Engineering - EtherCat master EoE settings

      2. For 1.12 expert settings needs to be enabled first in each drive

        ctrlX DRIVE Establish Connection

        EoE_master.png

        Eoe_drive.png


    8. Optional: Change cyclic process data according your application requirements (expert settings needs to be enabled)MDT=data from control to device; AT=data from device to control
      2022-04-20_09h16_20.png

    9. Download configuration to EtherCAT master

      download_cnfg.png

    10. Since Device Admin 1.12.0, you have to enable IP forwarding via network settings on EoE and Engineering port (eth0 = XF10, eth1 = XF51) to forward internal EoE ethernet traffic to the external interface.
      ctrlX CORE EtherCAT Settings

    11. Add a route to your PC via opening ctrlX DRIVE Engineering via the link in the ctrlX CORE web UI. ctrlX CORE web UI open ctrlX DRIVE EngineeringctrlX CORE web UI open ctrlX DRIVE Engineering
      or use command line (open with admin rights).
      Ping drive is only possible if EtherCAT state is min. Preop

      add_route.png

    12. Try to connect to ctrlX DRIVE with ctrlX DRIVE Engineering or IndraworksDs using IP address search - only possible if EtherCAT state is min. Preop

      search_drive_eoe.png

    13. You are connected -> configure your ctrlX DRIVE 😎

Related Links
5 Comments
LunatiX
New Contributor

Hi CodeKnecht

It would be great when you could update this how to with the topic process data. Please take a look here:

https://developer.community.boschrexroth.com/t5/ctrlX-WORKS/How-to-add-additional-process-data-of-a-...

 

 

stefanAT_ctrlX
New Contributor

For me also necessary was the info from https://developer.community.boschrexroth.com/t5/Communication/Ethercat-EoE-Version-1-12/m-p/51083#M1...

that for the eoe0 Port also the IP-forwarding has to be activated !!!!!   😊

RexCode
Long-established Member

Thanks for your hints 👍🏼 how-to was updated.

rku
Established Member

I don't see an option to download this as pdf. That would be good for instructions like this.

CodeShepherd
Community Moderator
Community Moderator

Currently the only way to get a PDF is to switch to printer friendly page and then print as PDF. We are working on the design of this page to get the best result.

Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist