Hello Guest it is March 29, 2024, 03:59:20 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 - Davek0974

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »
31
General Mach Discussion / Does this product exist?
« on: September 21, 2016, 03:20:54 AM »
If not, the idea was mine.... ;D

Having seen the carnage caused by the failure of a Z-probing routine for tool height a couple of times now, I was thinking if there was a probe plate on the market that was spring loaded - heavy springs will be needed, had the top surface as the normal probe plate and then as the springs compressed due to a failure of some sort, the extra movement triggered an e-stop?

Having heavy springs will make it appear as a solid to the probe routine, but still be able to compress and hit the e-stop.

Just wondering  ;)

32
General Mach Discussion / Tweaking the Tool-Change...
« on: September 18, 2016, 06:16:00 AM »
Stumbled upon a situation today brought on by the massive flexibility of my Bridgeport CNC conversion, the tool-change was set to go to a programmed position - this could cause the tool to be dragged over clamps etc or with a large lump on the bed which overhangs could cause it to be mashed into the rear body of the machine.

The safest option seems to be to do nothing but lift the Z up to machine zero then wait.

This is my current M6Start macro, M6End is empty.

My question - if i comment out the block marked ************************************X, i think that will do it, BUT is there anything in the rest of the macro that does anything useful, apart from the block that parks the Z axis??

Code: [Select]
Sub Main()

Dim XScale, YScale, ZScale
Dim ZClear, Zoffset, ZClearMach
Dim ClearAllow
Dim Response

If GetOEMLED(1866) Then Exit Sub

If GetOEMLED(801) Then ' On = English Measure INCH

ClearAllow = 0.125 ' Max Z Travel = .125in below Machine Z zero

Else ' Off = Metric Measure MM

ClearAllow = 2.0 ' Max Z Travel = 2mm below Machine Z zero

End If

Zclear = GetOEMDRO(1814) ' Get Z Clearance Plane from DRO

Zoffset = GetOEMDRO(49)

ZClearMach = Zoffset + Zclear

CurrentAbsInc = GetOemLED(48) ' Get the current G90/G91 state

'Get Axis Scale factors
XScale = GetOEMDRO(59)
YScale = GetOEMDRO(60)
ZScale = GetOEMDRO(61)

'Set All Axis' Scale to 1
Call SetOEMDRO(59,1)
Call SetOEMDRO(60,1)
Call SetOEMDRO(61,1)
Sleep(250)

tool = GetSelectedTool()
SetCurrentTool( tool )
SetVar(1, GetOEMDRO(800))
SetVar(2, GetOEMDRO(801))
SetVar(3, GetOEMDRO(802))
TCX=GetOEMDRO(1200)
TCY=GetOEMDRO(1201)
TCZ=GetOEMDRO(1202)


Code "G90"

Code "G53 G0 Z" & ZClear
While IsMoving()
Wend


Code "G53 G0 X" & TCX & " Y" & TCY ***************************************************************X
While IsMoving()                              ***************************************************************X
Wend                                             ***************************************************************X

If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If

Call SetOEMDRO(59,XScale)
Call SetOEMDRO(60,YScale)
Call SetOEMDRO(61,ZScale)
Sleep(250)

End Sub

33
General Mach Discussion / Offsets :)
« on: September 15, 2016, 02:27:27 AM »
I learnt a Bridgeport specific lesson yesterday, it was free too ;)

Spent an hour trying to figure out why my G55 offset I had set up for a groove in my almost permanently mounted vise had shifted about 50mm in the Y. Totally stumped, tested it, tried adding new offsets, these all worked, co-ax indicator on a mounted shaft showed 53mm shift in Y only :(

It wasn't until the penny dropped that i remembered sliding the ram out to get a better position in readiness to machine my sub-table - D'oh!

So, that got me thinking, offsets are pretty much useless on a flexible machine like the Bridgeport - any movements in the head will instantly wipe out all offsets saved and if not remembered, could be expensive in bent tooling.

The one that WILL bite me is the semi-auto manual tool change on the engraving head - this uses a fixed touch-plate to gain the height offset and its location is stored in the setup pages.

Need to put a large sign on the head-shift bolts i think.

34
General Mach Discussion / Run a macro from a button press??
« on: September 11, 2016, 10:08:32 AM »
Is there a correct or preferred way to execute a macro from a button press via an input on the CSMIO controller?

I have input 9 wired to a panel button that i want to execute auto-z reference for my mini-mill, the button needs to call M881.m1s which holds all the custom code (2010 screen-set) to do the height measuring etc.

Can't seem to find a method here?

35
General Mach Discussion / Cloning a setup...
« on: September 10, 2016, 10:09:26 AM »
I need to copy the setup for my Bridgeport conversion to another profile so i can tweak a few settings as it uses an auxiliary spindle and has different homing, motor VFD, spindle speeds etc


I guess i need to create a new profile first to get all the folders for macros' ?

Then copy the .xml, rename it and use it?

Does that method copy all the settings for the CSMIO etc?

Thanks

36
General Mach Discussion / Code wrong?? Broken tool :(
« on: September 09, 2016, 02:07:24 PM »
Ok, so yesterday i had a great run on the mill, one part, 6 tool changes, perfect result.

Tonight was a simple part - face, spot, drill 3 holes.

So, I set the ref's with my Haimer, the face cut works nicely, good finish, requests the spotting drill, drill fitted, Z drops to below the vice and then proceeds to snap my nice new bit off by ramming it into the back of said vise :( Much language and head scratching follows. I did hit the big red button but was too late to save the bit.

Ok, new bit fitted, ref'd the machine again, reset my co-ordinates, run the part again, facing cut took nothing off of course, just a whisper, spot drill requested again, fitted, this time i had my fist over the stop button, watched and yes it drops the Z way too low for the tool, stop pressed, give up for the night.

Now, had a glass of wine with me tea, and looking at the code (fusion 360 CAM) I see it is asking for a Z30 move BEFORE applying the tool offset !

Surely that is a crap error - the previous tool was shorter than the spot drill and the height it was heading for was correct for that tool of course but put the longer spot drill in and - snap.

Just so i know where to head, is this a Fusion 360CAM error, post error or just me being a twat ( I doubt it this time though )

Surely it MUST apply tool offset before commanding ANY Z axis move?

37
General Mach Discussion / Just about to throw in throw in the towel now :(
« on: September 04, 2016, 07:36:19 AM »
Ok, so have my CNC conversion at the stage where i wanted to make a part, several tool changes, two setups, both sides of part worked :)

First side went ok, changed the setup, set my offsets again.

First pass went ok, tool-change was requested and made (manual), path was cut correctly.

next tool change comes up - goes ok, machine faults out on run due to my tool being shorter and not realising it - the controller throws a limit error.

Ok, move bed up, re-cam the part so no first run, this time the tool change is ignored - machine just sits there idle waiting for me to push start as if the tool change had been made.

It did not move to tool change position so i took the tool out and pressed start, it carried on as if.

pressed stop, rewind, try again - same behaviour, no M6 macro

closed mach, restarted, re-homed, re-run - same, no M6 macro

I manually changed the tool to 1 from 6, re-run and it carried on merrily trying to run with the wrong tool loaded (it thought, spindle was empty)

I am getting really disheartened with the odd crap thats been going on here, i cant trust it all, its a crap-shoot if it will work or you will spend all day like today restarting and rehoming the damn thing.

Can anyone shed light on what can stop the macros running?

I had issues yesterday with the tool-setter macro not behaving, but i have not messed with that today and the macro pump is back to where it was before.

Arrrgh!

38
General Mach Discussion / Skip Tool-change if tool is loaded?
« on: September 04, 2016, 03:12:35 AM »
I have some code from fusion 360 for a little part i make batches of. It starts with a tool-change of course and i need the tool height offset so don't want to remove the TC.

Is it possible to alter the M6start / end macros to skip a change and do nothing if the tool selected is the same as the current tool??

39
General Mach Discussion / Work in a different quadrant?
« on: September 01, 2016, 04:43:45 AM »
All of my stuff up to now has been done in quadrant 1 with home at bottom left.

I have a part to make with work on both sides so the front will be in Q1 but the back will be in Q4 with home at top left.

Is there a way or setting to get the tool path display to show correct? At the moment the job is hanging off the bottom of the screen :)

(still learning here BTW )

40
General Mach Discussion / Restart while stop held in?
« on: August 22, 2016, 01:12:56 PM »
Ok, on the mini-mill i've been having some failures and broken cutters because the vfd keeps dropping out on odd errors, and i did not have the fault relay wired to Mach as i was using it to control the coolant ;)

Anyways, rewired this afternoon and now have the fault relay coming in on an input to Mach, stuck a brain in to monitor it and throw the Stop (1003) button when the fault relay trips on the vfd. It seems to stop Ok so that should at least stop the wasted money in broken tools.

But, even though the input is still triggered (vfd not reset yet) you can still restart the code?

Is there a better way to do full stop and hold it until a reset is done?

Change it to throw the Mach reset button maybe??

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »