Other Parts Discussed in Thread: CONTROLSUITE
Hi everyone!
please take a time and answer to my question one by one thanks in advance!
after analyzing
As far as I got, there is bunch of functions
A0,A1,A2,A3,
B0,B1,B2,B3,
C0,C1,C2,C3,
which A0,B0,C0 circularly are being called by (*Alpha_State_Ptr)(); and if flag of them was active, then it will go to the correspond circular function group
I came up with some question :
Q1: what is a purpose of having these functions ?
Q2: there is some Var & func are not used ((VTimer0[1],VTimer0[2],VTimer0[3])
&(VTimer1[1],VTimer1[2],VTimer1[3])
&(VTimer2[1],VTimer2[2],VTimer2[3])
an also
A2,A3,
B1,B2,B3,
C2,C3)
Am I right? if so, then why we put these them?
Q3:if we don't consider faults and blanking LEDs, could we delete all of those function and variable groups (A0~A3,B0~B3,C0~C3 and VTimer0[0..3] ,VTimer1[0..3] ,VTimer2[0..3] ) ?
Q4:what is this SerialCommsTimer variable about?
Q5:as far as I get ,this project did not apply Acceleration and Deceleration to speed of motor ,is that right ,so we should add this function to it.
Q6: would you please tell me if this macro SVGENMF_MACRO(v) calculate Angel of the 3phase sin wave itself and do not need to set the angle of sin wave externally ?
thanks for attention
Dave.