EMC2 Crash on startup

More
06 Aug 2011 17:33 #12245 by mspyle
Replied by mspyle on topic Re:EMC2 Crash on startup
The EMC2 window that poped up the 1st time with all the mill controls in it never pops up after you hit the button on the error message. I am launching EMC2 from the Applications menu -> CNC -> EMC2, it has not made a icon on my desktop but I am loading the config saved to my local directory and that was the one I tried to edit with gedit.

-Matt

Please Log in or Create an account to join the conversation.

More
06 Aug 2011 21:03 #12263 by BigJohnT
Replied by BigJohnT on topic Re:EMC2 Crash on startup
You should be able to edit the files in /home/.../emc2/config with no problems. I usually just goto Places/Home Folder and then navigate to the emc2/configs/Sherline4Axis directory. Then click (or double click depending on how your set up) on Sherline4Axis_inch.ini and make the change to the base period. Also you can run CNC/EMC again and make it create a desktop shortcut for you.

John

Please Log in or Create an account to join the conversation.

More
07 Aug 2011 06:52 #12272 by Rick G
Replied by Rick G on topic Re:EMC2 Crash on startup
What were the results of the Latency test?

You could try running the Stepconf and creating a new config to test.

Applications -- CNC -- Emc2 Stepconf
On the second or third page at the bottom click to run "Test Base Period Jitter"

At the bottom enter your latency test results and it will calculate your base period for you and create a new configuration.

Rick G

Please Log in or Create an account to join the conversation.

More
07 Aug 2011 07:05 #12273 by Rick G
Replied by Rick G on topic Re:EMC2 Crash on startup
If you have not already you might want to refer to the Emc2 Getting started guide.

Applications -- CNC -- Emc2 Getting Started Guide

Take a look at Section 7.2.1 Latency test.
If there is a problem with latency it will need to be corrected first.

You should be able to
Applications -- CNC -- Emc2
Is the Create Desktop Shortcut selected?
Then
Select Sherline...
Then there should be a pop up "Copy configuration"
If you select yes it should create a Icon on your desktop to launch from and an icon for the file folder.
You should be able to select that file folder and edit your files as John suggested

Rick G.

Please Log in or Create an account to join the conversation.

More
07 Aug 2011 10:16 #12276 by Rick G
Replied by Rick G on topic Re:EMC2 Crash on startup
BTW if you already have selected a configuration and created an icon and a directory for it EMC2 may not ask you to create them. (the folder should already exist)
If you select a different configuration from the samples a new set of icons and a directory should be created.

Also as John said...

You should be able to edit the files in /home/.../emc2/config with no problems. I usually just goto Places/Home Folder and then navigate to the emc2/configs/Sherline4Axis directory. Then click (or double click depending on how your set up) on Sherline4Axis_inch.ini and make the change to the base period.



Rick G

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 14:45 #12338 by mspyle
Replied by mspyle on topic Re:EMC2 Crash on startup
Sorry about the delay i had some company and have not been able to work on this project.
Latency test results:
Max interval Max Jitter
Servo thread (1.0ms) 1640947 645747
base thread (25.0us) 85496 60616

-Matt

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 16:28 - 09 Aug 2011 16:29 #12340 by mspyle
Replied by mspyle on topic Re:EMC2 Crash on startup
just ran the test again and i am getting

________Max interval Max Jitter
servo thread 1334578 339378
base thread 74083 49203

-Matt
Last edit: 09 Aug 2011 16:29 by mspyle.

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 16:36 #12341 by BigJohnT

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 16:45 #12342 by mspyle
Replied by mspyle on topic Re:EMC2 Crash on startup
I upgraded a old gateway to run this, what can I do to reduce the latency?

-Matt

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 16:47 #12343 by BigJohnT
Replied by BigJohnT on topic Re:EMC2 Crash on startup
Did you read the link about latency and follow the SMI link to the wiki about fixing SMI issues?

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum