Open loop Current Mode B-G431B-ESC1
Thank you for support till now, i want to do the open loop current mode using the B-G431B-ESC1 software. This is the code i have written
if(g_motormodeselection_u8 == OPENLOOP_CURRENTMODE )
{
MC_SetCurrentReferenceMotor1(g_qdreference_s);
MC_ProgramTorqueRampMotor1(g_qdreference_s.q ,0);
MCI_SetOpenLoopCurrent(&Mci[MOTOR_0]);
}
I am setting id=0 and iq around 20. Please guide if the code is ok.
One other doubt is in open loop current does it read the position feedback, i am assuming it does not read. Am i correct? Please help.
