PMAC(Clipper或IMAC)连接驱动器速度模式配置实例.docVIP

  • 9
  • 0
  • 约3.99千字
  • 约 5页
  • 2018-11-23 发布于河南
  • 举报

PMAC(Clipper或IMAC)连接驱动器速度模式配置实例.doc

PMAC(Clipper或IMAC)连接驱动器速度模式配置实例

PMAC(Clipper或IMAC)连接驱动器速度模式配置实例 Close D_elete Gather (把“_”删去) I7000 = 1001 ;PWM frequency 29.4kHz, PWM 1-4 I7001 = 5 ;Phase Clock 9.8kHz I7002 = 3 ;Servo frequency 2.45kHz I7003 = 1746 ;ADC frequency I10 = 3421867 ;Servo interrupt time ; Velocity Loop ;/////////////////////////////////////////////// I101=0 ;Disable the commutation I102 = $78002 ;Command Output Address I124=$120001 ; Enable Amp Fault, disable hardware limits ;Example PID Gains for Velocity Loop I130=1500 ;P gain = default I131=2200 ;D gain, It can change P gain in velocity loop I132=2200 ;Same function as I131 I133=3500 ;Stability I7010 = 3 ;Closed loop, X4 CCW I7016 = 0 ;Output mode: PWM I169 = 1001 ;DAC limit 10Vdc I100=1 ; Activate Motor ;/////////////////////////////////////////////// I201=0 ;Disable the commutation I202 = $7800A ;Command Output Address I224=$120001 ; Enable Amp Fault, disable hardware limits ;Example PID Gains for Velocity Loop I230=1500 ;P gain = default I231=2200 ;D gain, It can change P gain in velocity loop I232=2200 ;Same function as I131 I233=3500 ;Stability I7020 = 3 ;Closed loop, X4 CCW I7026 = 0 ;Output mode: PWM I269 = 1001 ;DAC limit 10Vdc I200=1 ; Activate Motor ;/////////////////////////////////////////////// I301=0 ;Disable the commutation I302 = $78012 ;Command Output Address I324=$120001 ; Enable Amp Fault, disable hardware limits ;Example PID Gains for Velocity Loop I330=1500 ;P gain = default I331=2200 ;D gain, It can change P gain in velocity loop I332=2200 ;Same function as I131 I333=3500 ;Stability I7030 = 3 ;Closed loop, X4 CCW I7036 = 0 ;Output mode: PWM I369 = 1001 ;DAC limit 10Vdc I300=1 ; Activate Motor ;/////////////////////////////////////////////// I401=0 ;Disable the commutation I402 = $7801A ;Command Output Address I424=$120001 ; Enable Amp Fault, disable hardware limits ;Example PID Gains for Velocity Loop I430=1500 ;P gain = default I431=2200 ;D gain, It can change P gain in velocity loop I432=2200 ;Same function as I131 I433=3500 ;Stabil

文档评论(0)

1亿VIP精品文档

相关文档