0% found this document useful (0 votes)
14 views6 pages

Traffic Light Method 1

The document describes a traffic light control program with 16 networks and variables used to control outputs based on timer comparisons. It includes block and network comments for the MAIN, SBR_0, and INT_0 sections of the program.

Uploaded by

Saleem Ashraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views6 pages

Traffic Light Method 1

The document describes a traffic light control program with 16 networks and variables used to control outputs based on timer comparisons. It includes block and network comments for the MAIN, SBR_0, and INT_0 sections of the program.

Uploaded by

Saleem Ashraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Traffic Light method 1 / MAIN (OB1)

Block: MAIN
Author:
Created: 04/05/2010 12:08:31 pm
Last Modified: 04/05/2010 04:32:54 pm

Symbol Var Type Data Type Comment


TEMP
TEMP
TEMP
TEMP

PROGRAM COMMENTS
Network 1 Network Ti tle
Network Comment

I0.0 T37 T37


<=I IN TON
199
1000 PT 100 ms

Network 2 Network Ti tle


Network Comment

T37 Q0.0
<I NOT
50

Network 3 Network Ti tle


Network Comment

T37 T37 Q0.2


<I >=I NOT
100 50

Network 4 Network Ti tle


Network Comment

T37 T37 Q0.4


<I >=I NOT
150 100

1/6
Traffic Light method 1 / MAIN (OB1)

Network 5 Network Ti tle


Network Comment

T37 T37 Q0.6


<I >=I NOT
200 150

Network 6 Network Ti tle


Network Comment

T37 T37 Q0.1


<I >=I
50 40
T37 T37
>=I <I
190 200

Network 7 Network Ti tle


Network Comment

T37 T37 Q0.3


<I >=I
50 40
T37 T37
>=I <I
90 100

Network 8 Network Ti tle


Network Comment

T37 T37 Q0.5


<I >=I
100 90
T37 T37
>=I <I
140 150

Network 9 Network Ti tle


Network Comment

T37 T37 Q0.7


<I >=I
150 140
T37 T37
>=I <I
190 200

2/6
Traffic Light method 1 / MAIN (OB1)

Network 10 Network Ti tle


Network Comment

Network 11 Network Ti tle


Network Comment

Network 12 Network Ti tle


Network Comment

Network 13 Network Ti tle


Network Comment

Network 14 Network Ti tle


Network Comment

Network 15 Network Ti tle


Network Comment

3/6
Traffic Light method 1 / MAIN (OB1)

Network 16 Network Ti tle


Network Comment

4/6
Traffic Light method 1 / SBR_0 (SBR0)

Block: SBR_0
Author:
Created: 04/05/2010 12:08:31 pm
Last Modified: 04/05/2010 12:08:31 pm

Symbol Var Type Data Type Comment


EN IN BOOL
IN
IN_OUT
OUT
TEMP

SUBROUTINE COMMENTS
Network 1 Network Ti tle
Network Comment

5/6
Traffic Light method 1 / INT_0 (INT0)

Block: INT_0
Author:
Created: 04/05/2010 12:08:31 pm
Last Modified: 04/05/2010 12:08:31 pm

Symbol Var Type Data Type Comment


TEMP
TEMP
TEMP
TEMP

INTERRUPT ROUTINE COMMENTS


Network 1 Network Ti tle
Network Comment

6/6

You might also like