Marlin bugfix 2.0 pins_GT2560_v3.h

Post Reply
countzero
Posts: 12
Joined: Fri Apr 05, 2019 5:12 pm

Marlin bugfix 2.0 pins_GT2560_v3.h

Post by countzero » Wed Jun 19, 2019 4:09 pm

Code: Select all

/
// Steppers
//
#define X_STEP_PIN         37
#define X_DIR_PIN          39
#define X_ENABLE_PIN       35

#define Y_STEP_PIN         31
#define Y_DIR_PIN          33
#define Y_ENABLE_PIN       29

#define Z_STEP_PIN         25
#define Z_DIR_PIN          23
#define Z_ENABLE_PIN       27

#define E0_STEP_PIN        46
#define E0_DIR_PIN         44
#define E0_ENABLE_PIN      12

#define E1_STEP_PIN        49
#define E1_DIR_PIN         47
#define E1_ENABLE_PIN      48
The GT2560 v3 board contains 3 extruders labelled on the board in silkscreen as follows: extruder 0 (no connector soldered), extruder 1 and extruder 2.

GT250 v3 schematic suggests the following:

Code: Select all

E0motor
EX_EN 51 PG0 (WR)              = pin 12
EX_STP 41 PL6                  = pin 46
EX_DIR 39 PL4(OC5B) PWM        = pin 44

E1motor
A_EN  36 PL1(ICP5)             = pin 48
A_STP 35 PL0(ICP4)             = pin 49
A_DIR 37 PL2(T5)               = pin 47

E2motor
E2_EN 25 PB6(OC1B/PCINT6)      = pin 41
E2_STP 38 PL3(OC5A) PWM        = pin 43
E2_DIR 40 PL5(OC5C) PWM        = pin 45
This seems to suggest:
- In software "E0_" variables refer to the pins of E2motor in the schematic, which matches silkscreened "extruder 2" print on the board.
- In software "E1_" variables refer to the pins of E1motor in the schematic, which matches silkscreened "extruder 1" print on the board.
- In software "E2_" variables to the pins of E0motor in the schematic, which matches silkscreened "extruder 0" print on the board.

As "extruder0" does not have a connector soldered, it is omitted from file "pins_GT2560_v3.h"

As I need 3 extruders defined I had to add "extruder0" manually:

Code: Select all

#define E2_STEP_PIN        43
#define E2_DIR_PIN         45
#define E2_ENABLE_PIN      41
Last edited by countzero on Wed Jun 19, 2019 10:47 pm, edited 5 times in total.

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Marlin bugfix 2.0 pins_GT2560_v3.h

Post by William » Wed Jun 19, 2019 5:16 pm

Thanks for your feedback.
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

countzero
Posts: 12
Joined: Fri Apr 05, 2019 5:12 pm

Re: Marlin bugfix 2.0 pins_GT2560_v3.h

Post by countzero » Wed Jun 19, 2019 9:50 pm

Vert, thanks for your work on Marlin2_B358.7z

I can't commit changes to source code as this pinout is unique to a dual stepper X axis and dual stepper Y axis CNC machine instead of a 3D printer. The above instructions are indeed correct and work fine if you want the first extruder (E0) in Marlin to match with the extruder that is missing a connector on the board.

thana_chart2518@hotmail.com
Posts: 1
Joined: Wed Dec 12, 2018 7:49 pm

Re: Marlin bugfix 2.0 pins_GT2560_v3.h

Post by thana_chart2518@hotmail.com » Thu Jul 04, 2019 12:11 pm

Do you have pin pins tx rx?
I want it.
Please help me.

Post Reply