Professional Documents
Culture Documents
Test / PLC - 1 (CPU 1214C DC/DC/DC) / Program Blocks: Main (OB1)
Test / PLC - 1 (CPU 1214C DC/DC/DC) / Program Blocks: Main (OB1)
Automation Portal
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:
%M10.0
"TG_ON"
Network 2:
Totally Integrated
Automation Portal
%M0.2
%M10.0 "CAR ENTRY_ %M1.0
"TG_ON" SENSOR" "TG_CONVEYOR"
%M1.0
"TG_CONVEYOR"
Network 3:
%M0.7
%M10.0 %M1.0 %Q0.2 %Q0.1 %Q0.3 %Q0.4 "CAR EXIT_ %Q0.0
"TG_ON" "TG_CONVEYOR" "WASH" "SOAP" "CLEAN" "DRYER" SENSOR" "CONVEYOR"
Network 4:
%M0.3
%M10.0 "SOAP STAGE_ %M1.1
"TG_ON" SENSOR" "TG_SOAP"
%M1.1
"TG_SOAP"
Network 5:
Totally Integrated
Automation Portal
%DB1
"T_0"
TON
Time
IN Q
T#10S PT ET T#0ms
Network 6:
%M0.4
%M10.0 "WASH STAGE_ %M1.2
"TG_ON" "T_0".Q SENSOR" "TG_WASH"
%M1.2
"TG_WASH"
Network 7:
%DB2
"T_1"
TON
Time
IN Q
T#10S PT ET T#0ms
Totally Integrated
Automation Portal
Network 8:
%M0.5
%M10.0 "CLEAN STAGE- %M1.3
"TG_ON" "T_1".Q SENSOR" "TG_CLEAN"
%Q0.3
"CLEAN"
Network 9:
%DB3
"T_2"
TON
Time
IN Q
T#10S PT ET T#0ms
Network 10:
Totally Integrated
Automation Portal
%M0.6
%M10.0 "DRYER TAGE_ %M1.4
"TG_ON" "T_2".Q SENSOR" "TG_DRYER"
%M1.4
"TG_DRYER"
Network 11:
%DB4
"T_3"
TON
Time
IN Q
T#10S PT ET T#0ms
Network 12:
%M0.7
%M10.0 %M1.4 "CAR EXIT_ %Q0.5
"TG_ON" "TG_DRYER" SENSOR" "DONE"