Change pneumatic axis number in GVL_APP to 0 and build

This commit is contained in:
Kristina Jurisic
2021-11-01 10:22:39 +01:00
parent fdf5921942
commit a2afeeb99e
2 changed files with 2 additions and 105 deletions

View File

@@ -4,64 +4,6 @@
<Instance Id="#x08502040" TcSmClass="TComPlcObjDef" KeepUnrestoredLinks="2" TmcPath="tc_project_app\tc_project_app.tmc">
<Name>tc_project_app Instance</Name>
<CLSID ClassFactory="TcPlc30">{08500001-0000-0000-F000-000000000064}</CLSID>
<Vars VarGrpType="1">
<Name>PlcTask Inputs</Name>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bLimitFwd</Name>
<Comment><![CDATA[Limit Switch Fwd input]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bLimitBwd</Name>
<Comment><![CDATA[Limit Switch Bwd input]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bExtendValve</Name>
<Comment><![CDATA[Solenoid valve Extend Input (for single solenoid)]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bRetractValve</Name>
<Comment><![CDATA[Solenoid valve Retract Input (for double solenoid)]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bPSSPermit</Name>
<Comment><![CDATA[Input signal from PSS for the movement]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bInterlock</Name>
<Comment><![CDATA[Input interlock signal for the movement]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bPressureExtend</Name>
<Comment><![CDATA[Input signal of air pressure for cyclinder extraction]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bPressureRetract</Name>
<Comment><![CDATA[Input signal of air pressure for cylinder retraction]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.nAirPressureValve</Name>
<Comment><![CDATA[Input signal of air pressure for pneumatic valve]]></Comment>
<Type>REAL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bExtendManual</Name>
<Comment><![CDATA[Push button input to extend cylinder]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bRetractManual</Name>
<Comment><![CDATA[Push button input to retract the cylinder]]></Comment>
<Type>BOOL</Type>
</Var>
</Vars>
<Vars VarGrpType="2" AreaNo="1">
<Name>PlcTask Outputs</Name>
<Var>
@@ -69,51 +11,6 @@
<Comment><![CDATA[Outputs: Power for Limit switches and Home Sensors (every 4th output)]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bLimitFwdOn</Name>
<Comment><![CDATA[Limit Switch Fwd power output]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bLimitBwdOn</Name>
<Comment><![CDATA[Limit Switch Bwd power output]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bValveOn</Name>
<Comment><![CDATA[Output of the solenoid valve (for single solenoid)]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bSolenoidExtendOn</Name>
<Comment><![CDATA[Solenoid valve Extend power output (for single solenoid)]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bPressureExtendOn</Name>
<Comment><![CDATA[Power output for air pressure switch]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bPressureRetractOn</Name>
<Comment><![CDATA[Power output for air pressure switch]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.fAirPressureOn</Name>
<Comment><![CDATA[Power output for analog pressure sensor]]></Comment>
<Type>REAL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bExtendManualOn</Name>
<Comment><![CDATA[Power output for push button (extend)]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bRetractManualOn</Name>
<Comment><![CDATA[Power output for push button (retract)]]></Comment>
<Type>BOOL</Type>
</Var>
</Vars>
<Contexts>
<Context>

View File

@@ -7,8 +7,8 @@ VAR_GLOBAL
END_VAR
VAR_GLOBAL CONSTANT
nAXIS_NUM : UINT:=0;
nPNEUMATIC_AXIS_NUM : UINT:=1;
nAXIS_NUM: UINT := 0;
nPNEUMATIC_AXIS_NUM: UINT := 0;
END_VAR
]]></Declaration>
</GVL>