Teaser__5.png

Establish connection to ctrlX DRIVE via ctrlX CORE

CodeKnecht
Established Member

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 connection to drive:

  • connect via a propritary protocoll to ctrlX CORE and search for drives (no route settings necessary on engineering PC)
  • establish TCP/IP connection to drive via EtherCAT EoE by routing trough ctrlX CORE
  • use a operating panel (optional)

Following steps need to be done to configure and run the EtherCAT master:

  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.

    configure_ethercat_port.png
    add_ethercat_port.png

  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 (only needed if you want to communicate directly with drive via EoE). Therefor you need to enable expert settings first.

    picture

    EoE_master.png

    Eoe_drive.png

  8. Download configuration to EtherCAT master

    download_cnfg.png

  9. Since Device Admin 1.12.0, you have to enable IP forwarding on the engineering interface to forward standard Ethernet traffic to the eoe interface.
    ethercat-settings-ctrlx-core.jpg

  10. Add a route to your PC via command line. (open with admin rights) This step is mandatory if you want to communicate via EoE. Ping drive is only possible if EtherCAT state is min. Preop

    add_route.png

  11. Try to connect to ctrlX DRIVE with Indraworks using EoE - only possible if EtherCAT state is min. Preop

    search_drive_eoe.png

  12. Try to connect to ctrlX DRIVE with Indraworks via control. Therefor select a control type, enter IP of control and search for devices. Only possible if EtherCAT state is min. Preop

    search_drive_ctrl.png

  13. You are connected - configure your ctrlX DRIVE 😎

Related Links

Must Read

1 Comment
LunatiX
Long-established Member

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-...

 

 

Trending

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