1
Mach SDK plugin questions and answers. / Movement plug-in: motor tuning problem
« on: January 10, 2011, 07:15:22 PM »
Hello.
I'm writing a Movement plug-in for mach3. My hardware has a maximum pulserate of 50k steps/s.
I set the following code in the myInitControl function:
MachView->m_PrinterOn = false;
MainPlanner->ExternalType = EX_VMS;
MainPlanner->ExTime = .001;
MainPlanner->ExBufferHi = 200;
for( int x = 0; x < 7; x++ ) MainPlanner->ExternalPulseRates
I set "Steps per"= 1000 in the motor tuning.
The maximum velocity should be (50000/1000)*60 = 3000. But I can't set this value.
The maximum value in velocity DRO is 2550.
Thanks,
Oleg
P.S.: Sorry for bad English
I'm writing a Movement plug-in for mach3. My hardware has a maximum pulserate of 50k steps/s.
I set the following code in the myInitControl function:
MachView->m_PrinterOn = false;
MainPlanner->ExternalType = EX_VMS;
MainPlanner->ExTime = .001;
MainPlanner->ExBufferHi = 200;
for( int x = 0; x < 7; x++ ) MainPlanner->ExternalPulseRates
- = 50000;
I set "Steps per"= 1000 in the motor tuning.
The maximum velocity should be (50000/1000)*60 = 3000. But I can't set this value.
The maximum value in velocity DRO is 2550.
Thanks,
Oleg
P.S.: Sorry for bad English