There are many ways to lockout X7 to stop reactivation.
You have to look at your code and decide what is happening.
Clue: It does not matter if X7 is reactivated during the first timing phase but it does if it is during the second timing phase. Maybe something from the second phase can do this job?
Function 65 is a special timer STMR
It uses 4 consecutive internal relays and makes them into a TOF a TON and the last 2 are alternate flashing.
The instruction is written: {STMR T0 K10 M0}
M0 is a TOF, M1 is a TON & M2-M3 turn on and off alternatively as the timer T0 times out.