|
@@ -1,6 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<BeckhoffCfg>
|
|
|
- <Controller Name="MASTER" IPAddress="192.168.0.200.1.1" PortAddress="851">
|
|
|
+ <Controller Name="MASTER" IPAddress="10.4.6.75.1.1" PortAddress="851">
|
|
|
|
|
|
<!-- Need to have at least one input and one output before Axis stuff -->
|
|
|
|
|
@@ -690,6 +690,78 @@
|
|
|
<FeedforwardAcceleration>0</FeedforwardAcceleration>
|
|
|
<OffOnError>0</OffOnError>
|
|
|
</Axis>
|
|
|
+ <Axis Name="SRD2.Rotation" MotorType="Kollmorgen" COEAddress="192.168.0.14.4.1" COEPort="1016" DebugLogging="false">
|
|
|
+ <Input Address="MAIN.SRD2RotationStatusWord" Type="StatusWord" DataType="uint"/>
|
|
|
+ <Input Address="MAIN.SRD2RotationDigitalInputs" Type="DigitalInputs" DataType="udint"/>
|
|
|
+ <Input Address="MAIN.SRD2RotationMotorPosition" Type="MotorPosition" DataType="dint"/>
|
|
|
+ <Input Address="MAIN.SRD2RotationPositionError" Type="PositionError" DataType="dint"/>
|
|
|
+ <Input Address="MAIN.SRD2RotationActualVelocity" Type="ActualVelocity" DataType="dint"/>
|
|
|
+ <Input Address="MAIN.SRD2RotationActualTorque" Type="ActualTorque" DataType="int"/>
|
|
|
+ <!-- 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"/>
|
|
|
+ <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="0x2403:00" Type="NegativeTorqueLimit" DataType="uint"/>
|
|
|
+ <Input Address="0x2402:00" Type="PositiveTorqueLimit" DataType="uint"/>
|
|
|
+ <Input Address="0x6085:00" Type="EStopDecel" DataType="udint"/>
|
|
|
+ <Input Address="0x2406:00" Type="EStopTorque" DataType="uint"/>
|
|
|
+ <Input Address="0x607F:00" Type="VelocityLimit" DataType="udint"/>
|
|
|
+ <Input Address="0x2522:00" Type="PositionWindow" DataType="udint"/>
|
|
|
+ <Input Address="0x2520:00" Type="FollowingErrorWindow" DataType="udint"/>
|
|
|
+ <Input Address="0x603F:00" Type="ErrorCode" DataType="uint"/>
|
|
|
+
|
|
|
+ <Output Address="MAIN.SRD2RotationControlWord" Type="ControlWord" DataType="uint"/>
|
|
|
+ <Output Address="MAIN.SRD2RotationModeOfOperation" Type="ModeOfOperation" DataType="byte"/>
|
|
|
+ <Output Address="MAIN.SRD2RotationTargetPosition" Type="TargetPosition" DataType="dint"/>
|
|
|
+ <Output Address="MAIN.SRD2RotationProfileVelocity" Type="ProfileVelocity" DataType="dint"/>
|
|
|
+ <Output Address="MAIN.SRD2RotationProfileAccel" Type="ProfileAccel" DataType="dint"/>
|
|
|
+ <Output Address="MAIN.SRD2RotationProfileDecel" Type="ProfileDecel" 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"/>
|
|
|
+ <Output Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
|
|
|
+ <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="0x2403:00" Type="NegativeTorqueLimit" DataType="uint"/>
|
|
|
+ <Output Address="0x2402:00" Type="PositiveTorqueLimit" DataType="uint"/>
|
|
|
+ <MotorType>Servo</MotorType>
|
|
|
+ <MotorDriveDirection>0</MotorDriveDirection>
|
|
|
+ <EncoderFeedbackDirectionMValue>0</EncoderFeedbackDirectionMValue>
|
|
|
+ <EncoderFeedbackDirectionNValue>0</EncoderFeedbackDirectionNValue>
|
|
|
+ <ReverseLimitSwitchPolarity>0</ReverseLimitSwitchPolarity>
|
|
|
+ <ForwardLimitSwitchPolarity>0</ForwardLimitSwitchPolarity>
|
|
|
+ <HomeSwitchPolarity>0</HomeSwitchPolarity>
|
|
|
+ <HomingMethod>24</HomingMethod>
|
|
|
+ <HomeConfig>0</HomeConfig>
|
|
|
+ <HomingOffset>0</HomingOffset>
|
|
|
+ <HomingSpeedHomeSwitch>1500000</HomingSpeedHomeSwitch>
|
|
|
+ <HomingSpeedEncoderIndex>0</HomingSpeedEncoderIndex>
|
|
|
+ <HomingAccelDecel>10000000</HomingAccelDecel>
|
|
|
+ <HomingTimeOut>60000</HomingTimeOut>
|
|
|
+ <ProportionalGain>0</ProportionalGain>
|
|
|
+ <IntegralGain>0</IntegralGain>
|
|
|
+ <DerivativeGain>0</DerivativeGain>
|
|
|
+ <IntegralLimit>0</IntegralLimit>
|
|
|
+ <ErrorLimit>6766</ErrorLimit>
|
|
|
+ <VoltageOffset>0</VoltageOffset>
|
|
|
+ <!-- -193 degrees * 169161 = -32648073 -->
|
|
|
+ <ReverseSoftwareLimit>0</ReverseSoftwareLimit>
|
|
|
+ <!-- 13 degrees * 169161 = 2199093 -->
|
|
|
+ <ForwardSoftwareLimit>0</ForwardSoftwareLimit>
|
|
|
+ <Speed>360</Speed>
|
|
|
+ <Acceleration>1000</Acceleration>
|
|
|
+ <Deceleration>1000</Deceleration>
|
|
|
+ <Jerk>0</Jerk>
|
|
|
+ <FeedforwardVelocity>0</FeedforwardVelocity>
|
|
|
+ <FeedforwardAcceleration>0</FeedforwardAcceleration>
|
|
|
+ <OffOnError>0</OffOnError>
|
|
|
+ </Axis>
|
|
|
<Axis Name="PlatingCell1_2.Vertical" MotorType="Yaskawa" COEAddress="192.168.0.14.4.1" COEPort="1016" DebugLogging="false">
|
|
|
<Input Address="MAIN.PlatingCell1_2Vertical_StatusWord" Type="StatusWord" DataType="uint"/>
|
|
|
<Input Address="MAIN.PlatingCell1_2Vertical_DigitalInputs" Type="DigitalInputs" DataType="udint"/>
|