first off what is n/s and e/w?
From many years experience with the student traffic light problem, I can answer that. It is the basice facing directions or travel directions for each set of lights, North/South and East/West. I always try to write out the full words for my light output symbols, such as "North-South Red", "North-South Green" and so on, although the LogixPro Simulator software has a very limited symbol desciption- one line of 22 characters at the "regular" font setting.
The old traffic light is a real challenge for most students because there are NO inputs to fiddle around with! As we know from many old thereads, students get intimately involved with PLC Inputs and ignore the Outputs. In this case there are only Outputs and timers, a complete student befuddlement!
For this specific exercise, called "Chapter 5: Exercise #3 - Traffic Light with Delayed Green" in the official LogixPro Student Exercises, the recommended method is to use 6 Light Outputs:
O:2/0 = EAST-WEST RED LIGHT
O:2/1 = EAST-WEST AMBER LIGHT
O:2/2 = EAST-WEST GREEN LIGHT
O:2/3 = NORTH-SOUTH RED LIGHT
O:2/4 = NORTH-SOUTH AMBER LIGHT
O:2/5 = NORTH-SOUTH GREEN LIGHT
and use 6 timers for a 28-second cycle:
T4:0 = EAST-WEST GREEN TIMER, "80"
T4:1 = EAST-WEST AMBER TIMER, "40"
T4:2 = NORTH-SOUTH DELAYED GREEN TIMER, "20"
T4:3 = NORTH-SOUTH GREEN TIMER, "80"
T4:4 = NORTH-SOUTH AMBER TIMER, "40"
T4:5 = EAST-WEST DELAYED GREEN TIMER, "20"
Later in Chapter 7, there are other more advanced methods using only 1 timer.