Skip to content

clone axis x & y #204

Answered by fra589
lgjean asked this question in Q&A
Jun 26, 2021 · 5 comments · 4 replies
Discussion options

You must be logged in to vote

Hi @lgjean,

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' …

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@zalexzperez
Comment options

@fra589
Comment options

Answer selected by lgjean
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lgjean
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zalexzperez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants