Totally Integrated
Automation Portal
dengiaothong / 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:
%FC9000
"MHJ-PLC-Lab-Function-S71200"
EN ENO
Network 2:
%I0.0 %I0.1 %M0.0
"Start" "Stop" "duytri"
%M0.0
"duytri"
%M0.0 %Q0.0
"duytri" "xanh"
%M0.0 %Q0.2
"duytri" "do"
Network 4:
%M0.0 %M0.1 %Q0.1
"duytri" "step_grab" "bang tai in"
%Q0.3
"emitter"
%Q0.6
"bang tai out"
Network 5:
%DB1
"T1"
%M0.1 %I0.4 TON
"step_grab" "ss1" Time
IN Q
T#2s PT ET T#0ms
Network 6:
%I0.4 %Q0.5
"ss1" "moveZ"
Totally Integrated
Automation Portal
Network 7:
%M0.0 %I0.6 %Q0.5
"duytri" "phat hien vat" "moveZ"
R
%Q0.7
"grab"
S
Network 9:
%Q0.4 %I0.2 %Q0.7
"moveX" "MovingX" "grab"
R
Network 8:
%Q0.7 %I0.6 %Q0.4
"grab" "phat hien vat" "moveX"
Network 3:
%M0.0 %I0.4 %Q0.4 %M0.1
"duytri" "ss1" "moveX" "step_grab"
%M0.1
"step_grab"