To evaluate the reference design,
complete the following steps:
- Download and install the TwinCAT
on your Windows PC
- Launch the TwinCAT automation software
- Create an EtherCAT Project as shown in the TwinCAT software GUI:
- EtherCAT
CiA402 – Scan the device by right clicking on Devices → Scan …).
Use the following images to step through the process.
- EtherCAT CiA402 – Device 1 (TI EtherCAT Toolkit CiA402 for AM243X.R5F) Found
- EtherCAT
CiA402 – Change RxPDO (Motor 1) Target velocity to 240 (240 RPM)
- EtherCAT
CiA402 – Change RxPDO (Motor 1) Modes of Operation to "9" (Cyclic
synchronous velocity mode)
- EtherCAT CiA402 – Change RxPDO (Motor 1) Controlword to "15" (Switch
On | Enable Voltage | Quick Stop | Enable
Operation)
- After changing this setting, the speed of Motor 1 changes from 120 RPM to 240
RPM
- EtherCAT CiA402 – Check TxPDO (Motor 1), make sure Velocity actual value
is 240 (240 RPM)
- EtherCAT CiA402 – Change RxPDO_1 (Motor 2) Target velocity to 180 (180
RPM)
- EtherCAT
CiA402 – Change RxPDO_1 (Motor 2) Modes of Operation to "9" (Cyclic
synchronous velocity mode)
- EtherCAT CiA402 – Change RxPDO_1 (Motor 2) Controlword to "15" (Switch
On | Enable Voltage | Quick Stop | Enable
Operation)
- After the previous change, the target speed of motor 2 is 180 RPM
- EtherCAT
CiA402 – Check TxPDO1 (Motor 2), make sure Velocity actual value is 180
(180 RPM)