RSBJEUM0001-0101 Rev. 1.01
25
s1
s_S1
Exceed Pre-setting
start time
g_Stage!=s_ReloadStg?
g_OutputMode = M_Run
g_SpeedAct = M_Start_Hz
s_ReloadStg=g_Stage
s_DltCnt= Tgt_Dlt_Conv[M_Start_Hz/12]
s_DltCnt<<=1;
s_ReloadCnt=0
No
No
Yes
Yes
Clear INTi (i=3 to 5) interrup request bit
Stop Requested ?
g_OutputMode = M_TURNOFF
Yes
No
RTS
g_MotTheta > 360 degree
g_MotTheta -= 360 degree
No
Yes
1
StopCheck processing
Timer_tb1 processing