STL Statements
Enter the STL statement below for the TLIGHT sample program in your
for OB1
OB1. Proceed as described in the table on the previous page.
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
A
T 3
L
S5T#6S
SI
T 4
Network 9:
Red phase for pedestrians
A
M 0.0
A(
ON
T 2
O
T 3
)
ON
M 0.0
=
Q 0.0
Network 10:
Timer start for red/yellow phase for vehicles
A
M 0.0
A
T 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
Network 1:
FC1 call for traffic light control
CALL
FC1
Programming Logic Blocks with STEP 7
6-9