Hello Guest it is March 28, 2024, 12:29:33 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 - Tomas

Pages: 1 2 »
1
Mach SDK plugin questions and answers. / Re: IsMoving equivalent in Plugin?
« on: February 11, 2016, 07:59:23 PM »
Hi,

  This is what I did.

Code: [Select]
int MachIdle (void)
{
    if ((Engine->TrajHead == Engine->TrajIndex) && MainPlanner->ExternalStill == TRUE)
    {
        Engine->Sync = true; // Update posistions with Mach3
        return 1;
    }

    return 0;
}

-Tomas

2
G-Code, CAD, and CAM discussions / Re: Calculating G68 rotation point?
« on: February 04, 2015, 11:58:55 AM »
Hi Alex,

  Thanks for drawing! I see what is going on now. Do you know why when the DRO's are
red they are showing the distance from the rotation point and not the origin location?

-Tomas

3
G-Code, CAD, and CAM discussions / Calculating G68 rotation point?
« on: February 03, 2015, 03:26:15 PM »
Hi,

 I'm trying to figure out Mach3 is calculating it's origin then using G68.

Example say I'm doing with G54 set to X0 Y0
Quote
G68 X1 Y1 R15
Mach3 will say my new origin is X-1.2247 Y-0.7071, but if you calculate a roration about X1,Y1 by 15 Degs the
origin comes as X0.2929 Y-0.2247.  Can anyone shed a light on this for me?

Thanks,
Tomas

4
Mach SDK plugin questions and answers. / IsMoving equivalent in Plugin?
« on: January 28, 2015, 06:32:45 PM »
Hi,

  Can someone point me to which variable/s would be the equivalent of the vbscript function IsMoving?

Thanks,
Tomas

5
I've found if you take the great plugin tutorial from  jemmyell and use the MachIncludes from
the awesome MachPluginWizard you get a VS2008 MFC plugin.

-Tomas

6
Hello,

  Has anyone found a way to use the MachPluginWizard with VS2008 and MFC?

Thanks,
Tomas

7
Hello,

  Has there been any progress on adding MFC to this?

Thanks,
Tomas

8
Hi,

  I'm trying to emulate the arrow key Jogging from plugin.  When I get a mouse down I want to start, and stop when released.

in my mouse down I'm doing:
Quote
      Engine->Axis[ m_Axis ].MaxVelocity = (Some Velocity)
      Engine->Axis[ m_Axis ].Acceleration = MainPlanner->Accs[  m_Axis ];
      Engine->Axis[ m_Axis ].MasterVelocity = MainPlanner->Vels[  m_Axis ];
      Engine->Axis[ m_Axis ].Dec = false;
      Engine->Axis[ m_Axis ].Jogging = true;
      Engine->Axis[ m_Axis ].JoggDir = m_Dir;
      Code("DOJOG");

and in mouse up
Quote
     Code("ENDJOG");

  But I'm getting no movement. Any suggestions to what I'm missing?

Thanks,
Tomas.

9
Version R3.043.046 was the last version that allowed jogging while in a macro, Version R3.043.049 and on do not.  Anyone
have a work-around?


10
Hello,

  In my plugin I'm waiting in a M-Code macro for a variable to be set via my plugin. While I'm waiting for this variable to be set I need to be able to jog the machine to a location. Can you tell me which variable needs to be set in the MainPlanner or Engine to accomplish this?  This works with Version R3.043.022 but not Version R3.043.066.

Thanks,
Tomas

Pages: 1 2 »