Hello Guest it is April 28, 2024, 02:50: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 - Bill_O

411
Mach4 General Discussion / Re: last line not executing
« on: March 04, 2019, 02:59:08 PM »
Craig,

What about some kind of counting loop.

count = 1
while count < 10000
   count = count +1
end while

Bill

412
Mach4 General Discussion / Re: last line not executing
« on: March 04, 2019, 11:47:50 AM »
I have been commenting out lines trying to find where the problem is.
I have attached the current mcs.
In this one everything is commented out other than the home of axis 0 then a move of that axis then what i believe should be a message box.
It homes and nothing else.
If I comment out the home it will move but the message box does not appear.
Any ideas on what I can do to allow me to do anything after the home?

413
Mach4 General Discussion / Re: last line not executing
« on: March 04, 2019, 08:13:41 AM »
Craig,

Obviously this is causing me some problems.
If the mcCntlGcodeExecuteWait() is to insure the gcode gets done before moving on to the next line then how is the API busy when it gets to the next line?
I really am not trying to be a jerk I just really am having a hard time understanding how some of this works.
I put the error code you recommended earlier at the end and it did nothing.
I am going to put it up farther and see if anything shows up.
I really do appreciate the help.

Bill

414
Mach4 General Discussion / Re: last line not executing
« on: March 01, 2019, 05:58:58 PM »
thanks all for your input.
after some testing and seeing when things are happening it really looks like mach is busy or somehow skipping lines of script
i will be trying to do some testing and see what is happening next week

is there a way to force mach to finish the instructions before it goes on to the next command?
mach3 had sleep you could you to force the script to slow down or wait a set amount of time

415
Mach4 General Discussion / Re: changing value in CurrentX dro
« on: February 28, 2019, 05:50:48 PM »
Gary,

I just made a new dro and it appears to be working.
Not sure why the one native to mach4 wouldn't do it.
Having another problem so I am not positive  it is working but it looks like it.

Thanks,
Bill

416
Mach4 General Discussion / last line not executing
« on: February 28, 2019, 05:46:03 PM »
The last line of the attached mcs file is not happening.
I am sure it is a syntax error but I can not see it.

417
Mach4 General Discussion / Re: changing value in CurrentX dro
« on: February 28, 2019, 03:16:24 PM »
Gary,

That did not work but thanks for the assistance.

Bill

418
Mach4 General Discussion / Re: changing value in CurrentX dro
« on: February 28, 2019, 02:00:13 PM »
Gary,

I will give that a try.
I tried using droCurrentX and that did not work.
Where did you find the dro numbers?

Bill

419
Mach4 General Discussion / Re: changing value in CurrentX dro
« on: February 28, 2019, 12:26:15 PM »
tom,

i need to do it within a lua script
in mach3 when i used g92 it behaved much different than it does in mach4
it all has to do with some positioning that i need to adjust multiple times

bill

420
Mach4 General Discussion / changing value in CurrentX dro
« on: February 28, 2019, 12:13:30 PM »
I have tried several things to get a specific number in the CurrentX dro.
G92 works but it also is an offset which messes up some other things.