Added dummy task for Oven in Order to access values with APROL
This commit is contained in:
8
Logical/OvenCtrl/Package.pkg
Normal file
8
Logical/OvenCtrl/Package.pkg
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=3.0.90.23 SP05?>
|
||||
<Package xmlns="http://br-automation.co.at/AS/Package">
|
||||
<Objects>
|
||||
<Object Type="Program" Language="IEC" Description="Oven locic">oven1</Object>
|
||||
<Object Type="Program" Language="IEC" Description="Oven locic">oven2</Object>
|
||||
</Objects>
|
||||
</Package>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=3.0.90.22 SP04?>
|
||||
<?AutomationStudio Version=3.0.90.23 SP05?>
|
||||
<Program xmlns="http://br-automation.co.at/AS/Program">
|
||||
<Files>
|
||||
<File Description="Cyclic code">ovenCyclic.st</File>
|
||||
10
Logical/OvenCtrl/oven2/IEC.prg
Normal file
10
Logical/OvenCtrl/oven2/IEC.prg
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=3.0.90.23 SP05?>
|
||||
<Program xmlns="http://br-automation.co.at/AS/Program">
|
||||
<Files>
|
||||
<File Description="Initialization code">oven2Init.st</File>
|
||||
<File Reference="true">\Logical\OvenCtrl\oven1\ovenCyclic.st</File>
|
||||
<File Description="Local data types" Private="true" Reference="true">\Logical\OvenCtrl\oven1\oven.typ</File>
|
||||
<File Description="Local variables" Private="true" Reference="true">\Logical\OvenCtrl\oven1\oven.var</File>
|
||||
</Files>
|
||||
</Program>
|
||||
12
Logical/OvenCtrl/oven2/oven2Init.st
Normal file
12
Logical/OvenCtrl/oven2/oven2Init.st
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
PROGRAM _INIT
|
||||
iTemperature1 ACCESS ADR (giOven2Temp1);
|
||||
iTemperature2 ACCESS ADR (giOven2Temp2);
|
||||
iTemperature3 ACCESS ADR (giOven2Temp3);
|
||||
iTemperature4 ACCESS ADR (giOven2Temp4);
|
||||
iTemperature5 ACCESS ADR (giOven2Temp5);
|
||||
iTemperature6 ACCESS ADR (giOven2Temp6);
|
||||
iTemperature7 ACCESS ADR (giOven2Temp7);
|
||||
iTemperature8 ACCESS ADR (giOven2Temp8);
|
||||
END_PROGRAM
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=3.0.90.22 SP04?>
|
||||
<?AutomationStudio Version=3.0.90.23 SP05?>
|
||||
<Package xmlns="http://br-automation.co.at/AS/Package">
|
||||
<Objects>
|
||||
<Object Type="File" Description="Global data types">Global.typ</Object>
|
||||
@@ -7,6 +7,6 @@
|
||||
<Object Type="Package" Description="Common Defaults">Common</Object>
|
||||
<Object Type="Package" Description="Communication">Communication</Object>
|
||||
<Object Type="Package" Description="Global libraries">Libraries</Object>
|
||||
<Object Type="Program" Language="IEC" Description="Oven locic">oven1</Object>
|
||||
<Object Type="Package" Description="OvenControl">OvenCtrl</Object>
|
||||
</Objects>
|
||||
</Package>
|
||||
@@ -8,7 +8,8 @@
|
||||
<Task Name="collectd" Source="Communication.collectd.prg" Memory="UserROM" Language="IEC" Debugging="true" Disabled="true" />
|
||||
</TaskClass>
|
||||
<TaskClass Name="Cyclic#3">
|
||||
<Task Name="oven1" Source="oven1.prg" Memory="UserROM" Language="IEC" Debugging="true" />
|
||||
<Task Name="oven1" Source="OvenCtrl.oven1.prg" Memory="UserROM" Language="IEC" Debugging="true" />
|
||||
<Task Name="oven2" Source="OvenCtrl.oven2.prg" Memory="UserROM" Language="IEC" Debugging="true" />
|
||||
</TaskClass>
|
||||
<TaskClass Name="Cyclic#4" />
|
||||
<DataObjects />
|
||||
|
||||
Reference in New Issue
Block a user