Totally Integrated
Automation Portal
NHMN / PLC_1 [CPU 1214C 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: Run_Enable Control
%M2.0 %M2.1 %M0.0
"Start_Button" "Stop_Button" "Run_Enable"
%M0.0
"Run_Enable"
Network 2: Activate Step_Pump
%M2.2
%M0.0 %M1.1 %M1.2 %M1.3 %M1.4 "High_Level_ %M1.0
"Run_Enable" "Step_Mixer" "Step_Heater" "Step_PumpOut" "Brew" Sensor" "Step_Pump"
S
Network 3: Run Pumps during Step_Pump
%M1.0 %Q0.0
"Step_Pump" "Pump_Water"
%Q0.1
"Pump_Material"
Network 4: End Step_Pump and Activate Step_Mixer
%M2.2
%M1.0 "High_Level_ %M1.1
"Step_Pump" Sensor" "Step_Mixer"
S
Network 5: Activate Step_Mixer and Start Mixer
%M1.1 %Q0.2
"Step_Mixer" "Mixer"
%M1.0
"Step_Pump"
R
Network 6: Mixer Timer and Activate Step_Heater
Totally Integrated
Automation Portal
%DB3
"TON Mixer_Timer"
%M1.1 TON %M1.2
"Step_Mixer" Time "Step_Heater"
IN Q S
T#10s PT ET T#0ms
Network 7: Activate Step_Heater and Control Heater
%M2.4
%M1.2 "Temp_Safety_ %M1.4
"Step_Heater" Sensor" "Brew"
S
%Q0.3
"Heater"
%M1.1
"Step_Mixer"
R
Network 8: 1
%DB1
"Step_Brew"
%M1.4 TON %M1.3
"Brew" Time "Step_PumpOut"
IN Q S
T#30s PT ET T#0ms
%M1.2
"Step_Heater"
R
Network 9: 1
%M1.3 %Q0.4
"Step_PumpOut" "Pump_Out"
%M1.4
"Brew"
R
Network 10:
%M2.3
%Q0.4 "Low_Level_ %M1.3
"Pump_Out" Sensor" "Step_PumpOut"
R