- Posts: 19311
- Thank you received: 4655
Gasman wrote: Is this likely to result in a functional solution or am I better off taking this back to the post office for a refund?
Please Log in or Create an account to join the conversation.
How can I sort out the presumed permissions problem(s), what do I need to do to manage the 8bit vs 16 it words and how far away from a working solution am I? If this needs much more work it is definitely on its way back to the seller!#_wc_frac - it is 8bit for WHB03 and 16bit for WHB04 ... it is simple whan you look two display max frac part for WHB03 it is .99 and for WHB04 it is .9999 ... this value also have a SIGN bit if value is negarive you must set most significant bit to 1... little example:
WHB03
our X position is: -117.33
we put 117 to x_wc_int
we also put 33 to x_wc_frac
we have negative value... we also need to set most significant bit of x_wc_frac to 1...
Code: Select allCode:x_wc_frac = x_wc_frac | 0x80;
WGB04
our X position is: -220.3345
we put 220 to x_wc_int
we also put 3345 to x_wc_frac
we have negative value... we also need to set most significant bit of x_wc_frac to 1...
Code: Select allCode:x_wc_frac = x_wc_frac | 0x8000;
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
roki wrote: But Jogging works only in incremental Mode, i cannot make the machine go in Smooth Motion like when Jogging with the buttons on the Keyboard in continuos Mode. When turning the Wheel continuosly the machine jogs like hitting the Button on the Keyboard on and on in incremental Mode.
Please Log in or Create an account to join the conversation.
andypugh wrote:
roki wrote: But Jogging works only in incremental Mode, i cannot make the machine go in Smooth Motion like when Jogging with the buttons on the Keyboard in continuos Mode. When turning the Wheel continuosly the machine jogs like hitting the Button on the Keyboard on and on in incremental Mode.
This can be a problem with jog wheels, especially if the machine is a fast one with high accelleration.
There is a HAL component specifically for this situation:
www.linuxcnc.org/docs/html/man/man9/ilowpass.9.html
Please Log in or Create an account to join the conversation.