Hello Guest it is December 02, 2023, 06:58:46 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 - Bodini

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »
Brains Development / Need brain condition
« on: October 29, 2007, 03:33:51 PM »
I want a brain to:

if gcode is running then -> output5

I tried:

LED804->greater than 0-> output5

but that doesnt work.

Is that how you get the signal from an led, like in VB? (0 for off, 1 for on?)

Basically, the condition I'm looking for is: if gcode is running, then do it... if you're jogging by hand, dont do it.... which is why i didnt just link it to blended velocity, which did work as a test.



Heres a few pieces that I've done with a prototype 4th axis on a www.Romaxxcnc.com HS-1. Dont ask what they are... it's Top Secret ::).  Those pieces are all about 6-7 inches long and 1-1/2" diameter. The wood is all cherry, except for the purpleheart one... and i didnt do the bowl.

Mach rocks!


General Mach Discussion / Re: Edge finding?
« on: September 07, 2007, 06:09:00 PM »
Hi Aluman,

Sorry, I've never had to rotate the Mach coordinate system.


Forum suggestions and report forum problems. / Cant post picture to gallery
« on: September 03, 2007, 11:55:59 PM »
I tried to post a picture in the Artsoft gallery and got:

An Error Has Occurred!
in_array() [function.in-array]: Wrong datatype for second argument 

I tried 2 more times with different data in the form, but got the same thing.


General Mach Discussion / Re: Edge finding?
« on: August 28, 2007, 06:55:01 PM »
See this: http://www.artsoftcontrols.com/MachCustomizeWiki/index.php?title=How_to_get_Data_from_a_Probe

And this: http://www.artsoftcontrols.com/forum/index.php?topic=2136.0

using this theory, I use a macro that:

finds g54 z
finds g54 x
finds g54 y
finds g55 z of a second spindle
jog to an offsite touch plate
finds x of touch plate
finds y of touch plate
finds z of touch plate


VB and the development of wizards / Re: Noob Macro help
« on: July 04, 2007, 08:43:04 PM »
Oh, i see.  I was going on the premise of not using a 'macro within a macro',  but i guess this isnt really running a 'macro in a macro', is it?

Your code is close, but I want the spindle to remain on all the way through the pause, until the macro turns it off. 



VB and the development of wizards / Noob Macro help
« on: July 04, 2007, 11:00:49 AM »
Ugh, I feel like a 4 year old learning to write.  :-[ :-\  Ok, here goes.

I want a macro to:

   1. Start the spindle
   2. Display a message in the status line
   3. pause for the user to press 'cycle start'
   4. Stop the spindle

I did a lot of messing around and came up with this, but its wrong.

Code "(message)"
DoSpinCW ()
SystemWaitFor (Start)
While IsMoving ()
DoSpinStop ()

Sort me out please.  Any help is appreciated.  thanks.


G-Code, CAD, and CAM discussions / Re: Subtest again...
« on: May 30, 2007, 03:29:06 PM »
Thanks Graham, just 1 more detail needed (until the next one :D)

What I meant to ask in that last one, but forgot to...

If you go to many locations, does the g52 need to be cancelled between each one?


G-Code, CAD, and CAM discussions / Re: Subtest again...
« on: May 30, 2007, 08:35:04 AM »
Thanks Graham.

One more quiestion... and i only ask instead of doing it because Mach wont display it and I cant get to a machine to see it go right now...

What about adding another random position in the code like:

X13 Y2

would it look like this?

G20 G40

G00 g90 g43 X-1. Y-1.
G52 x5. y5. (datum shift)
G52 x0 y0 (datum shift cancel)

G52 x13. y2. (second datum shift)
G52 x0 y0 (second datum shift cancel)





G-Code, CAD, and CAM discussions / Re: Subtest again...
« on: May 29, 2007, 06:23:20 PM »
In other words, it's like the coordinate system needs to be temporarily reset (or something along those lines) at the insertion point of the sub.  I dont know enough about g-code yet to know what path to take.



Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »