TIDUF42 January   2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Terminology
    2. 1.2 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 EnDAT 2.2 Interface
      2. 2.3.2 SDFM Interface
      3. 2.3.3 EPWM Interface
      4. 2.3.4 ICSS-PRU IEP
      5. 2.3.5 EtherCAT CiA402 Velocity Control
  9. 3System Design
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Hardware Requirements
    2. 4.2 Software Requirements
    3. 4.3 Test Setup
    4. 4.4 Test Results
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks
  12. 6About the Author

Test Results

To evaluate the reference design, complete the following steps:

  1. Download and install the TwinCAT on your Windows PC
  2. Launch the TwinCAT automation software
  3. Create an EtherCAT Project as shown in the TwinCAT software GUI:
    GUID-20231023-SS0I-KJ0C-PR81-RPDW25BXPZ01-low.png Figure 4-12 Creating an EtherCAT® Project in TwinCAT
  4. EtherCAT CiA402 – Scan the device by right clicking on DevicesScan …). Use the following images to step through the process.
    GUID-20231023-SS0I-2F3X-NBNV-TB3DBDQTKLPX-low.png Figure 4-13 Scan for EtherCAT® device in TwinCAT
    GUID-20231023-SS0I-Z9ZR-6RXP-RTGNZ7B37HBB-low.png Figure 4-14 Scan for EtherCAT® device in TwinCAT (2)
    GUID-20231023-SS0I-JBQG-B4DC-TZHT4B88SKNC-low.png Figure 4-15 Scan for EtherCAT® device in TwinCAT (3)
    GUID-20231023-SS0I-KLN7-TMDK-S4MDQXS42SGW-low.png Figure 4-16 Scan for EtherCAT® device in TwinCAT (4)
    GUID-20231023-SS0I-03L5-ZPNJ-MRJMCRMK1Q9J-low.png Figure 4-17 Scan for EtherCAT® device in TwinCAT (5)
  5. EtherCAT CiA402 – Device 1 (TI EtherCAT Toolkit CiA402 for AM243X.R5F) Found
    GUID-20231023-SS0I-XMXB-RFWJ-4V41SV7DTHCT-low.png Figure 4-18 An EtherCAT® device is found by TwinCAT
  6. EtherCAT CiA402 – Change RxPDO (Motor 1) Target velocity to 240 (240 RPM)
    GUID-20231023-SS0I-5RRG-RBN2-5CR8BND4RCSF-low.png Figure 4-19 Change the Target Velocity for Motor 1 in TwinCAT
    GUID-20231023-SS0I-LDJP-9PJ6-V1RJTVN73X5X-low.png Figure 4-20 Change the Target Velocity for Motor 1 in TwinCAT (2)
    GUID-20231023-SS0I-G7D1-TBRR-7RF2HRFQMDDW-low.png Figure 4-21 Change the Target Velocity for Motor 1 in TwinCAT (3)
  7. EtherCAT CiA402 – Change RxPDO (Motor 1) Modes of Operation to "9" (Cyclic synchronous velocity mode)
    GUID-20231023-SS0I-RMDW-5KNC-BMZRBWHXZKBP-low.png Figure 4-22 Change the Operation Mode for Motor 1 in TwinCAT
    GUID-20231023-SS0I-BGKB-37TL-PGDGVDX5X5HN-low.png Figure 4-23 Change the Operation Mode for Motor 1 in TwinCAT (2)
  8. EtherCAT CiA402 – Change RxPDO (Motor 1) Controlword to "15" (Switch On | Enable Voltage | Quick Stop | Enable Operation)
    GUID-20231023-SS0I-VRHV-C0GH-GLVC4XVF4WC3-low.png Figure 4-24 Change the Controlword for Motor 1 in TwinCAT
    GUID-20231023-SS0I-DDMH-WHJ6-SW39QZKJ9XW4-low.png Figure 4-25 Change the Controlword for Motor 1 in TwinCAT (2)
  9. After changing this setting, the speed of Motor 1 changes from 120 RPM to 240 RPM
  10. EtherCAT CiA402 – Check TxPDO (Motor 1), make sure Velocity actual value is 240 (240 RPM)
    GUID-20231023-SS0I-PNN8-XMFX-0GQQ9ML1X8DT-low.png Figure 4-26 Check the Actual Velocity for Motor 1 in TwinCAT
  11. EtherCAT CiA402 – Change RxPDO_1 (Motor 2) Target velocity to 180 (180 RPM)
    GUID-20231023-SS0I-HRW8-LFS5-1SW5FM51N9B9-low.png Figure 4-27 Change the Target Velocity for Motor 2 in TwinCAT
  12. EtherCAT CiA402 – Change RxPDO_1 (Motor 2) Modes of Operation to "9" (Cyclic synchronous velocity mode)
    GUID-20231023-SS0I-RSB0-HGJ7-8TFNSLW7H2VG-low.png Figure 4-28 Change the Operation Mode for Motor 2 in TwinCAT
  13. EtherCAT CiA402 – Change RxPDO_1 (Motor 2) Controlword to "15" (Switch On | Enable Voltage | Quick Stop | Enable Operation)
    GUID-20231023-SS0I-XQZ6-8WMS-1TT3DVCC1V46-low.png Figure 4-29 Change the Controlword for Motor 2 in TwinCAT
  14. After the previous change, the target speed of motor 2 is 180 RPM
  15. EtherCAT CiA402 – Check TxPDO1 (Motor 2), make sure Velocity actual value is 180 (180 RPM)
    GUID-20231024-SS0I-5J7T-9XRR-VNZL93WDCHW8-low.png Figure 4-30 Check the Actual Velocity for Motor 2 in TwinCAT