×
Forum Header
Stepgeneration 2.6.6 vs 2.8.0
- mmprestine
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
21 Feb 2015 05:29 #56168
by mmprestine
Stepgeneration 2.6.6 vs 2.8.0 was created by mmprestine
Well I have a been working through a PC failure and have found a few interesting things about the step generation on 2.6.6 and 2.8.0.
I wanted to give the new trajectory planner a whirl so I thought that I would install 2.8.0 and the step generation signal is around 50us vs the 3us from all previous versions. Here are the results from the same exact PC setup with Debian Wheezy running. The latency is ~11us in each case.
Here you can see the step signal in 2.6 is very normal.
Here you can see the step signal in 2.8 is not normal.
Anyone else testing version 2.8 and seen this issue?
Matt
I wanted to give the new trajectory planner a whirl so I thought that I would install 2.8.0 and the step generation signal is around 50us vs the 3us from all previous versions. Here are the results from the same exact PC setup with Debian Wheezy running. The latency is ~11us in each case.
Here you can see the step signal in 2.6 is very normal.
Here you can see the step signal in 2.8 is not normal.
Anyone else testing version 2.8 and seen this issue?
Matt
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
24 Feb 2015 02:24 #56248
by skunkworks
Replied by skunkworks on topic Stepgeneration 2.6.6 vs 2.8.0
A couple of things. Are you sure it is the same config? If you are not using the -reset function of the printer port (and stepgenās doublefreq) you are only going to get a step every 2 base periods. (so that looks like your base period is 25us...)
I just ran master (and 2.7) and using the reset functionality I get around4us minimum step
(sorry for the analog that is 1us per dev)
I just ran master (and 2.7) and using the reset functionality I get around4us minimum step
(sorry for the analog that is 1us per dev)
Please Log in or Create an account to join the conversation.
- mmprestine
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
24 Feb 2015 03:31 #56250
by mmprestine
Replied by mmprestine on topic Stepgeneration 2.6.6 vs 2.8.0
What is the -reset function? Is it a setup config item?
Matt
Matt
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
24 Feb 2015 03:40 #56252
by skunkworks
Replied by skunkworks on topic Stepgeneration 2.6.6 vs 2.8.0
Huh - thought I posted a link. I don't know if stepconf is aware of it..
linuxcnc.org/docs/devel/html/hal/paralle...ml#_using_doublestep
your 2.6 config must be using it - the 2.8 isn't would be my guess.
sam
linuxcnc.org/docs/devel/html/hal/paralle...ml#_using_doublestep
your 2.6 config must be using it - the 2.8 isn't would be my guess.
sam
Please Log in or Create an account to join the conversation.
- mmprestine
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
24 Feb 2015 03:48 - 24 Feb 2015 04:07 #56254
by mmprestine
Replied by mmprestine on topic Stepgeneration 2.6.6 vs 2.8.0
I have just retested again and it is the same results.
Load 2.6.6 and create a new configuration with stepconfig wizard
~3us step pulse.
Load master - 2.8.0-pre1-485-g5165e754 and create a new configuration with stepconfig wizard. Need to generate new configuration as the 2.6.6 will not run in 2.8.0.
~50us step pulse.
Perhaps I do need to change something else i.e. -reset, but I have never had to do this before for stepconfig.
Matt
Load 2.6.6 and create a new configuration with stepconfig wizard
~3us step pulse.
Load master - 2.8.0-pre1-485-g5165e754 and create a new configuration with stepconfig wizard. Need to generate new configuration as the 2.6.6 will not run in 2.8.0.
~50us step pulse.
Perhaps I do need to change something else i.e. -reset, but I have never had to do this before for stepconfig.
Matt
Last edit: 24 Feb 2015 04:07 by mmprestine.
Please Log in or Create an account to join the conversation.
- mmprestine
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
24 Feb 2015 04:01 - 24 Feb 2015 04:01 #56255
by mmprestine
Replied by mmprestine on topic Stepgeneration 2.6.6 vs 2.8.0
Last edit: 24 Feb 2015 04:01 by mmprestine.
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
24 Feb 2015 04:08 #56256
by skunkworks
Replied by skunkworks on topic Stepgeneration 2.6.6 vs 2.8.0
It looks like stepconf has stopped inserting the
setp parport.0.pin-02-out-reset 1
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-06-out-reset 1
lines. (everything else seems to be there...)
sam
setp parport.0.pin-02-out-reset 1
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-06-out-reset 1
lines. (everything else seems to be there...)
sam
The following user(s) said Thank You: mmprestine
Please Log in or Create an account to join the conversation.
- mmprestine
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
24 Feb 2015 04:13 #56257
by mmprestine
Replied by mmprestine on topic Stepgeneration 2.6.6 vs 2.8.0
Yes you are correct! I was narrow minded and was only looking at the start of the file for, port config. I also see that probe_parport is no longer there also. Any idea on that file?
Matt
Matt
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
24 Feb 2015 04:15 #56258
by skunkworks
Replied by skunkworks on topic Stepgeneration 2.6.6 vs 2.8.0
probe_parport has been removed. (not needed) and could be the reason why your 2.6 config doesn't run in 2.8..
Yes you are correct! I was narrow minded and was only looking at the start of the file for, port config. I also see that probe_parport is no longer there also. Any idea on that file?
Matt
Please Log in or Create an account to join the conversation.
- mmprestine
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
24 Feb 2015 04:20 #56259
by mmprestine
Replied by mmprestine on topic Stepgeneration 2.6.6 vs 2.8.0
I tested the additions and everything works as expected. Thanks for all the help.
Matt
Matt
Please Log in or Create an account to join the conversation.
Time to create page: 0.173 seconds