Hello Guest it is September 25, 2020, 02:56:50 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 - fxMach3

Pages: 1 2 »
VB and the development of wizards / code - while ismoving
« on: December 08, 2018, 02:35:12 AM »
Sorry for asking this, but the forums search only returns an error each time I search.

I have a script running with multiple code statements following each other, like (just a sample code)

code "G1 X200"
code "G1 Y300"

now it appears, that sometimes the milling path behaves unexpected and is not following the GCode, and I have no clue why.
I am assuming that this might happen because there is no while...ismoving loop between the commands.
The strange part is that in most cases everything works fine even with very long machine movements like 3000mm (5 seconds move)

So, my question would be, how MACH3 handles multiple "code" statements following each other. Means: what happens if I would fire eg 1000 "code" statements from a script. Will MACH3 handle the correct execution ? Do I need to take care about buffer size, or when do I need to place a while ismoving loop inbetween code statements with no other script statement between them ?

General Mach Discussion / Re: feedrate 0 during program run
« on: August 28, 2018, 12:35:03 PM »
i read it.
fro = FeedRateOverride DRO. What is the overide feedrate overide dro ? OEMCode ? Screenshot ?

General Mach Discussion / Re: feedrate 0 during program run
« on: August 27, 2018, 02:20:31 PM »
csmio/ip on the productive machine. But I ran the last tests (previous posts) on a parallel port machine

General Mach Discussion / Re: feedrate 0 during program run
« on: August 27, 2018, 01:13:53 PM »
just tested with cross.tap. When I enter 0 into FR DRO I get the message "Cannot do G1 with 0 feedrate: Block = G1 X...."  and the program interrupts after a few lines. If I then enter a value > 0 into FR DRO the program still pauses until I hit Cycle Start. Strange: The FR DRO does accept values only with a huge delay or one better: If I enter 100 (cross.tap runs G1 with 5000) it slows down after some lines (probably buffer). Once a Gcode with F5000 occurs it keeps the 100 in the DRO even if the machine is running at 5000.  So...anyway...it seems I have to live with no immediate pausing. TPS: Thanks to bavaria from bavaria :-)... and thanks to the rest of you guys

General Mach Discussion / Re: feedrate 0 during program run
« on: August 27, 2018, 12:06:38 PM »
ok, got it. Thanks for your input. Just one question to TPS: If I enter any value in the FRO, nothing happens at all. After hitting return, the previous value is back. I assume FRO is read only. Did you put 0 into the feedrate DRO ? And was the effect immediate like with Spindle Speed ? I just tried with the roadrunner.tap file. The error occurs. I tried the same with ball.tap. Error does not occur.

General Mach Discussion / Re: feedrate 0 during program run
« on: August 27, 2018, 06:46:03 AM »

Thanks for your quick answer.
So, just to understand...how comes that a STOP works immediately then ?
Asking because when I hit STOP the driver (also a MACH component) stops immediately and it is sufficient to scroll back just one line and the system can continue, whereas the feed hold "buffer" seems to be at least multiple lines.
And (sorry for asking) if it is a buffered system...it should then be able to handle 0 Feedrate without throwing an error.

General Mach Discussion / feedrate 0 during program run
« on: August 26, 2018, 02:36:17 PM »
Hi guys,
i just read through a bunch of topics, but ... probably I am just too stupid :-) ... couldn't find anything regarding my problem:
We have 2 Mach3 driven wood cnc machines and a DMG and a HAAS for metal works.
At both metal machines I can do 2 things while a program (G-Code) is running:
1: Set the feedrate to 0, so the program "stops" but the spindle runs
2: Press pause, which causes an IMMEDIATE pause.

So I tried to setup any of the both options with Mach3, but somehow I do not find a proper solution.
If I override the feed rate in the feedrate DRO to 0, I get an error saying (cannot perform move with 0 feedrate) or similar
If I press pause, Mach performs the buffered moves before it stops (our wood CNC is 3m long...)
I know I can it the STOP button for an immediate stop, but there is no simple way to "restart" as (I assume) the path precalculation will also be interrupted and....there seems to be not option to automatically restart the spindle.

Hope this is written understandable enough :-)
Thanks for any help I can get.

General Mach Discussion / Re: CSMIO / IP Probing fails
« on: June 13, 2018, 12:28:12 PM »
I was at the machine and gave G31 a try.
Z axis stops either on touch or latest after the given Z value with: G1 G31 Z-4.
With G31 Z-4 it stops at touch, but overrides Z-4 in this case.
It does not stop at all with G1 Z-4.

Just want to mention the last case, as in many examples from the net it is described such.(Maybe works with parallel port I/O, but I guess most will use Win7 or 10)

Thanks a lot for you help guys !!!! :)

General Mach Discussion / Re: CSMIO / IP Probing fails
« on: June 12, 2018, 10:34:28 AM »
Thanks guys, will give it a try tomorrow. But anyway....why is G31 Z-4 moving way further than -4 ?

General Mach Discussion / Re: CSMIO / IP Probing fails
« on: June 12, 2018, 07:06:02 AM »
Tried quite the same as what you said before :-)

Z is at 2. The surface top is between Z 0 and Z-2. As I can only estimate before probing, I do a G31 Z -4 to make sure the probe goes down far enough, but stops latest at Z-4.

Once I start the G31 Z -4 the Z axis will not stop in any case....activating the probe pin (I can see it turning on in diag) does not stop it AND even beyond Z-4 it moves on and on. I am on metric btw. I let it go until z-50 and then stopped by RESET.

Pages: 1 2 »