![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm trying to determine the latency numbers for my machine.. I ran 'latency-test' with an older Althon XP 1.350Ghz w/256MB Mem....and got the following from the window that popped up: Maximum Jitter Servo Thread: 48686 Base Thread: 61464 Max Interval Servo: 1045191 Base: 85769 How do I apply these numbers to the StepTimingCalculator spreadsheet: From the G320 specs: Step Pulse Frequency 0 to 250 kHz Step Pulse “0” Time 0.5 Microseconds Min. Step Pulse “1” Time 3.5 Microseconds Min. I can then fill in Required Step Length and Required Step Space... not sure what to put for 'Required Direction Setup', 'Required Direction Hold'. I guess 'Worst Case Latency' is derived from the output of 'latency-test'??? |
|
#3
| |||
| |||
| Have you read this? http://wiki.linuxcnc.org/cgi-bin/emc...StepGeneration Worst case Latency comes from the latency test. 'Required Direction Setup', and 'Required Direction Hold' are special setting for drives that need extra time to for those comands. |
|
#4
| |||
| |||
| Interesting that the G320 manual does not mention the direction setup and hold times. You might do a search in the Gecko forum to see what you find or ask directly in the Gecko forum. When you find out I'll update the wiki site step direction page: http://wiki.linuxcnc.org/cgi-bin/emc...r_Drive_Timing It is much less painful to get a step direction config going if you just use the Stepconf Wizard do generate your config files. Then you can add to or modify the custom files as needed. Take a look at this short getting started guide. http://www.linuxcnc.org/docs/EMC2_Getting_Started.pdf A SWAG on your direction setup 1000us and 20000us for direction hold. John |
|
#5
| |||
| |||
sudo mkdir /dev/rtf; sudo mknod /dev/rtf/3 c 150 3; sudo mknod /dev/rtf3 c 150 3; cd /usr/realtime*/testsuite/kern/latency; ./run /usr/realtime-2.6.12-magma/testsuite/kern/latency$ ./run in any case the 'lat max' is hovering around 11000ns, with and average of 470ns or so. ovl max is 12000ns. According to the wiki, an ovl max less than 15000-20000 ns should yield nice results |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Software for determining the parameters of threaded products | shgshg | Product Announcements & Manufacturer News | 0 | 11-04-2008 05:37 AM |
| EMC2 latency from Network card | randyf1965 | LinuxCNC (formerly EMC2) | 1 | 03-22-2008 10:08 PM |
| Determining the master PCB on 10T | guhl | Fanuc | 7 | 01-23-2008 01:40 AM |
| Latency, Jitters & Lost Steps | Imagineering | TurboCNC | 22 | 07-22-2005 07:39 AM |
| Determining VA load | Swede | General Electronics Discussion | 11 | 04-10-2004 04:00 PM |