Hello Guest it is March 28, 2024, 04:01: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 - DazTheGas

282
Have you thought of running the gcode without the toolpath as a test.

DazTheGas

283
Mach4 General Discussion / Re: Stop/Reset scripts with and without Gcode
« on: January 29, 2017, 03:40:02 AM »
mc.mcCntlSetLastError("Cycle Stopped")

Is there anything missing from this line that may cause it to not work ;-)

DazTheGas

284
Mach4 General Discussion / Re: Question on Toolpath?
« on: January 28, 2017, 05:27:59 PM »
Sori Mauri that was for craig in regards to

Quote
Isn't there a control on the Mach/Toolpath page  'VBO', its my understanding, possibly mistakenly, that turns the toolpath display off altogether.

DazTheGas

285
Mach4 General Discussion / Re: Question on Toolpath?
« on: January 28, 2017, 04:21:39 PM »
from this post by smurf

http://www.machsupport.com/forum/index.php/topic,34027.msg235880.html#msg235880

Quote
There are two options on how the tool path is run.  Vertex Buffer Objects (aka VBOs, and requires OpenGL version >= 1.5) and the old Mach 3 way.  We test for the v1.5 and if the driver supports it, we use VBOs.  Typically, using VBOs puts more of the work on the GPU and less on the CPU.  But usually, it also lends to smoother video as most graphics cards have faster memory that the RAM that the CPU uses.

286
Mach4 General Discussion / Re: M6 Script not working
« on: January 27, 2017, 10:55:36 AM »
Keep you macro names in lowercase and look in the mach4 configuration/tools, you will find an option for m6 T is next tool or tool in use.

DazTheGas

287
Mach4 General Discussion / Re: Backing up a Screen Set
« on: January 27, 2017, 02:27:32 AM »
You can run "Mach4Gui.exe /e" from the command line and this will take you straight to the editor.

DazTheGas

288
I am stripping my X gantry off this coming weekend and will leave me with 2 Y plates, its one off the things I want to play with is autosquaring, will let you know how it goes.

DazTheGas

289
Mach4 General Discussion / Re: Lua
« on: January 24, 2017, 04:38:08 PM »
The way it works with the plugin ive been writing for what seems an age is it does the filtering before it sends, in the video i posted you will notice that the tx light only goes on when I move the pot. this is done in a simple form of

Code: [Select]
  pot = analogRead(potPin);

  if (potb > pot + 2 || potb < pot - 2)
  {
    Serial.Send(pot)
    potb = pot;
    delay(50);
  }

so any fluctuations from the pot etc get ignored.

This can be done with lua also in an IF statement in the plc to compare the new value with the last value and if its greater than or less than a certain percentage then set spindle to new value.

DazTheGas

290
Mach4 General Discussion / Re: Lua
« on: January 24, 2017, 04:18:32 PM »
Yay glad your sorted. ;-)

The reason I rounded the number and used a table is it stops unwanted interferance or noise from changeing the spindle speed.

DazTheGas