Hello Guest it is April 19, 2024, 10:07:56 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 - steelroot

Pages: 1
1
  Trying to wrap my mind around a condition while teaching myself VBScripting. Never had much trouble with the easier languages like LUA. I have no sense about VBS currently. Usually can find an example, but haven't had much luck looking into the guts of this type of macro. The normal functions are simple and go well, "DoTHIS, GetTHAT". Anything past this is unworkable with my experience. I've been using Mach for nearly a decade without needing more than simple macros, but figured I'd take it for a spin and try to hit the gas, right into a ditch! Any insight is welcome.

My example expression to achieve functions as follows:


  To subtract the next axis movement  from the current axis position

        "ex. NextZ-CurrentZ. *Produce the increment*

IF the difference is greater than

(ex. IF NextZ - CurrentZ > +1.234)

THEN

      Subtract (1.234) and Replace new value of Z axis in DRO while program running.



Is there a good example available (with Headers)? I use this expression quite a bit in my post processors. I'd like to make macros also if possible.

Currently so far down the rabbit hole you can call me Alice.

Thanks


2
i have something new...i implanted mach2mill xml file into the mach3 platform and now i am seeing some success...i'll keep updating this to see where it goes...

3
i'll get that posted for you...thanks hood...

I tell ya, the problem look so simple to solve since the issue reverses between programs...never know right

Also...this is fun...on the mill program my y axis performs as a z axis...thanx again

4
got a strange one for ya...trying mach3 with my logitrol electronics.  Mach 2 worked fine...but with mach3, well...

I go into the plasma program of mach3, but just my x axis is nonresponsive.  Then I go into the mill program and the situation is reversed...just my y axis doesn't work.  My pins seems correct for both...i'm out of solutions...apprieciate any advice...the program looks great!

ps   also checked any disabiling options in settings/diag screens and switched cpu...thanks again :)

Pages: 1