Skip to main content
s61331
Associate II
January 11, 2017
Question

Fault Ack in Firmware

  • January 11, 2017
  • 1 reply
  • 655 views
Posted on January 11, 2017 at 09:17

Hello,

how can i reset a fault in Firmware?

i tried MCI_FaultAcknowledged(oMCI), but it doesnt work.

with friendly greetings

Eric

This topic has been closed for replies.

1 reply

s61331
s61331Author
Associate II
January 26, 2017
Posted on January 26, 2017 at 16:09

Hello, this problem is solved.

Iam not sure wether its the only solution but it worked for me.

if(MCI_GetOccurredFaults(oMCI)>0){

      MCI_FaultAcknowledged(oMCI);

      TB_SetUserTimebaseTime(10000);

      start=TRUE;

    }

if (TB_UserTimebaseHasElapsed() && start){

      MCI_ExecSpeedRamp(oMCI,target_speed,duration);

      MCI_StartMotor(oMCI);

      start=FALSE;

    }

The time can be shorter.

Greetings

Eric