Hello Guest it is April 25, 2024, 04:27:27 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ipr

Pages: 1
1
Hello, sorry for the bad english.
I'm trying to write a plugin for a homemade motion controller. The function myInitControl I put the following code:

Code: [Select]
MachView->m_PrinterOn = false;
MainPlanner->ExternalType = EX_VMS;
MainPlanner->ExBufferHi = 250;
MainPlanner->ExTime = 0.004;
for(int i = 0; i < 7; i++)
{
MainPlanner->ExternalPulseRates[i] = 7200.0;
}

The plugin is compiled, Mach3 runs, but in the settings window motor speed is always set to zero. Accordingly, and in an array MainPlanner->Movements contains nonsense (very large values). Apparently, Mach3, for some reason does not accept the given plugin device settings, and believes that the speed can not be greater than zero... Could this be for the reason that I am use the demo version?

Please help me with this problem  :'(

Pages: 1