Train EB was applied while departing station in Auto mode. Released EB - ok.was applied due to train doors status lost. IMCC (RS) infor med. Train EB was applied while departing station in Auto mo ~~~~~ Train EB was applied while departing sta   From ER, observed that DIR was lit for a moment when train was departing in AM mode and EB tripped consequentially during time of fault at 1327H. TC subsequently engaged RM mode, reset EB and cycled thru the cab doors of 3505 twice as DIR was shown to be lit and extinguished twice without any door open command given. Train was able to proceed as per normal. Checked 3505 both cab doors and found A/s cab door to have a slight gap between actuator plunger and door limit switch, causing DIR to be lit when cab door is tug tested. Readjusted the switch actuator plunger to the limit switch as per rigging criteria. Tug test ok, DIR not lit. Security check ok. Checked other cab doors rigging satis. Done by: Roslie 45387