Update pneumtics template

The variable bPSSPneumaticAxisShutter changed to bSafetyShutter
The low and high pressure limts are not defined per axis but per pressure group
in GVL_APP. Remove tehm from the template.
modified:   solution/tc_project_app/POUs/Application_Specific/Axes/Pneumatics_Template.TcPOU
This commit is contained in:
Federico Rojas
2025-04-02 13:58:53 +02:00
parent 50a58a9d72
commit 059707d03c

View File

@@ -9,14 +9,13 @@ END_VAR
<Implementation>
<ST><![CDATA[//Initial parameters of an Pneumatic Axis
//Uncomment the next IF statement to configure and activate the intial parameters of the axis
(*IF TaskInfo[fbGetCurTaskIndex.index].FirstCycle THEN
(*
IF TaskInfo[fbGetCurTaskIndex.index].FirstCycle THEN
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.sPneumaticAxisName := 'Shutter';
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.bPneumaticAxisShutter := TRUE;
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.bSafetyShutter := TRUE;
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.nTimeToExtend := 10;
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.nTimeToRetract := 10;
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.nAllowTimePressureOutOfRange := 5;
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.fLowLimitPressureValue := 3.5;
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.fHighLimitPressureValue := 6.0;
END_IF
*)