Strona 1 z 2

Dziwne zachowanie driverow / programu

: 13 gru 2005, 22:02
autor: fanta
Witam
od jakiegos czasu walcze z podlaczeniem serw do mojej frezarki. Najpierw problem z enkoderami a teraz kolejny problem.

Otoz przy wiekszych (pow 500 obr/min) posuwach G0 silnik nagle zmienia na chwile kierunek na przeciwny a potem jedzie dalej. Taka czkawka. Czy ktos mial cos podobnego kiedys?

Nie wiem czy to nie wina zbyt slabego kompa PII 400. Program sterujacy to Mach2.

: 13 gru 2005, 22:57
autor: Adalber
Spróbuj zrobić test wydajności Macha za pomocą OCXDriverTest .W kawałku który tłumaczyłem jest rozdział 3.1.5 traktujący o tym . Wydaje mi się ,że PII 400 jest za słaby ,szczególnie do serw.

: 13 gru 2005, 23:04
autor: fanta
w tescie mam ok czyli ponad 24600. czysty system W2K.
ustawienia w Steps per Unit = 100.
Enkodery daja 2000 impulsow na obrot, a multiplikacje mam ustawiona na 4. Sruba 5 mm.

: 13 gru 2005, 23:12
autor: Adalber
Jak wielkie masz pionowe odcinki w oknie Tuner Variations powinny byc mniejsze niż 6 mm na 17 calowym monitorze.

: 13 gru 2005, 23:17
autor: fanta
w tej chwili nie sprawdze bo maszyne mam w warsztatcie jakies 20 km stad. ale z tego co pamietam to byly jakies wysokie piki. moze to jakies smieci z sieci?

: 13 gru 2005, 23:35
autor: Adalber
Nie to nie śmieci .Przetestowałem Macha na dwóch komputerach pierwszy to PIII 600 a drugi P4 2.0 .Na drugim są znacznie mniejsze .Wytłumacze to tak ,ponieważ Windows jest wielowątkowy a procesor tylko "jednordzeniowy",system przydziela każdemu programowi kawałek czasu procesora .W momentach przełączania sterownik Macha nie działa, mimo że to są ułamki sekund to w tym momencie impuls z serva może być pominięty .

Dodane
500 obrotów to ok 8 na s x 2000 to da 16000 impulsów na sekunde to już "blisko" 24000 Hz .

: 13 gru 2005, 23:41
autor: fanta
dzieki za odpowiedz. probowalem jeszcze na athlonie 2k ale na nim wogole nie dziala. nie wiem ale chyba jest padniety port lpt bo kiedys mialem male zwarcie ze az sie zagrzal.

odnosnie przygotowania kompa do Macha to znalazlem kiedys cos takiego.


0. Install Windows in Standard PC Mode

1. When you see the installation tell you to press F6 (Third Party
SCSI or RAID Drivers) press F5 instead.
2. You will see Press F2 for Automated System Recovery, (DONT press
F2).
3. Right after that you will see a list.
4. Press the UP arrow key to highlight Standard PC.


When installing, make SURE you install all of the most recent drivers
for your
Hardware. This is vital!


1. Disable Visual Effects

1. Right-click on your desktop, and then click Properties.
2. Click the Appearance tab.
3. On the Windows and Buttons menu, select Windows Classic.
4. Press Effect button.
5. Deselect all options (maybe leave ClearType on)
6. Hit OK


2. Set Processor Scheduling for Background Services

1. Right Click My Computer and select Properties
2. Click Advanced tab.
3. For "Processor Scheduling" set for Background Services
4. Click OK.


3. Optimize Virtual Memory Swap File

1. Right Click My Computer and select Properties
2. Click Advanced tab.
3. Press Change for Memory Useage / Virtual Memory
4. Depending on how much RAM you actually have is what you are going
to enter here: If you have 256MB RAM set this to 512 for Min and Max
If you have 512MB RAM set this to 768 for Min and Max If you have
1024MB RAM set this to 1536 for Min and Max
5. Once entered hit SET
6. Hit OK
7. and then Hit OK Again.


4. Disable System Restore

1. Right Click My Computer and select Properties
2. Click System Restore tab.
3. Click "Turn off System Restore on all Drives"
4. Click OK.


5. Disable Error Reporting

1. Right Click My Computer and select Properties
2. Click Advanced tab.
3. Click Error Reporting button at bottom.
4. Click "Disable Error Reporting"
5. Click OK.


6. Disable Automatic Updates

1. Right Click My Computer and select Properties
2. Click Automatic Updates tab.
3. Uncheck Keep my computer updated..
4. Click OK.


7. Disable Remote Assistance

1. Right Click My Computer and select Properties
2. Click Remote tab.
3. Uncheck "Allow Remote Assistance Invitations.".
4. Click OK.


8. Disable Remote Desktop

1. Right Click My Computer and select Properties
2. Click Remote tab.
3. Uncheck "Allow users to connect remotely to this computer"
4. Click OK.


9. Set Computer to Standard PC NOT ACPI PC
NOTE: This is only necessary if you wish to remove ACPI AFTER install.
If you followed step 0, you don't need to do this.


1. Right Click My Computer and select Properties
2. Click Hardware tab.
3. Click Device Manager Button in the middle.
4. Double click "Computer".
5. Right click on Standard ACPI PC and choose Update Driver.
6. Choose "Install the software from a Specific Location (Advanced)"
7. Click Next.
8. Choose "Don't search. I will choose driver to install."
9. Click Next.
10. Choose "Standard PC" from the listing.
11. Click Next.
12. Click OK.


10. Enable DMA on all Disk Controllers

1. Right Click My Computer and select Properties
2. Click Hardware tab.
3. Click Device Manager Button in the middle.
4. Double click "IDE ATA/ATAPI Controllers"
5. Right click on Primary IDE Channel and choose Properties.
6. Click Advanced Settings tab.
7. Choose for Transfer Mode: DMA if Available.
8. Click OK.
9. Right click on Secondary IDE Channel and choose Properties.
10. Click Advanced Settings tab.
11. Choose for Transfer Mode: DMA if Available.
12. Click OK.


11. Disable Startup Items in Registry

1. Click Start button.
2. Click Run.
3. Type MSCONFIG and press [ENTER].
4. Click Startup tab.
5. Uncheck anything you think you don't need.
6. Click OK.
7. Exit MSCONFIG.

: 14 gru 2005, 00:01
autor: Adalber
Tak to dodatek do macha opisujący jak zoptymalizować system ,aby szybciej działał. Wydajność wzrosnie może z 20 %

: 14 gru 2005, 08:45
autor: webserver
fanta pisze:odnosnie przygotowania kompa do Macha to znalazlem kiedys cos takiego. ...
Ma ktos to przetlumaczone na pl ?

: 14 gru 2005, 10:49
autor: triera
Zacząłem tłumaczyć, jednak szybciej znalazłem to:
http://xp.net.pl/art/windowsxp_full_optym.html

Powodzenia