Hello,
Thanks for replying.
Could you explain what we should imagine under this statement? Not working at all, not working sometimes, variables were not read correctly ro some were and some werent?etc..
Sorry for not being able specify the issue in detail. The problem was even though the motor was spinning and the board was detected by MCAT tool, variables weren't read correctly and any function of GUI didn't work (Changing speed, control mode etc.). Also it indicated phase current faults continuously while the motor was spinning. Speed controlling was only possible via hardware switches.
This makes no sense. Did you change the code in debugger? Otherwise the code must work.
Could you explain the issue in more details? What if you reload original code?
After uploading the code, board was detected by MCAT tool and this time controlling via GUI is possible. No errors or faults detected at initialization and alignment states and proceeds to the run state. But when the speed is set to spin the motor suddenly state machine goes to the fault state and the motor rotates few degrees and stops without showing any error or a fault in GUI(Phase currents, bus voltages etc.).
Reloaded the code several times and uploaded it without doing any changes.
Please have a look at the following snapshot showing debug configurations used and all are default settings.
This is the debug configurations used.
Thanks and regards,
Gayan.