Professional Documents
Culture Documents
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
%FC105
"SCALE"
EN ENO
%IW64 %MW116
"AI_Load_Cell" IN Ret_Val "Error_Value"
%MD104 %MD100
"HL_Load_Cell" HI_LIM OUT "Read_Weight"
%MD108
"LL_Load_Cell" LO_LIM
%M50.1
"BiPolar_Bit" BIPOLAR
%M50.0
"Calibration_Bit" MOVE
EN ENO
%MD100 %MD118
"Read_Weight" IN "Calibration_
OUT1 Error_Value"
SUB
Auto (Real)
EN ENO
%MD100 %MD122
"Read_Weight" IN1 "Calibrated_
OUT Display_Value"
%MD118
"Calibration_
Error_Value" IN2
%M50.2
"Tare_Weight_Bit" MOVE
EN ENO
%MD122 %MD126
"Calibrated_ "Tare_weight_
Display_Value" IN OUT1 Value"
Network 5: Material_Weight
Totally Integrated
Automation Portal
SUB
Auto (Real)
EN ENO
%MD122 %MD128
"Calibrated_ "Material _
Display_Value" IN1 OUT Weight"
%MD126
"Tare_weight_
Value" IN2
ADD
Auto (Real)
EN ENO
%MD128 %MD132
"Material _ OUT "Total_Weight"
Weight" IN1
%MD126
"Tare_weight_
Value" IN2
%I0.0 %Q0.0
"S1_Start" "Q1_Pump"
MUL
Auto (Real)
EN ENO
%MD136 %MD140
"Setpoint_Weight" IN1 OUT "80%_Setpoint"
0.8 IN2
%M50.3
"Cycle_per_
%MD140 %MD136 Second_FIlling
"80%_Setpoint" "Setpoint_Weight" _Bit"
> <=
Real Real
%MD128 %MD128
"Material _ "Material _
Weight" Weight"
%M50.3
"Cycle_per_
%I0.0 Second_FIlling %M50.4
"S1_Start" _Bit" "First_Filling_Bit"
%DB1
%M50.3
"IEC_Timer_0_DB"
"Cycle_per_ %M50.5 %M50.5
%I0.0 Second_FIlling "Timmer_Filling_ TON "Timmer_Filling_
"S1_Start" _Bit" Delay_Bit" Time Delay_Bit"
IN Q
T#1S PT ET ...
%DB2
"IEC_Timer_0_
DB_1"
%M50.5 %M50.6
"Timmer_Filling_ TOF "Timmer _
Delay_Bit" Time Filling_1S_Bit"
IN Q
T#1S PT ET ...
%M50.4 %Q0.0
"First_Filling_Bit" "Q1_Pump"
%M50.6
"Timmer _
Filling_1S_Bit"
%MD148
"Tolerance_for_
SUB Data
%I0.0 %Q0.1
Auto (Real) Comparsion"
"S1_Start" "Q2_Indication"
>=
EN ENO Real
%MD136 %MD128
%MD148
"Setpoint_Weight" IN1 "Material _
"Tolerance_for_
Data Weight"
%MD144
"Tolerance" IN2 OUT Comparsion"
%Q0.2
%I0.1 "Q3_Solenoid_
"S2_Discharge" Valve"