Anda di halaman 1dari 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 Supervision Comment


Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant

Network 1: Reset
Detect when Factory I/O starts running, reset state

%DB4
"R_TRIG_ "R_TRIG_
FactoryRunning" FactoryRunning". %M0.0
R_TRIG Q "Loading"
EN ENO R
Q ...
%I1.5
"I_Factory_ %M0.1
Running" CLK "LoaderBusy"
R

%M0.4
"HighBox"
R

%M0.2
"TransferingRight"
R

%M0.3
"TransferingLeft"
R

MOVE
EN ENO
0 IN OUT1 "CTUD_Right".CV

MOVE
EN ENO
0 IN OUT1 "CTUD_Left".CV

OUTPUTS
JMP

Symbol Address Type Comment


"CTUD_Left".CV Int
"CTUD_Right".CV Int
"HighBox" %M0.4 Bool
"I_Factory_Running" %I1.5 Bool
"LoaderBusy" %M0.1 Bool
"Loading" %M0.0 Bool
"R_TRIG_FactoryRunning".Q Bool
"TransferingLeft" %M0.3 Bool
"TransferingRight" %M0.2 Bool

Network 2: Loading
Loading starts when the pallet is ready and the loader is not busy, ends when loaded
After save whether the loaded box is high or low

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


"I_Pallet_sensor" "LoaderBusy" "Loading"
S

%I0.3 %M0.0
"I_Loaded" "Loading"
R

%DB2
"R_TRIG_I_High" %M0.4
R_TRIG "R_TRIG_I_High".Q "HighBox"
EN ENO S
%I0.0 Q ...
"I_High_sensor" CLK

Symbol Address Type Comment


"HighBox" %M0.4 Bool
"I_High_sensor" %I0.0 Bool
"I_Loaded" %I0.3 Bool

Anda mungkin juga menyukai