Integration into the NC configuration

(Master: TwinCAT 2.11)

Integration into the NC configuration 1:

EtherCAT XML Device Description

The display matches that of the CoE objects from the EtherCAT XML Device Description. We recommend downloading the latest XML file from the download area of the Beckhoff website and installing it according to installation instructions.

Integration into the NC configuration 2:

Required firmware (FW) version and TwinCAT version

At least the firmware version 07 is required for the integration of the EL2522 in the NC;

TwinCAT versions:

  • from TwinCAT version 2.11 R3 Build 2250
  • from TwinCAT version 3.1 Build 4018.16 (recommended)
  1. The terminal must already have been inserted manually under I/O devices or have been scanned in by the system (see EtherCAT – System Manual section “online/offline configuration creation”).
  2. Add a new task.
  3. Integration into the NC configuration 3:
    Fig.29: “Append task…”
  4. Select the operation mode of the terminal in the selection box “Predefined PDO Assignment” on the register tab “Process data”.
  5. Integration into the NC configuration 4:
    Fig.30: EL2522 - selection of the operation mode (default)
  6. Adding an NC axis
  7. Integration into the NC configuration 5:
    Fig.31: Adding an NC axis
  8. Adding a new axis
  9. Integration into the NC configuration 6:
    Fig.32: Selecting and confirming the axis type
  10. Linking the non-referenced axes to the terminal
  11. Integration into the NC configuration 7:
    Fig.33: Linking the axis with the terminal
  12. In the case of 2-channel operation, also link the second axis with channel 2 of the EL2522.
  13. All important links between the NC configuration and the terminal are thus carried out automatically for the selected channels. The links are illustrated in the tree (A) and in the online view (B and C) (see fig. “Automatic linking of all main variables”).
  14. Integration into the NC configuration 8:
    Fig.34: Automatic linking of all main variables
  15. “Target counter value”, “Automatic direction” and “Target arrival time” are not automatically linked under the following conditions. Observe the following chapters here:
  16. Distributed Clocks Settings: “DC-Synchron” under the “DC” tab
  17. Integration into the NC configuration 9:
    Fig.35: Setting “DC-Synchron”
  18. Set the frequency of the terminal in order to achieve the required velocity
Integration into the NC configuration 10:
Fig.36: Setting of “Base frequency 1” in Index 0x8000:12