when switch ‘S’ is shifted from position 1 to position 2: