Hello Guest it is April 19, 2024, 08:30:01 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.


Messages - Davek0974

2091
General Mach Discussion / Re: Probably simple but...(G-Code help)
« on: January 15, 2016, 04:12:45 PM »
I have tried other values in the G28.1 Z********* but it never seemed to slow down, will try again.

Yes i see now, this was when i was testing the probe trigger and many times had to e-stop as the brain didn't trigger the probe and would plant the torch in the slats :)  Part of the fun of de-bugging ;)

I will be altering the wiring slightly to move my existing limit switch wire on the Z from limits (which are disabled when G28.1 runs) to the e-stop circuit to give some protection in event of the probe failing to trigger etc. they serve no other purpose now anyway. The actual IHS switch is using the Z limit input and the limits were looped into the X/Y limit loop.

I think that will then close this modification exercise, hopefully finish the bracket to hold the cylinder and start tidying things up this weekend.

2092
General Mach Discussion / Re: Probably simple but...(G-Code help)
« on: January 15, 2016, 03:44:08 PM »
Thanks, i'll move the delays as described, makes sense.

The F1300 was a thing I was messing with yesterday, I found that if for some odd reason the E-stop was pressed when running code, and then restarted, when it ran the IHS it totally thrashed the Z axis, it didn't move but the noise it made was terrible - way too fast attempt. I think that was  the sequence anyway, whatever it was, it really made a mess of a Z move ;)

I flung in the F1300 as i was debugging and left it, i will pull it out again and re-test.

There is a certain sequence of events that can cause the Z to be told to move at a speed way above its programmed max speed. The only sure way to fix is to reload the code, very odd, but the noise really makes you jump :)

2093
General Mach Discussion / Re: Custom plasma probing code?
« on: January 15, 2016, 03:17:54 PM »
This has been resolved now, the final solution is here...

http://www.machsupport.com/forum/index.php/topic,31649.80.html

 :)

2094
Brilliant, thats 95% of the battle won then :)

Sounds like the relay will do it.

AFIK PWM is for motor speed control on stuff like Routers, mills, lathes etc

2095
Only advice i can give is to go steady!

Get the machine up and running, making moves, then add the Plasma and debug that, then add the THC.

Do you have a plasma unit yet?

Is the machine built or is this a rebuild/mmodification/change of purpose thing???

2096
General Mach Discussion / Re: Probably simple but...(G-Code help)
« on: January 15, 2016, 01:16:49 PM »
Fully tested and working 100% :)

The IHS subroutine now looks like this...

G91 (switch to incremental mode)
G01 X28.00 Y4.00 F6000 (position probe switch)
G90 (switch to absolute mode)
M1050 (trigger the probe cylinder)
F1300
G28.1 Z5.000 (probe the surface)
G92 Z#15045 (apply the probe switch offset from settings screen DRO)
M1051 (raise the probe)
G04 P0.2
G91 (switch to incremental mode)
G01 X-28.00 Y-4.00 F6000 (put the axes back to where we came from)
G90 (switch to absolute mode)
M99
%

You may notice that the first G04 P.0 has been removed - since changing to macro's rather than the brain the odd screech disappeared and it does not need the extra P04, I have no idea why but it works. The second P04 is needed as it allows time for the probe to lift clear of the plate before it moves.

Are any of the Abs/Inc switches surplus???

2097
Ah, this one...

http://www.automationtechnologiesinc.com/products-page/breakout-boards/c10s-bi-directional-parallel-port-interface-card

that board does not have a torch relay fitted, you will need an add-on board i think.

Personally I would get a more plasma oriented board, opto-isolated and fitted with one or two relays.

If you are building a Plasma CNC you will almost definitely need a THC as well, might be worth your time looking at CandCNC.com I think

2098
You need something like the blue block on this image - this is the relay you need to find.



They can be black, blue, any colour but will look similar.

Have you got a break-out board even??? This will be located at the machine end somewhere.


Please do not just fit any old relay, you could blow your PC very easily.

2099
General Mach Discussion / Re: Probably simple but...(G-Code help)
« on: January 15, 2016, 09:52:02 AM »
Converted to a pair of macros and all working well in the test setup, will try it on the CNC tonight. The macros just call activate or deactivate signal(output3), M1050 & M1051

Also been messing with the screen background today, tidied it up, made the tool path window bigger and deleted some junk. :)

And, I even managed to get the "Dry-Run" button script to not run if the RUN led is on,  testing for GetOEMLed(804)=0 and putting that If...Then...End If  around the button code did the trick.

2100
General Mach Discussion / Re: Display Mode Button - Not Working?
« on: January 15, 2016, 08:28:14 AM »
Fixed it !

You have to press "Regen Path" after pressing the display mode button, I have added DoOEMButton(160)'Regen Path to the display mode button now and it all looks better, the text will not change but hey-ho ;)