DemoSimit PLCtag Function Block
DemoSimit PLCtag Function Block
Automation Portal
Equipment Operation
Name Data type Default value Comment
Input
Output
InOut
Temp
Constant
Return
Equipment Operation Void
ADD
Auto (Real)
EN ENO
%QD90 %QD74
"Dosing 1 OUT "Level"
Process Value" IN1
%QD98
"Dosing 2
Process Value" IN2
%Q0.2 %Q2.7
"State Dosing 1" "Valve 1 Enable"
S
%DB25
"Pump 1 Wait"
%Q2.7 TON %Q2.5
"Valve 1 Enable" Time "Pump 1 Enable"
IN Q S
T#1s PT ET T#0ms
%QD90
"Dosing 1
%Q0.2 %Q3.1
Process Value"
"State Dosing 1" "Dosing 1 Done"
>=
S
Real
%QD86
"Dosing 1
Setting Value"
%Q0.3 %Q2.5
"State Dosing 2" "Pump 1 Enable"
R
%Q1.0 %DB26
"State Held" "Valve 1 Wait"
TON %Q2.7
Time "Valve 1 Enable"
%Q1.1 IN Q R
"State Stopped" T#1s PT ET T#0ms
P_TRIG MOVE
%Q1.2 CLK Q EN ENO
"State Aborted" "Temp".P_TRIG_ 0.0 IN
Dosing1_Done %QD78
"Pump 1
OUT1 Output Power"
%Q0.3 %Q3.0
"State Dosing 2" "Valve 2 Enable"
S
%DB27
"Pump 2 Wait"
%Q3.0 TON %Q2.6
"Valve 2 Enable" Time "Pump 2 Enable"
IN Q S
T#1s PT ET T#0ms
%QD98
%Q0.3 "Dosing 2 %Q3.2
Process Value"
"State Dosing 2" "Dosing 2 Done"
>=
S
Real
%QD94
"Dosing 2
Setting Value"
%Q0.4 %Q2.6
"State Mixing" "Pump 2 Enable"
R
%Q1.0 %DB28
"State Held" "Valve 2 Wait"
TON %Q3.0
Time "Valve 2 Enable"
%Q1.1 IN Q R
"State Stopped" T#1s PT ET T#0ms
P_TRIG MOVE
%Q1.2 CLK Q EN ENO
"State Aborted" "Temp".P_TRIG_ 0.0 IN
Dosing2_Done %QD82
"Pump 2
OUT1 Output Power"
Network 4: Agitator
Totally Integrated
Automation Portal
%Q0.4 %Q1.3
"State Mixing" "Agitator Enable"
S
%QD54
%Q1.5
%Q0.4 "Agitator "Agitator Speed
Process Value" OK"
"State Mixing"
>
S
Real
%QD50
"Agitator
Setting Value"
%DB12
"Timer for
Agitator"
%Q1.5
%Q0.4 "Agitator Speed TON
"State Mixing" OK" Time
IN Q
T#30s PT ET T#0ms
%Q1.4 %Q1.5
%Q0.4 "Timer for "Agitator Back "Agitator Speed
"State Mixing" Agitator".Q MOVE to 0" OK"
EN ENO S R
0.0 IN
%QD50
"Agitator
OUT1 Setting Value"
%QD54
%Q1.4 %Q1.4
%Q0.4 "Agitator Back "Agitator "Agitator Back %Q1.6
to 0" Process Value" to 0"
"State Mixing" "Agitator Done"
<
R S
Real
1.0
%QD54
%Q1.4
%Q0.4 "Agitator Back "Agitator %Q1.3
to 0" Process Value"
"State Mixing" "Agitator Enable"
<
R
Real
1.0
%Q1.0
"State Held"
%Q1.1
"State Stopped"
%Q1.2
"State Aborted"
%Q0.7
"State Complete"
Network 5: Heater
Totally Integrated
Automation Portal
%Q0.5 %Q2.1
"State Heating" "Heater Enable"
S
%Q2.3
%QD66
"Heater
%Q0.5 "Heater Process Temperature
Value" OK"
"State Heating" P_TRIG
>=
CLK Q S
Real
"Temp".P_TRIG_
%QD62
CI_Heater
"Heater Setting
Value"
%DB15
%Q2.3
"Timer for Heater"
"Heater
%Q0.5 Temperature TON
"State Heating" OK" Time
IN Q
T#15s PT ET T#0ms
%Q2.3
"Heater
%Q0.5 "Timer for Temperature %Q2.4
"State Heating" Heater".Q P_TRIG OK" "Heater Done"
CLK Q R S
"Temp".P_TRIG_
CI_Heater1
%Q1.0
"State Held"
%Q1.1
"State Stopped"
%Q1.2
"State Aborted"
%Q1.7
%Q0.6 "Discharge
"State Discharge" Valve Enable"
S
%Q2.0 %Q1.7
"Discharge "Discharge
Valve Done" Valve Enable"
R
%Q1.0
"State Held"
%Q1.1
"State Stopped"
%Q1.2
"State Aborted"
Network 7:
%Q3.4 %Q3.1
"Reset PID" "Dosing 1 Done"
R
%Q3.2
"Dosing 2 Done"
R
%Q1.6
"Agitator Done"
R
%Q2.4
"Heater Done"
R
%Q2.0
"Discharge
Valve Done"
R
Totally Integrated
Automation Portal
%DB30
"Batch Counter"
%Q0.7 CTUD
"State Complete" Int
CU QU
QD false
%DB31 %QW106
"Wait for Aborting" CV "Batch Counted"
%Q0.7 TOF %I0.6
"State Complete" Time "Command Abort"
IN Q CD
T#0.5s PT ET T#0ms false R
false LD
10 PV