Oui on peut faire ça mais c'est pas très élégant !
Sinon on m'a donné une réponse qui marche
*********
You don't have to modify the code to do what you want.
I understand your need is 4 linear axis with 2 axis X and 2 axis Y..
You just need to adjust the config.h file like this:
#define N_AXIS 4 // Number of axes (3 to 6)
#define N_AXIS_LINEAR 4 // Number of linears axis
#define AXIS_1 0 // Axis indexing value. Must start with 0 and be continuous.
#define AXIS_1_NAME 'X' // Axis names must be in X, Y, Z, A, B, C, U, V, W, D, E & H.
#define AXIS_2 1
#define AXIS_2_NAME 'X'
#define AXIS_3 2
#define AXIS_3_NAME 'Y'
#if N_AXIS <3
#error "N_AXIS must be >= 3. N_AXIS < 3 is not implemented."
#endif
#if N_AXIS > 3
#define AXIS_4 3
#define AXIS_4_NAME 'Y' // Letter of axis number 4
#endif
So you will connect:
1st X to axis number 1
2nd X to axis number 2
1st Y to axis number 3
2nd Y to axis number 3
See
https://github.com/fra589/grbl-Mega-5X/ ... -5X-pinout for pinout diagram.
@++;
Gauthier.
*****
Ca fonctionne enfin comme je le souhaite, je vais pouvoir cramer du polystyrène
Quand j'aurai les moyens, je me prendrais DefFoam Pro (et remis GRBL en multiaxe) et je pourrais faire des ailes trapézoïdales (merci le correcteur auto
)