When the homing procedure has finished the machine will have moved a certain amount of distance from the home sensor so it is no longer activated. If you prefer the axis to be exactly on the homing position, you can add to the macro.cnc a G-code to move to the real home position: 


For example, if you want the X-axis to be 0 add to this line:


<...>

Sub home_x

    home x

Endsub

<...>


this:


<....>

Sub home_x

    home x

    G53 G0 X0

Endsub

<...>