× Forum Header

No progress after using stepconfig.

More
03 Feb 2010 15:39 #1738 by grey1beard
XYZ axis all tested OK in stepconfig using the "Test this axis" windows.

So I loaded the saved file (axis.ngc) in AXIS, via the desktop shortcut, and when I turned off the ESTOP, and the power on, I expected to hear the motors activate and hold, but didn't.
If I pressed any of the limit switches, a message indicated that the limit had been reached, so I assumed they were all OK, and I closed the messages.

I then tried to use the "Manual" tag to jog each axis, but while the + and - buttons produced a change in the location on the display , they had no effect on the motors.
I did the same using the keyboard controls, but with the same results.
The X and Y axis displayed motion corresponding to the chosen step size, or continuous,
but the Z axis would only show a movement of .002 mm if I used the continuous setting, and nothing in the fixed step settings..

If stepped all axis away from zero position, and then touched the "Home all" button, nothing happened to the axis readings, but I got the message "end of move in home state 5".

When I loaded one of the files in the examples folder, 3dtest.ngc, I got the same results.
Grateful for help in moving forward, as I assume I'm overlooking something basic :S

John

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

More
03 Feb 2010 17:25 #1739 by acemi
Maybe your step and dir pins' order is wrong.

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

More
03 Feb 2010 18:07 #1740 by grey1beard
Would that allow the correct results in the Test this axis window?
(See first line of post)
John

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

More
03 Feb 2010 19:14 #1741 by acemi
Maybe to compare hal status of stepconf and Axis will help.
I mean:

When running the test at stepconf:
halcmd show > stepconf.log

After running Axis:
halcmd show > axis.log

And compare theese

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

More
03 Feb 2010 19:42 #1742 by grey1beard
acemi wrote:

..........halcmd show > stepconf.log


.............halcmd show > axis.log

Thanks for the idea.

Do I open a terminal, and type these in, as is ?

Very much a newbie for both ubuntu and EMC :unsure:

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

More
03 Feb 2010 19:58 #1743 by acemi

Do I open a terminal, and type these in, as is ?

Yes

halcmd show command prints the hal status to the terminal screen. If you add > filename at the end of the command, it prints the output into the file instead of the screen.

After these two command, you'll have two files: stepconf.log and axis.log
You can open them with a text editor, something like gedit

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

More
03 Feb 2010 20:40 #1745 by grey1beard
Many thanks.
John

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

More
03 Feb 2010 21:59 #1746 by grey1beard
I ran the log file after using the "Test this axis", and the first error showed up, so I'll see if I can fix it tomorrow.

RTAPI: Error: could not open shared memory (errno=2)
HAL: Error rtapi init failed
halcmd: hal init () failed : -9
'rtapi' kernel must be loaded.

So from other posts I assume this means a trip into grub to select rtai kernel.
I'll explore how to make sure that the kernel doesn't update in future, but I may need guidance on that one later.

John

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

More
03 Feb 2010 22:21 #1747 by acemi
You need to run halcmd command while running "test this axis", not after test.

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

More
03 Feb 2010 22:31 #1748 by grey1beard
Ah, right. I'll have another go tomorrow - dark and stormy night here !
john

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

Time to create page: 0.122 seconds
Powered by Kunena Forum