Is there a sensor or switch (microswitch) that conveys the door lock status (lock/unlocked) back to the machine's controller? Is that working OK. Is the wiring OK? are the connections OK?
XXX
July 2016
Automatic Answer
While you wait for answers, we may have found some information which could help you.