When i bought my Audi 80 last year the central locking had been disconnected due to a problem. When i reconnect the pump and try to lock the car the pump seems to be working back-to-front! If i turn the key to lock it, the pump blows and unlocks the doors but sets the alarm and likewise if i turn the key to unlock it, the pumps sucks and locks the doors but switches the alarm off.

When i asked the previous owner what had happened he said it started when the battery died after being parked up and he replaced it with a new one.

Is there a reset that needs to be done or this a common issue?

P.S. - It's the same when i try all locks on the car.