Hello Guest it is April 24, 2024, 05:25:41 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 - Davek0974

2041
General Mach Discussion / Re: Mach3 Controlled embroidery Machine
« on: January 30, 2016, 04:48:49 AM »
Zarzul, i have posted the video link in the first couple of posts of this thread.

It says video removed by owner ??

2042
General Mach Discussion / Re: Physical buttons for plasma
« on: January 30, 2016, 04:44:19 AM »
The videos on the 'tube seem to very low speed, impressive but low speed for the thickness being cut.

I was also pondering what happens to the voltage when the tip of the torch shied is about 8mm round on my PM45 and would be touching the slope of the metal - the arc will be longer as the torch can't physically get close enough, do you have to fudge the voltage and run with arc-stretch on heavily sloped metal.

Tilt the torch on the fly so its perpendicular all the time then on the up/down slopes you can vary the X/Y velocity to adjust height :)

The ultimate aim is to maintain arc length so is there a vision system that can do that? Forget trying to sample arc voltage and use a system that can look ahead and plan the move???

Too advanced??

;)

2043
General Mach Discussion / Re: Msgbox function...
« on: January 30, 2016, 04:13:24 AM »
Yeah, it needs doing, I need to sort out the background image though as its all fancy-dancy boxes, tints and words which means you cant shift stuff around easily in MachScreen. The text is all pixellated too so looks poop really, I prefer labels that I can shift around etc. Maybe ditch the image altogether and just go with a plain colour. I've attached the background for illustration - the message bar is tiny ;)

You will be glad to know I have only got one button now which toggles between tool1 - 45A nozzle and tool2 - 30A nozzle, there are no other combinations so no problem there.

I will try it all out today on the live machine and see how it plays.

2044
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 05:05:24 PM »
Ha, thanks, would have taken me many weeks on my own ;)

The msgbox is perfect as it needs me to acknowledge its message, plus the message text box on my screen is stupidly small and almost unreadable.

I could make it bigger but i'm low on screen real-estate 'cos of all the buttons ;)

It is very small on this screenset though.

Once I've sussed out sheet cam and tool change codes the buttons might even disappear.

2045
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 04:52:39 PM »
Ok, that seems happier, DRO is updating now :)

M6Start is now....

Dim Msg, Style, Title

Style = 0 + 64 + 0
Title = "Torch Consumables Change"

SetCurrentTool(GetSelectedTool())

If GetCurrentTool = 1 Then
   SetVar(1045,GetToolParam(1,2))
   Code" #15045 = " & GetToolParam(1,2)
   Msg = GetToolDesc(1) & "  Offset = " & GetToolParam(1,2) & "mm"
   MsgBox Msg, Style, Title
End If 

If GetCurrentTool = 2 Then
   SetVar(1045,GetToolParam(2,2))
   Code" #15045 = " & GetToolParam(2,2)
   Msg = GetToolDesc(2) & "  Offset = " & GetToolParam(2,2) & "mm"
   MsgBox Msg, Style, Title
End If

Hopefully that will all work as required :)

Plus I gained TWO new buttons - 30A and 45A torch settings :) :)

I might adjust the code a little to position the gantry at the front of the table etc so i can reach the torch, will see how it works on the real machine.

Once again thanks for the excellent help.

2046
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 04:27:37 PM »
I thought you had used a #var that was linked to a  DRO ?

I thought i did?
In a previous thread i was told the DRO was 1045/15045 and in my IHS i use #15045 and it reads the DRO correctly but setvar(1045) or stellar(15045) does not update the DRO??

Little confused ;)

2047
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 04:11:36 PM »
Briiliant, I just about got there at the same time by plastering it with message boxes and changing code etc to see what results i got.

Its getting there.

I went back to original var 1045 but it does not update the DRO, do i need to add some SetOEMDRO commands in there???

2048
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 03:53:23 PM »
Ok so i now have

SetCurrentTool(GetSelectedTool())

msgbox(CurrentTool)

If CurrentTool <> 1 Then
   SetVar(1000,GetToolParam(1,2))
   Msgbox"" & GetToolDesc(1) & "  Offset = " & GetToolParam(1,2)
End If  

If CurrentTool <> 2 Then
   SetVar(1000,GetToolParam(2,2))
   Msgbox"" & GetToolDesc(2) & "  Offset = " & GetToolParam(2,2)
End If  

The code is not setting CurrentTool, I added the msgbox on line 2 so i could verify this and it shows a blank message, the reason i checked it was because when the macro runs it shows two messages sequentially - tool 1 then tool 2 regardless of tool chosen in the M6 line

2049
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 03:15:41 PM »
Another half an inch...

Seems i need Config > General "Stop Spindle, Wait for Cycle Start"

That got rid of the scripter/complie error but now all i get is a "change tool,press cycle start" message in the msg line, its not triggering the Message instruction in the M6start macro???

2050
General Mach Discussion / Re: Msgbox function...
« on: January 29, 2016, 03:01:13 PM »
Ok, moved on an inch...

Google told me I needed to go Config > General and turn on auto tool change, did that.

Try M6 T1 and get scripter/compile error in the msg line??