Search found 8 matches

by rlkeck10
Sat May 30, 2020 9:47 pm
Forum: Configuration Issues
Topic: Unwanted 1 step hysteresis
Replies: 5
Views: 231

Re: Unwanted 1 step hysteresis

OK, now that I understand that 1/8 step is in fact a fractional step, I'm still at a loss as to why when I do a Move0=0 and then a Move0=1, which is 7/8 of a step more than the 1/8 step of hysteresis, I do not necessarily get a step pulse depending on the direction of the last move, which also was a...
by rlkeck10
Sat May 30, 2020 12:01 am
Forum: Configuration Issues
Topic: Unwanted 1 step hysteresis
Replies: 5
Views: 231

Re: Unwanted 1 step hysteresis

If I'm using a STEP/DIR driver, it may or may not operate with micro-steps and there may or may not be 8 micro-steps per step, so I'm not sure why you say the hysteresis is 1/8 of a step; it seems to be 1 step. (My example move was 1 [full] step). Depending on the system 1 step could be anywhere fro...
by rlkeck10
Thu May 28, 2020 1:37 pm
Forum: Configuration Issues
Topic: Unwanted 1 step hysteresis
Replies: 5
Views: 231

Unwanted 1 step hysteresis

Using an up-down counter and logic analyzer, I have found that there seems to be 1 step of hysteresis when Kflop is used in step direction mode with no feed back. I.e. if I start with Move0=0, then Move0=1, Kflop may or may not output a step pulse depending on the last direction it was moved. This i...
by rlkeck10
Tue May 05, 2020 11:13 pm
Forum: User PC Applications and Libraries .Net
Topic: Why kmotionserver?
Replies: 11
Views: 788

Re: Why kmotionserver?

The problem with Kmotion as it stands, is it is very hard to figure out how it works. In part this is because of the server code, which requires locking all over the place. By removing that, there is a considerable simplification. The .NET interop stuff provided, again looks unnecessarily complex an...
by rlkeck10
Tue May 05, 2020 7:46 pm
Forum: User PC Applications and Libraries .Net
Topic: Why kmotionserver?
Replies: 11
Views: 788

Re: Why kmotionserver?

I don't see a constant need to switch between Kmotion and KmotionCNC, so I don't find that compelling. I don't see any guarantee that if you mess with the Kflop using Kmotion while KmotionCNC is active, you will not end up with unpredictable results. It would be better from all points of view to shu...
by rlkeck10
Tue May 05, 2020 12:56 pm
Forum: User PC Applications and Libraries .Net
Topic: Why kmotionserver?
Replies: 11
Views: 788

Re: Why kmotionserver?

I see your point, although it really makes the point the KmotionCNC is not written in a way that makes it easy to expand and modify (you should be able to easily integrate probing into KmotionCNC). Still KmotionSever is not a good sharing solution. For example it is perfectly possible to start two i...
by rlkeck10
Wed Apr 29, 2020 3:56 pm
Forum: User PC Applications and Libraries .Net
Topic: Why kmotionserver?
Replies: 11
Views: 788

Re: Why kmotionserver?

In general, I would not expect it to be useful or safe for more than on application to be accessing a single Kflop at a time, at least assuming it is being used in a typical machine control application. Indeed if the Kflop USB driver permitted sharing by different apps, the first thing I'd imagine d...
by rlkeck10
Wed Apr 29, 2020 1:02 pm
Forum: User PC Applications and Libraries .Net
Topic: Why kmotionserver?
Replies: 11
Views: 788

Why kmotionserver?

In trying to modify KmotionCNC, it is useful to understand how it works. Unfortunately, there is a LOT of code involved, and it is sometimes obscure and mostly undocumented and uncommented. In looking at it, one of the first questions I came up with is what is the point of KmotionSever.exe? It appea...