Linking keycard scanner to map doors?

Hey guys, I really need your help. I need to find a way to link a keycard scanner to a map door (to a sliding one). Would this be possible and how?

This may be helpful: