Beckhoffcfg.xml 23 KB

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