Hello Guest it is April 26, 2024, 09:41:25 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.


Topics - Bodini

Pages: « 1 2 3
21
General Mach Discussion / V3.0 crash with Sleep
« on: January 12, 2008, 10:18:46 PM »
After upgrading to v3.0, this portion of a macro code below crashed mach:

systemwaitfor (start)
While IsMoving()
Sleep 100
   Wend
g55x = getuserdro(1079) + getoemdro (800)


VB Editor opened and said the error was on the Sleep 100 line (this was part of a much longer macro).  Then VB Editor froze up and I had to reset with the button on the pc.  This happened 3 times and I re-installed v2.60... and then the problem was gone.

Yes, the macro starts off with Declare Sub Sleep Lib "Kernel32" (ByVal dwMilliseconds As Long).  Yes, I have used this macro 100's of times before with no problems in versions up to and including v2.60.

Full macro available to admin/mods.

-Nick

22
General Mach Discussion / Non-parallel (rotated) datum
« on: December 21, 2007, 11:38:33 AM »
Is it possible to set up an offset datum that is not on a level plane?

  I mean for instance, at X0, mach's z would read 1, and the cutter would indeed be 1 unit from the work surface.  then at say x12, mach's z would also read 1, but the cutter would actually be 2 units above the work surface.

Wait a second, suddenly g68 comes to mind as I write this out.

Then I go to the manual and see in 10.7.20, "this only allows rotation when the current plane is X-Y".

And now me thinks this cant be done.  right, wrong?

-Nick


23
Feature Requests / Macro on program end
« on: November 11, 2007, 10:33:32 AM »
This was talked about on the yahoo forum a while back, but I'm reviving it here.

I'd love a 'Macro on program end'.

Config>Pgm End or M30 or Rewind section:

A check box and a field to type in "m500" or whatever macro it is one would want to run.

-Nick :)

24
Brains Development / Cycle start counter w/brains?
« on: November 04, 2007, 06:41:57 PM »
I want to count # of times cycle start is pressed in a session (or rather, to count how many parts are made).  Can it be done with brains?  i can do it in vb, but thought i'd give brains a try anyway.

ideas?

-Nick

25
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.

thanks,

Nick


26
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!

-Nick

27
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.

-Nick

28
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 ()
Wend
DoSpinStop ()

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

-nick

29
G-Code, CAD, and CAM discussions / Subtest again...
« on: May 29, 2007, 05:49:45 PM »
Noob alert. ::)

I had a look here.http://www.artsoftcontrols.com/forum/index.php?topic=2540.0

OK, i got it, that works.

Now what if you want to run that sub in different locations in the coordinate system?

So take this one... <stolen from that link above>


G20 G40

G00 g90 g43 X-1. Y-1.
z1.
M98 (SUBTEST.TAP)
M30

%


and then add another position, so it looks like this:


G20 G40

G00 g90 g43 X-1. Y-1.
z1.
M98 (SUBTEST.TAP)
X5 Y5
M98 (SUBTEST.TAP)
M30

%


You see that I'm trying to run the sub again at x5 y5... but it doesnt turn out like i'd expect (another box at x5,y5).

What remedies this?

Thanks much.

-Nick

30
General Mach Discussion / Too fast for pulley message
« on: April 19, 2007, 12:25:57 AM »
Noob alert! ::)

What is this message I always get in the status line about, "Too fast for pulley..Using Max." ?

-Nick

Pages: « 1 2 3