Mitsubishi does not have a power-off delay to close the relay. Only the power-on delay closes the relay, but it can be implemented by a program.
as the picture shows,
When X0 is ON,
M0 is disconnected in front,
T0 does not count,
When X0 becomes OFF,
M0 is set and T0 starts counting.
Time is up,
When the contact T0 is output, the function of closing the power-off delay is reached.