U S E R M A N U A L
24
Jan 26, 2015, AN709-00011-1v0-E
Table 6-9: Running Status by the Command Speed
MotorCtrl_stcRunPar.i16TargetSpeedRpm
Running Status
>0
CW
<0
CCW
=0
Stop
Note
:
(4) Watch the important variable
“MotorCtrl.i32Q8_EstimWmHzf” to check whether motor is achieved the
command speed and running speed is stable.
6.2.4
Speed Acceleration and Deceleration
After run motor normally, you can run motor in any speed (-5000rpm ~ 5000rpm).
The negative or positive indicates rotational direction.
6.3
Troubleshooting
6.3.1
Protection
When the motor is stopped without the normal stop command, the protection fault may appear, you can see
the value of the variable ‘MotorCtrl_stcRunPar.
u16FaultCode
’ in the watch window and the code is assigned
by the bit OR operation. The fault codes for each protection are shown as below. You can match the value
with these fault codes to find what protection is performed.
#define
NORMAL_RUNNING 0x00
//no error
#define
OVER_VOLTAGE 0x01
//DC bus over-voltage
#define
UNDER_VOLTAGE 0x02
//DC bus under-voltage
#define
SW_OVER_CURRENT 0x04
//over-current
#define
MOTOR_OVER_CURRENT 0x08
//over-current of HW
#define
MOTOR_LOSE_PHASE 0x10
//motor lose phase
#define
NO_CONECT_COMPRESSOR 0x20
//no motor connected
#define
AD_MIDDLE_ERROR 0x40
//current sample 2.5V offset error
#define
SF_WTD_RESET 0x80
//FW watch dog reset
#define
MOTOR_LOCK 0x100
//motor lock
#define
UNDEFINED_INT 0x200
//undefined interrupt
#define
HW_WTD_RESET 0x400
//HW watch dog reset
There may be different processing logic about the protection.
The fault code may not be cleared except the DC bus voltage protection for the inverter DEMO.
That is the FW may not run again when the protection fault happens. You can access the variable
‘Motor_stcRunParam.u16FaultCode’ to make your own protection processing logic.