Move print bed to front at the end of a print rather than the back
Note that this reference states that:


  Because the behavior of G28 is unspecified, it is recommended not to automatically include G28 in your ending GCode. On a Cartesian this will result in damaging the printed object. If you need to move the carriage at the completion of a print, use G0 or G1.


So you need to use a G0 or G1 move.

When using Ultimaker Cura (like many other slicers), there is built in functionality known as keywords with a complete list found here.

The keyword machine_depth is the one that is of use to you, embed this in your end G-code in between curly brackets and it will expand to the bed size of your machine (replacing G28 X0 Y0):

G1 X0 Y{machine_depth}

For me this compiles to (e.g. for my coreXY printer):

G1 X0 Y300

To set the speed, just add the following command prior to the one above:

G1 F2500

Adding this line before the actual move ensures that the speed is constant, if F2500 would have been included in the move command (like G1 X0 Y{machine_depth} F2500), this defines the end speed, it would start moving at the last speed value prior to the move.

This results in adding the following lines in your endscript:


G1 F2500
G1 X0 Y{machine_depth}