From Wikipedia: Despite the popularity of the phrase, it was said only once on the show. This was during episode 11 of season 3 "The Deadliest of the Species". The Robot gave warnings intermittently to Will and the other crew members of the Jupiter 2, in the form of the expressions "Warning!" and "Danger!"