Hello Guest it is May 11, 2024, 06:28:54 AM

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 - warcomeb

Pages: « 1 2 3
21
I have VS2003 and I can not compile your plugin.  :(

22
Check my virtual plugin - it does work :-)

http://www.machsupport.com/forum/index.php/topic,17612.0.html

thanks for the reply!

i have just see your plugin and i have added this lines to myInitControl function:

Code: [Select]
/* For 1ms timed waypoints... */
MainPlanner->ExTime = .001;
/* For variable ms timing... */
MainPlanner->ExternalType = EX_VMS;
/* Setup external pulse rate */
for( int x = 0; x < 7; x++ )
{
MainPlanner->ExternalPulseRates[x] = 1000000;
}

in this case the data exist in the trajectories array... but the appliccation don't work very well.
This is my step:
1) load gcode example with Mach3Mill profile.
2) press reset button
3) press cycle start...
4) the gcode stop at the third line where the gcode is
Code: [Select]
G90
G49
M3 S15000
G0 X52.000 Y27.663 Z7.472
G1   Z-0.500 F200
G1 X52.000 Y27.663 Z-0.500 F1200
X33.344 Y20.577
X33.197 Y20.535
X33.033 Y20.520
X32.858 Y20.537
...
5) press stop
6) press reset
7) and press another time cycle start
8) after this step i found data in array but in mach3 application the table display don't move and the disply for the axis don't move.

why?

if i disable the plugin, all works well!!

can you help me?


23
Hi, sorry for my english!
I develop a plugin for an italian company that use Mach3.
I try to connect Mach3 with USB... before this I try to print in a console data inside Engine->Trajectories array after load a gcode, with this simple code:
Code: [Select]
void USBPlugin::update (void)
{
    if (Engine->TrajHead == Engine->TrajIndex)
    {
        PluginConsole::getInstance()->printMessage("Same positions...");
        return;
    }
    else
    {
        Engine->TrajIndex++;
        PluginConsole::getInstance()->printMessage("New positions...");
    }
}
this function is called by myUpdate().

When I run the application and stop with breakpoint the trajectory elements are all empty.

Can you hel me?

best regards
Marco Giammarini

Pages: « 1 2 3