Problem:
Threshold Time For Machine interlock automatically getting reset after HMI Power Off because of this Machine Interlock Continuously on even if the machine is running.
Solution:
To avoid this problem, Threshold Time Variable needs to be added in the power task as Follows,
Whenever HMI restart Threshold time will be written in the Threshold time variable.