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 08-18-2009, 01:51 PM
 
Join Date: Apr 2008
Location: USA
Posts: 33
woody8750 is on a distinguished road
Need Help Config M3-M5 Camands

I am trying to set up my spindle start stop relay and have been unsuccessful in getting an output from Mach. I have the output #1 enabled on port #1 with pin number 14 assigned, under the Output Signals Tab. Under the Spindle Setup tab I have output #1 assigned to the M3, clockwise comand. What am I missing? I am getting no signal out of the computer. I have assigned different pins and nothing seems to help.
Reply With Quote

  #2   Ban this user!
Old 08-19-2009, 03:39 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

What is tied to pin 14 ? You setup sounds right but what are you measuring to see the output? Scope, meter, something else? If output1 flashes on the Diagnostics screen when you do an M03 at the MDI window then everything is mapped at least to the proper output BUT you have to get that output to the right port and pin. Parallel port direct won't drive spit and may need a pullup from the outside to use it for low going outputs.

TOM Caudle
www.CandCNC.com
Reply With Quote

  #3   Ban this user!
Old 08-19-2009, 06:22 PM
 
Join Date: Apr 2008
Location: USA
Posts: 33
woody8750 is on a distinguished road
Lost in Mach3

I am feeding a breakout board (cnc4pc) with the parallel cable. This breakout board feeds through, and I have volt meter hooked up to 14 and one of the commons on the exit plug. Output on breakout board is connected to a relay board. Also, I think I should be able to see pin 14 light up on the Diagnostics screen when output one comes on? I've also tried the simple commands like turning on the coolant and mist, and am also unable to get anything to the pins. The only thing left that I can come up with on this problem is to uninstall Mach3 and re-install? Possibly something was messed up in the download or install?

Last edited by woody8750; 08-20-2009 at 08:34 AM.
Reply With Quote

  #4   Ban this user!
Old 08-19-2009, 07:16 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

HUH? Serial? Pin 14 is a parallel cable. Unless there is custom software (plug-in's) involved you can't make an output remap through a serial port to something else.

You can reload MACH as many times as will make you happy but it won't fix this issue.

You need to get deeper into the CNC4PC docs and figure out what is supposed to be connected to what. In most BOB's that have outputs you connect them to Port 1 parallel port and the ouputs are turned one with specific port- pin combinations. There are only 4 outputs open on a port that is used for motor S & D (port 1). Those are Pin 1, pin 14, pin 16 and pin 17. 17 is most often used for Charge Pump. That leaves three. You BOB documentaion should tell you which of the above pins are connected where on the BOB. The board should have status LED's to show you what is turning on/off. If there are on-board relays they should have status LED's to show when they go active.

Only inputs show up on the Diagnostics screen as INPUTS. The outputs show up as flashing red LEDS but it is not monitoring the actual port pin. Only the RAW PORT BITS show you the actual pin status and they are INPUTS ONLY.

Perhaps this might progress faster if you tell us what exactly you are trying to do and what pieces you are using and how.

TOM Caudle
www.CandCNC.com
Reply With Quote

  #5   Ban this user!
Old 08-19-2009, 07:21 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,342
neilw20 is on a distinguished road
Installing again won't help.

1. You have to assign out put pins.
2. You need to specify on the ports and pins - spindle that you you will use relay(s). Not PWM.
It will work once you tick the right boxes, ands get the active high/lows right.

M3 forward - Output 1. M4 Reverse - Output 2. M5 both off.
F5 key should toggle on/off once all is well.
__________________
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

Sponsored Links
  #6   Ban this user!
Old 08-20-2009, 08:57 AM
 
Join Date: Apr 2008
Location: USA
Posts: 33
woody8750 is on a distinguished road

I've attached two sceens that show the last tried settings that did not give me an output. I will try to get a picture of the breakout board and relay board along with some specifics later today. It stiil appears to me though the problem is in the Mach settings, since I get no voltage out on pin #14, and all of my drives are working. I did replace the parallel cable with a new cable and made no differance. I've also tried switching the active high/low and had no success.
Attached Thumbnails
Click image for larger version

Name:	PORTS& PINS.jpg‎
Views:	47
Size:	23.9 KB
ID:	86958   Click image for larger version

Name:	SPINDLE SET-UP.jpg‎
Views:	46
Size:	28.7 KB
ID:	86959  
Reply With Quote

  #7   Ban this user!
Old 08-20-2009, 09:54 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,342
neilw20 is on a distinguished road
Bios Settings.

Have a look at the Bios Settings.
I just did some fiddling, and found that the output pin was very slow to respond to Mach3, I think because BIOS setting for LPT is not correct.
It would appear that you need a pullup on the output.
It is acting like open collector. I did not try it with a resistor or load, but I'm fairly sure that is the problem.
Could also be mucked up by having E-S enabled, but not correct input signal.
Use the diagnostics screen and and spindle toggle button to make the output follow your button hits. Mine delayed by about 10 seconds like you would expect high impedance floating output.
M3 and M5 should work from command line when all is well.
Make sure some of your input switch lines work, to ensure that the driver is actually communicating with the (correct) port.
__________________
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

  #8  
Old 08-20-2009, 10:08 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,463
ger21 is on a distinguished road
Buy me a Beer?

Do the motors move, and just the outputs don't work?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #9   Ban this user!
Old 08-20-2009, 11:29 AM
 
Join Date: Apr 2008
Location: USA
Posts: 33
woody8750 is on a distinguished road

Yes, the motors (4) all move and function properly as do my travel limit inputs. I just cant seem to get an output signal. When I use the diagnostics screen and spindle toggle button to make #1 output turn on it does respond and function on the screen as I think it should. However I don't get an output on pin 14 using a volt meter nor does it show up on the diagnostics screen pin indicators.
Reply With Quote

  #10   Ban this user!
Old 08-20-2009, 11:34 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,342
neilw20 is on a distinguished road
Try ohms

Try using the multimeter on resistance range -- say about 10K
Black to ground, red to pin 14.
If it is open collector type problem, you should see a change.
The diagnostics screen indicator should toggle as you turn spindle control on/off.

Maybe try a different pin, say 17, in case you have a dud output.
__________________
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

Sponsored Links
  #11  
Old 08-20-2009, 12:35 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,463
ger21 is on a distinguished road
Buy me a Beer?

Check the cable, too.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #12   Ban this user!
Old 08-30-2009, 08:33 AM
 
Join Date: Apr 2008
Location: USA
Posts: 33
woody8750 is on a distinguished road
Unhappy

I've disconnected the breakout board from the system and found that I now have a good signal coming out of Mach3 to the parallel port. I have now been trying to work with the breakout board manufacturer to resolve the issues with their board.
Reply With Quote

Reply

Tags
spindle start m3 relay




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
rs-232 pinout config Michael82 Fanuc 5 02-04-2012 07:08 PM
Need Help!- CONFIG ISSUES CNC_BOB Mastercam 2 10-30-2008 01:05 PM
How do you backup your config. CATCH22 Mach Mill 5 12-20-2007 09:13 PM
Config Mastercam X Capt Crunch Mastercam 16 01-21-2007 08:58 AM
Mach 3 config?? HELP ty1295 Servo Drives 3 02-20-2006 12:20 PM




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