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 11-28-2010, 11:42 AM
beezerlm's Avatar  
Join Date: Oct 2005
Location: usa
Posts: 121
beezerlm is on a distinguished road
Question CAN MACH CONTROL HYDRAULIC CYLINDER?

Hi,
I have an old heald ID grinder which is in great shape other than the hydraulic system. There is a clog some where in the core and the table does not function properly. Had 3 different "experts" come in and work on it to no avail. My original thought was to put a ballscrew on the table and run it with mach 3. Here is my question: Can I put a glass scale on the table for feedback, and then control the existing hydraulic cylnder with mach3? It wouldn't need to be super accurate it would just need to repeat good if I was grinding up to a shoulder. Any thoughts???
Reply With Quote

  #2  
Old 11-28-2010, 12:02 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

You probably could work something out, it would not be as accurate as a hydraulic servo valve.
The problem is the Mach uses step/dir pulses and the scale would go back to the drive, not the PC.
This would entail figuring a drive that would give you a permanent output for the period of positioning.
If this is a simple point to point positioning, I would look at one of the Legacy Galil cards on ebay such as the 1500 stand alone single axis controller.
A 2 or 3 line keypad and readout can be hooked up for control.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 11-28-2010, 12:08 PM
beezerlm's Avatar  
Join Date: Oct 2005
Location: usa
Posts: 121
beezerlm is on a distinguished road

Thanks AL

Well I neglected to mention that I wanted to mount a servo on the infeed and build a custom macro that would allow you to set a stroke length, total grind amount, and increment feed amount per stroke. So it would be a hybrid. I didn't know if there was some way of converting step and direction pulses to work for a hydraulic control unit/drive. I don't have much experience in hydraulics and I don't know what is available.

-Brandon
Reply With Quote

  #4  
Old 11-28-2010, 01:25 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

There was a Hydraulic cylinder Co, that made a cyclinder and valve where the spool was positioned by a stepper motor, this turned out much cheaper than the normal hydraulic servo valves. And was a simple control of servo hydraulics.
I don't know whether they are still in business.
If I find the literature I will post a link.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 11-28-2010, 01:31 PM
beezerlm's Avatar  
Join Date: Oct 2005
Location: usa
Posts: 121
beezerlm is on a distinguished road

Thanks Al. I'm open to any other idea's too. I just trying to find the the easiest way to get control of the table and infeed with the least amount of time and money. I thought using the existing cylinder would save me from trying to adapt a ball screw to the machine which could be a big job.
Reply With Quote

Sponsored Links
  #6  
Old 11-28-2010, 02:19 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

There was also a previous post here about 12mths ago from a member that built a hyd bender using Mach and an encoder, I believe he got fairly good results.
Found it:
http://www.cnczone.com/forums/bendin...der_build.html
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #7   Ban this user!
Old 11-28-2010, 03:48 PM
PoppaBear10's Avatar  
Join Date: Feb 2005
Location: usa
Posts: 481
PoppaBear10 is on a distinguished road

Parker hydraulics sells a servo valve/drive that can run off of step/dir, but
Parker = not cheap

scott
__________________
Commercial Mach3: Screens, Wizards, Plugins, Brains,PLCs, Macros, ATC's, machine design/build, retrofit, EMC2, Prototyping. http://sites.google.com/site/volunteerfablab/
Reply With Quote

  #8   Ban this user!
Old 11-28-2010, 09:40 PM
beezerlm's Avatar  
Join Date: Oct 2005
Location: usa
Posts: 121
beezerlm is on a distinguished road

hmmm From what I have been reading it looks like most hydraulic servo valves operate on 24vdc and the control voltage is +-10vdc. In that case, could I build a macro in mach 3 that would adjust the control voltage based on how far the machine is from its destination? For example, if the machine is moving 5 inches in the positive direction, the control voltage would be +10vdc until it got within say 1/2" then it would gradually reduce the voltage to zero as it came to its final destination. I know the parallel port only puts out 5vdc so I would need to beef up the voltage somehow.

Could I connect a glass scale to the input of my BOB and have the macro count each encoder pulse for positioning purposes?
Reply With Quote

  #9   Ban this user!
Old 11-29-2010, 06:52 AM
PoppaBear10's Avatar  
Join Date: Feb 2005
Location: usa
Posts: 481
PoppaBear10 is on a distinguished road

yes you could do that, easily with the macropump and VB.......

also, It would be FAR, FAR cheaper to buy a CHEAP 250 count encoder put a gear on it, and have that gear/encoder travel along a Plastic "rack" style gear. You can buy little plastic gear racks that come in 6" or 12" lengths and put them end to end. Or if you want to spend a little more get a Metal Rack/Pinion and put the encoder on the pinion. The encoder is NO LOAD so the Rack/pinion doesnt have to be heavy duty.

In Mach3 you can bring in "encoder counts" (encoders 1-4), depending on the gear size on your encoder you will need to figure out, how many counts you get back per unit of measure i.e. counts/inch.

So, at your rest position you would have 0 counts in your encoder dro, in the VB macro you would count as it moved till you got a little greater than your slow down distance. At that point since you know what your MAX count is for the full travel,
I would then do, an equation that would take the number of counts that your slow down point is, subtract it from your actual counts, so at your slow down point this would make your number "0", I wold subtract the slow down point counts also from the MAX as well, so in that last part of travel, you would have some value from 0 - xxxx counts. make that remaining as a percentange.

Then, you have two options I think depending on which way you want to go.
1). Natively, you could use Machs Spindle Speed out as a PWM spindle, or step/dir
spindle, and buy an after market pulse to analog converter, from i.e. CNC4PC, Peter Holman, etc.
2). If you using modbus, or PoKeys or a PLC, what ever, you can send your value to
that device.
I.e. Lets say your using a PLC, in your function above, you know that the PLC is a 12
bit analog register. So your factor will be 4095. In mach3 you have a Spindle Percent DRO, so you can take DRO99 and multiply it by your factor 4095 so if your "pully range"
for range 1, is 0-100, then at 50 rpm your SS% would be 0.5 * 4095. drop that value into the register that is what controls the Analog output of your module.
so in your function you would to "Reverse" the math, so that when you reach your slow down point, your SS% would be 1.00 *4095. For control as my distance to go would grow less over the final range, I would multipl the distance to go (used as a percent), then feed that back into the SS% dro. So as your traveling across that last distance, your reducing Machs ss%, and as it reduces, your Speed (or poor mans feed in this case), reduces. Until you reach "0". At that pont I would obviously reverse the system.

scott
__________________
Commercial Mach3: Screens, Wizards, Plugins, Brains,PLCs, Macros, ATC's, machine design/build, retrofit, EMC2, Prototyping. http://sites.google.com/site/volunteerfablab/
Reply With Quote

  #10   Ban this user!
Old 11-30-2010, 03:11 PM
beezerlm's Avatar  
Join Date: Oct 2005
Location: usa
Posts: 121
beezerlm is on a distinguished road

Poor mans feed! Haha! Thanks Scott. Would the rack and pinion repeat well? my concern is that if I am grinding a part up to a shoulder I don't want to crash into the shoulder at the end of my stroke.
Reply With Quote

Sponsored Links
  #11  
Old 11-30-2010, 04:06 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

The rack idea would work you can go with a very fine mesh rack for finer resolution.
But If just switching the hydraulic valve off when in position a simple PLC with fast encoder input type could be used with a Maple systems 2 line keyboard/display for data stroke input and a 3 posn valve with centre blocked off configuration, there would be no need to involve Mach or a PC at all.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 11-30-2010, 07:07 PM
beezerlm's Avatar  
Join Date: Oct 2005
Location: usa
Posts: 121
beezerlm is on a distinguished road

Al,
I have never used a PLC before but I have set up mach 3 on a few machines. Could a Plc control a servo or stepper in unison with the stroke so the machine operator would be able to set variables such as:


Stroke length:
Stroke feedrate:
Total Grind amount:
Infeed per stroke amount:
Spark out passes:
Retract position after grind cycle:

Would this system work?

Allen Bradley SLC500 5/02 CPU with I/O cards - eBay (item 110618388370 end time Dec-02-10 22:48:12 PST)
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
Hydraulic Cylinder Casing Turning? Moparmatty General Metalwork Discussion 9 10-06-2008 05:53 AM
0-10V output control with Mach 3? fatal-exception Mach Mill 3 01-11-2007 12:39 PM
Des Plaines, IL Needs Help With Mach 3 and Control Box carveceltic Mach Software (ArtSoft software) 0 11-08-2006 12:15 AM
How would you use Mach to control a bender? panozeng Mach Software (ArtSoft software) 23 10-18-2006 12:40 AM
compressor piston cylinder compared to an IC engine piston cylinder CNCnUtZ I.C. Engines 1 12-28-2003 07:06 PM




All times are GMT -5. The time now is 05:38 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