How to change the PWM frequency in MotionLab3?

In order to change the PWM frequency to use for commutation, you need to use the following register: 0x521 - Power stage frequency. It can take the following values which related to the different PWM frequencies available:

  • 0 → 10 kHz

  • 1 → 20 kHz

  • 2 → 50 kHz

  • 3 → 100 kHz

This register can be modified in either the Drive Explorer or Control widgets inside the MotionLab3 GUI.