Fix white space damage and update std_lib pointer
This commit is contained in:
@@ -3,20 +3,20 @@
|
||||
<POU Name="Axis_Template" Id="{1a43acb4-bd2e-4637-97fb-9976d47292b6}" SpecialFunc="None">
|
||||
<Declaration><![CDATA[PROGRAM Axis_Template
|
||||
VAR
|
||||
|
||||
|
||||
END_VAR
|
||||
]]></Declaration>
|
||||
<Implementation>
|
||||
<ST><![CDATA[//Initial parameters of an Axis
|
||||
(*IF _TaskInfo[fbGetCurTaskIndex.index].FirstCycle THEN
|
||||
//Initial default values:
|
||||
GVL.astAxes[1].stControl.fVelocity := GVL.astAxes[1].stConfig.fVelocityDefaultSlow;
|
||||
GVL.astAxes[1].stConfig.eHomeSeq := 0;
|
||||
GVL.astAxes[1].stConfig.fHomePosition := 0.0;
|
||||
GVL.astAxes[1].stConfig.fHomeFinishDistance := 0.0;
|
||||
//Initial default values:
|
||||
GVL.astAxes[1].stControl.fVelocity := GVL.astAxes[1].stConfig.fVelocityDefaultSlow;
|
||||
GVL.astAxes[1].stConfig.eHomeSeq := 0;
|
||||
GVL.astAxes[1].stConfig.fHomePosition := 0.0;
|
||||
GVL.astAxes[1].stConfig.fHomeFinishDistance := 0.0;
|
||||
END_IF*)
|
||||
|
||||
//Define ACTIONS() or write exclusive code for an specific axis.
|
||||
//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.
|
||||
]]></ST>
|
||||
</Implementation>
|
||||
|
||||
@@ -78,7 +78,7 @@ END_IF]]></ST>
|
||||
</Action>
|
||||
<Action Name="PROG" Id="{5d03ebbb-2a47-4890-ad6d-e82daf72dc51}">
|
||||
<Implementation>
|
||||
<ST><![CDATA[//Call the programs that are defined in the "Application Specific" folder.
|
||||
<ST><![CDATA[//Call the programs that are defined in the "Application Specific" folder.
|
||||
//Create as many programs in that folder as axes and applications you have or need
|
||||
|
||||
//Axes initial parameters and program
|
||||
|
||||
Reference in New Issue
Block a user