0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

HOMING設定

Last updated at Posted at 2020-08-09

Neje Master2でGRBL_esp32を使う

HOMING用設定

config.hの下記を変更

下記をコメント外す
#define HOMING_FORCE_SET_ORIGIN // Uncomment to enable.
#define HOMING_FORCE_POSITIVE_SPACE // Uncomment to enable.

下記を修正
#define HOMING_CYCLE_0 bit(Z_AXIS) // TYPICALLY REQUIRED: First move Z to clear workspace.
#define HOMING_CYCLE_1 bit(X_AXIS)
#define HOMING_CYCLE_2 bit(Y_AXIS)
これを
// #define HOMING_CYCLE_0 bit(Z_AXIS) // TYPICALLY REQUIRED: First move Z to clear workspace.
#define HOMING_CYCLE_0 bit(X_AXIS)
#define HOMING_CYCLE_1 bit(Y_AXIS)

下記コメントアウト
// #define HOMING_SINGLE_AXIS_COMMANDS // Default disabled. Uncomment to enable.

Z軸homingのキャンセル

machinesフォルダ内の3axis_v4.hファイルの以下を修正
#ifdef HOMING_CYCLE_0
#undef HOMING_CYCLE_0
#endif
#define HOMING_CYCLE_0 bit(Z_AXIS) // Z first

#ifdef HOMING_CYCLE_1
#undef HOMING_CYCLE_1
#endif
#define HOMING_CYCLE_1 (bit(X_AXIS)|bit(Y_AXIS))

#ifdef HOMING_CYCLE_2
#undef HOMING_CYCLE_2
#endif

これを

//#ifdef HOMING_CYCLE_0
// #undef HOMING_CYCLE_0
//#endif
//#define HOMING_CYCLE_0 bit(Z_AXIS) // Z first

#ifdef HOMING_CYCLE_0
#undef HOMING_CYCLE_0
#endif
#define HOMING_CYCLE_0 (bit(X_AXIS)|bit(Y_AXIS))

#ifdef HOMING_CYCLE_1
#undef HOMING_CYCLE_1
#endif

これでホーミングボタン1発でホーミングサイクルが開始される

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?