Homing with G-code ???

I defined my endstops and they work correctly. If I select Prepare, Home all axes from my GLCD menu it works as designed. Homing against endstop , retract 5mm and home again at low speed untill it hits the enstop.I expected that a G28 would produce the same but is only moves the axes to the place of the previous home cycle. I would like to have the G-code that does the same as the selection in the display.
Is there a G-code for this ?

Regards

Dirk

Ps: Running the latest edge.

Imported from wikidot

This likely means you are in grbl_mode, correct ?
If so, G28 doesn’t mean “seek the endstops” anymore, as per the standard Gcode standard.
See smoothieware.org/g28

Hi Arthur

Thanks for pointing me to that info. I was not aware of these 2 modes.
Finally the $H command does the job.Thanks for the support.

Regards

Dirk