Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

---
6.12.2006
uSMC2504

Èçìåíåíî ïîâåäåíèå êîíòðîëëåðà ïðè ïîëó÷åíèè ñèãíàëà EMStop. Êàê è â ïðåäûäóùèõ âåðñèÿõ,
ñèëîâîå ïèòàíèå ñ îáìîòîê øàãîâîãî äâèãàòåëÿ ñíèìàåòñÿ ìãíîâåííî ïî âûñîêîìó óðîâíþ
ñèãíàëà EMStop, íî, íà÷èíàÿ ñ äàííîé âåðñèè, èíäèêàòîð EMStop â ïðîãðàììå è ïðîãðàììíûé
ñáðîñ ïèòàíèÿ ïðîèñõîäèò ñ çàäåðæêîé â 1 ñ.

---
28.09.2006
uSMC2503

Èñïðàâëåíà îøèáêà, êîòîðàÿ ïðèâîäèëà ê íåâåðíîé ïåðåäà÷å Destination position ïðè
âûïîëíåíèè êîìàíäû Start ïîñëå âêëþ÷åíèÿ ïèòàíèÿ, åñëè äî ýòîãî áûëî ïðîèçâåäåíî
ïåðåêëþ÷åíèå èç ïîëíîøàãîâîãî ðåæèìà â ìèêðîøàãîâûé. Ïîñëåäîâàòåëüíîñòü êîìàíä
ïðèâåäåíà íèæå:

USMC_GetMode(Dev, Mode) ;
USMC_GetStartParameters(Dev, StartParameters) ;
StartParameters.SDivisor = 1; // Full step mode
USMC_Start(Dev, DestPos, Speed, StartParameters);
// Wait when motor stop
Mode.ResetD = TRUE; // Turn power off
USMC_SetMode(Dev, Mode);
Mode.ResetD = FALSE; // Turn power on
USMC_SetMode(Dev, Mode);
StartParameters.SDivisor = 8; // Microstep mode
USMC_Start(Dev, DestPos, Speed, StartParameters);

---
03.07.2006
uSMC2502

Äîáàâëåíà âîçìîæíîñòü ðàáîòû ñ ýíêîäåðîì.

---
02.06.2006
uSMC2407

Äîáàâëåíà âîçìîæíîñòü óïðàâëåíèÿ ñîñòîÿíèåì ïèòàíèÿ íà îáìîòêàõ øàãîâîãî äâèãàòåëÿ
ïðè âêëþ÷åíèè êîíòðîëëåðà. Òåïåðü, ïðè ïîäà÷å ïèòàíèÿ íà ïëàòó âîññòàíàâëèâàåòñÿ
òî ñîñòîÿíèå, êîòîðîå áûëî ñîõðàíåíî flash-ïàìÿòü êîíòðîëëåðà ïðè ïîñëåäíåì âûçîâå
ôóíêöèè USMC_SaveParametersToFlash().