×
Forum Header
No progress after using stepconfig.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Feb 2010 15:39 #1738
by grey1beard
No progress after using stepconfig. was created 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
John
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
John
Please Log in or Create an account to join the conversation.
03 Feb 2010 17:25 #1739
by acemi
Replied by acemi on topic Re:No progress after using stepconfig.
Maybe your step and dir pins' order is wrong.
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Feb 2010 18:07 #1740
by grey1beard
Replied by grey1beard on topic Re:No progress after using stepconfig.
Would that allow the correct results in the Test this axis window?
(See first line of post)
John
(See first line of post)
John
Please Log in or Create an account to join the conversation.
03 Feb 2010 19:14 #1741
by acemi
Replied by acemi on topic Re:No progress after using stepconfig.
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
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.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Feb 2010 19:42 #1742
by grey1beard
Replied by grey1beard on topic Re:No progress after using stepconfig.
acemi wrote:
Do I open a terminal, and type these in, as is ?
Very much a newbie for both ubuntu and EMC
Thanks for the idea...........halcmd show > stepconf.log
.............halcmd show > axis.log
Do I open a terminal, and type these in, as is ?
Very much a newbie for both ubuntu and EMC
Please Log in or Create an account to join the conversation.
03 Feb 2010 19:58 #1743
by acemi
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
Replied by acemi on topic Re:No progress after using stepconfig.
YesDo I open a terminal, and type these in, as is ?
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.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Feb 2010 20:40 #1745
by grey1beard
Replied by grey1beard on topic Re:No progress after using stepconfig.
Many thanks.
John
John
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Feb 2010 21:59 #1746
by grey1beard
Replied by grey1beard on topic Re:No progress after using stepconfig.
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
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.
03 Feb 2010 22:21 #1747
by acemi
Replied by acemi on topic Re:No progress after using stepconfig.
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.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Feb 2010 22:31 #1748
by grey1beard
Replied by grey1beard on topic Re:No progress after using stepconfig.
Ah, right. I'll have another go tomorrow - dark and stormy night here !
john
john
Please Log in or Create an account to join the conversation.
Time to create page: 0.122 seconds