Add commented variables to the Pneumatics_Template(PRG), as a template for pneumatic axis setup.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.11">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<GlobalTextList Name="GlobalTextList" Id="{c3494959-baa5-4f73-b0cd-9c11912145dd}">
|
||||
<XmlArchive>
|
||||
<Data>
|
||||
@@ -25,6 +25,11 @@
|
||||
<v n="TextDefault">"%2.2f"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"17"</v>
|
||||
<v n="TextDefault">"%2.3f"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"543"</v>
|
||||
<v n="TextDefault">"%2.4f"</v>
|
||||
@@ -65,6 +70,11 @@
|
||||
<v n="TextDefault">"actVel"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"414"</v>
|
||||
<v n="TextDefault">"Allowed pressure out of range time(s)"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"110"</v>
|
||||
<v n="TextDefault">"AXESMAX"</v>
|
||||
@@ -215,6 +225,11 @@
|
||||
<v n="TextDefault">"Bwd Enable"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"974"</v>
|
||||
<v n="TextDefault">"Current pressure value (bar)"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"986"</v>
|
||||
<v n="TextDefault">"ehomeDirect"</v>
|
||||
@@ -280,6 +295,11 @@
|
||||
<v n="TextDefault">"Elapsed time"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"87"</v>
|
||||
<v n="TextDefault">"Elapsed time (ms)"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"104"</v>
|
||||
<v n="TextDefault">"ENABLE"</v>
|
||||
@@ -295,6 +315,21 @@
|
||||
<v n="TextDefault">"ENABLE FW"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"1009"</v>
|
||||
<v n="TextDefault">"End switches simulation"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"554"</v>
|
||||
<v n="TextDefault">"EndSwitchBwd"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"1084"</v>
|
||||
<v n="TextDefault">"EndSwitchFwd"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"109"</v>
|
||||
<v n="TextDefault">"English"</v>
|
||||
@@ -415,6 +450,11 @@
|
||||
<v n="TextDefault">"halt"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"347"</v>
|
||||
<v n="TextDefault">"High pressure limit (bar)"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"123"</v>
|
||||
<v n="TextDefault">"HOME"</v>
|
||||
@@ -460,6 +500,11 @@
|
||||
<v n="TextDefault">"jogFw"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"1195"</v>
|
||||
<v n="TextDefault">"Label"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"19"</v>
|
||||
<v n="TextDefault">"Limit switches simulation"</v>
|
||||
@@ -475,6 +520,11 @@
|
||||
<v n="TextDefault">"LimitFwd"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"961"</v>
|
||||
<v n="TextDefault">"Low pressure limit (bar)"</v>
|
||||
<l n="LanguageTexts" t="ArrayList" />
|
||||
</o>
|
||||
<o>
|
||||
<v n="TextID">"298"</v>
|
||||
<v n="TextDefault">"masterGear"</v>
|
||||
|
||||
@@ -1,13 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.11">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<POU Name="Pneumatics_Template" Id="{7bf401fb-a600-4741-a67b-36f20e194cfc}" SpecialFunc="None">
|
||||
<Declaration><![CDATA[PROGRAM Pneumatics_Template
|
||||
VAR
|
||||
|
||||
END_VAR
|
||||
]]></Declaration>
|
||||
<Implementation>
|
||||
<ST><![CDATA[//Test the program to control pneumatic acutator through PneumaticsVisu.
|
||||
//Currently implemented control of single solenoid through PLC and and manually, with two momentary push buttons.
|
||||
<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
|
||||
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.sPneumaticAxisName := 'Shutter';
|
||||
GVL.astPneumaticAxes[x].stPneumaticAxisConfig.bPneumaticAxisShutter := 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
|
||||
*)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user