0% found this document useful (0 votes)
40 views

Lab 12

This document contains the source code for a PLC program with 6 networks. It defines variables and their addresses used across the networks. The networks control logic for solenoid valves (SOL_1, SOL_2 etc.) and monitor input and output states using variables like A_0, B_0, C_0 and internal state variables (State_0, State_3 etc.). The document also contains empty blocks for subroutines and interrupt routines that are likely called from the main routine.
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)
40 views

Lab 12

This document contains the source code for a PLC program with 6 networks. It defines variables and their addresses used across the networks. The networks control logic for solenoid valves (SOL_1, SOL_2 etc.) and monitor input and output states using variables like A_0, B_0, C_0 and internal state variables (State_0, State_3 etc.). The document also contains empty blocks for subroutines and interrupt routines that are likely called from the main routine.
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/ 5

Lab12 / MAIN (OB1)

Block: MAIN
Author:
Created: 10/08/2006 12:46:54 am
Last Modified: 10/08/2006 01:47:14 am

Symbol Var Type Data Type Comment


TEMP
TEMP
TEMP
TEMP

PROGRAM COMMENTS
Network 1 Network Title
Network Comment

Start Part_Present A_0 B_0 C_0


1.A

SOL_1

SOL_3 SOL_1
1.A /

Symbol Address Comment


A_0 I0.2
B_0 I0.4
C_0 I0.6
Part_Present I0.7
SOL_1 Q0.0
SOL_3 Q0.2
Start I0.0

Network 2

SOL_1 A_1 State_3 SOL_3


/

SOL_3

Symbol Address Comment


A_1 I0.1
SOL_1 Q0.0
SOL_3 Q0.2
State_3 M0.3

1/5
Lab12 / MAIN (OB1)

Network 3

SOL_3 B_1 SOL_2 State_3


/

State_3

Symbol Address Comment


B_1 I0.3
SOL_2 Q0.1
SOL_3 Q0.2
State_3 M0.3

Network 4

State_3 B_0 SOL_4 SOL_2


/

SOL_2

Symbol Address Comment


B_0 I0.4
SOL_2 Q0.1
SOL_4 Q0.3
State_3 M0.3

Network 5

SOL_2 A_0 State_0 SOL_4


/

SOL_4

Symbol Address Comment


A_0 I0.2
SOL_2 Q0.1
SOL_4 Q0.3
State_0 M0.0

2/5
Lab12 / MAIN (OB1)

Network 6

SOL_4 C_1 SOL_1 State_0


/

State_0

Symbol Address Comment


C_1 I0.5
SOL_1 Q0.0
SOL_4 Q0.3
State_0 M0.0

3/5
Lab12 / SBR_0 (SBR0)

Block: SBR_0
Author:
Created: 10/08/2006 12:46:54 am
Last Modified: 10/08/2006 12:46:54 am

Symbol Var Type Data Type Comment


EN IN BOOL
IN
IN_OUT
OUT
TEMP

SUBROUTINE COMMENTS
Network 1 Network Title
Network Comment

4/5
Lab12 / INT_0 (INT0)

Block: INT_0
Author:
Created: 10/08/2006 12:46:54 am
Last Modified: 10/08/2006 12:46:54 am

Symbol Var Type Data Type Comment


TEMP
TEMP
TEMP
TEMP

INTERRUPT ROUTINE COMMENTS


Network 1 Network Title
Network Comment

5/5

You might also like