Hello Guest it is April 20, 2024, 07:50:15 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 - truckwiz

Pages: 1 2 »
1
General Mach Discussion / Re: Mach turn & tool change
« on: March 15, 2017, 08:34:07 PM »
Hi all,
 I'm pulling this back up because I'm still trying to get this turret working.

My turret has 3 opto sensors to tell what position it is in. I've wired the sensors to ACTIVE 1,2 and 3 and was doing some testing reading all 3 inputs when I had a massive computer lockup .This little test code worked before the lockup but now it doesn't ( this code is just looking at one opto).

While   GetOEMLED(821) = 1
       JogOn(3,1)
Wend

      JogOff(3)

 The led lights up in Diagnostics ,but it won't stop the jog. I end up hitting the e-stop and then mach3 starts locking up.

Thanks'
    Brian

2
General Mach Discussion / Re: Mach turn & tool change
« on: December 20, 2011, 10:03:41 AM »
 I found this info ,but like always it needs more hardware than I have. My mcro smart does not have the port 2 on it & I know port 1 works with modbus because I have had HMI's hooked to them before.

Brian

www.idec.com/language/english/AppNotes/Modbus%20Training.pdf

3
General Mach Discussion / Re: Mach turn & tool change
« on: December 18, 2011, 01:32:03 PM »
Hi All,
 I'm working on this tool changer again (after 2 1/2 years). I was having lot of trouble with the stepper losing counts after a couple of tool changes ,so I installed a 100w ac servo on the tool changer and that fixed some of the mess.
 I'm now trying to get the micro smart plc to talk with mach3 , I've read allot of the mod bus threads but still really can't tell what the code should be in the plc to allow it to "talk" to mach. any help would be more than appreciated.

Thanks' Brian  

4
General Mach Discussion / Re: Mach turn & tool change
« on: February 03, 2009, 08:52:02 AM »
Cool,
 Works good now,Thanks'

 The next problem I'm having is in the macro. I would like the turret to do a ref home before it moves to the tool. I've used the G28.1 A0 with mixed results. The turret will turn and then set and error when it see's the home switch (something like home switch is triggered, reset and try again).

Brian



5
General Mach Discussion / Re: Mach turn & tool change
« on: February 01, 2009, 08:38:27 PM »
OK,
 Here is what I have going on. I set up the turret for rotational and it re-zero's after 360. I'm having problems controlling the direction of rotation, for instance I can make a G0A+25 and it will go to 25 degree's then if I give it a G0A+360 it wants to take the shortest way to 360 instead of going the right way all the way around

Brian

6
General Mach Discussion / Re: Mach turn & tool change
« on: January 23, 2009, 12:13:18 AM »
Hi,
 I'm just wrapping up the wiring to this mess, as soon as I get to a point where I can start testing I will let everyone know.

 FYI, The 3 optical switches is the way this turret was built .I could tear it apart and make a new encoder wheel that just uses one to show home,but I have enough stuff around to make the 3 work.

 I am a machinist by trade and hoped that by getting this machine up to par that it will help me be more competitive with the bigger shops in my area. I threw in the PLC to help with adding a bar feeder as soon as the turret is working right.

Brian

7
General Mach Discussion / Re: Mach turn & tool change
« on: January 20, 2009, 10:00:25 PM »
Cool,
 It will take me a little time to wire this up and code it. I'm sure I'll have more questions before I'm done , but Thank You for the help so far!


Brian

8
General Mach Discussion / Re: Mach turn & tool change
« on: January 20, 2009, 08:05:31 PM »
Hood,
 Let me rephrase that ,on my tool changer there are 3 optical  switches. When the 3 slots line up you are at tool "1". I will be using a idec micro smart for the PLC ( should be modBus capable,but I  was not thinking that way). I thought I would take the the optical switches and turn them into just one output and use as a input on the parallel port.

Brian

9
General Mach Discussion / Re: Mach turn & tool change
« on: January 20, 2009, 06:57:15 PM »
Ok,
 Let me make sure I have this right.

1. hook up a plc to the 3 encoders , when the plc see's all 3 encoders at 111 (tool 1 and home) it will send a "1" to mach3 to say it's home.
2.If mach3 calls for tool number "3" , it will go home first and then advance  90 degrees and back 1 degree to lock tool number "3" in.

 I can call out a G0A90 and a G0a-01 in the macro ,right ?

Brian
 

10
General Mach Discussion / Re: Mach turn & tool change
« on: January 20, 2009, 04:44:09 PM »
hood,
 I had it hooked up to the "A" axis and had it moving , the problem is that it will only turn one way free and locks if it turns the other way. I have played around with using a micro controller to turn it ,but have had a hard time getting mach3 to tell the micro what tool to go tool and confirming the tool change without burning up a bunch of input and output pins.


Brian

Pages: 1 2 »