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

Programming

The document describes the main program for a PLC control system with networks that control inputs, outputs, and internal variables using logic operations and timers. The networks control contactors, lights, and locks based on sensor inputs for stopping, operating modes, and directional commands using internal memory bits and timer tags over multiple scans of the main program.

Uploaded by

Bảo Toàn Lê
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 views5 pages

Programming

The document describes the main program for a PLC control system with networks that control inputs, outputs, and internal variables using logic operations and timers. The networks control contactors, lights, and locks based on sensor inputs for stopping, operating modes, and directional commands using internal memory bits and timer tags over multiple scans of the main program.

Uploaded by

Bảo Toàn Lê
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

Totally Integrated

Automation Portal

Practice_ASL / PLC_1 [CPU 1211C DC/DC/DC] / 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:
Totally Integrated
Automation Portal

Network 1: (1.1 / 4.1)

%M0.0
%I0.5 %I0.0 "Biến trung
"Stop" "Hi" gian 1"
S

%M0.1
%I0.1 "Biến trung
"Me" gian 2"
S

%M0.2
%I4.1 "Biến trung
"Down" gian 3"
S

%M0.0
%I0.2 "Biến trung
"S1" gian 1"
R

%I4.0
"Up"

%I4.1
"Down"

%I4.2
"Lock"

%M0.1
%I0.3 "Biến trung
"S2" gian 2"
P R
%M0.5
"Tag_2"

2.1 ( Page1 - 3)
Totally Integrated
Automation Portal

Network 1: (2.1 / 4.1)


1.1 ( Page1 - 2)

%I4.0
"Up"

%I4.1
"Down"

%I4.2
"Lock"

%I0.2
"S1"

%DB4
"T2"
%M0.2
%I0.4 TON "Biến trung
"S3" Time gian 3"
IN Q R
T#2s PT ET T#0ms

%M0.0 %M0.1
"Biến trung "Biến trung %Q0.0
gian 1" gian 2" "Contactor"

%M0.1 %M0.0
"Biến trung "Biến trung
gian 2" gian 1"

%I4.0
"Up"

%M0.2

3.1 ( Page1 - 4)
Totally Integrated
Automation Portal

Network 1: (3.1 / 4.1)


2.1 ( Page1 - 3)
%M0.2
"Biến trung
gian 3" "T0".Q

%DB2
"T1"
%M0.1 %M0.2
%I0.2 "Biến trung %I4.0 "Biến trung %I4.2 TOF
"S1" gian 2" "Up" gian 3" "Lock" Time
IN Q
T#3s PT ET T#0ms

%M0.0 %M0.2
%I0.3 "Biến trung %I4.0 "Biến trung %I4.2
"S2" gian 1" "Up" gian 3" "Lock"
P
%M0.4
"Tag_1"

%DB3
"T0"
%M0.2
"Biến trung TON
gian 3" Time
IN Q
T#2s PT ET T#0ms

%Q0.2
"T0".Q "VKN"

%Q0.1
"T0".Q "VTL"

%I4.2
"Lock"

"T1".Q

4.1 ( Page1 - 5)
Totally Integrated
Automation Portal

Network 1: (4.1 / 4.1)


3.1 ( Page1 - 4)

%M0.0 %M0.1
"Biến trung "Biến trung %Q0.3
gian 1" gian 2" "Đèn báo Manual"

%M0.0
%I0.5 "Biến trung
"Stop" gian 1"
R

%M0.1
"Biến trung
gian 2"
R

%M0.2
"Biến trung
gian 3"
R

You might also like