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
  #13  
Old 05-16-2005, 11:28 AM
miljnor's Avatar
S.N.A.F.U.
 
Join Date: Jan 2005
Location: usa
Posts: 1,844
miljnor is on a distinguished road

Serial (RS232) port interface pinout and signals
9pin # 25pin# Acronym Full name Direction Mean
3 2 TxD Transmit Data —» Transmits bytes out of PC
2 3 RxD Receive Data «— Receives bytes into PC
7 4 RTS Request To Send —» RTS/CTS flow control
8 5 CTS Clear To Send «— RTS/CTS flow control
6 6 DSR Data Set Ready «— I'm ready to communicate
4 20 DTR Data Terminal Ready —» I'm ready to communicate
1 8 DCD Data Carrier Detect «— Modem connected to another
9 22 RI Ring Indicator «— Telephone line ringing
5 7 SG Signal Ground

These are the pinouts for the 9db to the 25dp which are standard for most cables.

I have used a xmodem cable to flip the 2 and 3 pin to straight thru with no success.
although the pinouts for the cable wayne hill listed are different than these.

Did you make a cable Wayne?

the book says you only need pins 2,3 and 7 for xmodem trans. and This is what I prefer.

The cable is about 25ft.
The cable from the hass to hass is the same cable with xmodem in line. for the 2,3 pin swap.
__________________
thanks
Michael T.
"If you don't stand for something, chances are, you'll fall for anything!"
Reply With Quote

  #14   Ban this user!
Old 05-16-2005, 01:11 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050516-1256 EST USA

miljnor:

Your cable will not work. You are connecting outputs to outputs and inputs to inputs. Your are probably in luck that normal RS232 circuits are designed with internal current limiting, for a 1488 type about 10 ma limit.

Do you really have XMODEM capability at the PC and is it the same flavor as HAAS uses?

Your best starting point is to use XON/XOFF handshake, and the following wiring.

Pin 2 to 2, 3 to 3, 7 on HAAS to 5 on PC, connect 4 to 5 at HAAS, connect 7 to 8 at PC.

Use exactly the same parameter settings at both ends, and use XO/XOFF.

The cable connector at HAAS is male and female at PC.

To use RTS/CTS (hardware handshake) connect 4 at HAAS to 8 at PC, and 5 at HAAS to 7 at PC. This is what WayneHill showed you in his schematic.

.
Reply With Quote

  #15   Ban this user!
Old 05-16-2005, 04:56 PM
WayneHill's Avatar  
Join Date: Mar 2004
Location: Michigan
Posts: 777
WayneHill is on a distinguished road

Originally Posted by miljnor
... Did you make a cable Wayne? ...
Yes. I have four HAAS mini mills wired up and working fine with this cable wiring.
__________________
Wayne Hill
www.codemangler.com
Reply With Quote

Sponsored Links
  #16  
Old 05-16-2005, 10:18 PM
miljnor's Avatar
S.N.A.F.U.
 
Join Date: Jan 2005
Location: usa
Posts: 1,844
miljnor is on a distinguished road

Originally Posted by gar
050516-1256 EST USA

miljnor:
Your best starting point is to use XON/XOFF handshake, and the following wiring.

Pin 2 to 2, 3 to 3, 7 on HAAS to 5 on PC, connect 4 to 5 at HAAS, connect 7 to 8 at PC.

Use exactly the same parameter settings at both ends, and use XO/XOFF.

The cable connector at HAAS is male and female at PC.

To use RTS/CTS (hardware handshake) connect 4 at HAAS to 8 at PC, and 5 at HAAS to 7 at PC. This is what WayneHill showed you in his schematic.

.
This works! thanks for all of the help. you would think a commercial 9dp to 25db connector would have the wiring right. :frown:


but thanks to your alls help we are up and running!
__________________
thanks
Michael T.
"If you don't stand for something, chances are, you'll fall for anything!"
Reply With Quote

  #17   Ban this user!
Old 06-02-2005, 09:14 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050602-0913 EST USA

miljnor:

Now that everything is working what parameters and handshake are you using?

.
Reply With Quote

  #18  
Old 06-02-2005, 10:00 AM
miljnor's Avatar
S.N.A.F.U.
 
Join Date: Jan 2005
Location: usa
Posts: 1,844
miljnor is on a distinguished road

xon/xoff, Pin 2 to 2, 3 to 3, 7 on HAAS to 5 on PC, connect 4 to 5 at HAAS, connect 7 to 8 at PC.

7 bits, 2 stop, parity - none currently 19200 baud but some of the machines can go as high as 38k baud do to some wiring diffences we keep them all the same at 19200. which is ok because we don't do DNC just download or upload. and the biggest file transferr takes less than 1.5min.
__________________
thanks
Michael T.
"If you don't stand for something, chances are, you'll fall for anything!"
Reply With Quote

  #19   Ban this user!
Old 06-02-2005, 12:20 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050602-1220 EST USA

miljnor:

I suggest that you use 1 stop bit because this reduces your transfer time about 10%. If you transmit with 1 stop bit, then the receiver must be set at 1 stop bit. You can transmit with 2 stop bits or more and receive with 1 stop bit. This is because the stop bit is at the end of the asynchronous transimitted word and is the same as the idle state of the transmit line.

You should use EVEN ( alternatively ODD, but most users use EVEN ) parity because this will detect any odd number of bit errors in the asynchronous transmitted word. A transmitted word is roughly 10 bits long. Length depends upon your parameters. On a HAAS machine a parity error causes a halt and indicates a parity error.

However, when you use parity ( even or odd ) instead of no parity then you add a bit into the transmitted word.

Thus, if you reduce stop bits to 1 and use parity, then your thruput will be the same as 2 stop bits and no parity.

Even though your files are not too large you should use as high a baud rate as your CNC will receive. This reduces transfer time. HAAS machines after about 1998 can operate at 115.2 kbaud. Overall we can transfer about 600,000 bytes per minute at this rate.

If you ran at 115.2 vs 19.2 you could transfer your 1.5 minute file in 15 seconds.

We have a product that allows 115.2 kbaud up to 4000 ft and peak isolation of 2000 v. You can visit our site www.beta-a2.com for more information.

.
Reply With Quote

  #20   Ban this user!
Old 06-09-2005, 09:23 PM
 
Join Date: Feb 2005
Location: USA
Posts: 6
SLOWJOE is on a distinguished road

I have read this topic and was nervous about hooking up my new haas machine to the computer for communication. So after reading everything posted I decided to call betatronics to see what he was selling and for some advise on setting up my machine and computer. After talking to Gordon (gar) the owner on Monday I decided to go with his product I232. It was sent out and I recieved it in the mail Wednesday and installed in less then 2 hours (most of that time was running the cable) and I was up in running with no problems. I can now run at 115.2 baud for super fast downloads with the benifets of the isolaters. The price for me to do this was priced very reasonable. I am not here to make a sales pitch for Gordon I am just a happy customer that got what he was sold. So if you need help give Gordon a call I am sure he can help. One more thing Gordon didnt even charge me till I told him that everything was working.

Last edited by SLOWJOE; 06-10-2005 at 03:51 PM.
Reply With Quote

Sponsored Links
  #21   Ban this user!
Old 06-14-2005, 01:47 PM
deanrach's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 75
deanrach is on a distinguished road

Have you solved your problem yet?
Reply With Quote

  #22   Ban this user!
Old 06-15-2005, 10:02 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050615-0956 EST USA

deanrach:

If your question was addressed to miljnor, then the result was:

miljnor apparently originally had a cable that connected output to output and input to input. This was a commerical cable. After he corrected his cable, then he reported that everything was working.

.
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
CNC Glossary CNCadmin CNCzone Club House 17 03-09-2008 03:08 PM
My First CNC Machine, Mr. Chips Mr.Chips DIY-CNC Router Table Machines 81 02-10-2007 09:04 AM
Confused about CNC software samualt General CAM Discussion 22 06-30-2005 08:18 PM
Heads Up - Article about building CNC Milling Machine samualt CNCzone Club House 3 06-13-2005 02:43 PM
FeatureCAM Expands Product Offering with Machine Simulation CNCadmin Product Announcements & Manufacturer News 0 01-21-2005 06:58 PM




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