Bed size and nozzle homing offset in Marlin 1.1.9 firmware This is driving me up the wall, hope somebody can give me some advice...

I have an Anet A8 (metal frame, so 'AM8').  Bed is the original 220x220&nbsp;mm.  When the nozzle is at the X/Y end stops it is positioned 16&nbsp;mm 'west' away from the bed (in free space) in the x-axis, and 5&nbsp;mm 'north'.  

The problem I'm having is with the X_BED_SIZE (surely 220) and X_MIN_POS settings. I keep falling into either the nozzle home a long way from the center (should be 110,110), or getting a message about end stops being too narrow for the bed.  Given my sizings above, what should the following be?:

// @section machine

// The size of the print bed
#define X_BED_SIZE 220
#define Y_BED_SIZE 220

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 240
The original Anet A8 has:


// The size of the print bed
#define X_BED_SIZE 220
#define Y_BED_SIZE 220

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -33
#define Y_MIN_POS -10
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 240


So in your case it would be:


// The size of the print bed
#define X_BED_SIZE 220
#define Y_BED_SIZE 220

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -16
#define Y_MIN_POS -5
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 240


Tuning the bed to print exactly in the middle so that large prints fit on the build plate is described in question: "How to center my prints on the build platform? (Re-calibrate homing offset)".