0% found this document useful (0 votes)
3 views4 pages

PDF

The document outlines the program blocks for a PLC (Programmable Logic Controller) setup, specifically focusing on the Main program block named 'Main Program Sweep (Cycle)'. It details various networks that manage control signals for a robotic pick-and-place operation, including input conditions, movement commands, and system controls. The program includes multiple MOVE instructions and conditional checks to ensure the correct operation of the robotic system.

Uploaded by

puntomat99
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)
3 views4 pages

PDF

The document outlines the program blocks for a PLC (Programmable Logic Controller) setup, specifically focusing on the Main program block named 'Main Program Sweep (Cycle)'. It details various networks that manage control signals for a robotic pick-and-place operation, including input conditions, movement commands, and system controls. The program includes multiple MOVE instructions and conditional checks to ensure the correct operation of the robotic system.

Uploaded by

puntomat99
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

Totally Integrated

Automation Portal

pickandplace / PLC_1 [CPU 1214C 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:

%FC9000
"MHJ-PLC-Lab-Function-S71200"
EN ENO

Network 2:

%I0.2 %M0.0
"Start" "Sys_Cntrl"
S

%I0.3 %M0.0
"Stop" "Sys_Cntrl"
R

%M0.0
"Sys_Cntrl" MOVE
EN ENO
0 IN %MW100
%I1.0 OUT1 "Robot_Adim"
"Reset"
MOVE
EN ENO
0.0 IN %QD30
OUT1 "spx"

MOVE
EN ENO
0.0 IN %QD34
OUT1 "spy"

MOVE
EN ENO
0.0 IN %QD38
OUT1 "spz"

%Q0.3
"grab"
R

Network 3:

%M0.0 %I0.4 %Q0.4


"Sys_Cntrl" "Box_at_Place" "Box_Emitter"

%I0.5 %Q0.5
"Part_at_Place" "Part_Emitter"

Network 4:
Totally Integrated
Automation Portal

%M0.0 %I0.4 %Q0.1


"Sys_Cntrl" "Box_at_Place" "Box_Conveyor"

%MW100
"Robot_Adim"
==
Word
90

%I0.5 %Q0.2
"Part_at_Place" "Part_Conveyor"

Network 5:

%M0.0 %MW100 %I0.4


"Sys_Cntrl" "Robot_Adim" "Box_at_Place" MOVE
==
EN ENO
Word
0 10 IN %MW100
OUT1 "Robot_Adim"

Network 6:

%M0.0 %MW100
"Sys_Cntrl" "Robot_Adim"
MOVE
==
EN ENO
Word
10 8.1 IN %QD30
OUT1 "spx"

MOVE
EN ENO
5.5 IN %QD34
OUT1 "spy"

Network 7:

%M0.0 %MW100 IN_RANGE IN_RANGE


"Sys_Cntrl" "Robot_Adim" Real Real MOVE
==
EN ENO
Word
10 8.09 MIN 5.49 MIN 20 IN %MW100
%ID30 %ID34 OUT1 "Robot_Adim"
"x" VAL "y" VAL
8.11 MAX 5.51 MAX

Network 8:

%MW100
%M0.0
"Sys_Cntrl" "Robot_Adim"
MOVE
==
EN ENO
Word
20 5.5 IN %QD38
OUT1 "spz"

Network 9:

%M0.0 %MW100 IN_RANGE


"Sys_Cntrl" "Robot_Adim" Real MOVE
==
EN ENO
Word
20 5.35 MIN 30 IN %MW100
%ID38 OUT1 "Robot_Adim"
"z" VAL
5.55 MAX

Network 10:
Totally Integrated
Automation Portal

%M0.0 %MW100 %I0.7 %Q0.3


"Sys_Cntrl" "Robot_Adim" "Detected" "grab"
==
S
Word
30

%MW100 %I0.7
"Robot_Adim" "Detected" MOVE
==
Word EN ENO
40 IN %MW100
30
OUT1 "Robot_Adim"

Network 11:

%M0.0 %MW100
"Sys_Cntrl" "Robot_Adim"
MOVE
==
EN ENO
Word
40 3.3 IN %QD38
OUT1 "spz"

Network 12:

%M0.0 %MW100 IN_RANGE


"Sys_Cntrl" "Robot_Adim" Real MOVE
==
EN ENO
Word
40 3.29 MIN 50 IN %MW100
%ID38 OUT1 "Robot_Adim"
"z" VAL
3.31 MAX

Network 13:

%M0.0 %MW100
"Sys_Cntrl" "Robot_Adim"
MOVE
==
EN ENO
Word
50 3.3 IN %QD30
OUT1 "spx"

Network 14:

%M0.0 %MW100 IN_RANGE


"Sys_Cntrl" "Robot_Adim" Real MOVE
==
EN ENO
Word
50 3.29 MIN 60 IN %MW100
%ID30 OUT1 "Robot_Adim"
"x" VAL
3.31 MAX

Network 15:

%M0.0 %MW100
"Sys_Cntrl" "Robot_Adim"
MOVE
==
EN ENO
Word
60 9.9 IN %QD38
OUT1 "spz"

Network 16:

%M0.0 %MW100 IN_RANGE


"Sys_Cntrl" "Robot_Adim" Real MOVE
==
EN ENO
Word
60 9.89 MIN 70 IN %MW100
%ID38 OUT1 "Robot_Adim"
"z" VAL
9.91 MAX
Totally Integrated
Automation Portal

Network 17:

%M0.0 %MW100 %Q0.3


"Sys_Cntrl" "Robot_Adim" "grab"
==
R
Word
70
%DB1
"IEC_Timer_0_DB"
%Q0.3 TON
"grab" Time MOVE
IN Q EN ENO
T#1s PT ET T#0ms 80 IN %MW100
OUT1 "Robot_Adim"

Network 18:

%M0.0 %MW100
"Sys_Cntrl" "Robot_Adim"
MOVE
==
EN ENO
Word
80 1.5 IN %QD38
OUT1 "spz"

%M0.0 %MW100 IN_RANGE


"Sys_Cntrl" "Robot_Adim" Real MOVE
==
Word EN ENO
80 1.49 MIN 90 IN %MW100
%ID38 OUT1 "Robot_Adim"
"z" VAL
1.51 MAX

Network 19:

%M0.0 %MW100 %I0.4


"Sys_Cntrl" "Robot_Adim" "Box_at_Place" MOVE
==
EN ENO
Word
90 0 IN %MW100
OUT1 "Robot_Adim"

Network 20:

%DB2
"IEC_Counter_0_
DB"
%MW100 CTU
"Robot_Adim" Int
==
CU Q
Word
90 %I1.0 %MW102
"Reset" R "Anlik_Kutu_
40 PV CV Sayisi"

Network 21:

%M0.0
"Sys_Cntrl" MOVE
EN ENO

%MW102 %QD42
"Anlik_Kutu_ OUT1 "Kutu_Gosterge"
Sayisi" IN

You might also like