|
@@ -8,13 +8,63 @@
|
|
|
|
|
|
<!--////////////////////////////////////////////////// ALL INPUTS START //////////////////////////////////////////////////-->
|
|
|
|
|
|
-
|
|
|
+ <!--VPW Main Start-->
|
|
|
+ <Input Name="r_VPW_CHAMBER_CLOSED" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_1" Invert="true" Type="Digital" DataType="bool"/>
|
|
|
+ <Input Name="r_VPW_CHAMBER_OPENED" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_2" Invert="true" Type="Digital" DataType="bool"/>
|
|
|
+ <Input Name="r_VPW_LEAK_DETECT" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_3" Invert="true" Type="Digital" DataType="bool"/>
|
|
|
+ <Input Name="r_VPW_VAC_PUMP_PRESSURE" Address="MAIN.VPW_AI_8CHANNEL_4_20mA_EL3058_N102_8" Scaling="758=0,0=32767" Type="Analog" DataType="int"/>
|
|
|
+ <Input Name="r_VPW_BOOSTER_PUMP_STATUS" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_9" Invert="true" Type="Digital" DataType="bool"/>
|
|
|
+ <Input Name="r_VPW_DIW_TOTAL_FLOW" Address="MAIN.VPW_AI_8CHANNEL_4_20mA_EL3058_N102_1" Scaling="0=0,20=32767" Type="Analog" DataType="int"/>
|
|
|
+ <Input Name="r_VPW_DIW_PRESSURE" Address="MAIN.VPW_AI_8CHANNEL_4_20mA_EL3058_N102_4" Scaling="0=0,100=32767" Type="Analog" DataType="int"/>
|
|
|
+ <Input Name="r_VPW_DEGAS_PUMP_PRESSURE" Address="MAIN.VPW_AI_8CHANNEL_4_20mA_EL3058_N102_5" Scaling="758=0,100=32767" Type="Analog" DataType="int"/>
|
|
|
+ <!--VPW Main End-->
|
|
|
+
|
|
|
+ <!--VPW1 Start-->
|
|
|
+ <Input Name="r_VPW_DIW_CELL_1_FLOW" Address="MAIN.VPW_AI_8CHANNEL_4_20mA_EL3058_N102_2" Scaling="0=0,8=32767" Type="Analog" DataType="int"/>
|
|
|
+ <Input Name="r_VPW_CELL_1_VAC_PRESSURE" Address="MAIN.VPW_AI_8CHANNEL_0_10V_EL3068_N105_1" Scaling="0=0,10=32767" Type="Analog" DataType="int"/>
|
|
|
+ <!--VPW1 End-->
|
|
|
+
|
|
|
+ <!--VPW2 Start-->
|
|
|
+ <Input Name="r_VPW_DIW_CELL_2_FLOW" Address="MAIN.VPW_AI_8CHANNEL_4_20mA_EL3058_N102_3" Scaling="0=0,8=32767" Type="Analog" DataType="int"/>
|
|
|
+ <Input Name="r_VPW_CELL_2_VAC_PRESSURE" Address="MAIN.VPW_AI_8CHANNEL_0_10V_EL3068_N105_2" Scaling="0=0,10=32767" Type="Analog" DataType="int"/>
|
|
|
+ <!--VPW2 End-->
|
|
|
<!--////////////////////////////////////////////////// ALL INPUTS END //////////////////////////////////////////////////-->
|
|
|
|
|
|
|
|
|
<!--////////////////////////////////////////////////// ALL OUTPUTS BEGIN //////////////////////////////////////////////////-->
|
|
|
-
|
|
|
-
|
|
|
+ <!--VPW Main Start-->
|
|
|
+ <Output Name="c_VPW_CHAMBER_CLOSE" Address="MAIN.MOTION_DO_16CHANNEL_EL2809_N401_15" Type="Digital" Invert="true" DataType="bool"/>
|
|
|
+ <Output Name="c_VPW_VACUUM_PUMP_POWER" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_5" Type="Digital" Invert="false" DataType="bool"/>
|
|
|
+ <Output Name="c_VPW_DEGAS_PUMP_ENABLE" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_6" Type="Digital" Invert="false" DataType="bool"/>
|
|
|
+ <Output Name="c_VPW_BOOSTER_PUMP_ENABLE" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_7" Type="Digital" Invert="false" DataType="bool"/>
|
|
|
+ <Output Name="c_VPW_VACUUM_PUMP_ENABLE" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_8" Type="Digital" Invert="false" DataType="bool"/>
|
|
|
+ <Output Name="c_VPW_VACUUM_PUMP_SPEED_ENABLE" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_9" Type="Digital" Invert="false" DataType="bool"/>
|
|
|
+ <Output Name="c_VPW_VACUUM_PUMP_SPEED" Address="MAIN.VPW_AO_8CHANNEL_0_10V_EL4008_N104_1" Scaling="0=0,20=32767" Type="Analog" DataType="int"/>
|
|
|
+ <Output Name="c_VPW_BOOSTER_PUMP_SPPED" Address="MAIN.VPW_AO_8CHANNEL_0_10V_EL4008_N104_5" Scaling="0=0,20=32767" Type="Analog" DataType="int"/>
|
|
|
+ <Output Name="c_VPW_DIW_EABLE" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="0" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_DIW_PROCESS" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="1" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_DIW_DEGAS" Address="MAIN.VPW_PNEU_SMC_EX260_V05_V08" Type="Digital" BitOperated="true" Bit="0" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_DEGAS_ADJUST" Address="MAIN.VPW_PNEU_SMC_EX260_V05_V08" Type="Digital" BitOperated="true" Bit="1" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_DEGAS_PURGE" Address="MAIN.VPW_PNEU_SMC_EX260_V05_V08" Type="Digital" BitOperated="true" Bit="2" DataType="byte"/>
|
|
|
+ <!--VPW Main End-->
|
|
|
+
|
|
|
+ <!--VPW1 Start-->
|
|
|
+ <Output Name="c_VPW_1_FLOW_DRIP" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="2" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_1_FLOW_SMALL" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="3" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_1_FLOW_LARGE" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="4" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_1_VACUUM_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_V05_V08" Type="Digital" BitOperated="true" Bit="3" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_1_VENT_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_V05_V08" Type="Digital" BitOperated="true" Bit="5" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_1_DIW_DRAIN" Address="MAIN.VPW_PNEU_SMC_EX260_V09_V12" Type="Digital" BitOperated="true" Bit="0" DataType="byte"/>
|
|
|
+ <!--VPW1 End-->
|
|
|
+
|
|
|
+ <!--VPW2 Start-->
|
|
|
+ <Output Name="c_VPW_2_FLOW_DRIP" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="5" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_2_FLOW_SMALL" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="6" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_2_FLOW_LARGE" Address="MAIN.VPW_PNEU_SMC_EX260_V01_V04" Type="Digital" BitOperated="true" Bit="7" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_2_VACUUM_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_V05_V08" Type="Digital" BitOperated="true" Bit="4" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_2_VENT_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_V05_V08" Type="Digital" BitOperated="true" Bit="6" DataType="byte"/>
|
|
|
+ <Output Name="c_VPW_2_DIW_DRAIN" Address="MAIN.VPW_PNEU_SMC_EX260_V09_V12" Type="Digital" BitOperated="true" Bit="1" DataType="byte"/>
|
|
|
+ <!--VPW2 End-->
|
|
|
<!--////////////////////////////////////////////////// ALL OUTPUTS END //////////////////////////////////////////////////-->
|
|
|
|
|
|
<!--////////////////////////////////////////////////// ALL COUNTERS BEGIN //////////////////////////////////////////////////-->
|
|
@@ -22,7 +72,7 @@
|
|
|
|
|
|
<!--////////////////////////////////////////////////// ALL COUNTERS END //////////////////////////////////////////////////-->
|
|
|
|
|
|
- <!--////////////////////////////////////////////////// ALL COUNTERS BEGIN //////////////////////////////////////////////////-->
|
|
|
+ <!--////////////////////////////////////////////////// ALL AXIS BEGIN //////////////////////////////////////////////////-->
|
|
|
|
|
|
<Axis Name="VPW1.Rotation" MotorType="Yaskawa" COEAddress="192.168.0.14.4.1" COEPort="1016" DebugLogging="false">
|
|
|
<Input Address="MAIN.VPW1RotationStatusWord" Type="StatusWord" DataType="uint"/>
|
|
@@ -31,7 +81,7 @@
|
|
|
<Input Address="MAIN.VPW1RotationPositionError" Type="PositionError" DataType="dint"/>
|
|
|
<Input Address="MAIN.VPW1RotationActualVelocity" Type="ActualVelocity" DataType="dint"/>
|
|
|
<Input Address="MAIN.VPW1RotationActualTorque" Type="ActualTorque" DataType="int"/>
|
|
|
- <!-- Input Address="Task 2.Outputs.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
+ <!-- Input Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
<Input Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
<Input Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
<Input Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
|
|
@@ -54,7 +104,7 @@
|
|
|
<Output Address="MAIN.VPW1RotationProfileVelocity" Type="ProfileVelocity" DataType="dint"/>
|
|
|
<Output Address="MAIN.VPW1RotationProfileAccel" Type="ProfileAccel" DataType="dint"/>
|
|
|
<Output Address="MAIN.VPW1RotationProfileDecel" Type="ProfileDecel" DataType="dint"/>
|
|
|
- <!-- Output Address="Task 2.Outputs.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
+ <!-- Output Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
<Output Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
<Output Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
<Output Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
|
|
@@ -104,7 +154,7 @@
|
|
|
<Input Address="MAIN.VPW2RotationPositionError" Type="PositionError" DataType="dint"/>
|
|
|
<Input Address="MAIN.VPW2RotationActualVelocity" Type="ActualVelocity" DataType="dint"/>
|
|
|
<Input Address="MAIN.VPW2RotationActualTorque" Type="ActualTorque" DataType="int"/>
|
|
|
- <!-- Input Address="Task 2.Outputs.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
+ <!-- Input Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
<Input Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
<Input Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
<Input Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
|
|
@@ -127,7 +177,7 @@
|
|
|
<Output Address="MAIN.VPW2RotationProfileVelocity" Type="ProfileVelocity" DataType="dint"/>
|
|
|
<Output Address="MAIN.VPW2RotationProfileAccel" Type="ProfileAccel" DataType="dint"/>
|
|
|
<Output Address="MAIN.VPW2RotationProfileDecel" Type="ProfileDecel" DataType="dint"/>
|
|
|
- <!-- Output Address="Task 2.Outputs.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
+ <!-- Output Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
|
|
|
<Output Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
<Output Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
<Output Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
|
|
@@ -170,270 +220,5 @@
|
|
|
<FeedforwardAcceleration>0</FeedforwardAcceleration>
|
|
|
<OffOnError>0</OffOnError>
|
|
|
</Axis>
|
|
|
- <!-- SRD AXES BEGIN -->
|
|
|
- <!-- Maxon EPOS2 -->
|
|
|
- <!-- position is in counts, speed is in rpm: counts/sec * 60 sec/min / (512 * 4 counts/rev) = 0.0293 rev/min (rpm) -->
|
|
|
- <Axis Name="SRD1.Arm" MotorType="Maxon" SpeedConversion="0.0293" COEAddress="192.168.0.14.5.1" COEPort="4097" DebugLogging="false">
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ARM_StatusWord" Type="StatusWord" DataType="uint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ARM_ActualMotorPosition" Type="MotorPosition" DataType="dint"/>
|
|
|
- <Input Address="0x6085:00" Type="EStopDecel" DataType="udint"/>
|
|
|
- <Input Address="0x607F:00" Type="VelocityLimit" DataType="udint"/>
|
|
|
- <Input Address="0x60C5:00" Type="AccelerationLimit" DataType="udint"/>
|
|
|
- <Input Address="0x2082:00" Type="HomeAdjustment" DataType="dint"/>
|
|
|
- <Input Address="0x1001:00" Type="ErrorRegister" DataType="usint"/>
|
|
|
- <Input Address="0x1003:00" Type="ErrorHistoryCount" DataType="usint"/>
|
|
|
- <Input Address="0x1003:01" Type="ErrorHistory1" DataType="udint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ARM_ControlWord" Type="ControlWord" DataType="uint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ARM_ModeOfOperation" Type="ModeOfOperation" DataType="byte"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ARM_TargetPosition" Type="TargetPosition" DataType="dint"/>
|
|
|
- <Output Address="0x6081:00" Type="ProfileVelocity" DataType="dint"/>
|
|
|
- <Output Address="0x6083:00" Type="ProfileAccel" DataType="dint"/>
|
|
|
- <Output Address="0x6084:00" Type="ProfileDecel" DataType="dint"/>
|
|
|
- <Output Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
- <Output Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
- <Output Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
|
|
|
- <Output Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
|
|
|
- <Output Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
|
|
|
- <Output Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
|
|
|
- <Output Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
|
|
|
- <Output Address="0x6410:02" Type="PeakCurrentLimit" DataType="uint"/>
|
|
|
- <Output Address="0x6410:01" Type="ContinuousCurrentLimit" DataType="uint"/>
|
|
|
- <!--MiscConfig may be used someday if want to reverse direction of motion/-->
|
|
|
- <!--Output Address="0x2008:00" Type="MiscConfig" DataType="uint"/-->
|
|
|
- <!-- 2184.533333 counts/degree -->
|
|
|
- <MotorType>Servo</MotorType>
|
|
|
- <MotorDriveDirection>-1</MotorDriveDirection>
|
|
|
- <!-- +1 = Forward and -1 = Backward-->
|
|
|
- <EncoderFeedbackDirectionMValue>0</EncoderFeedbackDirectionMValue>
|
|
|
- <EncoderFeedbackDirectionNValue>0</EncoderFeedbackDirectionNValue>
|
|
|
- <ReverseLimitSwitchPolarity>1</ReverseLimitSwitchPolarity>
|
|
|
- <ForwardLimitSwitchPolarity>1</ForwardLimitSwitchPolarity>
|
|
|
- <HomeSwitchPolarity>-1</HomeSwitchPolarity>
|
|
|
- <!-- Negative to Home Switch -->
|
|
|
- <!--HomingMethod>21</HomingMethod-->
|
|
|
- <!-- Positive to Home Switch -->
|
|
|
- <HomingMethod>23</HomingMethod>
|
|
|
- <HomingOffset>0</HomingOffset>
|
|
|
- <HomingSpeedHomeSwitch>200</HomingSpeedHomeSwitch>
|
|
|
- <HomingSpeedEncoderIndex>50</HomingSpeedEncoderIndex>
|
|
|
- <HomingAccelDecel>5000</HomingAccelDecel>
|
|
|
- <HomingTimeOut>25000</HomingTimeOut>
|
|
|
- <ProportionalGain>0</ProportionalGain>
|
|
|
- <IntegralGain>0</IntegralGain>
|
|
|
- <DerivativeGain>0</DerivativeGain>
|
|
|
- <IntegralLimit>0</IntegralLimit>
|
|
|
- <ErrorLimit>200</ErrorLimit>
|
|
|
- <VoltageOffset>0</VoltageOffset>
|
|
|
- <ReverseSoftwareLimit>-10000000</ReverseSoftwareLimit>
|
|
|
- <ForwardSoftwareLimit>10000000</ForwardSoftwareLimit>
|
|
|
- <Speed>1000</Speed>
|
|
|
- <Acceleration>5000</Acceleration>
|
|
|
- <Deceleration>5000</Deceleration>
|
|
|
- <FeedforwardVelocity>0</FeedforwardVelocity>
|
|
|
- <FeedforwardAcceleration>0</FeedforwardAcceleration>
|
|
|
- <OffOnError>1</OffOnError>
|
|
|
- </Axis>
|
|
|
- <!-- Copley XE2 2-Axis -->
|
|
|
- <Axis Name="SRD1.Rotation" MotorType="Copley" COEAddress="192.168.0.14.4.1" COEPort="1057" DebugLogging="false">
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_StatusWord" Type="StatusWord" DataType="uint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_ManufStatus" Type="ManufStatus" DataType="udint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_ProfileStatus" Type="ProfileStatus" DataType="int"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_ModeOfOperationDisplay" Type="ModeOfOperation" DataType="sint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_ActualMotorPosition" Type="MotorPosition" DataType="dint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_ActualFollowingError" Type="PositionError" DataType="dint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_ActualVelocity" Type="ActualVelocity" DataType="dint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD1_ROTATION_ActualTorque" Type="ActualTorque" DataType="int"/>
|
|
|
- <Input Address="0x2253:00" Type="SoftwareLimitDecel" DataType="udint"/>
|
|
|
- <Input Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
- <Input Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
- <Input Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
|
|
|
- <Input Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
|
|
|
- <Input Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
|
|
|
- <Input Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
|
|
|
- <Input Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
|
|
|
- <Input Address="0x2353:00" Type="HomeAdjustment" DataType="dint"/>
|
|
|
- <Input Address="0x2110:00" Type="PeakCurrentLimit" DataType="int"/>
|
|
|
- <Input Address="0x2111:00" Type="ContinuousCurrentLimit" DataType="int"/>
|
|
|
- <Input Address="0x6085:00" Type="EStopDecel" DataType="udint"/>
|
|
|
- <Input Address="0x2103:00" Type="VelocityLimit" DataType="udint"/>
|
|
|
- <Input Address="0x6067:00" Type="PositionWindow" DataType="udint"/>
|
|
|
- <Input Address="0x2120:00" Type="FollowingErrorWindow" DataType="udint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ROTATION_ControlWord" Type="ControlWord" DataType="uint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ROTATION_ModeOfOperation" Type="ModeOfOperation" DataType="byte"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ROTATION_TargetPosition" Type="TargetPosition" DataType="dint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ROTATION_ProfileVelocity" Type="ProfileVelocity" DataType="dint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ROTATION_ProfileAccel" Type="ProfileAccel" DataType="dint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD1_ROTATION_ProfileDecel" Type="ProfileDecel" DataType="dint"/>
|
|
|
- <Output Address="0x2253:00" Type="SoftwareLimitDecel" DataType="udint"/>
|
|
|
- <Output Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
- <Output Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
- <Output Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
|
|
|
- <Output Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
|
|
|
- <Output Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
|
|
|
- <Output Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
|
|
|
- <Output Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
|
|
|
- <!-- 58.822222 counts/deg -->
|
|
|
- <MotorType>Servo</MotorType>
|
|
|
- <MotorDriveDirection>-1</MotorDriveDirection>
|
|
|
- <!-- +1 = Forward and -1 = Backward-->
|
|
|
- <EncoderFeedbackDirectionMValue>0</EncoderFeedbackDirectionMValue>
|
|
|
- <EncoderFeedbackDirectionNValue>0</EncoderFeedbackDirectionNValue>
|
|
|
- <ReverseLimitSwitchPolarity>1</ReverseLimitSwitchPolarity>
|
|
|
- <ForwardLimitSwitchPolarity>1</ForwardLimitSwitchPolarity>
|
|
|
- <HomeSwitchPolarity>-1</HomeSwitchPolarity>
|
|
|
- <!-- Positive to Index -->
|
|
|
- <HomingMethod>35</HomingMethod>
|
|
|
- <HomingOffset>0</HomingOffset>
|
|
|
- <HomingSpeedHomeSwitch>2500</HomingSpeedHomeSwitch>
|
|
|
- <HomingSpeedEncoderIndex>2500</HomingSpeedEncoderIndex>
|
|
|
- <HomingAccelDecel>420000</HomingAccelDecel>
|
|
|
- <HomingTimeOut>15000</HomingTimeOut>
|
|
|
- <ProportionalGain>0</ProportionalGain>
|
|
|
- <IntegralGain>0</IntegralGain>
|
|
|
- <DerivativeGain>0</DerivativeGain>
|
|
|
- <IntegralLimit>0</IntegralLimit>
|
|
|
- <ErrorLimit>2000</ErrorLimit>
|
|
|
- <VoltageOffset>0</VoltageOffset>
|
|
|
- <ReverseSoftwareLimit>0</ReverseSoftwareLimit>
|
|
|
- <ForwardSoftwareLimit>0</ForwardSoftwareLimit>
|
|
|
- <Speed>529400</Speed>
|
|
|
- <Acceleration>84000</Acceleration>
|
|
|
- <Deceleration>84000</Deceleration>
|
|
|
- <FeedforwardVelocity>0</FeedforwardVelocity>
|
|
|
- <FeedforwardAcceleration>0</FeedforwardAcceleration>
|
|
|
- <OffOnError>1</OffOnError>
|
|
|
- </Axis>
|
|
|
- <!-- Maxon EPOS2 -->
|
|
|
- <!-- position is in counts, speed is in rpm: counts/sec * 60 sec/min / (512 * 4 counts/rev) = 0.0293 rev/min (rpm) -->
|
|
|
- <Axis Name="SRD2.Arm" MotorType="Maxon" SpeedConversion="0.0293" COEAddress="192.168.0.14.5.1" COEPort="4098" DebugLogging="false">
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ARM_StatusWord" Type="StatusWord" DataType="uint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ARM_ActualMotorPosition" Type="MotorPosition" DataType="dint"/>
|
|
|
- <Input Address="0x6085:00" Type="EStopDecel" DataType="udint"/>
|
|
|
- <Input Address="0x607F:00" Type="VelocityLimit" DataType="udint"/>
|
|
|
- <Input Address="0x60C5:00" Type="AccelerationLimit" DataType="udint"/>
|
|
|
- <Input Address="0x2082:00" Type="HomeAdjustment" DataType="dint"/>
|
|
|
- <Input Address="0x1001:00" Type="ErrorRegister" DataType="usint"/>
|
|
|
- <Input Address="0x1003:00" Type="ErrorHistoryCount" DataType="usint"/>
|
|
|
- <Input Address="0x1003:01" Type="ErrorHistory1" DataType="udint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ARM_ControlWord" Type="ControlWord" DataType="uint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ARM_ModeOfOperation" Type="ModeOfOperation" DataType="byte"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ARM_TargetPosition" Type="TargetPosition" DataType="dint"/>
|
|
|
- <Output Address="0x6081:00" Type="ProfileVelocity" DataType="dint"/>
|
|
|
- <Output Address="0x6083:00" Type="ProfileAccel" DataType="dint"/>
|
|
|
- <Output Address="0x6084:00" Type="ProfileDecel" DataType="dint"/>
|
|
|
- <Output Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
- <Output Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
- <Output Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
|
|
|
- <Output Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
|
|
|
- <Output Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
|
|
|
- <Output Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
|
|
|
- <Output Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
|
|
|
- <Output Address="0x6410:02" Type="PeakCurrentLimit" DataType="uint"/>
|
|
|
- <Output Address="0x6410:01" Type="ContinuousCurrentLimit" DataType="uint"/>
|
|
|
- <!--MiscConfig may be used someday if want to reverse direction of motion/-->
|
|
|
- <!--Output Address="0x2008:00" Type="MiscConfig" DataType="uint"/-->
|
|
|
- <!-- 2184.533333 counts/degree -->
|
|
|
- <MotorType>Servo</MotorType>
|
|
|
- <MotorDriveDirection>-1</MotorDriveDirection>
|
|
|
- <!-- +1 = Forward and -1 = Backward-->
|
|
|
- <EncoderFeedbackDirectionMValue>0</EncoderFeedbackDirectionMValue>
|
|
|
- <EncoderFeedbackDirectionNValue>0</EncoderFeedbackDirectionNValue>
|
|
|
- <ReverseLimitSwitchPolarity>1</ReverseLimitSwitchPolarity>
|
|
|
- <ForwardLimitSwitchPolarity>1</ForwardLimitSwitchPolarity>
|
|
|
- <HomeSwitchPolarity>-1</HomeSwitchPolarity>
|
|
|
- <!-- Negative to Home Switch -->
|
|
|
- <!--HomingMethod>21</HomingMethod-->
|
|
|
- <!-- Positive to Home Switch -->
|
|
|
- <HomingMethod>23</HomingMethod>
|
|
|
- <HomingOffset>0</HomingOffset>
|
|
|
- <HomingSpeedHomeSwitch>200</HomingSpeedHomeSwitch>
|
|
|
- <HomingSpeedEncoderIndex>50</HomingSpeedEncoderIndex>
|
|
|
- <HomingAccelDecel>5000</HomingAccelDecel>
|
|
|
- <HomingTimeOut>25000</HomingTimeOut>
|
|
|
- <ProportionalGain>0</ProportionalGain>
|
|
|
- <IntegralGain>0</IntegralGain>
|
|
|
- <DerivativeGain>0</DerivativeGain>
|
|
|
- <IntegralLimit>0</IntegralLimit>
|
|
|
- <ErrorLimit>200</ErrorLimit>
|
|
|
- <VoltageOffset>0</VoltageOffset>
|
|
|
- <ReverseSoftwareLimit>-10000000</ReverseSoftwareLimit>
|
|
|
- <ForwardSoftwareLimit>10000000</ForwardSoftwareLimit>
|
|
|
- <Speed>1000</Speed>
|
|
|
- <Acceleration>5000</Acceleration>
|
|
|
- <Deceleration>5000</Deceleration>
|
|
|
- <FeedforwardVelocity>0</FeedforwardVelocity>
|
|
|
- <FeedforwardAcceleration>0</FeedforwardAcceleration>
|
|
|
- <OffOnError>1</OffOnError>
|
|
|
- </Axis>
|
|
|
- <!-- Copley XE2 2-Axis -->
|
|
|
- <Axis Name="SRD2.Rotation" MotorType="Copley" COEAddress="192.168.0.14.4.1" COEPort="1057" DebugLogging="false">
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ROTATION_StatusWord" Type="StatusWord" DataType="uint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ROTATION_ManufStatus" Type="ManufStatus" DataType="udint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ROTATION_ProfileStatus" Type="ProfileStatus" DataType="int"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ROTATION_ActualMotorPosition" Type="MotorPosition" DataType="dint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ROTATION_ActualFollowingError" Type="PositionError" DataType="dint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ROTATION_ActualVelocity" Type="ActualVelocity" DataType="dint"/>
|
|
|
- <Input Address="Task 2.Inputs.r_SRD2_ROTATION_ActualTorque" Type="ActualTorque" DataType="int"/>
|
|
|
- <Input Address="0x2A53:00" Type="SoftwareLimitDecel" DataType="udint"/>
|
|
|
- <Input Address="0x687D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
- <Input Address="0x687D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
- <Input Address="0x6898:00" Type="HomingMethod" DataType="byte"/>
|
|
|
- <Input Address="0x687C:00" Type="HomeOffset" DataType="dint"/>
|
|
|
- <Input Address="0x6899:01" Type="HomingVelocity" DataType="dint"/>
|
|
|
- <Input Address="0x6899:02" Type="HomingVelocitySlow" DataType="dint"/>
|
|
|
- <Input Address="0x689A:00" Type="HomingAccel" DataType="dint"/>
|
|
|
- <Input Address="0x2B53:00" Type="HomeAdjustment" DataType="dint"/>
|
|
|
- <Input Address="0x2910:00" Type="PeakCurrentLimit" DataType="int"/>
|
|
|
- <Input Address="0x2911:00" Type="ContinuousCurrentLimit" DataType="int"/>
|
|
|
- <Input Address="0x6885:00" Type="EStopDecel" DataType="udint"/>
|
|
|
- <Input Address="0x2903:00" Type="VelocityLimit" DataType="udint"/>
|
|
|
- <Input Address="0x6867:00" Type="PositionWindow" DataType="udint"/>
|
|
|
- <Input Address="0x2920:00" Type="FollowingErrorWindow" DataType="udint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ROTATION_ControlWord" Type="ControlWord" DataType="uint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ROTATION_ModeOfOperation" Type="ModeOfOperation" DataType="byte"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ROTATION_TargetPosition" Type="TargetPosition" DataType="dint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ROTATION_ProfileVelocity" Type="ProfileVelocity" DataType="dint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ROTATION_ProfileAccel" Type="ProfileAccel" DataType="dint"/>
|
|
|
- <Output Address="Task 2.Outputs.c_SRD2_ROTATION_ProfileDecel" Type="ProfileDecel" DataType="dint"/>
|
|
|
- <Output Address="0x2A53:00" Type="SoftwareLimitDecel" DataType="udint"/>
|
|
|
- <Output Address="0x687D:01" Type="SoftwareLimitMinus" DataType="dint"/>
|
|
|
- <Output Address="0x687D:02" Type="SoftwareLimitPlus" DataType="dint"/>
|
|
|
- <Output Address="0x6898:00" Type="HomingMethod" DataType="byte"/>
|
|
|
- <Output Address="0x687C:00" Type="HomeOffset" DataType="dint"/>
|
|
|
- <Output Address="0x6899:01" Type="HomingVelocity" DataType="dint"/>
|
|
|
- <Output Address="0x6899:02" Type="HomingVelocitySlow" DataType="dint"/>
|
|
|
- <Output Address="0x689A:00" Type="HomingAccel" DataType="dint"/>
|
|
|
- <!-- 58.822222 counts/deg -->
|
|
|
- <MotorType>Servo</MotorType>
|
|
|
- <MotorDriveDirection>-1</MotorDriveDirection>
|
|
|
- <!-- +1 = Forward and -1 = Backward-->
|
|
|
- <EncoderFeedbackDirectionMValue>0</EncoderFeedbackDirectionMValue>
|
|
|
- <EncoderFeedbackDirectionNValue>0</EncoderFeedbackDirectionNValue>
|
|
|
- <ReverseLimitSwitchPolarity>1</ReverseLimitSwitchPolarity>
|
|
|
- <ForwardLimitSwitchPolarity>1</ForwardLimitSwitchPolarity>
|
|
|
- <HomeSwitchPolarity>-1</HomeSwitchPolarity>
|
|
|
- <!-- Positive to Index -->
|
|
|
- <HomingMethod>35</HomingMethod>
|
|
|
- <HomingOffset>0</HomingOffset>
|
|
|
- <HomingSpeedHomeSwitch>2500</HomingSpeedHomeSwitch>
|
|
|
- <HomingSpeedEncoderIndex>2500</HomingSpeedEncoderIndex>
|
|
|
- <HomingAccelDecel>420000</HomingAccelDecel>
|
|
|
- <HomingTimeOut>15000</HomingTimeOut>
|
|
|
- <ProportionalGain>0</ProportionalGain>
|
|
|
- <IntegralGain>0</IntegralGain>
|
|
|
- <DerivativeGain>0</DerivativeGain>
|
|
|
- <IntegralLimit>0</IntegralLimit>
|
|
|
- <ErrorLimit>2000</ErrorLimit>
|
|
|
- <VoltageOffset>0</VoltageOffset>
|
|
|
- <ReverseSoftwareLimit>0</ReverseSoftwareLimit>
|
|
|
- <ForwardSoftwareLimit>0</ForwardSoftwareLimit>
|
|
|
- <Speed>529400</Speed>
|
|
|
- <Acceleration>84000</Acceleration>
|
|
|
- <Deceleration>84000</Deceleration>
|
|
|
- <FeedforwardVelocity>0</FeedforwardVelocity>
|
|
|
- <FeedforwardAcceleration>0</FeedforwardAcceleration>
|
|
|
- <OffOnError>1</OffOnError>
|
|
|
- </Axis>
|
|
|
- <!-- SRD AXES END -->
|
|
|
</Controller>
|
|
|
</BeckhoffCfg>
|