DerAndere1 / contact_DerAndere1

Create an issue to communicate with DerAndere1 (DerAndere)
0 stars 0 forks source link

Contact DerAndere1 also known as DerAndere #1

Closed DerAndere1 closed 4 years ago

DerAndere1 commented 5 years ago

Add a comment here to contact DerAndere1, also known as DerAndere on gitlab.com. Attach files by dragging & dropping, selecting them, or pasting from the clipboard.

hobiseven commented 4 years ago

@DerAndere1 Hi, I am willing to turn my Alfawise STM32 board into a 4 axis CNC controler for styrofoam cutter. It means I need to control X,Y and secondary axix U and V. I also need to control wire heat, which can be donethrough fan PWM. What is the status of your Marlin branch for 6 axis? Can we get the endsopts working on 4 axis, and get the Gcode addressing 2 supplemental axis please? Code I will change is the Marlin 2.0.3 we ported for Alfawise U30.

DerAndere1 commented 4 years ago

@hobiseven See discussion at https://github.com/DerAndere1/Marlin/issues/1 . One user showed that he could fix my code to move 6 axes (extra axes were much to slow, though). However there is a language barrier, so until now we don't know how to do it. Someone with Vietnamese language skills could maybe help.

hobiseven commented 4 years ago

@DerAndere1 the stm32 alfawise code critical commit is that one https://github.com/MarlinFirmware/Marlin/pull/14030 Anything after that works nicely on the board, at least for the basic functions with a4988 drivers. This is earlier than the commit that complicates integration of the 6 axis in Marlin 2.0.x .

as soon as you finish your new branch / new comit I can generate a version that will work on my board relatively easily ( hardest part for me will be to make a clean git process!)

DerAndere1 commented 4 years ago

@hobiseven: Great. I will go the mentioned route then. If you can invite me to collaborate on your fork https://github.com/hobiseven/Marlin I would prefer to add my next code there because that makes it easier to use the github interface and navigate you through the process in case you get stuck.

hobiseven commented 4 years ago

@DerAndere1 There is a branch called /origin/September in tpruvot cloned Git, that was stalled about mid september. It compiles fine. I copied the branch to 6_axis_September_base. I think from a commit standpoint, it should avoid the problematic ones as I understood. Tell me if this is a good basis. I created a copy of 2.0.4.4 branch and tried to rebase, or remove all the commits after a given date, but still not there yet with Git

hobiseven commented 4 years ago

@DerAndere1 done! You have the invite and the branch 6 axis September is ready and tested on hw.

hobiseven commented 4 years ago

Hi @DerAndere1 So far, my code is still at End september status. Is it still the same on your side?

DerAndere1 commented 4 years ago

6 axis code only works with the September base as long as there is no progress with issue https://github.com/DerAndere1/Marlin/issues/7.

MohammadSDGHN commented 4 years ago

Hi @DerAndere1 I'm working on a 6 axis cartesian robot and your code is my solution. The problem is that machine is using TMC2130 drivers on SPI and when I set it on configuration.h , code does not compile. (EXP: #define X_DRIVER_TYPE TMC2130) I'm working on it to find out what cause that and add TMC2130 support.Please give me some advice or help to fix it if you can. and by the way .... Nice job (Y) :)

DerAndere1 commented 4 years ago

@MohammadSDGHN you forgot to mention which branch you are using. I hope I fixed your issue in the branch https://github.com/DerAndere1/Marlin/tree/bf2_6axis_dev14 with my recent commits, However that branch probably still suffers from issue 7 of my Marlin branch. Be warned: I expect that many features of special stepper drivers do not yet work with 6 axes. You are one of the first who tries it. It would be great if you could test and give feedback at https://github.com/DerAndere1/Marlin/issues

MohammadSDGHN commented 4 years ago

@DerAndere1 Sorry! mistakenly I was working on bf2_6axis_dev!! I switched to bf2_6axis_dev14 now. Unfortunately that commit had same problem. I'm willing to help fixing it 1- Is it possible to contact you trough E-mail or something? 2-This error stucked with me. Seems like syntax error but it is not.Any idea where I should look for? image

DerAndere1 commented 4 years ago

That is a tricky one, the mentioned line of code is only loosely related to the actual problem: That compiler error means that some TMC-related code for the axes IJK is not properly surrounded by ´#if NON_E_AXES >3 ... #endif` preprocessor directives. I suspect the config files or file sanitycheck.h . Did you pull the most recent commits from my bf2_6axis_dev14? You can open a new issue at https://github.com/DerAndere1/Marlin/issues and attach your configs as a zip archive to the report if you want me to fix the it. If you need to discuss in descretion, you can create a new issue at https://gitlab.com/contact_derandere/contact_derandere/-/issues : Gitlab allows you to mark issues as confidential so noone else except us can see it. I get email notifications if someone reports an issue.

MohammadSDGHN commented 4 years ago

OK .. using -commit 5b5cea8- and some changes (which I don't remember where it was) now I can compile without errors. I'm trying to customize it. Thanks and please check my version. most of my changes have comment and date.I'll inform you with latest and result. Marlin-bf2_6axis_dev14.zip

DerAndere1 commented 4 years ago

Great that you could make it compile for your machine. I downloaded your zip and will add the changes to my code. Do you mind giving me an update how the machine performs with this firmware? any issues with feedrate on the additional axes I, J or K? If you need more tips, just stay in touch. In case you develop a lab robot, you might also be interested in my control software pyotronext. Regards, DerAndere