Hello Guest it is October 01, 2020, 08:50:57 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 - mike^3

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »
71
Hello, here is a sample script

 If GetSelectedTool = 1 Then
  Code "G53 G0 A0"
 Code "G53 G0 A-5"
 Code"G92 A0"   
 While IsMoving()
 Wend
 End If

However, I only want the tool changer that I have (8 station) to rotate in ONE direction, positive, not negative. Where it stands right now it will rotate to the g0 a0. I would like for it to go forward until it goes to the tool no matter where (360 degrees) it is at. Forward direction only, is this possible?

Thanks!

72
Actually i just got it to work by copying

 If GetSelectedTool = 1 Then
  Code "G53 G0 A0"
 Code "G53 G0 A-5"
 Code"G92 A0"   
 While IsMoving()
 Wend
 End If


73

Hello

I am trying to creat 8 buttons on my screen so that I can click on one and it will goto the commanded tool.

 I have this code that works great in m6 macro for my tool changer, yet when I copy and past (only the top one for tool 1) into the button script, it wont work, gives me errors. Any help? I just want button 1, to goto tool one and use the first if statement in it.

 If GetSelectedTool() = GetCurrentTool() Then
 End
 End If
 
 If GetSelectedTool = 1 Then
  Code "G53 G0 A0"
 Code "G53 G0 A-5"
 Code"G92 A0"   
 While IsMoving()
 Wend
 End If
 
 If GetSelectedTool = 2 Then
  Code "G53 G0 A45"
 Code "G53 G0 A40"
 Code"G92 A45"
 While IsMoving()
 Wend
 End If
 
 If GetSelectedTool = 3 Then
  Code "G53 G0 A90"
 Code "G53 G0 A85"
 Code"G92 A90"
 While IsMoving()
 Wend
  End If
 
 If GetSelectedTool = 4 Then
  Code "G53 G0 A135"
 Code "G53 G0 A130"
 Code"G92 A135"
 While IsMoving()
 Wend
  End If
 
 If GetSelectedTool = 5 Then
  Code "G53 G0 A180"
 Code "G53 G0 A175"
 Code"G92 A180"
 While IsMoving()
 Wend
  End If
 
 If GetSelectedTool = 6 Then
  Code "G53 G0 A225"
 Code "G53 G0 A220"
 Code"G92 A225"
 While IsMoving()
 Wend
  End If 
 
 If GetSelectedTool = 7 Then
  Code "G53 G0 A270"
 Code "G53 G0 A265"
 Code"G92 A270"
 While IsMoving()
 Wend
  End If
 
 If GetSelectedTool = 8 Then
  Code "G53 G0 A315"
 Code "G53 G0 A310"
 Code"G92 A315"
 While IsMoving()
 Wend
  End If   

END

74
General Mach Discussion / DRO Question! :D
« on: June 30, 2015, 08:52:08 PM »
Hi, If I am running a VB script to change tools, what do I put in to update the tool number dro to the selected tool?

I can get the tool changer to work but I put a DRO on the screen, OEM code 824, what code do I insert before the end to update the tool number?


 If GetSelectedTool() = GetCurrentTool() Then
End 
 End If     

 If GetSelectedTool = 1 Then 
 ActivateSignal(OutPut2) 
 Sleep 500   
 Code "G53 G0 A0" 
 Code "G53 G0 A-5"  W
 hile IsMoving() 
 Wend
 DeActivateSignal(OutPut2)
 End If 

THANK YOU!!!!!!

75
Mach Screens / Mach 3 lathe with tool changer, problem
« on: June 29, 2015, 01:56:15 PM »
hello everyone, I have Mach 3 lathe, and I am trying to run the tool changer as the A axis, yet I can't get it to work in mach 3 lathe, I can get it to work in mach 3 mill fine.

When I try to job the A axis in mach 3 lathe nothing happens, but if I try to job it kn mach 3 mI'll it's jobs fine.

Am I missing something?

I have the ports and pins the same, a axis is enabled it mach 3 lathe, I do not have a dro set up in the screen, or a tool change number set up yet but will work on that once it moves properly,

Any help would be appreciated!!

76
General Mach Discussion / Re: CNC plasma setup help :)
« on: May 18, 2015, 07:43:17 PM »
I think I figured it out I was only getting .5 v when the contact closed I think the limit switch is bad, swapped of switches and it works thanks for the help ;)

77
General Mach Discussion / Re: CNC plasma setup help :)
« on: May 18, 2015, 06:36:09 PM »
I did, I even changed it from 12, no work, 10, no work, 11, no work... and no stat change on the diagnostic page....

78
General Mach Discussion / Re: CNC plasma setup help :)
« on: May 18, 2015, 05:24:34 PM »
Gotcha it hasn't come in yet so im kinda waiting lol.

But on a side note,

I can't get my digitize switch to work with mach.

I have a normally closed switch when the head touches the material it opens the switch. I have confirmed that the switch and wires are good to the break out board reading open  when it's triggered, I connected it like my other limit switches, one side to pin 10 for example and the other to ground, tried 5v too, mach doesn't register it in the diagnostic screen but sees my other switches when triggered, they are all the same switch type, any ideas?

79
General Mach Discussion / CNC plasma setup help :)
« on: May 18, 2015, 02:59:27 PM »
 :D

Hello everyone! :)

I am having some issues setting up my cnc plasma cutter.

1) I use sheetcam and post process it with mach 3. The challenge is how do I set up the auto tool touch off for each pierce and start? For example start program, goto where z- to start cut would be, go down z- till input 1 is closed (or receives 5v, its a limit switch). then lift off plate when input 1 is open (no longer triggered) reset DRO z to 0, and then continue with the gcode (i am assuming the piercing hieght will be used from the gcode that i set within sheetcam).

2) I have a proma thc coming in soon. how do I set the parameters in mach3 to use this effectively?

Thank you so much everyone!

80
Mach Screens / Re: New Plasma Screen Detail help
« on: May 16, 2015, 03:58:40 PM »
Hi bobo, did you ever finish your screen? Would you mind sharing it? Thanks

Mike

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