Configuring and calibrating EMC
23 Feb 2012 00:12 #17954
by BigJohnT
Replied by BigJohnT on topic Re:Configuring and calibrating EMC
You can either swap the pin numbers or the signals where you see this:
This is one way to swap the X and Y
John
net ystep => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
setp parport.0.pin-03-out-invert 1
net ydir => parport.0.pin-03-out
net xstep => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-05-out-invert 1
net xdir => parport.0.pin-05-out
This is one way to swap the X and Y
net xstep => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
setp parport.0.pin-03-out-invert 1
net xdir => parport.0.pin-03-out
net ystep => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-05-out-invert 1
net ydir => parport.0.pin-05-out
John
Please Log in or Create an account to join the conversation.
23 Feb 2012 16:37 #17964
by Mofosheee
Replied by Mofosheee on topic Re:Configuring and calibrating EMC
John
Thank you, the code changes that you recommended did the trick.
The latency test that I performed gave me a 23,000 number. Is there a place in the .hal or .ini file that I can insert this value and make it permanent?
Another issue is that the machine does not completely power down when I select shutdown. I read of this previously as a forum post but have been unable to locate the corrective action.
Thanks to all for the help.
Regards,
Jerry
Thank you, the code changes that you recommended did the trick.
The latency test that I performed gave me a 23,000 number. Is there a place in the .hal or .ini file that I can insert this value and make it permanent?
Another issue is that the machine does not completely power down when I select shutdown. I read of this previously as a forum post but have been unable to locate the corrective action.
Thanks to all for the help.
Regards,
Jerry
Please Log in or Create an account to join the conversation.
23 Feb 2012 17:20 #17967
by BigJohnT
Replied by BigJohnT on topic Re:Configuring and calibrating EMC
Run the latency test for an extended period of time like a few hours and see what your result is. 23k should not give you a problem so I suspect your getting a spike from time to time.
John
John
Please Log in or Create an account to join the conversation.
24 Feb 2012 09:37 - 24 Feb 2012 09:48 #18010
by Rick G
You might find that 10.04 if it works on your computer will shut down properly.
Take a look here...
wiki.linuxcnc.org/cgi-bin/wiki.pl?Tweaki...ftwareStepGeneration
In your .ini file look for something like this...
BASE_PERIOD = 70463
and edit it to the correct number, try 2.5 to 3 times the your test results to see.
However you can also enter the information in Stepconfig and it will calculate it for you.
If you go to far you may find you need to reduce your max speeds.
Rick G
Replied by Rick G on topic Re:Configuring and calibrating EMC
Pretty normal with 8.04, I never worried about it.Another issue is that the machine does not completely power down when I select shutdown.
You might find that 10.04 if it works on your computer will shut down properly.
The latency test that I performed gave me a 23,000 number. Is there a place in the .hal or .ini file that I can insert this value and make it permanent?
Take a look here...
wiki.linuxcnc.org/cgi-bin/wiki.pl?Tweaki...ftwareStepGeneration
In your .ini file look for something like this...
BASE_PERIOD = 70463
and edit it to the correct number, try 2.5 to 3 times the your test results to see.
However you can also enter the information in Stepconfig and it will calculate it for you.
If you go to far you may find you need to reduce your max speeds.
Rick G
Last edit: 24 Feb 2012 09:48 by Rick G.
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds