Commit 594c78f5 authored by Jörg Weingrill's avatar Jörg Weingrill
Browse files

refactoring Environment (ConvertEnvironment)

parent feb9c981
......@@ -54,7 +54,7 @@
<Compile Include="POUs\ATAN2.TcPOU">
<SubType>Code</SubType>
</Compile>
<Compile Include="POUs\ConvertEnvironment.TcPOU">
<Compile Include="POUs\Environment.TcPOU">
<SubType>Code</SubType>
</Compile>
<Compile Include="POUs\CO_ABERRATION.TcPOU">
......
<?xml version="1.0" encoding="utf-8"?>
<Refactors>
<Renames>
<RenamedType>
<Type guid="03869fa8-1755-402e-a7ee-189c483e0438">CONVERTENVIRONMENT</Type>
<From>ConvertEnvironment</From>
<To>Environment</To>
</RenamedType>
</Renames>
</Refactors>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.0">
<POU Name="ConvertEnvironment" Id="{03869fa8-1755-402e-a7ee-189c483e0438}" SpecialFunc="None">
<Declaration><![CDATA[PROGRAM ConvertEnvironment
<POU Name="Environment" Id="{03869fa8-1755-402e-a7ee-189c483e0438}" SpecialFunc="None">
<Declaration><![CDATA[PROGRAM Environment
VAR
WindSpeed1,
WindDirection1,
......@@ -114,7 +114,7 @@ PrecipitationEvent( Trigger := PrecipitationAverage.AVG > 0.3,
OffLevel := ADSLOG_MSGTYPE_HINT);
]]></ST>
</Implementation>
<LineIds Name="ConvertEnvironment">
<LineIds Name="Environment">
<LineId Id="3" Count="0" />
<LineId Id="12" Count="0" />
<LineId Id="97" Count="0" />
......
......@@ -24,7 +24,7 @@ END_VAR
<ST><![CDATA[// turn on CryTiger with a delay of 10 seconds
// TODO: Software control for signals?
SRCryoTiger(SET1 := (ABS(ConvertEnvironment.CryoDifference)) < 0.1 OR CryoTigerPower,
SRCryoTiger(SET1 := (ABS(Environment.CryoDifference)) < 0.1 OR CryoTigerPower,
RESET := ThermoControl.dewar_setpoint > -70.0 ,
Q1 => GVL_MainControl.CryoTiger);
......@@ -62,27 +62,7 @@ MainVoltageL3 := GVL_MainControl.MainVoltageL3;
]]></ST>
</Implementation>
<LineIds Name="MainControls">
<LineId Id="6" Count="0" />
<LineId Id="60" Count="0" />
<LineId Id="97" Count="0" />
<LineId Id="93" Count="0" />
<LineId Id="100" Count="1" />
<LineId Id="10" Count="3" />
<LineId Id="24" Count="2" />
<LineId Id="5" Count="0" />
<LineId Id="39" Count="0" />
<LineId Id="76" Count="0" />
<LineId Id="41" Count="3" />
<LineId Id="40" Count="0" />
<LineId Id="50" Count="0" />
<LineId Id="46" Count="3" />
<LineId Id="45" Count="0" />
<LineId Id="59" Count="0" />
<LineId Id="56" Count="0" />
<LineId Id="52" Count="3" />
<LineId Id="51" Count="0" />
<LineId Id="122" Count="1" />
<LineId Id="125" Count="1" />
<LineId Id="145" Count="37" />
<LineId Id="124" Count="0" />
</LineIds>
</POU>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment