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 04-09-2006, 10:55 AM
mikeh78's Avatar  
Join Date: Apr 2006
Location: MN,USA
Age: 33
Posts: 99
mikeh78 is on a distinguished road
Rs232 Wiring Diagram?

does anyone here have the rs232 wiring diagram for a Minimill. I will be recieving my 2002 minimill this Friday and would like to have the cable made by then. The cable will be 9 pin on pc side and 25 pin on minimill side I believe. any help would be greatly apprieciated.
thanks
Mike
Reply With Quote

  #2   Ban this user!
Old 04-09-2006, 11:31 AM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

Here's a cable that works with ass Haas, Fanuc, Yasnac, Mitsubishi, etc.:

CNC side (25-pin male) ----- PC side (9-pin female)
pin 1 ---- cable shield
pin 2 -------------------------- pin 2
pin 3 -------------------------- pin 3
pin 5 -------------------------- pin 7
pin 7 -------------------------- pin 5
pins 6 & 8 --------------------- pin 4


If your cable only has 4 wires, you can also do this:
CNC side (25-pin male) ----- PC side (9-pin female)
pin 1 ---- cable shield
pin 2 -------------------------- pin 2
pin 3 -------------------------- pin 3
pin 5 -------------------------- pin 7
pin 7 -------------------------- pin 5
pin 6 ---
pin 8 --- <-- jumper these 3 together on CNC side only
pin 20 --
Reply With Quote

  #3   Ban this user!
Old 04-09-2006, 11:39 AM
mikeh78's Avatar  
Join Date: Apr 2006
Location: MN,USA
Age: 33
Posts: 99
mikeh78 is on a distinguished road

what type of wire works best. I have cat5 around here somewhere. also Pin1 to cable shield what is the cable shield? Sorry I have almost no experience with rs232.
Reply With Quote

  #4   Ban this user!
Old 04-09-2006, 11:48 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

060409-1110 EST USA

mikeh78:

Assuming that HAAS has not changed the wiring, then it is simple, and you need to decide if you want hardware or software handshake.

At the HAAS 25 pin end you need a male connector. And at the PC 9 pin end a female. At the HAAS end you can ignore pins 6, 8, and 20 because internally HAAS only jumpers these together. If you wanted to use this same cable on Fanuc, then you would need to jumper 6, 8, and 20 together, but not to anything else.

For software handshake:

At HAAS jumper 4 and 5 together, but to nothing else. This should not be necessary, but just in case you have problems and talk to someone at HAAS you can say 4 and 5 are jumpered.

At the PC 9 pin jumper pins 7 and 8. May not be necessary, but some software might require this.

Between HAAS and the PC connect pin 2 to 2, and pin 3 to 3, and HAAS pin 7 to PC pin 5. These are the data lines with 7 to 5 being common (ground). Pin 2 at HAAS is TxD, and 3 is Rxd.

Your cable capacitance which is determined by the cable and its length will determine your maximum baud rate up to the HAAS limit of 115.2 kbaud.


For hardware hand shake:

Same as software except remove jumper between between HAAS pin 4 and 5, and PC pin 7 and 8.
Connect HAAS pin 4 to PC pin 8, this is CNC RTS to PC CTS.
Connect PC pin 7 to HAAS pin 5, this is PC RTS to CNC CTS.


See my web site www.beta-a2.com for a discussion on isolation, noise, and ground paths. Also a wiring diagram for our E232 to HAAS is shown on the E232 PHOTO page. But be warned this is not the wiring to a PC. For PC wiring you have to interchange pins 2 and 3, and pins 7 and 8 at the PC end, and understand that the PC end connector is female instead of male.

.
Reply With Quote

  #5   Ban this user!
Old 04-09-2006, 11:58 AM
mikeh78's Avatar  
Join Date: Apr 2006
Location: MN,USA
Age: 33
Posts: 99
mikeh78 is on a distinguished road

what is the difference between software & hardware hand shake?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-09-2006, 12:08 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

060409-1151 EST USA

mikeh78:

Cat 5 is good low capacitance cable, means longer cable length for a given baud rate. Also the staggered twist pitch reduces cross magnetic coupling between transmit and receive.

At the HAAS end pin 1 connects to the machine chassis, the common lead of the PC power supply in HAAS, and the common to the serial UART. Pin 7 connects to pin 1 thru a 100 ohm resistor.

Pin 1 will be labeled shield ground, and pin 7 signal ground.

At your PC end pin 5 is connected to the PC chassis.

I will not argue for or against shielding on your CAT 5 cable. It is important that you use one twisted pair for pins 2 and 7 at HAAS and one of the other twisted pairs for pins 3 and 7 at HAAS. The two wires to pin 7 should be connected together at the PC to pin 5. I will suggest orange to HAAS pin 2 and thus orange/white to pin 7, and green to pin 3, and thus green/white to pin 7.

If you do not use a shield then probably connect HAAS pin 1 to 7. However, to minimize ground loop noise problems or electrical faults our I232 System can be of great value.

.


.
Reply With Quote

  #7   Ban this user!
Old 04-09-2006, 12:11 PM
WayneHill's Avatar  
Join Date: Mar 2004
Location: Michigan
Posts: 777
WayneHill is on a distinguished road

Cat 5e cable has more twists per foot than standard Cat 5. Cat 5e is a better cable for ethernet. However stranded wire cable would be a better choice if the cable is going to be moved around alot. Solid wire, like in ethernet cable, tends to break from being moved around.

This is the wiring I used on the Haas Mini mills.


The cable connector for Haas Mills

PC DB9 .............Haas Mill DB25
--------------------------------

2---------------------2
3---------------------3
8---------------------4
7---------------------5
5----------|----------7
................|----------1

1-4-6 ................6-8-20

-------------------------------
__________________
Wayne Hill
www.codemangler.com
Reply With Quote

  #8   Ban this user!
Old 04-09-2006, 12:12 PM
mikeh78's Avatar  
Join Date: Apr 2006
Location: MN,USA
Age: 33
Posts: 99
mikeh78 is on a distinguished road

GAR what is the cost of your system? for the mini mill.
Reply With Quote

  #9   Ban this user!
Old 04-09-2006, 12:26 PM
WayneHill's Avatar  
Join Date: Mar 2004
Location: Michigan
Posts: 777
WayneHill is on a distinguished road

Hi Gordon,

Betatronics®
Ann Arbor, MIchigan

Hi neighbor - I live in Jackson. near I-94 and 127.
__________________
Wayne Hill
www.codemangler.com
Reply With Quote

  #10   Ban this user!
Old 04-09-2006, 12:30 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

I do not recommend that you use CAT5 or CAT5e cable. These are UTP, or "Unshielded Twisted Pair" cables, and RS232 requires a shielded cable. The reason for this is simple:

RS232 signals are transmitted on one wire, and the voltage of that wire relative to "ground" is read by the receiving device. If there is noise on either the ground wire or the signal wire, you will get corrupted data.

Ethernet or RS422 signals are different. They use "differential" signals, where there are TWO wires for each signal. The only valid signal happens when one wire goes "high" and the other wire goes "low". A noise spike on the cable will place an identical spike on both wires, which is ignored by the receiving device. These type of signals are best transmited by twisted pairs, and the shield is not really needed.

The best wire we've found for RS232 is a low-capacitance double-shielded cable. You can buy 7 wire cable from Black Box Corporation at www.blackbox.com Look for the cable EMN-07A. You can get 500, 1000, or 2000 foot spools, or you can get custom lengths. The cable averages about $0.39 per foot.

A good generic wire would be 22 or 24 gauge stranded wire, with an overall foil or braided shield. Low-cap wire is good up to 500 feet, and generic wire is good up to about 100 feet.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-09-2006, 12:39 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

060409-1216 EST USA

mikeh78:

Handshaking is a means to modulate the data flow from a sender to receiver to prevent buffer overflow.

It is possible to set handshake to none, but that is generally risky.

Hardware handshake a physical wire (signal path) separate from the data lines to signal when it is ok or not ok for the sender to send data. Requires 5 wires. The send or stop state is determined by the voltage level on the handshake line. So this would be defined as level sensitive. The hardware handshake could have been done as an edge triggered signal, but is not.

Software handshake uses the same serial communication lines as the data uses with two special control codes to signal stop (XOFF) and start (XON). These can best be described as edge triggering signals. This requires 3 wires.

Our I232 System provides electrical isolation to approximately 2000 volts at each end of the system, maximum baud rate of 115.2 kbaud, and at 4000 ft of interconnect cable. The electrical isolation eliminates ground loop noise common to HAAS machines with brushless servos. In the simplest form the I232 must operate in a software handshake mode. Higher cost to do hardware handshake. Also the I232 can be provided without bandwidth limiting for higher baud rates.

The I232 System is typically $200 plus interconnect cable, and shipping.

.
Reply With Quote

  #12   Ban this user!
Old 04-09-2006, 01:20 PM
mikeh78's Avatar  
Join Date: Apr 2006
Location: MN,USA
Age: 33
Posts: 99
mikeh78 is on a distinguished road

Gar I am interested in your product. Could you send me a quote on the I232 system? I need to go about 30 feet max from pc to machine. Shipping zip code is 55329.
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





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