Remove hardware and rebuild

Change axisNum to 2
This commit is contained in:
Paul Barron committed 2019-12-17 14:54:20 +01:00
1 parent 4a59909ff1
commit b61bf93b52
4 files changed
+181 -3164

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<TreeItem><NcAxisDef><AxisType>1</AxisType><AxisParam><Unit>mm</Unit><Dynamic><Acceleration>1500</Acceleration><Deceleration>1500</Deceleration><Jerk>2250</Jerk><AccelerationMaximum>15000</AccelerationMaximum><DecelerationMaximum>15000</DecelerationMaximum><DelayTime>0</DelayTime><SetpointGeneratorType>1</SetpointGeneratorType><OverrideType>3</OverrideType><VeloJumpFactor>0</VeloJumpFactor><ToleranceBallAuxAxis>0</ToleranceBallAuxAxis><MaxPosDeviationAuxAxis>0</MaxPosDeviationAuxAxis><FastAxisStopSignalType>0</FastAxisStopSignalType><FastAcceleration>0</FastAcceleration><FastDeceleration>0</FastDeceleration><FastJerk>0</FastJerk></Dynamic><Velo><RefSearch>30</RefSearch><RefSync>30</RefSync><SlowManual>100</SlowManual><FastManual>600</FastManual><Fast>2000</Fast><Maximum>2000</Maximum></Velo><PositionAreaControl><Enable>true</Enable><Range>5</Range></PositionAreaControl><MotionControl><Enable>false</Enable><Range>0.1</Range><Time>0.5</Time></MotionControl><Loop><Enable>false</Enable><Range>100</Range></Loop><TargetPosControl><Enable>true</Enable><Range>2</Range><Time>0.02</Time></TargetPosControl><PEHControl><Enable>false</Enable><Time>5</Time></PEHControl><BacklashCompensation><Enable>false</Enable><Range>0</Range></BacklashCompensation><OtherSettings><ErrorReactionMode>0</ErrorReactionMode><ErrorReactionDelay>0</ErrorReactionDelay><SwitchToActValuesIfDisabled>false</SwitchToActValuesIfDisabled><NoMotionWindow>1</NoMotionWindow><NoMotionFilterTime>0.01</NoMotionFilterTime><EncGrpDeadTimeComp>0</EncGrpDeadTimeComp><AllowMotionCmdToSlave>true</AllowMotionCmdToSlave><AllowMotionCmdToExtSetGenAxis>false</AllowMotionCmdToExtSetGenAxis></OtherSettings><DataPersistence>false</DataPersistence><PulseDistancePos>5</PulseDistancePos><PulseDistanceNeg>5</PulseDistanceNeg></AxisParam><Encoder><EncType>1</EncType><EncParam><ScaleFactorNumerator>0.0001</ScaleFactorNumerator><ScaleFactorDenominator>1</ScaleFactorDenominator><Offset>0</Offset><ModuloFactor>360</ModuloFactor><ToleranceWndModuloStart>0</ToleranceWndModuloStart><Inverse>false</Inverse><EncMode>2</EncMode><MaxCount>16777215</MaxCount><FilterTime><TPos>0</TPos><TVelo>0.01</TVelo><TAcc>0.1</TAcc></FilterTime><SoftEndMinControl><Enable>false</Enable><Range>0</Range></SoftEndMinControl><SoftEndMaxControl><Enable>false</Enable><Range>0</Range></SoftEndMaxControl><ActPosCorrection><Enable>false</Enable><Time>0</Time></ActPosCorrection><RejectionFilterMask>0</RejectionFilterMask><ReferenceSystem>0</ReferenceSystem><EvaluationDirection>0</EvaluationDirection><Inc><RefSearchInverse>false</RefSearchInverse><RefSyncInverse>true</RefSyncInverse><RefPosition>0</RefPosition><RefDistSearchToSyncEnabled>false</RefDistSearchToSyncEnabled><RefDistanceSearchToSync>0</RefDistanceSearchToSync><RefExternSync>false</RefExternSync><RefMode>0</RefMode><RefSoftSyncMask>1048575</RefSoftSyncMask></Inc><Sim><RandScale>0</RandScale></Sim><TimeComp><TimeCompMode>0</TimeCompMode><IoTimeAbsolute>false</IoTimeAbsolute><EncDelayCycles>0</EncDelayCycles><AdditionalTimeShift>0</AdditionalTimeShift></TimeComp></EncParam></Encoder><Drive><DrvType>5</DrvType><DrvParam><Inverse>false</Inverse><DrvMode>1</DrvMode><MinOutputLimit>-1</MinOutputLimit><MaxOutputLimit>1</MaxOutputLimit><MaxCount>65535</MaxCount><DriveControlDWord>#x00000000</DriveControlDWord><InputScalingFactorActTorque>0.1</InputScalingFactorActTorque><InputFilterTimeActTorque>0</InputFilterTimeActTorque><InputFilterTimeActTorqueDerivative>0</InputFilterTimeActTorqueDerivative><Analog><VeloReferenz>2200</VeloReferenz><OutputReferenz>1</OutputReferenz><VeloOffset>0</VeloOffset><VeloScale>1</VeloScale><PosScale>1</PosScale><AccScale>0</AccScale><TorqueScale>0</TorqueScale><PosOutputDelay>0</PosOutputDelay><VeloOutputDelay>0</VeloOutputDelay><AccOutputDelay>0</AccOutputDelay><TorqueOutputDelay>0</TorqueOutputDelay><OutputSmoothingFilterType>0</OutputSmoothingFilterType><OutputSmoothingFilterTime>0.01</OutputSmoothingFilterTime><OutputSmoothingFilterOrder>2</OutputSmoothingFilterOrder><QuadrantCompensation>1</QuadrantCompensation><VeloBendPoint>1</VeloBendPoint><OutputBendPoint>1</OutputBendPoint><ProfiDrivePosKpc>0</ProfiDrivePosKpc><TabId>0</TabId><TabIpolType>0</TabIpolType><OutputOffsetPercent>0</OutputOffsetPercent><ProfiDriveScaleXerr>1</ProfiDriveScaleXerr></Analog><Stepper><BitMaskCycle1>3</BitMaskCycle1><BitMaskCycle2>6</BitMaskCycle2><BitMaskCycle3>12</BitMaskCycle3><BitMaskCycle4>9</BitMaskCycle4><BitMaskHoldingLoad>133</BitMaskHoldingLoad></Stepper><TimeComp><TimeCompMode>0</TimeCompMode><IoTimeAbsolute>false</IoTimeAbsolute><DriveDelayCycles>1</DriveDelayCycles><TaskDelayCycles>1</TaskDelayCycles><AdditionalTimeShift>0</AdditionalTimeShift></TimeComp></DrvParam></Drive><Controller><CtrType>1</CtrType><CtrParam><CtrMode>1</CtrMode><PriorControlFactor>1</PriorControlFactor><PosDiffControl><Enable>true</Enable><Range>5</Range><Time>0.02</Time></PosDiffControl><VeloDiffControl><Enable>false</Enable><Range>0</Range><Time>0</Time></VeLine truncated
+174 -3153
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -7,7 +7,7 @@ VAR_GLOBAL
END_VAR
VAR_GLOBAL CONSTANT
axisNum : UINT:=3;
axisNum : UINT:=2;
//axisCoupleMax : UINT:=4;
END_VAR]]></Declaration>
</GVL>
+6 -8
View File
@@ -11,12 +11,12 @@ VAR
(******Outputs: Power for Limit switches and Home Sensors (every 4th output)********)
bOutput1 AT %Q*: BOOL:= TRUE;
bOutput2 AT %Q*: BOOL:= TRUE;
bOutput3 AT %Q*: BOOL:= TRUE;
//bOutput2 AT %Q*: BOOL:= TRUE;
//bOutput3 AT %Q*: BOOL:= TRUE;
//bOutput4 AT %Q*: BOOL:= TRUE;
bOutput5 AT %Q*: BOOL:= TRUE;
bOutput6 AT %Q*: BOOL:= TRUE;
bOutput7 AT %Q*: BOOL:= TRUE;
//bOutput5 AT %Q*: BOOL:= TRUE;
//bOutput6 AT %Q*: BOOL:= TRUE;
//bOutput7 AT %Q*: BOOL:= TRUE;
//bOutput8 AT %Q*: BOOL:= TRUE;
//bOutput9 AT %Q*: BOOL:= TRUE;
//bOutput13 AT %Q*: BOOL:= TRUE;
@@ -76,8 +76,7 @@ ERROR();]]></ST>
</Implementation>
<Action Name="AXES" Id="{7eb32732-9b53-4934-8cd9-20ba971dd8ff}">
<Implementation>
<ST><![CDATA[gvl.axes[1].config.eRestorePosition:=RestorePosition.RestoreWithoutHome;
FOR GVL.iAxis:=1 TO gvl_app.axisNum DO
<ST><![CDATA[FOR GVL.iAxis:=1 TO gvl_app.axisNum DO
aFbAxes[GVL.iAxis](stAxisStruct:=gvl.axes[GVL.iAxis]);
END_FOR]]></ST>
</Implementation>
@@ -268,7 +267,6 @@ END_FOR]]></ST>
<LineId Id="81" Count="1" />
</LineIds>
<LineIds Name="MAIN.AXES">
<LineId Id="11" Count="0" />
<LineId Id="1" Count="0" />
<LineId Id="4" Count="0" />
<LineId Id="10" Count="0" />