ATS alarm intermittently showed train door status lost while train moving. TC confirmed there was in termittent DIR indication but no DMI illumination. TC openedand closed both side cab doors at BDL SB, Train EB was appl  ~~~~~ ATS alarm intermittently showed train do     Checked and found #3517-A/S cab door sensing s/w gap(5mm) inbetween door mechanism and cause DIR intermittent lit but DMI no lit.Adjusted door sensing mechanism close to 1mm gap and function test no DIR lit.Door open DIR & DMI lit ok. Done by Sanip/Koh. 24/03/22