cancel
Showing results for 
Search instead for 
Did you mean: 

Torque command sequence

STUser34
Associate III

I want to confirm if the below 3 commands 1,2,3 can be given sequentially or any delay

required between them. These 3 commands i am giving when a key is pressed.

if(IDLE == MC_GetSTMStateMotor1())
{
  g_qdreference_s.q = 1000;
  MC_SetCurrentReferenceMotor1(g_qdreference_s); - command 1
  MC_ProgramTorqueRampMotor1(g_qdreference_s.q ,1000); - command 2
  (void)MC_StartMotor1(); - command 3
}
0 REPLIES 0