CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-22-2011, 04:08 PM
 
Join Date: Jan 2009
Location: US
Posts: 52
Kevin77 is on a distinguished road
Early 80s CHNC 4 lathe build

Hello all,

As you can see from the title, I'm starting a machine build. This will be my first. I'm well versed in computers, electronics, and CNC machinery, but have no experience yet with Mach.

The machine is in good shape mechanically, but the General Numeric 6T control is on its way out, and the turret quit indexing properly.

So, getting the X and Z axes moving doesn't look like a big challenge. However, I want to ditch the air turret setup and replace it with a servo or stepper system for reliability. I assume I would want to do this via an external PLC? I know some people have done this- can anyone point me to specific threads that cover this topic? I don't know much about PLCs either.

Second, this machine has an air-driven vertical slide (Or it might be air over hydraulic- do these machines use hydraulics for anything else?). Does anyone have experience with these? It's setup for cutting-off now, but I wonder if it could also be used for forming and other ops.

Does anyone have a source for manuals for this machine?

Any help is appreciated, as well as suggesting favorite hardware options. I really like the Granite Devices drives and Pport interface (though obviously I haven't had any experience with them.)

I'm not trying to do this on the cheap. This needs to be a reliable machine when done.

Thanks,
Kevin
Reply With Quote

  #2   Ban this user!
Old 03-22-2011, 05:22 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

I rebuilt one of these over to a Camsoft control. There was another fella here on the zone that did a build thread going to a Mach control. IMHO, Mach isn't a great choice for a brush servo machine needing PLC function. I'd take a look at EMC if you don't want to spend the big bucks for a Camsoft control. OTOH, I would not suggest Camsoft to a first time refitter either.

Machine manuals.net has the manual for your machine. The slide is air driven but I don't use it. The air turret can be a weak point. If you design a way to do it with a servo or stepper I'd sure be interested. I've had it apart more than once, not sure how this could be done.
Reply With Quote

  #3   Ban this user!
Old 03-22-2011, 07:16 PM
 
Join Date: Feb 2005
Location: canada
Posts: 71
najnielkp is on a distinguished road

i have done a chnc 4. gutted the turret air motor and used the shaft coupled to a size 23 stepper driven by a gecko 201. the cover over the x axis motor needed to be extended.installed a solenoid air valve to raise and lower the turret.it works very well.used gecko 320 drives for the x and z axis motors.

installed us digital e5d 250 line encoders on the x and z axis.removed the dc kolmorgan spindle motor and used a 10hp 600v 3 phase with ab 1336 impact vfd drive. made an adapter plate for the spindle and mounted a 3 jaw chuck.i removed the hydraulic slide . part off from the turret. any questions just ask.
Reply With Quote

  #4   Ban this user!
Old 03-22-2011, 09:48 PM
 
Join Date: Jan 2009
Location: US
Posts: 52
Kevin77 is on a distinguished road

[QUOTE=Karl_T;916069] IMHO, Mach isn't a great choice for a brush servo machine needing PLC function.

What's your reasoning for that?

And has anyone else controlled a turret using Mach? How does Mach output tool change info?

Kevin
Reply With Quote

  #5   Ban this user!
Old 03-22-2011, 10:00 PM
 
Join Date: Jan 2009
Location: US
Posts: 52
Kevin77 is on a distinguished road

Originally Posted by najnielkp View Post
i have done a chnc 4. gutted the turret air motor and used the shaft coupled to a size 23 stepper driven by a gecko 201. the cover over the x axis motor needed to be extended.installed a solenoid air valve to raise and lower the turret.it works very well.used gecko 320 drives for the x and z axis motors.
How did you handle the toolchange logic?

Thanks,
Kevin
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-23-2011, 04:07 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

[quote=Kevin77;916231]
Originally Posted by Karl_T View Post
IMHO, Mach isn't a great choice for a brush servo machine needing PLC function.

What's your reasoning for that?

And has anyone else controlled a turret using Mach? How does Mach output tool change info?

Kevin
I'm not going to dis Mach. But EMC handles 10 volt analog to servos and takes feedback from encoders. Mach outputs steps, no feedback. It can be made to work with a step servo driver.

I've only watched threads on PLC function with these two controls. The guy that I mentioned using Mach on his CHNC had an awful time with PLC and it was his fourth machine. You should search out this build thread.

Again, I've only watched threads. EMC is made to easily add additional IO. From what I've read, the logic can be done right inside EMC, but check it out. A fella named Jon Elson sells and supports the stuff you'd need for this route.

For myself, I'm plumb spoilt. Camsoft is a nuclear weopon compared to either control.

Just my 2 cents. Take some time to check it out.

Karl
Reply With Quote

  #7   Ban this user!
Old 03-23-2011, 04:13 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by najnielkp View Post
i have done a chnc 4. gutted the turret air motor and used the shaft coupled to a size 23 stepper driven by a gecko 201. the cover over the x axis motor needed to be extended.installed a solenoid air valve to raise and lower the turret.it works very well.used gecko 320 drives for the x and z axis motors....
Man, I'd like to see pictures of this.

The air turret never gives trouble for me. But the stop pawl does. Were you able to eliminate this?

Karl
Reply With Quote

  #8   Ban this user!
Old 03-23-2011, 05:21 AM
 
Join Date: Feb 2005
Location: canada
Posts: 71
najnielkp is on a distinguished road

i a using mach 3. the solenoid on/off and the rotation is controlled by a macro.
i will post the macro and pics later today.
the toolchanger is not as fast as the air motor drive , but does not require the encoders, or the stop pawl.i found that you do need to rotate in 1 direction only
as there is some backlash in the worm drive. the only time it has not indexed properly was when the spinning tool hit an obstruction.
Reply With Quote

  #9   Ban this user!
Old 03-23-2011, 07:37 PM
 
Join Date: Feb 2005
Location: canada
Posts: 71
najnielkp is on a distinguished road

here are some pics of the x axis with the cover removed. the stepper motor is a size 23 400 oz-in double stack. the airmotor was gutted and the shaft extended. i reused the airmotor body as it screws into the carriage and also locates the worm gear on the end to the turret gear. used a lovejoy coupling as i had to slide it all together after the stepper was mounted onto the endplate. encoders are easy to install using the existing resolver mounts. you can see the solenoid air valve and lines that raise and lower the turret. there are 2 1/8 npt ports under the access cover from the top. the solenoid valve is activated and deactivated from a 5v ttl relay board by mach.used a relay board from futurelec. the z limit switches are hall effect. the x axis limits are optical snap action. i found that you need to keep the voltages over 12volt dc work properly. used a opto input to 5 v ttl input board from futurelec also. index pulse is from a hamlin hall effect sensor . on the rear of the spindle housing , there is a cover that contains a belt driven shaft and encoder. i drilled a small hole into the timing pulley rim and epoxied a neodynium magnet.

here is the toolchange macro that worked for me.

Sub Main()

NumSlots=8
OldTurretPos=(GetOEMDRO(803))
OldToolSlot=Abs(GetOEMDRO(803)/45)
NextTool = GetSelectedTool()
NextToolSlot = (NextTool-1)*360/NumSlots


If OldToolSlot = NextToolSlot Then
SetCurrentTool(NextTool)
Exit Sub
End If

If NextTool>8 Or NextTool<1 Then
Message("Next Tool out of range")
Exit Sub
End If

MoveDis = (NextToolSlot-OldTurretPos)

If Abs(MoveDis) >180 Then
If MoveDis < 0 Then
MoveDis = 360 + MoveDis
Else
MoveDis = MoveDis - 360
End If
End If

ActivateSignal(output5) " raised the turret "
sleep (1000)


Code "G00 G91 A" & MoveDis
While IsMoving ()
Wend

DeActivateSignal(OUTPUT5) " turn off port for raise turret"
sleep (1000)
ActivateSignal(output6)" turn on port for retract turret"

While Ismoving()
Wend


DeActivateSignal(output6) " turn off port for retract turret"

sleep (1000)

SetCurrentTool(NextTool)
Code "G90"
End Sub
Attached Thumbnails
Click image for larger version

Name:	IMG_0090.jpg‎
Views:	63
Size:	96.6 KB
ID:	129716   Click image for larger version

Name:	IMG_0091.jpg‎
Views:	53
Size:	77.5 KB
ID:	129717  

Last edited by najnielkp; 03-23-2011 at 07:39 PM. Reason: spelling
Reply With Quote

  #10   Ban this user!
Old 03-23-2011, 08:48 PM
 
Join Date: Jan 2009
Location: US
Posts: 52
Kevin77 is on a distinguished road

Thanks for the pics and code. Can you explain how Mach handles the stepper drive for the turret? Is it treated as an axis? Is Mach outputting step & dir. for the turret rotation?

Thats the only part I'm hung up on. Raising and lowering the turret seems like simple IO stuff. How precisely does the turret position itself? Is there any misalignment before the turret drops back onto its locating pins?

How does the turret encoder interface with Mach? Does Mach read 8 distinct turret positions, or does it just count from one to the next? I.E. "I was at #5, so I need to move CW 3 pulses to get to #8"

Sorry for all the questions, just never worked with this before and am trying to wrap my head around it all.

Thanks again,
Kevin
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-23-2011, 11:58 PM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 450
phomann is on a distinguished road
ModIO Lathe Toolchager Controller

Hi Kevin,

You may want to consider using a ModIO as a controller for your toolchanger.
MC-01 ModIO Controller [MC-01] - US$98.00 : Homann Designs, The Preferred CNC Component supplier

The ModIO communicates with Mach3 via Modbus. It includes a number of Toolchanger modules in it, and I have added more as users need them.
The modIO has 8 open outputs and 8 inputs, enough for most toolchagers.

The Toolchanger module in the ModIO is controlled via the M6 toolchange macro that I provide.

Below is a video of a Hercus lathe that uses the ModIO.





Cheers,

Peter
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
Reply With Quote

  #12   Ban this user!
Old 03-24-2011, 05:18 AM
 
Join Date: Feb 2005
Location: canada
Posts: 71
najnielkp is on a distinguished road

the turret is setup as the a axis. so once you calculate the steps per 360 degrees of the turret , it will always index to the commanded rotation.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hardinge chnc II super precision lathe brucesu1 Hardinge Lathes 0 12-19-2010 06:02 PM
Value of a Hardinge CHNC lathe? Jim Caudill Hardinge Lathes 5 04-05-2010 04:54 AM
Newbie- It was to early for a build theread, back to design questions eran k DIY-CNC Router Table Machines 6 08-09-2009 07:49 PM
CHNC lathe Runner4404spd General Metal Working Machines 0 08-01-2007 03:50 PM
Hardinge CHNC lathe w/ Allen-Bradley 3246 processor rkdygert General CNC (Mill and Lathe) Control Software (NC) 3 05-23-2006 12:26 PM




All times are GMT -5. The time now is 05:43 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361