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! > MetalWorking Machines > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-30-2007, 05:10 PM
 
Join Date: Oct 2006
Location: USA
Posts: 13
john_mccarron is on a distinguished road
Communication Cable

Hey folks. I'm sure that this question has been answered in the past, but I can't find it. Have any of you hooked up a regular Parellel port or Printer cable from your computer to send programs to the controller? Basically, I have the lite version of Cimco Edit and I'm looking to send the code I just wrote straight from my computer to the machine. I don't have a floppy drive on the machine that I'm using now, so I'm trying to send it straight from my laptop.

One thing that I have noticed in the Cimco setup: it only allows me to use Com1 or Com 2, but the back of the Haas (VF-3) has a connection for a Printer cable which is normally LPT 1. Any info would be greatly appreciated.

Thanks
-John
Reply With Quote

  #2  
Old 03-30-2007, 05:24 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?

Are you sure its not a 25 pin RS232 socket? Early PC serial ports were 25 pin D and the CNC side has sort of stuck to it.
http://www.cadem.com/dnc/dnc-details.../haas-mill.pdf
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 03-30-2007, 06:32 PM
GaryCorlew's Avatar  
Join Date: Jan 2006
Location: Usa
Age: 55
Posts: 347
GaryCorlew is on a distinguished road

It will be rs232 you will also need a cable that is wired straight through. I got mine here: http://www.blackbox.com/Catalog/Deta...85,790&mid=451 also keep in mind the shorter the cable the faster you can transfer. I use it a lot especially for drip feeding. The machine and the computer will have to be setup the same in the parameters, I would start out at 9600 just to make sure it works then you can increase the speed after.
Reply With Quote

  #4   Ban this user!
Old 03-30-2007, 07:07 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070330-1850 EST USA

John:

I assume you have a HAAS machine. If the 25 pin connector on the HAAS is female, and mounted on the side of the control panel on the hinge side, then this is an RS232 serial connector. There should be two. Only one is used for program and data transfer. The second one is for connection to a rotary head.

Normally you do not do RS232 communication thru the parallel port on your computer. This would require special hardware and software.

Com 1 and Com 2 refer to serial ports on your computer, if they exist. LPT 1 and so on would refer to parallel ports. Cimco only has drivers in their software for serial ports. As I said you would have to do something special to use a parallel port. Apparently you have a laptop without a serial port, but do have a parallel port. Are you running under DOS or Windows? Almost certainly Windows because you referred to Cimco.

Can you buy or find an old computer with a serial port? Why do you want to use a laptop? What version of Windows are you using?

Probably you should avoid USB to RS232 adapters. Too many reports of failure to work.

.
Reply With Quote

  #5   Ban this user!
Old 03-30-2007, 08:21 PM
 
Join Date: Oct 2006
Location: USA
Posts: 13
john_mccarron is on a distinguished road

Originally Posted by gar View Post
070330-1850 EST USA

John:

I assume you have a HAAS machine. If the 25 pin connector on the HAAS is female, and mounted on the side of the control panel on the hinge side, then this is an RS232 serial connector. There should be two. Only one is used for program and data transfer. The second one is for connection to a rotary head.

Normally you do not do RS232 communication thru the parallel port on your computer. This would require special hardware and software.

Com 1 and Com 2 refer to serial ports on your computer, if they exist. LPT 1 and so on would refer to parallel ports. Cimco only has drivers in their software for serial ports. As I said you would have to do something special to use a parallel port. Apparently you have a laptop without a serial port, but do have a parallel port. Are you running under DOS or Windows? Almost certainly Windows because you referred to Cimco.

Can you buy or find an old computer with a serial port? Why do you want to use a laptop? What version of Windows are you using?

Probably you should avoid USB to RS232 adapters. Too many reports of failure to work.

.
Actually, my laptop does have serial ports in the back (at least I think that's what they are). We're talking about the 9 pin male connector right? Cuz that's what I've got. On the Haas machine I have what looks like a printer cable connection. It's not on the actual swivel part with the controls/screen. It's in the back where all of the other stuff hooks up like the 4th/5th axis etc.... I guess com1 and com2 refer to the 9 pin serial ports right? Any suggestions?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-30-2007, 09:00 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070330-2048 EST USA

The location you describe on the rear electrical enclosure is correct for the HAAS RS232 connectors. Usually the upper connector is the program and data communication connector.

See my web site www.beta-a2.com and pages I232 Photos and E232 Photos and you will see our connection to the RS232 port on HAAS.

The 9 pin male on your computer is the serial port. COM1 and COM2 are names for serial ports probably originating with the first IBM PC.

If you have a voltmeter then you can do some troubleshooting of the RS232 channel. See the discussion on my E232 page,

,
Reply With Quote

  #7   Ban this user!
Old 03-31-2007, 09:12 AM
 
Join Date: Sep 2004
Location: Switzerland
Posts: 262
chmillman is on a distinguished road

I'm certain the ports on the HAAS are RS232 (25 pin). You can get 9 Pin to 25 pin cables for connecting PC's with 9 pin com ports to other equipment like the HAAS that have 25 pin ports. Get a decent quality cable and keep it as short as possible. You need a Null Modem (straight-through) cable, not a crossover.

You can find some longer ones here:
http://www.dncsoftware.com/secure/cablestore.html
http://www.dncsoftware.com/quickquide/index.html

Or try your local electronics supplier.

--ch
Reply With Quote

  #8   Ban this user!
Old 03-31-2007, 11:15 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070331-1029 EST USA

John:

Cimco Edit will display the COM ports that Microsoft knows about at the time of boot (power on of the computer). But if I add ports (obviously the RS232 expansion board is already in the computer), activate the port, then Cimco may not know about the new port until power off and on.

That Cimco saw COM 1 and COM 2 probably means that these are the two ports you mentioned on the rear.

If you have a voltmeter connect one lead to the computer chassis, one of the studs on the RS232 connector will do. With nothing else connected to the RS232 connector connect the other voltmeter lead to pin 3 (TxD) of the 9 pin connector. At rest this should be somewhere between -5 and -12 V. Except on some laptops the RS232 hardware is de-energized at rest. So in this case the value would be near zero. When data is being transmitted this voltage will typically fluctuate in the range of +/- 1 V. Pin 2 (RxD) will be near zero V and will not fluctuate during transmission. This should allow you to identify COM1. You would need to have Cimco setup for software handshake with RTS/CTS disabled to run the above test.

.
Reply With Quote

  #9   Ban this user!
Old 04-01-2007, 08:59 AM
 
Join Date: Oct 2006
Location: USA
Posts: 13
john_mccarron is on a distinguished road

Thanks guys. So last night I was looking at a 25' AT Serial/Modem Cable. It's a nine pin female on one end and a 25 pin male on the other. Physically this cable will hook up correctly. Should this work?
Reply With Quote

  #10   Ban this user!
Old 04-01-2007, 11:55 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070401-1150 EST USA

john:

If the wiring is as I previously described, then it should work. Get a test light or ohmmeter and check continuity.

Or just connect the cable and see if it works.

Try sending from CNC to computer first.

.
Reply With Quote

Sponsored Links
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
Mazatrol T-Plus RS-232 communication kroner1 Mazak, Mitsubishi, Mazatrol 11 01-06-2012 09:05 AM
PC<->NC communication loky Mazak, Mitsubishi, Mazatrol 1 03-27-2007 03:44 AM
0mb to PC I/O cable and communication trouble goodplastics Fanuc 0 03-06-2007 02:12 AM
lost communication Alex S.A CNC Plasma and Waterjet Machines 4 10-12-2006 12:57 PM
Communication Problem Alex S.A Computers and Networking 2 01-28-2005 09:38 AM




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