Min and Max positions

Post Reply
FishMan
Posts: 6
Joined: Wed Mar 29, 2017 4:13 pm
Location: Hampshire, UK

Min and Max positions

Post by FishMan » Sun May 07, 2017 12:31 am

Hi,
Firstly, sorry about the long post, but I think the answer will be short and easy from someone who has used the printers for a while.

So, I have my printer up and running (just) but I am really confused over the X, Y, Z, probe position numbers.
Where - physically - is 0,0,0 ? Is it where the End-Stop micro-switches are, or is it the front corner of the heated bed, or the glass?
If it's not where the end-stops are, then how do I make the start of the X axis -4mm for the L/H extruder ?
Is everything measured from the Extruder 0, or from the middle of the extruders?

My Set-up is:
GeeeTech i3 Pro C dual extruder, with a GT2560 Rev A+ Controller, and a 3DTouch.
I use Marlin (RCBugFix), Arduino 1.8.3, Repetier 2.0.0.
Here is a drawing of my Printer, Extruders, and 3D Touch (to scale!):
Printer Dimensions.png
Printer Dimensions.png (16.26 KiB) Viewed 4827 times
I have disabled Z_SAFE_HOMING so I don't end up with the hot-ends in the middle of the bed.
I also have disabled - BED_CENTER_AT_0_0, PROBE_DOUBLE_TOUCH, NOZZLE_PARK_FEATURE, NOZZLE_CLEAN_FEATURE
PREVENT_COLD_EXTRUSION & EXTRUDE_MINTEMP are off to enable testing ATM.


1...

Code: Select all

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 200
#define Y_MAX_POS 200
#define Z_MAX_POS 200
Is "homing" the endstops, or a position on the bed? What do I set the X_MAX_POS to ?

2...

Code: Select all

// If enabled, axes won't move below MIN_POS in response to movement commands.
//#define MIN_SOFTWARE_ENDSTOPS
// If enabled, axes won't move above MAX_POS in response to movement commands.
//#define MAX_SOFTWARE_ENDSTOPS
Should these be enabled or disabled ?

3...

Code: Select all

// Set the boundaries for probing (where the probe can reach).
#define LEFT_PROBE_BED_POSITION 25
#define RIGHT_PROBE_BED_POSITION 170
#define FRONT_PROBE_BED_POSITION 60
#define BACK_PROBE_BED_POSITION 190
Are these positions relative to the endstops, extruder, or the bed?

4...

Code: Select all

// The Z probe minimum outer margin (to validate G29 parameters).
#define MIN_PROBE_EDGE 10
Is 10 OK for this?

5...

Code: Select all

#elif ENABLED(AUTO_BED_LEVELING_3POINT)
// 3 arbitrary points to probe.
// A simple cross-product is used to estimate the plane of the bed.
#define ABL_PROBE_PT_1_X 15
#define ABL_PROBE_PT_1_Y 180
#define ABL_PROBE_PT_2_X 15
#define ABL_PROBE_PT_2_Y 60
#define ABL_PROBE_PT_3_X 200
#define ABL_PROBE_PT_3_Y 60

#elif ENABLED(AUTO_BED_LEVELING_UBL)

//===========================================================================
//========================= Unified Bed Leveling ============================
//===========================================================================

#define UBL_MESH_INSET 1          // Mesh inset margin on print area
#define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
#define UBL_PROBE_PT_1_X 39       // These set the probe locations for when UBL does a 3-Point leveling
#define UBL_PROBE_PT_1_Y 180      // of the mesh.
#define UBL_PROBE_PT_2_X 39
#define UBL_PROBE_PT_2_Y 60
#define UBL_PROBE_PT_3_X 180
#define UBL_PROBE_PT_3_Y 60
//#define UBL_G26_MESH_EDITING    // Enable G26 mesh editing
I can't find anywhere that AUTO_BED_LEVELING_3POINT is enabled, so I assume that the numbers in that section don't matter. However, I have played around with the UBL_PROBE_PT_.... numbers randomly until the compiler stopped complaining. What should the numbers really be? From what position? endstops, extruder, or the bed?

6...

Code: Select all

#if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
#define RGB_LED_R_PIN 34
#define RGB_LED_G_PIN 43
#define RGB_LED_B_PIN 35
#define RGB_LED_W_PIN -1
#endif
Where are pin numbers 34, 35, 43 physically positioned on the GT2560?

Thanks in advance,
Paul
My "Stuff":
GeeeTech i3 Pro C. GT2560 RevA+. 3DTouch. Marlin 1.1.x Bugfix. Repetier v2.0.1.

Post Reply