You don't say which airplane you use, and if it's a supported one.
Since there's no such thing as a "FMC of P3D", it looks like you use a 3rd party airplane so, it must be correctly configured, if it's not already internally supported by GSX and, if it's not correctly configured, GSX cannot recognize if the doors are open or not.