-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADDITIONAL 4th AXIS and other changes #51
Comments
for atollic truestudio:stm32grbl11_31072018.zipstm32grbl11_11122018.zip |
Hi, Thanks |
Not yet tested thoroughly! |
Several times had gcode terminated before end, but now seems its ok. |
What do you mean? |
Before finished cut, gcode was terminated. |
could you send G-code example and GRBL settings? |
Before i used another control soft, and maybe its was control software problem. |
Ok, thanks! Please, report me if the error will be repeated. |
Sure! |
ONLY for ABC_AXIS_EXAMPLE cpu map (not for default usbcnc CPU_MAP_STM32F103 cpu map) |
Hello, @klembaris Have a good day |
Hey guys, might be a stupid question but I can't find the branch or any configuration for the 4th and 5th axis in 7e3308b. Where is the code for the 4th and 5th axis? Thanks |
There are no branches for the 4th and 5th axis. |
Thanks |
I need 4 axis. How do I change the 4 axis number to "C"? In which file? How to modify? Thank you very much! |
4th axis is A. |
I think it worth to apply all changes to your fork and create pull request. This will simplify maintenance of the updates for you and enable forking from your repo with all changes applied. |
I will create a new repo, after I fix 5 and 6 axes. |
What should I do in order to compile this from Platformio instead of from Atollic? |
Ok, it seems like 5 and 6 axis work now, I've shared new repository with all changes. |
HI @yaroslavVl Under 8 subdivisions, 320 pulses are set at $100 - $103 = 320, $110 - $113 = 2000 to test G1x1000y1000Z1000A1000F2000. It takes 60 seconds to run the program. The uniaxial frequency is only 320 * 1000 / 60 = 5.333KHZ. The frequency calculated by F2000 is 320 * 2000/60 = 10.666KHZ per axis. The actual time of G1x1000y1000Z1000A1000F2000 should be 30 seconds, but it is twice as slow as that of the uniaxial G1X1000F2000 code. Complete, this is correct, using G0X1000Y1000Z1000A1000 can run in 30 seconds to complete, the time is very correct! G0 is executed according to the maximum F value. The running time can be 30 seconds. That's right. Why set F2000 under G1 to run twice as long as 30 seconds? And the operating frequency of each axis is only about 10KHZ, so the performance of STM32 can't be like that, can it? Is it the problem of G interpreter algorithm or what? The test parameters are as follows: $100=320.000 Use larger subdivisions, such as 640 pulses per millimeter, 1280 pulses per millimeter, 2560 times the time to execute, and the higher the number of pulses, the longer it takes. How much frequency can the STM32 6 axis support now? |
Did you test the usbcnc/grbl firmware or native grbl firmware (on Arduino)? |
hi @yaroslavVl Is this due to the forward-looking algorithm? But I don't know why G0 is right. Even the reason of forward-looking algorithm can't be that G1 instruction time is so slow. Can this problem be improved? In addition, the acceleration did not seem to have any effect on the execution time. |
native grbl firmware (on Arduino 328)TEST: This is the feed rate F of executing G0 feedback from single or multiple axes, which means that the maximum feed rate of single or multiple axes is not the maximum feed rate set by $110 - $112. So when using G code with F parameter like G1, it does not match the actual rate, and the actual execution time is all slowed down. This question is not known whether it is the BUG of native RGBL code? Immediately alters the feed override value. An active feed motion is altered within tens of milliseconds. I use 0x91 instruction to increase the feed rate to 200%. When I execute G1X1000Y2000Z2000F2000, the F value of feedback is 3464, the F value of feedback of G1X1000F2000 is 2000, and the feedback of feedback of G1X1000Y1000F2000 is 2828. All three kinds of execution time can be completed in 30 seconds. This variable feedback feed rate is the same as the maximum rate set at $110 - $112. It is correct. For example, the feedback f is 3464, the execution time is 30 seconds, and the actual running time of G1X1000F2000 is 30 seconds, but 3464 = F2000, and the single axis feedback is different from the multi-axis feedback, and the maximum setting is $110 = 2000. The value is totally different Does this translate the value of the timer into a BUG when it enters the F value? Of course, the process of acceleration and deceleration is changing. Feedback message can also see that the F value of the process of acceleration and deceleration is changing. After entering a constant rate, the value is fixed. Would this be wrong in this calculation process to calculate the maximum F value? After multi-axis, the F-value of BUG is wrong, because it is completely correct under single axis, the F-value feedback and execution time are correct, and this phenomenon occurs after multi-axis running at the same time. The usbcnc / grbl firmware part of the code is the same as the original GBRL, so the problem is exactly the same. |
Changes
The text was updated successfully, but these errors were encountered: