Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
284 f9daq 1
---
2
6.12.2006
3
uSMC2504
4
 
5
Èçìåíåíî ïîâåäåíèå êîíòðîëëåðà ïðè ïîëó÷åíèè ñèãíàëà EMStop. Êàê è â ïðåäûäóùèõ âåðñèÿõ,
6
ñèëîâîå ïèòàíèå ñ îáìîòîê øàãîâîãî äâèãàòåëÿ ñíèìàåòñÿ ìãíîâåííî ïî âûñîêîìó óðîâíþ
7
ñèãíàëà EMStop, íî, íà÷èíàÿ ñ äàííîé âåðñèè, èíäèêàòîð EMStop â ïðîãðàììå è ïðîãðàììíûé
8
ñáðîñ ïèòàíèÿ ïðîèñõîäèò ñ çàäåðæêîé â 1 ñ.
9
 
10
---
11
28.09.2006
12
uSMC2503
13
 
14
Èñïðàâëåíà îøèáêà, êîòîðàÿ ïðèâîäèëà ê íåâåðíîé ïåðåäà÷å Destination position ïðè
15
âûïîëíåíèè êîìàíäû Start ïîñëå âêëþ÷åíèÿ ïèòàíèÿ, åñëè äî ýòîãî áûëî ïðîèçâåäåíî
16
ïåðåêëþ÷åíèå èç ïîëíîøàãîâîãî ðåæèìà â ìèêðîøàãîâûé. Ïîñëåäîâàòåëüíîñòü êîìàíä
17
ïðèâåäåíà íèæå:
18
 
19
USMC_GetMode(Dev, Mode) ;
20
USMC_GetStartParameters(Dev, StartParameters) ;
21
StartParameters.SDivisor = 1; // Full step mode
22
USMC_Start(Dev, DestPos, Speed, StartParameters);
23
// Wait when motor stop
24
Mode.ResetD = TRUE; // Turn power off
25
USMC_SetMode(Dev, Mode);
26
Mode.ResetD = FALSE; // Turn power on
27
USMC_SetMode(Dev, Mode);
28
StartParameters.SDivisor = 8; // Microstep mode
29
USMC_Start(Dev, DestPos, Speed, StartParameters);
30
 
31
---
32
03.07.2006
33
uSMC2502
34
 
35
Äîáàâëåíà âîçìîæíîñòü ðàáîòû ñ ýíêîäåðîì.
36
 
37
---
38
02.06.2006
39
uSMC2407
40
 
41
Äîáàâëåíà âîçìîæíîñòü óïðàâëåíèÿ ñîñòîÿíèåì ïèòàíèÿ íà îáìîòêàõ øàãîâîãî äâèãàòåëÿ
42
ïðè âêëþ÷åíèè êîíòðîëëåðà. Òåïåðü, ïðè ïîäà÷å ïèòàíèÿ íà ïëàòó âîññòàíàâëèâàåòñÿ
43
òî ñîñòîÿíèå, êîòîðîå áûëî ñîõðàíåíî flash-ïàìÿòü êîíòðîëëåðà ïðè ïîñëåäíåì âûçîâå
44
ôóíêöèè USMC_SaveParametersToFlash().