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) > Machines running Mach Software


Machines running Mach Software Discuss your set-up and experiences running your machine using Mach software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-09-2009, 06:58 PM
 
Join Date: Jan 2006
Location: uk
Posts: 716
yohudi is on a distinguished road
Question Mach 2 Headscratcher.....

Have run into a bit of a weird problem with Mach 2 running below Win2k OS.. Tried everything I can think of to determine what the problem is.. I think it's with output from Mach 2... but I can't think of a reason to explain it or find a remedy....

I've been running a 4 axis configuration for a while.. without difficulty.. PC is an old 1.3Ghz AMD Athlon.. with just over 700MB Ram... Hard-Drive crash gave need to re-install OS and Mach 2 on a new drive.. Nothing else on the system. Copied in backed up xml files to re-establish tried and tested configuration...

4th axis is no longer functional.. DRO's move but no output from Mach 2 to BOB (cnc4pc C10 BOB).

Not a cable issue - is same cable as previously. Also exchanging A axis and Z axis pin outs shows correct response on BOB pin 14 and Pin 9 LED's for jogging and MDI motion. Voltage at pins is 4.85 volts when Z axis is using them. 0 volts when A Axis is configured to same pins.

Problem transfers with A Axis... i.e

normal Z setup is pin 3 = Step - pin 4 = Dir
normal A setup is pin14 = Step - pin 9 = Dir

Z axis/BOB led's are fine using either setting.. Problem with output occurs on pins 3 and 4 when A Axis is setup to use Z settings.

XYZ axes fully functional... just no output to BOB from Mach 2 using programmed, MDI or jogged motion on A Axis. A is active in ports and pins setup and shows as enabled (i.e value of 1) in .XML file. Is active in toolpath setup...

Motor/ Drive are OK ... Getting 'holding' current/voltage to A axis motor.. cant budge it when machine is on, no protest from or heating of motor. A Axis works fine when I run it on X,Y or Z output, just NOT getting any output to BOB to drive the axis from Mach2 for some unfathomable reason...

Anyone have any suggestions ?

Thanks in advance for any assistance..

Danny
__________________
What one man can do another man can do..
BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org
Reply With Quote

  #2   Ban this user!
Old 09-10-2009, 06:03 PM
 
Join Date: Jan 2006
Location: uk
Posts: 716
yohudi is on a distinguished road
Progress of sorts....

To anyone interested really...

Have made some progress on this today... I think it's a combined software / hardware problem....

For some reason the Mach 2 driver lost the ability to communicate with pins 14 and 9 on the breakout board.. this is definite at this point. I setup Mach 3 today... Mach 3 produces correct BOB response on all pins.. as indicated by LED's... Mach 2 still fails to send A axis motion to ANY of the BOB pins...

so problem solved then.... well not quite... Even though BOB seems to function correctly under Mach 3.. A Axis motor STILL will not move if driven by pins 14 and 9.. Swapping A Axis and X,Y or Z Axis motor drive inputs results in correct function of A. NONE of the other axes will drive from A Axis BOB output, even with motor settings adjusted to suit.

Voltage from all BOB outputs is 4.85 volts.. but there must be some difference with output on pins 14 and 9. Would probably need to examine BOB output using an oscilliscope to chase this further.. I don't have access to a 'scope' so this isn't going to happen. Will be easier to replace the cnc4pc BOB with something a bit more upmarket.. probably one of Bob Campbell's boards.

I originally bought 2 x cnc4pc BOB's, a charge pump and a couple of relays about 2 and 1/2 years ago.. So far 1 of the relays and both BOB's have failed. I'm not inclined to buy cnc4pc again.. Could be that I'm expecting a bit much from them for what they cost..

Can't see that BOB was damaged by harddrive crash. Controller was connected but not switched on at the time.. cnc4pc BOB was connected to printer port and would have been drawing power from USB as well... but would this have created the fault on the BOB ??? I can't say.. and to be honest I don't really care at this point.. as won't bring the BOB back to life anyway....



TTFN

Danny
__________________
What one man can do another man can do..
BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org
Reply With Quote

  #3   Ban this user!
Old 09-11-2009, 03:31 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,342
neilw20 is on a distinguished road
BIOS settings

Have you tried various BIOS setting for the printer port.
I have noticed that regardless of the setting Mach3 seems to find the port and work. Maybe Mach2 can't find it because of BIOS setting. Just a thought.
Pin 9 is data line D7 and may have different output characteristics to pin 14 (auto feed).
I suggest a look at http://en.wikipedia.org/wiki/IEEE_1284
Many other links there will help you understand the operation in more detail.
There are many reasons and configurations that may not work as expected.
If it worked before you just haven't found the problem yet.
Try SPP EPP and ECP modes.
Try the zipped file. It will show the settings.
LPTST /? will show the options.
Works best if you run it from a DOS prompt otherwise the window disappears on exit.
Attached Files
File Type: zip LPTST.zip‎ (22.2 KB, 28 views)
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #4   Ban this user!
Old 09-11-2009, 03:42 AM
LeeWay's Avatar  
Join Date: Jun 2004
Location: USA
Posts: 2,398
LeeWay is on a distinguished road

I would try using a different pin if possible other than 14. I have had trouble with both pin 14 and 17 on various BOB's in the past when using them to run my spindle. No clue why. Why not use pin 8?
__________________
Lee
Reply With Quote

  #5   Ban this user!
Old 09-11-2009, 05:04 AM
 
Join Date: Jan 2006
Location: uk
Posts: 716
yohudi is on a distinguished road
Thanks for Suggestions...

Hi there,

Many thanks for taking the time to chip in some ideas...

neilw20

Thanks for the info and the link... Printer ports will be the subject of investigation today.. I have a 2nd port card I've always meant to install to get the machine to 6 axis setup.. so I'll check the existing and new port as you suggest.

LeeWay

It's difficult to adjust any of the pin out arrangements without impacting on one of the other axes or machine functions... I have 3 relays in the box as well.. but that might be a way round it which I'll check today... relays only need switching voltage.. and I am getting voltage...

I should have this sorted out today... even if I have to break out the other BOB that failed... this never really worked properly as I remember.. but I think there will be at least 6 pins on there that do work ok.. which should let me setup the existing BOB to drive the linear axes.. and the 2nd to drive rotaries.

To be honest I was going to setup this kind of arrangement anyway.. just not right now... which is part of the problem... I've invested that much time chasing down problems that I'm falling behind with other things.. so one way or another I'm resolving it.. today...

Edit: Should have said this before.. the original controller build is fully documented with photos etc in my build log at the link below..

http://www.cnczone.com/forums/showthread.php?t=20656

Thanks again for the suggestions and info

Danny
__________________
What one man can do another man can do..
BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org

Last edited by yohudi; 09-11-2009 at 05:22 AM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-13-2009, 08:14 AM
 
Join Date: Jan 2006
Location: uk
Posts: 716
yohudi is on a distinguished road
Solution in place....

Happy to say I have a solution in place...

Mach 2 is still not driving the 4th axis under any circumstances... probably something to do with the driver. Drivertest.exe reports everything ok and runs 3 axes no problemo... but 4th axis motion is not getting to the printer port(s). I don't know why Mach 2 now fails on the 4th axis.. I don't care.. I just want a functional machine...

LPTST reported LPT1 as being in 'Standard' mode.. which matched the BIOs setting.. address of 378.. as to be expected. Change to ECP or EPP made no difference to the problem...

"Repair" involved setup of Mach 3.. change of 2nd parallel adaptor... rewiring of BOB's to account for no output on pins 1, 9 and 14 on BOB1 ... thought only 9 and 14 were affected, but testing showed pin 1 was also defective... Had to change 2nd parallel adaptor as Mach 3 didn't like the existing port.. didn't know this... Previously all 4 axes had run from BOB1. Will upgrade to a Bob Campbell designs board in the near future I think... lost confidence in the cnc4pc product at this point.

Wasn't a difficult fix.. and should have arrived at it earlier... that's what you get for working the problem.. rather than working towards the fastest solution....

Thanks again for the contributions...

Danny
__________________
What one man can do another man can do..
BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie- Configuration Mach 2 to Mach 3 cnc-mike Machines running Mach Software 4 11-05-2008 07:43 PM
Confused: Mach Turn, Mach Mill, Mach 2/3 ? CanSir Mach Software (ArtSoft software) 5 02-16-2007 04:41 AM
Mach 3 no spindle - but OK in Mach 2 zcases Mach Software (ArtSoft software) 9 07-31-2006 07:38 AM
Moving to mach 3 need exact mach 2 screen carlnpa Mach Software (ArtSoft software) 2 12-11-2005 03:00 PM
will mach 2 or mach 3 work for 4 axis cnc? Runner4404spd Mach Mill 3 10-05-2005 11:44 AM




All times are GMT -5. The time now is 07:38 AM.





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