Hello Guest it is March 28, 2024, 05:38:06 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 - kevlar129bp

Pages: 1 2 »
1
General Mach Discussion / Re: Set G01 feedrate from a macro...
« on: April 24, 2021, 08:36:21 PM »
Sorry for the delay, I've been watching my Dogecoin instead of machining  ;D The message idea sounds awesome. I'll give it a run when I get a second.

Thanks a bunch,
Chris

2
General Mach Discussion / Re: Set G01 feedrate from a macro...
« on: April 23, 2021, 07:54:01 PM »
Hey Graham,

Thanks for the reply. Hmmm, I can't think of why it wouldn't? I guess I could try it from MDI? Any other way to test it?
The macro is definitely in the correct folder, checked that, like a million times  :)

Thanks for your thoughts,
Chris

3
General Mach Discussion / Set G01 feedrate from a macro...
« on: April 23, 2021, 06:48:06 PM »
Hello all,

It's been a long time. I hope everyone is well. I've got a question regarding setting feedrates (as I'm sure you gathered from the subject).
Here's what I've got going on:
I've got a Visual Studio program managing a database of feeds and speeds based on material selection.
From Mach3, you select the material you are cutting and the feedrate is served from the database (no problem here).

Let's paint a picture of what I'm trying to do:

-----------------------------------------
G Code example:

G00X0.Y0.
M03G04P0.5
G01X10.M801
Y10.
X0.
Y0.
M05
------------------------------------------

------------------------------------------
Here's what I've tried in the "M801.m1s" file:

Code ("F50.")   <---- No dice, feed doesn't change

SetFeedRate(50 / 60)   <---- No dice, feed doesn't change

SetOEMDRO(818, 50)   <---- No dice, feed doesn't change

SetParam("FeedRate", 50)   <---- Haven't tried this?
--------------------------------------------

Any thoughts on what I'm doing wrong? It's driving me nuts!

Thanks all,
Chris


5
Works in progress / Visual Studio screen integration... Just for fun
« on: December 31, 2016, 01:43:55 PM »
Been a long time since I've visited. Hope everyone is well.
I've been designing a screen for my gantry router and thought I would share.
Anyhow, this is a quick video showing some Visual Studio 10 integration.
https://www.dropbox.com/s/di389n8g8rwsd0w/VS10andMACH3.mp4?dl=0
Let me know whatcha guys think.

Chris

6
Brains Development / Feedrate speed brain help
« on: April 07, 2012, 10:33:30 AM »
Hello all, long time - no post  :). I hope everyone is well.

I am goofing around with a new screen after many years and am a bit stuck. I would like to convert the following vb code into a brain, if possible. Hopefully the code will explain itself.
Code: [Select]
SpeedLEDCnt = 6' Quantity of LEDs in row

XTopSpeed = GetParam("VelocitiesX") * 10' Not a clue why 10 is the magic #, but it works
XGran = XTopSpeed / SpeedLEDCnt

Select Case GetOEMDRO(806)' X Vel DRO
Case 0 ' Not moving. Turn all off
SetUserLED(1001,0)
SetUserLED(1002,0)
SetUserLED(1003,0)
SetUserLED(1004,0)
SetUserLED(1005,0)
SetUserLED(1006,0)
Case 1 To XGran ' Speed range 1 of 6
SetUserLED(1001,1)
SetUserLED(1002,0)
SetUserLED(1003,0)
SetUserLED(1004,0)
SetUserLED(1005,0)
SetUserLED(1006,0)
Case XGran + 1 To XGran * 2 ' Speed range 2 of 6
SetUserLED(1001,1)
SetUserLED(1002,1)
SetUserLED(1003,0)
SetUserLED(1004,0)
SetUserLED(1005,0)
SetUserLED(1006,0)
Case  (XGran * 2) + 1 To XGran * 3 ' Speed range 3 of 6
SetUserLED(1001,1)
SetUserLED(1002,1)
SetUserLED(1003,1)
SetUserLED(1004,0)
SetUserLED(1005,0)
SetUserLED(1006,0)
Case  (XGran * 3) + 1 To XGran * 4 ' Speed range 4 of 6
SetUserLED(1001,1)
SetUserLED(1002,1)
SetUserLED(1003,1)
SetUserLED(1004,1)
SetUserLED(1005,0)
SetUserLED(1006,0)
Case  (XGran * 4) + 1 To XGran * 5 ' Speed range 5 of 6
SetUserLED(1001,1)
SetUserLED(1002,1)
SetUserLED(1003,1)
SetUserLED(1004,1)
SetUserLED(1005,1)
SetUserLED(1006,0)
Case  Else ' Top speed range
SetUserLED(1001,1)
SetUserLED(1002,1)
SetUserLED(1003,1)
SetUserLED(1004,1)
SetUserLED(1005,1)
SetUserLED(1006,1)
End Select

Any assistance or advice would be welcome. Thanks guys.
Chris

7
Hey cool zealous, I think that's what I was after. May take me a bit to try it out...way too many projects right now  ;). I'll keep you posted.
Thanks again,
Chris

8
Could one of you fine folks help me retrieve a parameter from Mach, and store it in a text box on the Flash screen?
Hope that makes sense?

Thanks guys,
Chris

9
General Mach Discussion / Re: Simple... Plasma application question
« on: May 03, 2010, 12:37:59 PM »
Thanks Ian,

After looking at it for a moment, I suppose I could do something like:

If the Anti-dive enabled LED is on, then activate output whatever...

Maybe in a brain or a macropump?

I'll have to look into that scheme when I have a bit more time.

Thanks again,
Chris

10
General Mach Discussion / Simple... Plasma application question
« on: May 02, 2010, 07:35:58 PM »
Hello all,

Long time, no post... I hope everyone is well.
I have a possibly ridiculous question:
I'm messing with my PIC controlled THC and I can't get my head around one thing...
Is there an "Enable THC" output from Mach, and if so, which output is it (by default)?
Is it "Set OUTPUT5 when in THC" on "Ports and Pins" page, "Mill Options" tab?
Will this output act as the THC inhibit in regards to the anti-dive feature?
Any help on my foggy questions would be greatly appreciated.

Thanks all,
Chris

Pages: 1 2 »