Merged in MBP-188-delete-suuply-output-from-main (pull request #59)

Update tc_mca_std_lib pointer

Approved-by: Simon Cooper
This commit is contained in:
Federico Rojas
2021-09-21 13:25:13 +00:00
committed by Simon Cooper
3 changed files with 12 additions and 9 deletions

View File

@@ -4,14 +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="2" AreaNo="1">
<Name>PlcTask Outputs</Name>
<Var>
<Name>MAIN.bOutput1</Name>
<Comment><![CDATA[Outputs: Power for Limit switches and Home Sensors (every 4th output)]]></Comment>
<Type>BOOL</Type>
</Var>
</Vars>
<Contexts>
<Context>
<Id NeedCalleeCall="true">0</Id>

View File

@@ -280,6 +280,11 @@
<v n="TextDefault">"halt"</v>
<l n="LanguageTexts" t="ArrayList" />
</o>
<o>
<v n="TextID">"123"</v>
<v n="TextDefault">"HOME"</v>
<l n="LanguageTexts" t="ArrayList" />
</o>
<o>
<v n="TextID">"169"</v>
<v n="TextDefault">"homeDirect"</v>

View File

@@ -3,7 +3,11 @@
<POU Name="Axis_Template" Id="{1a43acb4-bd2e-4637-97fb-9976d47292b6}" SpecialFunc="None">
<Declaration><![CDATA[PROGRAM Axis_Template
VAR
//Outputs: Power for Limit switches, Home Sensors, etc.
//bPowerSwitchesAxis1 AT %Q*: BOOL:= TRUE;
//Hardware interlocks
//bInterlockFwdOK AT %I*: BOOL;
END_VAR
]]></Declaration>
<Implementation>
@@ -16,7 +20,8 @@ END_VAR
END_IF*)
//Define ACTIONS() or write exclusive code for an specific axis.
//Eg. Stop when temperature reaches certain values, reduce speed if a signal is activated, etc.
(*Eg. Stop when temperature reaches certain values, reduce speed if a signal is activated, etc.
Eg. GVL.astAxes[x].stControl.bInterlockFwd := NOT bInterlockFwdOK;*)
]]></ST>
</Implementation>
<LineIds Name="Axis_Template">
@@ -28,6 +33,7 @@ END_IF*)
<LineId Id="22" Count="0" />
<LineId Id="21" Count="0" />
<LineId Id="24" Count="0" />
<LineId Id="33" Count="0" />
<LineId Id="23" Count="0" />
</LineIds>
</POU>