"MotorControlProtocol: ASPEP_RESP ERROR: CMD_NOK"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-06-16 8:27 PM - last edited on 2025-06-17 8:39 AM by Andrew Neil
"MotorControlProtocol: ASPEP_RESP ERROR:CMD_NOK" An error code occurs when the ABZ encoder motor runs the Position Control Mode command.
1.Software Information:
Motor Control WorkBench Version 6.3.2
Project generation
SETTINGS:
STM32CubeMX Version: 6.14.1
Target Toolchain: ST STM32CubeIDE
Firmware Package Version: STM32 FW V1.11.5 (Recommened)
Drive Type: HAL
2.Hardware Information:
Control Board: NUCLEO-F302R8
Power Board: X-NUMCLEO-IHM07M1
Motor Type: BLDC Motor with ABZ Encoder
3. Error Code Trigger Description:
When the Target Position Command is sent for the first time, the motor will rotate and no fault will occur.
When the Target Position Command is sent for the second time, this Error Code will be triggered.
When the Target Position Command is sent for the third time, this Error Code will be triggered again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-07-07 2:45 AM
Hello @Frank0828,
The "[ERROR] - MotorControlProtocol: ASPEP_RESP ERROR:CMD_NOK" means that your command is not correct (as clicking on the "Start" button once Status already equal to RUN state).
Is ERROR trig at the "Execute Set Position Command" command?
Best regards.
GMA
