0% found this document useful (0 votes)
8 views2 pages

Project1 / PLC - 1 (CPU 1215C AC/DC/Rly) / Program Blocks: Main (OB1)

The document outlines the structure and properties of a PLC program block named 'Main', which includes various networks for controlling inputs and outputs. It details the use of timers, counters, and boolean variables for managing the program's logic. The program is designed for automation tasks with specific functionalities such as starting, stopping, and handling remanent data.

Uploaded by

vclapne
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)
8 views2 pages

Project1 / PLC - 1 (CPU 1215C AC/DC/Rly) / Program Blocks: Main (OB1)

The document outlines the structure and properties of a PLC program block named 'Main', which includes various networks for controlling inputs and outputs. It details the use of timers, counters, and boolean variables for managing the program's logic. The program is designed for automation tasks with specific functionalities such as starting, stopping, and handling remanent data.

Uploaded by

vclapne
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/ 2

Totally Integrated

Automation Portal

Project1 / PLC_1 [CPU 1215C AC/DC/Rly] / 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.1 %Q0.0


"Start" "Stop" "Den"

%Q0.0 %M0.0
"Den" "bittrunggian"

Network 2:

%M0.0 %I0.2 %M0.5 %M0.1


"timer2".IN "bittrunggian" "CB Thap" "vanxa" P_TRIG "bom1"
CLK Q S
%M10.1
"Tag_3"
%M0.2
"bom2"
%M0.5 S
"vanxa"
R

Network 3:

%M0.0 %I0.3 %M0.5 %M0.1


"timer2".IN "bittrunggian" "CB TB" "vanxa" "bom1"
R

%M0.2
"bom2"
S

%M0.5
"vanxa"
R

%M0.4
"khuay"
R

%M0.5 %M0.1
"vanxa" "bom1"
R

%M0.2
"bom2"
R

%M0.4
"khuay"
R

Network 4:
Totally Integrated
Automation Portal

%M0.0 %I0.4 %M0.4 %M0.2


"timer2".IN "bittrunggian" "CB cao" "khuay" "bom2"
R

%M0.1
"bom1"
R

%M0.5
"vanxa"
R

%M0.4 %M0.5 %M0.4


"khuay" "vanxa" P_TRIG "khuay"
CLK Q S
%M10.5
"Tag_6"

%DB1
"timer1"
%M0.5 TON %M0.4
"vanxa" Time "khuay"
IN Q R
T#10s PT ET T#0ms

%M0.5
"timer1".Q "vanxa"
S

Network 5:

%DB2
"ct1"
%M0.5 CTU
"vanxa" N_TRIG Int
CLK Q CU Q
%M10.0 "timer2".Q R %MW2
"Tag_7" 10 PV CV "giatri"

Network 6:

%DB5
"timer2"
%M0.0 TON
"ct1".PV Time
"bittrunggian" "timer2".Q
==
Int IN Q
%MW2 T#10s PT %MD4
"giatri" ET "giatritm"

You might also like