4.12 Calculate Rotation Speed Command Processing
RSBJEUM0001-0101 Rev. 1.01
CalSpeedCnd
Rotation speed command input value =
AD vaule*M_K_SPEED_AD_REF/2^11
s_ADSum+=Rotation speed command input
Average calculation counter+1
Average calculation counter>=16 ?
s_ADSpeed=s_ADSum/16
s_ADSum=0
Average calculation counter=0
Return value=s_ADSpeed
RTS
No
Yes
34