0% found this document useful (0 votes)
7 views

code plc

The document outlines the structure and functionality of a PLC program, specifically focusing on the main program block titled 'Main Program Sweep (Cycle)'. It details various networks for initializing the system, mode selection, filling pump operations, heating processes, mixing operations, and cooling fan control. Each network includes specific inputs, outputs, and logic operations necessary for the automation process.

Uploaded by

ericksontic10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

code plc

The document outlines the structure and functionality of a PLC program, specifically focusing on the main program block titled 'Main Program Sweep (Cycle)'. It details various networks for initializing the system, mode selection, filling pump operations, heating processes, mixing operations, and cooling fan control. Each network includes specific inputs, outputs, and logic operations necessary for the automation process.

Uploaded by

ericksontic10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Totally Integrated

Automation Portal

original_V2 / PLC_1 [CPU 1512C-1 PN] / 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: Bench initializer

%M1.0
%I11.0 "System_ON"
"Start_PB" SR
S Q

%M11.0
"Start_HMI"

%I11.1
"Stop_PB"
R1

%M11.1
"Stop_HMI"

%M1.5
"Cooling"
N
%M19.3
"Tag_23"

Network 2: Mode Selection

%M1.1
%M3.0 "Auto_Mode"
"Auto_HMI" SR
S Q

%M3.1
"Manual_HMI"
R1

Network 3: Filling Pump


Totally Integrated
Automation Portal

%M1.2
%M1.1 %M1.0 "Filling" %Q4.1
"Auto_Mode" "System_ON" SR "Pump"
S Q

%Q4.5 %DB1
"Cooler_Fan" "IEC_Timer_0_DB"
TON %M2.0
Time "Pump_Off"
%M2.0 IN Q
"Pump_Off" ET T#0ms
%MD34
R1
"Pump_
Circulation_
Time" PT
%Q4.5 %MD52
"Temp_Scaled"
"Cooler_Fan"
<=
Real
%MD28
"Cooling_Temp_
Setpoint"

%M1.3
"Heating_Start"

%M1.4
"Mixer"

Network 4: Heating Process

%M1.3
%M1.0 %M1.1 %M1.2 "Heating_Start" %Q4.0
"System_ON" "Auto_Mode" "Filling" SR "Heater_Power"
N S Q
%M19.0
"Tag_20"
MOVE
EN ENO
13824 IN %QW0
%MD52 %M1.1 %M2.1 OUT1 "heating_scale"
"Temp_Scaled" "Auto_Mode" "Temp_Reached"
>=
Real R1 MOVE
%MD24 NOT EN ENO
"Heating_Temp_ 0 IN %QW0
Setpoint" "heating_scale"
OUT1

%M1.0
"System_ON"

Network 5: Mixing Operation

%M1.4
%M1.3 %M1.1 %M1.0 "Mixer" %Q4.3
"Heating_Start" "Auto_Mode" "System_ON" SR "Mixer_Motor"
N S Q
%M19.1
"Tag_21"
%DB3
"IEC_Timer_0_
%M1.5 %M1.1 DB_1"
"Cooling" "Auto_Mode" TON %M2.3
R1 Time "Cooling_En"
IN Q
%MD30 ET T#0ms
"Mixer_Time" PT

Network 6: Cooler Fan

%M1.5
%M2.3 %M1.1 %M1.0 "Cooling" %Q4.5
"Cooling_En" "Auto_Mode" "System_ON" SR "Cooler_Fan"
S Q

%MD52 %M1.1
"Temp_Scaled" "Auto_Mode"
<=
Real R1
%MD28
"Cooling_Temp_
Setpoint"

Network 7:
Totally Integrated
Automation Portal

SCALE
EN ENO
%IW0 %MW50
"Temp_Raw" IN RET_VAL "Tag_13"
100.0 HI_LIM %MD52
0.0 LO_LIM OUT "Temp_Scaled"
%M0.0
"Tag_12" BIPOLAR

Network 8:

You might also like