0% found this document useful (0 votes)
10 views7 pages

PLCHW

PLC Program

Uploaded by

Omar Alwaqa
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)
10 views7 pages

PLCHW

PLC Program

Uploaded by

Omar Alwaqa
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/ 7

Totally Integrated

Automation Portal

hw.1 / PLC_1 [CPU 1516-3 PN/DP] / Program blocks


Main [OB1]
Main Properties
General
Name Main Number 1 Type OB Language LAD
Numbering Automatic
Information
Title "Main Program Sweep (Cy‐ Author Comment Family
cle)"
Version 0.1 User-defined ID

Main
Name Data type Default value Comment
Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant

Network 1:

%I0.0 %I0.2 %Q0.0


"START BATTON" "SENSOR MIDD" "VOLV TANK 1"

%Q0.0
"VOLV TANK 1"

%I0.3
"SENSOR BELOW"

%I0.2 %I0.1 %Q0.1


"SENSOR MIDD" "SENSOR TOP" "VOLV TANK 2"

%Q0.1 %Q0.2
"VOLV TANK 2" "MIXER MOTOR"

%Q0.0 %I0.3 %Q0.3


"VOLV TANK 1" "SENSOR BELOW" "VOLV TANK 3"

%Q0.3
"VOLV TANK 3"
Totally Integrated
Automation Portal

HW.2 / PLC_1 [CPU 1516-3 PN/DP] / Program blocks


Main [OB1]
Main Properties
General
Name Main Number 1 Type OB Language LAD
Numbering Automatic
Information
Title "Main Program Sweep (Cy‐ Author Comment Family
cle)"
Version 0.1 User-defined ID

Main
Name Data type Default value Comment
Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant

Network 1:

%Q0.0
%I0.0 %I0.5 "motpr of
"1st floor button" "1st floor sensor" elevator"

%Q0.1 %Q0.1
"1st floor led" "1st floor led"

%Q0.4
"the elevator is
working"

%I0.1 %Q0.0
"2nd floor %I0.4 "motpr of
button" "2nd floor sensor" elevator"

%Q0.2 %Q0.2
"2nd floor led" "2nd floor led"

%Q0.4
"the elevator is
working"

%Q0.0
%I0.2 %I0.3 "motpr of
"3rd floor button" "3rd floor sensor" elevator"

%Q0.3 %Q0.3
"3rd floor led" "3rd floor led"

%Q0.4
"the elevator is
working"

%Q0.0 %Q0.5
"motpr of "the elevator is
elevator" off"

You might also like