Marlin for CNC

ini yang saya ganti di pin.h
banyakan sih di STEP dan DIR

di configuration.h set ke motherboard 99
jangan lupa set default_step juga

configuration.h
  Z_MIN_POS -150
  HEATER_0_MINTEMP 0
  #define DEFAULT_AXIS_STEPS_PER_UNIT   {78.7402,78.7402,200.0*8/3,760*1.1}  // default steps per unit for Ultimaker
sesuaikan dengan rumus.

pin.h

#if MOTHERBOARD == 99
#define KNOWN_BOARD 1

#define X_STEP_PIN          3
#define X_DIR_PIN           4
#define X_ENABLE_PIN        -1
#define X_STOP_PIN          -1

#define Y_STEP_PIN          7
#define Y_DIR_PIN           8
#define Y_ENABLE_PIN       -1
#define Y_STOP_PIN          -1

#define Z_STEP_PIN          5
#define Z_DIR_PIN           6
#define Z_ENABLE_PIN       -1
#define Z_STOP_PIN          -1

#define E0_STEP_PIN         9
#define E0_DIR_PIN          10
#define E0_ENABLE_PIN      -1

#define SDPOWER            -1
#define SDSS               53
#define LED_PIN            -1
#define FAN_PIN            -1
#define PS_ON_PIN           9
#define KILL_PIN           -1

#define HEATER_0_PIN        13
#define HEATER_1_PIN       -1
#define HEATER_2_PIN       -1
#define TEMP_0_PIN          6   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
#define TEMP_1_PIN         -1   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
#define TEMP_2_PIN         -1   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
#define HEATER_BED_PIN      4
#define TEMP_BED_PIN       10

#endif /* 99 */


referensi saya:
http://www.buildlog.net/blog/2012/08/hacking-your-cnc-toolchain/

0 komentar:

Posting Komentar