Hello Guest it is April 18, 2024, 05:45:18 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.


Messages - ipr

Pages: 1
1
Asked the itself - self answered  ;D
The problem was probably that I was using Visual Studio 2008. After installing the plug-in wizard (http://www.machsupport.com/forum/index.php/topic,10733.0.html) and use the contents of a folder MachIncludes instead published online sdk, it worked.

I thank IgorL for their help, and j1sys for the great plugins wizard.

2
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