Motor control operations
UM0522
26/39
8.10
Changing the maximum current allowed by GUI
The maximum current allowed by GUI has been set to 4.4 A. This value may be changed by
modifying the file "gui.ini" inside the folder where the " STEVAL-IHM017V1 - GUI" file is
installed. Open the "gui.ini" file using the notepad and change the value of the following line:
●
MAX_CURRENT = 4.4
Replace the value 4.4 with the desired value of current limitation expressed in ampere.
Remember that also the hardware current limitation must be changed accordingly, see
Section 8.10: Changing the maximum current allowed by GUI on page 26
to know how to
modify this limitation.
8.11 Compiling
the
firmware
Once the configuration files have been produced (manually or using the GUI), the binary
executable file (.s19) must be compiled and produced. To do this, the STVD7 for inDART-
STX is used with the Cosmic compiler (see
Section 8.3: Software requirements on page 20
Zero-crossing
After D blanking
window
Sets the blanking window after a D event in microseconds (µs)
Z event counter filter
Defines the number of counter events required to validate a Z event
Threshold voltage
Voltage set (in volts) for Z detection
Demagnetization
After C blanking
window
Sets the blanking window after a C event in microseconds (µs)
D event counter filter
Defines the number of counter events required to validate a D event
Demagnetization
method
Three methods are available: “all hardware”, “alternate hardware/software”
or “all software”
Demagnetization time
Fixed demagnetization time in microseconds (µs) (only with
demagnetization methods “all software”)
Force duty cycle during
demagnetization
Allows using a different value of duty cycle rather than the one in run time
setting
Duty cycle
Value of duty cycle percentage forced during demagnetization
Stop condition
Free wheeling
After stopping, the motor continues to spin freely
DC current braking
Active brake obtained injected dc current into the motor
Brake level
Value of duty cycle percentage of PWM brake signal
Brake time
Duration in milliseconds of the active brake
Table 6.
"3-phase BLAC/DC (trapezoidal)" advanced parameters (continued)
Parameter name
Description
www.BDTIC.com/ST