Ah, now if that was clearer at the beginning
So, lets try getting it the right way round first, go into ports and pins, set or unset the "Active Low" box on the Estop line - reverse whatever its on.
Now, in diagnostics, I think this is right - I'm not near my machine, the LED should come ON when the estop is pressed instead of off.
Try that