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

Pages: 1
1
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


2
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

3
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

4
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

5
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

6
General Mach Discussion / Thoughts from plasma cutter users...
« on: March 11, 2010, 07:11:30 PM »
Hello all,

Currently I have got Mach (newest version) running my gantry plasma. The box is an AMD T-bird, 1.5 Gb ram, XP Pro, ATI Video, on-board parallel port. Until today, all seemed well, as it has been cutting well. Upon running a new part this morning, I got 8 arc starts into the part and "it" quit. "It" being, when the plasma goes to pilot, the computer totally freezes.

My closest observations:

COMPUTER:
mouse - (optical, lit up, no movement)
video - (frozen)
keyboard - (ps2, no 3 finger salute, no Windows key)

PLASMA:
on M03 - relay clicks, pilot starts, computer freezes, relay releases, pilot extinguishes

What I've tried so far:

modified g code to rid it of the torch dwells - no change - computer freeze
fire the torch with M03 button on screen, not running toolpath - computer freeze
manually trigger plasma on test piece of steel, Mach loaded on computer - torch fires, cuts, NO computer freeze
disconnected PC and blew it out with air - lot's of dust ;D -  - no change - computer freeze

Any thoughts or other tests I haven't done that you guys can think of?
I'm at a loss at this point...

Thanks all,
Chris
Registered Mach license holder


Pages: 1