축 카드없이 CPU만으로 Servo Interrupt를 생성시켜 구동 테스트가 가능합니다.
Sys.CPUTimerIntr=1
Sys.ServoPeriod=0.5
//// #1
Motor[1].Ctrl=Sys.PidCtrl // Only need simple PID loop
Motor[1].ServoCtrl=1
Motor[1].PhaseCtrl=0
Motor[1].pDac=Sys.Idata[1].a
Motor[1].pAmpEnable=0
Motor[1].pAmpFault=0
Motor[1].pLimits=0
Motor[1].CaptureMode=1 // Software capture
//// Needed gains
Motor[1].Servo.Kp=1
Motor[1].Servo.Kvfb=0
Motor[1].Servo.Kvff=0
Motor[1].Servo.Kaff=0
Motor[1].Servo.Ki=0
//// Process Dac date
EncTable[1].type=1
EncTable[1].ScaleFactor=1/65536
EncTable[1].pEnc=Sys.Idate[1].a
EncTable[1].index4=1