Add changes after the filter run.
This commit is contained in:
+11
-10
@@ -3,13 +3,13 @@
|
||||
<POU Name="Shutter_Operator_panel_Template" Id="{09741edf-58a0-0d9d-0563-de91fec8904d}" SpecialFunc="None">
|
||||
<Declaration><![CDATA[PROGRAM Shutter_Operator_panel_Template
|
||||
VAR
|
||||
//Variables used to control the LEDs of the Safety Shutter Operator panel
|
||||
(*bExtendedLight AT %Q*: BOOL; //Power output for Open position + LED
|
||||
//Variables used to control the LEDs of the Safety Shutter Operator panel
|
||||
(*bExtendedLight AT %Q*: BOOL; //Power output for Open position + LED
|
||||
bRetractedLight AT %Q*: BOOL; //Power output for Close position + LED
|
||||
bMovingLight AT %Q*: BOOL; //Power output for cylinder Moving LED
|
||||
bNoPermitLight AT %Q*: BOOL; //Power output for No permit LED
|
||||
bErrorLight AT %Q*: BOOL; //Power output for Error LED
|
||||
*)
|
||||
*)
|
||||
END_VAR
|
||||
]]></Declaration>
|
||||
<Implementation>
|
||||
@@ -17,11 +17,11 @@ END_VAR
|
||||
|
||||
//Assign LED to the permit status
|
||||
(*IF gvl.astPneumaticAxes[main.hmiPneumaticAxisSelection].stPneumaticAxisConfig.bPSSPneumaticAxisShutter THEN
|
||||
bNoPermitLight := NOT gvl.astPneumaticAxes[main.hmiPneumaticAxisSelection].stPneumaticAxisInputs.bPSSPermit;
|
||||
ELSE
|
||||
bNoPermitLight := FALSE;
|
||||
END_IF
|
||||
|
||||
bNoPermitLight := NOT gvl.astPneumaticAxes[main.hmiPneumaticAxisSelection].stPneumaticAxisInputs.bPSSPermit;
|
||||
ELSE
|
||||
bNoPermitLight := FALSE;
|
||||
END_IF
|
||||
|
||||
//Assign LED to the error status
|
||||
bErrorLight := gvl.astPneumaticAxes[main.hmiPneumaticAxisSelection].stPneumaticAxisStatus.bError;
|
||||
|
||||
@@ -34,8 +34,9 @@ IF gvl.astPneumaticAxes[main.hmiPneumaticAxisSelection].stPneumaticAxisStatus.bR
|
||||
bMovingLight := TRUE;
|
||||
ELSE
|
||||
bMovingLight := FALSE;
|
||||
END_IF
|
||||
*)]]></ST>
|
||||
END_IF
|
||||
*)
|
||||
]]></ST>
|
||||
</Implementation>
|
||||
</POU>
|
||||
</TcPlcObject>
|
||||
@@ -3,7 +3,7 @@
|
||||
<POU Name="Pneumatics_Template" Id="{7bf401fb-a600-4741-a67b-36f20e194cfc}" SpecialFunc="None">
|
||||
<Declaration><![CDATA[PROGRAM Pneumatics_Template
|
||||
VAR
|
||||
|
||||
|
||||
END_VAR
|
||||
]]></Declaration>
|
||||
<Implementation>
|
||||
|
||||
Reference in New Issue
Block a user