6-9
Primer: S7-300 Programmable Controller, Quick Start
C79000-G7076-C500-01
Network 8: Timer start for yellow phase delay for vehicles
A M 0.0
AT 3
L S5T#6S
SI T 4
Network 9: Red phase for pedestrians
A M 0.0
A(
ON T 2
OT 3
)
ON M 0.0
= Q 0.0
Network 10: Timer start for red/yellow phase for vehicles
A M 0.0
AT 4
L S5T#3S
SI T 5
Network 11: Timer start for green request delay
A Q 0.7
L S5T#1S
SI T 6
Enter the STL statement below for the TLIGHT sample program in your
OB1. Proceed as described in the table on the previous page.
Network 1: FC1 call for traffic light control
CALL FC1
STL Statements
for OB1
Programming Logic Blocks with STEP 7