Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Totally Integrated

Automation Portal

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

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: reset

%I1.7
"FACTORY I/O ( %I1.3 %FC1
Running)" "Reset" "reset output"
EN ENO

Network 3: start the conveyor

%I1.7
"FACTORY I/O ( %I1.2 %Q0.6
Running)" "Start" "Bases conveyor"
S

%Q0.3
"Lids conveyor"
S

Network 4: stop the conveyor


the conveyor stops once the place sensor changes from a 1 to a 0

%I1.7
"FACTORY I/O ( %I0.3 %Q0.3
Running)" "Lid at place" "Lids conveyor"
N R
%M0.1
"Lid at place
memory" %Q0.4
"Clamp lid"
S

%I0.6 %Q0.6
"Base at place" "Bases conveyor"
N R
%M0.2
"Base at place
memory" %Q0.7
"Clamp base"
S

Network 5: pick lid

%I1.7
"FACTORY I/O ( %I0.4 %Q0.1
Running)" "Lid clamped" "Move Z"
P S
%M0.3
"lid clamped
memory"

Network 6: grab lid


Totally Integrated
Automation Portal

%I1.7
"FACTORY I/O ( %I0.2 %Q0.2
Running)" "Item detected" "Grab"
P S
%M0.6
"item detected
memory"

Network 7: retract in z direction

%I1.7
"FACTORY I/O ( %Q0.2 %Q0.1
Running)" "Grab" "Move Z"
P R
%M0.7
"grab memory"

You might also like