Beckhoffcfg - plctask.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <BeckhoffCfg>
  3. <Controller Name="MASTER" IPAddress="10.4.6.75.1.1" PortAddress="851">
  4. <!-- Need to have at least one input and one output before Axis stuff -->
  5. <!-- All inputs first, then all outputs -->
  6. <!--////////////////////////////////////////////////// ALL INPUTS START //////////////////////////////////////////////////-->
  7. <!-- Safety inputs start -->
  8. <Input Name="r_EtherCat_State" Address="MAIN.EtherCAT_State" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  9. <Input Name="r_Safety_ComErr" Address="MAIN.Safety_ComErr" Invert="false" Type="Digital" DataType="bool"/>
  10. <Input Name="r_Safety_FbErr" Address="MAIN.Safety_FbErr" Invert="false" Type="Digital" DataType="bool"/>
  11. <Input Name="r_EtherCat_State_HotConnect_VPW" Address="MAIN.EtherCat_State_HotConnect_VPW" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  12. <Input Name="r_Safety_ComErr_VPW" Address="MAIN.Safety_ComErr_VPW" Invert="false" Type="Digital" DataType="bool"/>
  13. <Input Name="r_Safety_FbErr_VPW" Address="MAIN.Safety_FbErr_VPW" Invert="false" Type="Digital" DataType="bool"/>
  14. <Input Name="r_EtherCat_State_HotConnect_RES1_2" Address="MAIN.EtherCat_State_HotConnect_RES1_2" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  15. <Input Name="r_Safety_ComErr_RES1_2" Address="MAIN.Safety_ComErr_RES1_2" Invert="false" Type="Digital" DataType="bool"/>
  16. <Input Name="r_Safety_FbErr_RES1_2" Address="MAIN.Safety_FbErr_RES1_2" Invert="false" Type="Digital" DataType="bool"/>
  17. <Input Name="r_EtherCat_State_HotConnect_RES3_4" Address="MAIN.EtherCat_State_HotConnect_RES3_4" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  18. <Input Name="r_Safety_ComErr_RES3_4" Address="MAIN.Safety_ComErr_RES3_4" Invert="false" Type="Digital" DataType="bool"/>
  19. <Input Name="r_Safety_FbErr_RES3_4" Address="MAIN.Safety_FbErr_RES3_4" Invert="false" Type="Digital" DataType="bool"/>
  20. <Input Name="r_EtherCat_State_HotConnect_Facility" Address="MAIN.EtherCat_State_HotConnect_Facility" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  21. <Input Name="r_Safety_ComErr_Facility" Address="MAIN.Safety_ComErr_Facility" Invert="false" Type="Digital" DataType="bool"/>
  22. <Input Name="r_Safety_FbErr_Facility" Address="MAIN.Safety_FbErr_Facility" Invert="false" Type="Digital" DataType="bool"/>
  23. <Input Name="r_EtherCat_State_HotConnect_PlatingCell1_2" Address="MAIN.EtherCat_State_HotConnect_PlatingCell1_2" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  24. <Input Name="r_Safety_ComErr_PlatingCell1_2" Address="MAIN.Safety_ComErr_PlatingCell1_2" Invert="false" Type="Digital" DataType="bool"/>
  25. <Input Name="r_Safety_FbErr_PlatingCell1_2" Address="MAIN.Safety_FbErr_PlatingCell1_2" Invert="false" Type="Digital" DataType="bool"/>
  26. <Input Name="r_EtherCat_State_HotConnect_PlatingCell3_4" Address="MAIN.EtherCat_State_HotConnect_PlatingCell3_4" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  27. <Input Name="r_Safety_ComErr_PlatingCell3_4" Address="MAIN.Safety_ComErr_PlatingCell3_4" Invert="false" Type="Digital" DataType="bool"/>
  28. <Input Name="r_Safety_FbErr_PlatingCell3_4" Address="MAIN.Safety_FbErr_PlatingCell3_4" Invert="false" Type="Digital" DataType="bool"/>
  29. <Input Name="r_EtherCat_State_HotConnect_SRD" Address="MAIN.EtherCat_State_HotConnect_SRD" Invert="false" Type="Analog" Scaling="0=0,1=1" DataType="uint"/>
  30. <Input Name="r_Safety_ComErr_SRD" Address="MAIN.Safety_ComErr_SRD" Invert="false" Type="Digital" DataType="bool"/>
  31. <Input Name="r_Safety_FbErr_SRD" Address="MAIN.Safety_FbErr_SRD" Invert="false" Type="Digital" DataType="bool"/>
  32. <Input Name="r_Cell1_2_Doors_Left_Locked" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS100_1" Invert="false" Type="Digital" DataType="bool"/>
  33. <Input Name="r_Cell1_2_Doors_Right_Locked" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS100_2" Invert="false" Type="Digital" DataType="bool"/>
  34. <Input Name="r_Cell3_4_Doors_Left_Locked" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS100_3" Invert="false" Type="Digital" DataType="bool"/>
  35. <Input Name="r_Cell3_4_Doors_Right_Locked" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS100_4" Invert="false" Type="Digital" DataType="bool"/>
  36. <Input Name="r_Aligner_Door_Closed" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS101_1" Invert="false" Type="Digital" DataType="bool"/>
  37. <Input Name="r_Cassette_Doors_Left_Locked" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS101_2" Invert="false" Type="Digital" DataType="bool"/>
  38. <Input Name="r_Cassette_Doors_Right_Locked" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS101_3" Invert="false" Type="Digital" DataType="bool"/>
  39. <Input Name="r_RES1_2_Door_Closed" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS101_4" Invert="false" Type="Digital" DataType="bool"/>
  40. <Input Name="r_RES3_4_Door_Closed" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS102_1" Invert="false" Type="Digital" DataType="bool"/>
  41. <Input Name="r_VPW_Door_Closed" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS102_2" Invert="false" Type="Digital" DataType="bool"/>
  42. <Input Name="r_Plumbing_Door_Closed" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS102_3" Invert="false" Type="Digital" DataType="bool"/>
  43. <Input Name="r_SRD_Panel_Closed" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS102_4" Invert="false" Type="Digital" DataType="bool"/>
  44. <Input Name="r_Halt_Button_Left" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS103_1" Invert="true" Type="Digital" DataType="bool"/>
  45. <Input Name="r_Halt_Button_Right" Address="MAIN.Safety_SDI_CHANNEL_EL1904_NS103_2" Invert="true" Type="Digital" DataType="bool"/>
  46. <!-- Safety inputs end -->
  47. <!--VPW Main Start-->
  48. <Input Name="r_VPW_CHAMBER_CLOSED" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_1" Invert="false" Type="Digital" DataType="bool"/>
  49. <Input Name="r_VPW_CHAMBER_OPENED" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_2" Invert="false" Type="Digital" DataType="bool"/>
  50. <Input Name="r_VPW_LEAK_DETECT" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_3" Invert="true" Type="Digital" DataType="bool"/>
  51. <Input Name="r_VPW_VAC_PUMP_PRESSURE" Address="MAIN.VPW_AI_8CHANNEL_4_20mA_EL3058_N102_6" Scaling="758=0,0=32767" Type="Analog" DataType="int"/>
  52. <Input Name="r_VPW_BOOSTER_PUMP_STATUS" Address="MAIN.VPW_DI_16CHANNEL_EL1819_N100_9" Invert="true" Type="Digital" DataType="bool"/>
  53. <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"/>
  54. <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"/>
  55. <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"/>
  56. <Input Name="r_VPW_BOOSTER_PUMP_CURRENT" Address="MAIN.VPW_AO_8CHANNEL_0_10V_EL4008_N104_5" Scaling="0=0, 10=32767" Type="Analog" DataType="int"/>
  57. <!--VPW Main End-->
  58. <!--VPW1 Start-->
  59. <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"/>
  60. <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"/>
  61. <!--VPW1 End-->
  62. <!--VPW2 Start-->
  63. <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"/>
  64. <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"/>
  65. <!--VPW2 End-->
  66. <!--////////////////////////////////////////////////// ALL INPUTS END //////////////////////////////////////////////////-->
  67. <!--////////////////////////////////////////////////// ALL OUTPUTS BEGIN //////////////////////////////////////////////////-->
  68. <!-- Safety outputs start -->
  69. <Output Name="c_Safety_RunStop" Address="MAIN.Safety_RunStop" Type="Digital" DataType="bool"/>
  70. <Output Name="c_Safety_ErrAck" Address="MAIN.Safety_ErrAck" Type="Digital" DataType="bool"/>
  71. <Output Name="c_Safety_VPW_STO_EStop_Restart" Address="MAIN.Safety_VPW_STO_EStop_Restart" Type="Digital" DataType="bool"/>
  72. <Output Name="c_Safety_RES1_2_STO_EStop_Restart" Address="MAIN.Safety_RES1_2_STO_EStop_Restart" Type="Digital" DataType="bool"/>
  73. <Output Name="c_Safety_RES3_4_STO_EStop_Restart" Address="MAIN.Safety_RES3_4_STO_EStop_Restart" Type="Digital" DataType="bool"/>
  74. <Output Name="c_Safety_PlatingCell1_2_STO_1_EStop_Restart" Address="MAIN.Safety_PlatingCell1_2_STO_1_EStop_Restart" Type="Digital" DataType="bool"/>
  75. <Output Name="c_Safety_PlatingCell1_2_STO_2_EStop_Restart" Address="MAIN.Safety_PlatingCell1_2_STO_2_EStop_Restart" Type="Digital" DataType="bool"/>
  76. <Output Name="c_Safety_PlatingCell3_4_STO_1_EStop_Restart" Address="MAIN.Safety_PlatingCell3_4_STO_1_EStop_Restart" Type="Digital" DataType="bool"/>
  77. <Output Name="c_Safety_PlatingCell3_4_STO_2_EStop_Restart" Address="MAIN.Safety_PlatingCell3_4_STO_2_EStop_Restart" Type="Digital" DataType="bool"/>
  78. <Output Name="c_Safety_Facility_STO_EStop_Restart" Address="MAIN.Safety_Facility_STO_EStop_Restart" Type="Digital" DataType="bool"/>
  79. <Output Name="c_Safety_SRD_STO_EStop_Restart" Address="MAIN.Safety_SRD_STO_EStop_Restart" Type="Digital" DataType="bool"/>
  80. <Output Name="c_Safety_ReqAlignerDoorsLock" Address="MAIN.Safety_ReqAlignerDoorsLock" Type="Digital" DataType="bool"/>
  81. <Output Name="c_Safety_ReqCassetteDoorsLock" Address="MAIN.Safety_ReqCassetteDoorsLock" Type="Digital" DataType="bool"/>
  82. <Output Name="c_Safety_ReqCell1_2DoorsLock" Address="MAIN.Safety_ReqCell1_2DoorsLock" Type="Digital" DataType="bool"/>
  83. <Output Name="c_Safety_ReqCell3_4DoorsLock" Address="MAIN.Safety_ReqCell3_4DoorsLock" Type="Digital" DataType="bool"/>
  84. <!-- Safety outputs end -->
  85. <!--VPW Main Start-->
  86. <Output Name="c_VPW_CHAMBER_CLOSE" Address="MAIN.MOTION_DO_16CHANNEL_EL2809_N401_15" Type="Digital" Invert="true" DataType="bool"/>
  87. <Output Name="c_VPW_VACUUM_PUMP_POWER" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_5" Type="Digital" Invert="false" DataType="bool"/>
  88. <Output Name="c_VPW_DEGAS_PUMP_ENABLE" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_6" Type="Digital" Invert="false" DataType="bool"/>
  89. <Output Name="c_VPW_BOOSTER_PUMP_ENABLE" Address="MAIN.VPW_DO_16CHANNEL_EL2809_101_7" Type="Digital" Invert="false" DataType="bool"/>
  90. <Output Name="c_VPW_VACUUM_PUMP_ENABLE" Address="MAIN.MAIN_IO_RELAY_4CHANNEL_EL2624_N106_1" Type="Digital" Invert="false" DataType="bool"/>
  91. <Output Name="c_VPW_VACUUM_PUMP_SPEED_ENABLE" Address="MAIN.MAIN_IO_RELAY_4CHANNEL_EL2624_N106_2" Type="Digital" Invert="false" DataType="bool"/>
  92. <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"/>
  93. <Output Name="c_VPW_BOOSTER_PUMP_SPPED" Address="MAIN.VPW_AO_8CHANNEL_0_10V_EL4008_N104_5" Scaling="300=0,10000=32767" Type="Analog" DataType="int"/>
  94. <Output Name="c_VPW_DIW_ENABLE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="0" DataType="byte"/>
  95. <Output Name="c_VPW_DIW_PROCESS" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="1" DataType="byte"/>
  96. <Output Name="c_VPW_DIW_DEGAS" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE1" Type="Digital" BitOperated="true" Bit="0" DataType="byte"/>
  97. <Output Name="c_VPW_DEGAS_ADJUST" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE1" Type="Digital" BitOperated="true" Bit="1" DataType="byte"/>
  98. <Output Name="c_VPW_DEGAS_PURGE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE1" Type="Digital" BitOperated="true" Bit="2" DataType="byte"/>
  99. <!--VPW Main End-->
  100. <!--VPW1 Start-->
  101. <Output Name="c_VPW_1_FLOW_DRIP" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="2" DataType="byte"/>
  102. <Output Name="c_VPW_1_FLOW_SMALL" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="3" DataType="byte"/>
  103. <Output Name="c_VPW_1_FLOW_LARGE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="4" DataType="byte"/>
  104. <Output Name="c_VPW_1_VACUUM_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE1" Type="Digital" BitOperated="true" Bit="3" DataType="byte"/>
  105. <Output Name="c_VPW_1_VENT_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE1" Type="Digital" BitOperated="true" Bit="5" DataType="byte"/>
  106. <Output Name="c_VPW_1_DIW_DRAIN" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE2" Type="Digital" BitOperated="true" Bit="0" DataType="byte"/>
  107. <!--VPW1 End-->
  108. <!--VPW2 Start-->
  109. <Output Name="c_VPW_2_FLOW_DRIP" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="5" DataType="byte"/>
  110. <Output Name="c_VPW_2_FLOW_SMALL" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="6" DataType="byte"/>
  111. <Output Name="c_VPW_2_FLOW_LARGE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE0" Type="Digital" BitOperated="true" Bit="7" DataType="byte"/>
  112. <Output Name="c_VPW_2_VACUUM_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE1" Type="Digital" BitOperated="true" Bit="4" DataType="byte"/>
  113. <Output Name="c_VPW_2_VENT_VALVE" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE1" Type="Digital" BitOperated="true" Bit="6" DataType="byte"/>
  114. <Output Name="c_VPW_2_DIW_DRAIN" Address="MAIN.VPW_PNEU_SMC_EX260_BYTE2" Type="Digital" BitOperated="true" Bit="1" DataType="byte"/>
  115. <!--VPW2 End-->
  116. <!--////////////////////////////////////////////////// ALL OUTPUTS END //////////////////////////////////////////////////-->
  117. <!--////////////////////////////////////////////////// ALL COUNTERS BEGIN //////////////////////////////////////////////////-->
  118. <!--////////////////////////////////////////////////// ALL COUNTERS END //////////////////////////////////////////////////-->
  119. <!--////////////////////////////////////////////////// ALL AXIS BEGIN //////////////////////////////////////////////////-->
  120. <Axis Name="VPW1.Rotation" MotorType="Yaskawa" COEAddress="192.168.0.14.4.1" COEPort="1016" DebugLogging="false">
  121. <Input Address="MAIN.VPW1RotationStatusWord" Type="StatusWord" DataType="uint"/>
  122. <Input Address="MAIN.VPW1RotationDigitalInputs" Type="DigitalInputs" DataType="udint"/>
  123. <Input Address="MAIN.VPW1RotationMotorPosition" Type="MotorPosition" DataType="dint"/>
  124. <Input Address="MAIN.VPW1RotationPositionError" Type="PositionError" DataType="dint"/>
  125. <Input Address="MAIN.VPW1RotationActualVelocity" Type="ActualVelocity" DataType="dint"/>
  126. <Input Address="MAIN.VPW1RotationActualTorque" Type="ActualTorque" DataType="int"/>
  127. <!-- Input Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
  128. <Input Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
  129. <Input Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
  130. <Input Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
  131. <Input Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
  132. <Input Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
  133. <Input Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
  134. <Input Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
  135. <Input Address="0x2403:00" Type="NegativeTorqueLimit" DataType="uint"/>
  136. <Input Address="0x2402:00" Type="PositiveTorqueLimit" DataType="uint"/>
  137. <Input Address="0x6085:00" Type="EStopDecel" DataType="udint"/>
  138. <Input Address="0x2406:00" Type="EStopTorque" DataType="uint"/>
  139. <Input Address="0x607F:00" Type="VelocityLimit" DataType="udint"/>
  140. <Input Address="0x2522:00" Type="PositionWindow" DataType="udint"/>
  141. <Input Address="0x2520:00" Type="FollowingErrorWindow" DataType="udint"/>
  142. <Input Address="0x603F:00" Type="ErrorCode" DataType="uint"/>
  143. <Output Address="MAIN.VPW1RotationControlWord" Type="ControlWord" DataType="uint"/>
  144. <Output Address="MAIN.VPW1RotationModeOfOperation" Type="ModeOfOperation" DataType="byte"/>
  145. <Output Address="MAIN.VPW1RotationTargetPosition" Type="TargetPosition" DataType="dint"/>
  146. <Output Address="MAIN.VPW1RotationProfileVelocity" Type="ProfileVelocity" DataType="dint"/>
  147. <Output Address="MAIN.VPW1RotationProfileAccel" Type="ProfileAccel" DataType="dint"/>
  148. <Output Address="MAIN.VPW1RotationProfileDecel" Type="ProfileDecel" DataType="dint"/>
  149. <!-- Output Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
  150. <Output Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
  151. <Output Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
  152. <Output Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
  153. <Output Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
  154. <Output Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
  155. <Output Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
  156. <Output Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
  157. <Output Address="0x2403:00" Type="NegativeTorqueLimit" DataType="uint"/>
  158. <Output Address="0x2402:00" Type="PositiveTorqueLimit" DataType="uint"/>
  159. <MotorType>Servo</MotorType>
  160. <MotorDriveDirection>0</MotorDriveDirection>
  161. <EncoderFeedbackDirectionMValue>0</EncoderFeedbackDirectionMValue>
  162. <EncoderFeedbackDirectionNValue>0</EncoderFeedbackDirectionNValue>
  163. <ReverseLimitSwitchPolarity>0</ReverseLimitSwitchPolarity>
  164. <ForwardLimitSwitchPolarity>0</ForwardLimitSwitchPolarity>
  165. <HomeSwitchPolarity>0</HomeSwitchPolarity>
  166. <HomingMethod>24</HomingMethod>
  167. <HomeConfig>0</HomeConfig>
  168. <HomingOffset>0</HomingOffset>
  169. <HomingSpeedHomeSwitch>1500000</HomingSpeedHomeSwitch>
  170. <HomingSpeedEncoderIndex>0</HomingSpeedEncoderIndex>
  171. <HomingAccelDecel>10000000</HomingAccelDecel>
  172. <HomingTimeOut>60000</HomingTimeOut>
  173. <ProportionalGain>0</ProportionalGain>
  174. <IntegralGain>0</IntegralGain>
  175. <DerivativeGain>0</DerivativeGain>
  176. <IntegralLimit>0</IntegralLimit>
  177. <ErrorLimit>6766</ErrorLimit>
  178. <VoltageOffset>0</VoltageOffset>
  179. <!-- -193 degrees * 169161 = -32648073 -->
  180. <ReverseSoftwareLimit>0</ReverseSoftwareLimit>
  181. <!-- 13 degrees * 169161 = 2199093 -->
  182. <ForwardSoftwareLimit>0</ForwardSoftwareLimit>
  183. <Speed>360</Speed>
  184. <Acceleration>1000</Acceleration>
  185. <Deceleration>1000</Deceleration>
  186. <Jerk>0</Jerk>
  187. <FeedforwardVelocity>0</FeedforwardVelocity>
  188. <FeedforwardAcceleration>0</FeedforwardAcceleration>
  189. <OffOnError>0</OffOnError>
  190. </Axis>
  191. <Axis Name="VPW2.Rotation" MotorType="Yaskawa" COEAddress="192.168.0.14.4.1" COEPort="1016" DebugLogging="false">
  192. <Input Address="MAIN.VPW2RotationStatusWord" Type="StatusWord" DataType="uint"/>
  193. <Input Address="MAIN.VPW2RotationDigitalInputs" Type="DigitalInputs" DataType="udint"/>
  194. <Input Address="MAIN.VPW2RotationMotorPosition" Type="MotorPosition" DataType="dint"/>
  195. <Input Address="MAIN.VPW2RotationPositionError" Type="PositionError" DataType="dint"/>
  196. <Input Address="MAIN.VPW2RotationActualVelocity" Type="ActualVelocity" DataType="dint"/>
  197. <Input Address="MAIN.VPW2RotationActualTorque" Type="ActualTorque" DataType="int"/>
  198. <!-- Input Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
  199. <Input Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
  200. <Input Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
  201. <Input Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
  202. <Input Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
  203. <Input Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
  204. <Input Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
  205. <Input Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
  206. <Input Address="0x2403:00" Type="NegativeTorqueLimit" DataType="uint"/>
  207. <Input Address="0x2402:00" Type="PositiveTorqueLimit" DataType="uint"/>
  208. <Input Address="0x6085:00" Type="EStopDecel" DataType="udint"/>
  209. <Input Address="0x2406:00" Type="EStopTorque" DataType="uint"/>
  210. <Input Address="0x607F:00" Type="VelocityLimit" DataType="udint"/>
  211. <Input Address="0x2522:00" Type="PositionWindow" DataType="udint"/>
  212. <Input Address="0x2520:00" Type="FollowingErrorWindow" DataType="udint"/>
  213. <Input Address="0x603F:00" Type="ErrorCode" DataType="uint"/>
  214. <Output Address="MAIN.VPW2RotationControlWord" Type="ControlWord" DataType="uint"/>
  215. <Output Address="MAIN.VPW2RotationModeOfOperation" Type="ModeOfOperation" DataType="byte"/>
  216. <Output Address="MAIN.VPW2RotationTargetPosition" Type="TargetPosition" DataType="dint"/>
  217. <Output Address="MAIN.VPW2RotationProfileVelocity" Type="ProfileVelocity" DataType="dint"/>
  218. <Output Address="MAIN.VPW2RotationProfileAccel" Type="ProfileAccel" DataType="dint"/>
  219. <Output Address="MAIN.VPW2RotationProfileDecel" Type="ProfileDecel" DataType="dint"/>
  220. <!-- Output Address="MAIN.Loader1Rotation_DigitalOutputs" Type="DigitalOutputs" DataType="dint"/ -->
  221. <Output Address="0x607D:01" Type="SoftwareLimitMinus" DataType="dint"/>
  222. <Output Address="0x607D:02" Type="SoftwareLimitPlus" DataType="dint"/>
  223. <Output Address="0x607C:00" Type="HomeOffset" DataType="dint"/>
  224. <Output Address="0x6098:00" Type="HomingMethod" DataType="byte"/>
  225. <Output Address="0x6099:01" Type="HomingVelocity" DataType="dint"/>
  226. <Output Address="0x6099:02" Type="HomingVelocitySlow" DataType="dint"/>
  227. <Output Address="0x609A:00" Type="HomingAccel" DataType="dint"/>
  228. <Output Address="0x2403:00" Type="NegativeTorqueLimit" DataType="uint"/>
  229. <Output Address="0x2402:00" Type="PositiveTorqueLimit" DataType="uint"/>
  230. <MotorType>Servo</MotorType>
  231. <MotorDriveDirection>0</MotorDriveDirection>
  232. <EncoderFeedbackDirectionMValue>0</EncoderFeedbackDirectionMValue>
  233. <EncoderFeedbackDirectionNValue>0</EncoderFeedbackDirectionNValue>
  234. <ReverseLimitSwitchPolarity>0</ReverseLimitSwitchPolarity>
  235. <ForwardLimitSwitchPolarity>0</ForwardLimitSwitchPolarity>
  236. <HomeSwitchPolarity>0</HomeSwitchPolarity>
  237. <HomingMethod>24</HomingMethod>
  238. <HomeConfig>0</HomeConfig>
  239. <HomingOffset>0</HomingOffset>
  240. <HomingSpeedHomeSwitch>1500000</HomingSpeedHomeSwitch>
  241. <HomingSpeedEncoderIndex>0</HomingSpeedEncoderIndex>
  242. <HomingAccelDecel>10000000</HomingAccelDecel>
  243. <HomingTimeOut>60000</HomingTimeOut>
  244. <ProportionalGain>0</ProportionalGain>
  245. <IntegralGain>0</IntegralGain>
  246. <DerivativeGain>0</DerivativeGain>
  247. <IntegralLimit>0</IntegralLimit>
  248. <ErrorLimit>6766</ErrorLimit>
  249. <VoltageOffset>0</VoltageOffset>
  250. <!-- -193 degrees * 169161 = -32648073 -->
  251. <ReverseSoftwareLimit>-46180953</ReverseSoftwareLimit>
  252. <!-- 13 degrees * 169161 = 2199093 -->
  253. <ForwardSoftwareLimit>2706576</ForwardSoftwareLimit>
  254. <Speed>15000000</Speed>
  255. <Acceleration>10000000</Acceleration>
  256. <Deceleration>10000000</Deceleration>
  257. <Jerk>0</Jerk>
  258. <FeedforwardVelocity>0</FeedforwardVelocity>
  259. <FeedforwardAcceleration>0</FeedforwardAcceleration>
  260. <OffOnError>0</OffOnError>
  261. </Axis>
  262. </Controller>
  263. </BeckhoffCfg>