Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: IgorL on August 05, 2009, 03:28:04 PM

Title: can't set Velocity when using BlankMovment plugin
Post by: IgorL on August 05, 2009, 03:28:04 PM
Hello,

I trying write movment plugin for my device and begin from study BlankMovment Plugin. And have a questions.

1. Then I using this plugin and try set Velocity (menu Config\Motor Tuning in Mach3) value always is zero. Possible set any nonzero only then 'sep per' is zero. Why? May be I not initializing any variable in Engine,MainPlanner, etc?  I add to myInitControl  MainPlanner->ExternalPulseRates[0..7]=75000;
2. Then I change 'sep per' (menu Config\Motor Tuning in Mach3)  I don't see this change in MainPlanner->StepPerAxis[]. Where saved this value?

Mach3 R3.042.029
SDK 2.62
VS2008

Thanks,
Igor.