The imobilizer activates 30s after the ignition is turned off, even if the car has been left unlocked. If the ignition is not turned on it will activate 30s after it was de-activated.
From your description it sounds like the alarm does not recognise that the ignition switch has been turned on. Either it has been wired incorrectly or a wire is not connected.
Mark Thompson
February 2008