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 Lathes


Haas Lathes Discuss Haas lathe here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-11-2005, 01:21 AM
 
Join Date: Oct 2005
Location: US
Posts: 9
allen_d is on a distinguished road
communication HL-2 lathe

I am a first year teacher and seem to have a.... LARGE problem. My shop is equipped with a HAAS HL-2 lathe. Since setting foot in the shop nearly two months ago, the students and I have made every attempt to send files to the lathe with no luck. The previous instructor had no problems with the machine.

We have used different computers.
We have tested the communication cable.
We have the settings on the sending computer matching the lathe.


we prepare the lathe to receive,,,, send the file.... the lathe screen maintains a "waiting" command on the bottom of the screen.

please submit any questions, suggestions, or otherwise. To hire someone to come and diagnose it is at least $1k..... because of our loacation. I am willing to try nearly anything...

THANKS!

Last edited by allen_d; 10-13-2005 at 10:14 PM.
Reply With Quote

  #2  
Old 10-11-2005, 01:37 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

You wouldn't be using the computer printer port as a comm port, would you?

Has the machine ever had a service technician working on it between the time the previous instructor was on the scene, before you arrived? Has anyone fiddled with the parameter settings? I did have comm trouble on my Haas mill, but this occurred after a major upgrade, including some new circuit boards, and there was a particular parameter setting that was not in the regular comm setting area, that had to be altered. I would not think this necessary in your machine's case, unless a major service had occurred.
__________________
First you get good, then you get fast. Then grouchiness sets in.

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

  #3   Ban this user!
Old 10-11-2005, 01:58 AM
 
Join Date: Oct 2005
Location: US
Posts: 9
allen_d is on a distinguished road

The machine was not touched over the summer. I have had several students who ran the machine day in and out try to communicate to the lathe. We are using the correct port. We have tried other working computers. No luck. I will look over all the parameters once again.... in a few hours when i wake up.
Reply With Quote

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

051011-0758 EST USA

allen d:

First go to my web site www.beta-a2.com then pick the E232 PHOTOS page and find the connector wiring diagram and troubleshooting area. The wiring diagram is correct for the HAAS side, but to connect to a 9 pin PC connector certain connections at the 9 pin end need to be interchanged. See the written comments for this information.

To troubleshoot your problem start by determining if the HAAS is sending data out.

Set your parameters to 7 data bits, Even parity, XON/XOFF handshake (HAAS calls it synchronization), and 1 stop bit. For now use 9600 baud.

There are two RS232 connectors on the cabinet side. Normally the top connector is COM1 (COM1 is my terminology for the serial data communication channel. The other connector COM2 is for a rotary table.)

Connect a voltmeter (I prefer a Simpson 260, 270 or equivalent, but a digital can be used preferably set on a fixed range.) black lead (common, -) to pin 7 of the HAAS 25 pin connector. Pin 7 is signal ground (I prefer the word common instead of ground unless we are talking about earth ground. A common may be connected to earth ground, but it is not necessarily connected.)

Pin 2 is the TxD output from the HAAS connector. Connect the red wire (+) here. With no data being sent the meter reading should be about -10 v.

Pick any program in the HAAS, preferably 10k bytes or more, and send it (ALL is a good choice). The meter reading should float around +/-1 v.

If the voltage stays around the -10, then this connector has no data being sent out. In that case check the output from the other connector.

Pins 6, 8, 20 are "do not care" for HAAS. Internally in HAAS these are connected together but go nowhere else.

Pins 4 and 5 are RTS and CTS handshake lines but CTS is not tested by HAAS in the XON/XOFF mode, contrary to what a HAAS tech told me one day.

If neither connector shows data output on pin 2 relative to pin 7, then there is an internal problem in HAAS.

Just to make sure that your machine is not different jumper pin 4 to 5 and test for data transfer again. Note pin 4 (RTS) should be high (logic 1, +10 v). Note the data lines TxD, RxD employ negative logic (meaning a logic 0 is +10v v, and logic 1 is -10v).

With pin 4 connected to pin 5 you can change HAAS to hardware handshake (RTS/CTS) and again try sending.

I have had one customer that had RS232 hang because of a thermal problem in the RS232 area. Opening the cabinet door and using an external fan corrected the problem.

If you can determine that HAAS is sending data, then the next step is to get the PC to receive this data.

Also when the HAAS is not transmitting do a short circuit current test on TxD. This should be about 10 ma.

.

Last edited by gar; 10-11-2005 at 10:22 AM.
Reply With Quote

  #5   Ban this user!
Old 10-11-2005, 11:52 AM
WayneHill's Avatar  
Join Date: Mar 2004
Location: Michigan
Posts: 777
WayneHill is on a distinguished road

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

-------------------------------
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-11-2005, 12:04 PM
WayneHill's Avatar  
Join Date: Mar 2004
Location: Michigan
Posts: 777
WayneHill is on a distinguished road

GAR,

That wiring diagram is misleading. The common wiring has the pins 2 & 3 and 7 & 8 turned around.
Reply With Quote

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

051011-1745 EST USA

WayneHill:

My circuit diagram is not intended for PC to HAAS connection, but for our E232 to HAAS connection.

This I stated in my previous post, and I indicated that for connection to a PC that following the diagram I verbally described the wires to be interchanged at the PC 9 pin connector.

.
Reply With Quote

  #8   Ban this user!
Old 10-11-2005, 09:22 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

051011-2111 EST USA

allen_d:

The reason to try to receive data from HAAS as the first troubleshooting step is because this is the easiest way to determine that parameters are working correctly and at least some of the common chips are at least partially working. Also it is easier to use different devices to detect if data is being transmitted.

Once you know for sure which connector is the correct one of the two and that HAAS can send data, then you turn around your viewpoint and check that your source is sending data.

After you know you have serial data at HAAS coming from the computer and HAAS is still not receiving, then you have a much narrower area to look for the problem.

.
Reply With Quote

  #9   Ban this user!
Old 10-11-2005, 09:35 PM
 
Join Date: Oct 2005
Location: US
Posts: 9
allen_d is on a distinguished road

Pin 2 is the TxD output from the HAAS connector. Connect the red wire (+) here. With no data being sent the meter reading should be about -10 v.
The voltage was -3.36v.


Pick any program in the HAAS, preferably 10k bytes or more, and send it (ALL is a good choice). The meter reading should float around +/-1 v.
The voltage dropped to ~ -2v.


These were the only test i managed to perform today. I had problems uploading programs from a floppy.... (none were on the machine....) Is the fact that i have a voltage of -3.36 and indicator that i have a communication problem within the lathe?

I have considered getting a serial port tester... and understand radioshack carries one. Is that necessary?

THANKS for your guys help. This has been very stressful.
Reply With Quote

  #10   Ban this user!
Old 10-12-2005, 07:24 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

051012-0622 EST USA

allen_d:

It appears you have a problem within HAAS.

The RadioShack tester will not provide information as good as the meter because it is not quantitive. But it does provide simultaneous information on all channels.

You may have a power supply problem since you also had floppy problems.

I want to restate the voltage measurement tests to make sure you are doing what I expect.

Use a DC voltmeter, and DC milliampere meter. A Simpson 260 is both and also an AC meter. The Simpson 260 in AC position will read a DC voltage but the calibration will be incorrect. A typical Fluke meter removes the DC component when in AC position.

The voltage measurement from TxD on the HAAS is from pin 2 (TxD) to pin 7 (signal common --- this is thru a 100 ohm resistor to power supply common), also try this measurement from pin 2 to pin 1 (shield --- this is directly tied to the +/-12 vdc power supply common and to the machine frame).

With nothing connected into the HAAS RS232 connector except the meter the voltage should be about -10 v. -3.36 is grossly incorrect. This is only 0.36 v above the voltage threshold defined in the RS232 spec for a logic 1 signal. Put your meter in MA mode and measure the short circuit current from pin 2 to 7. Should be about 10 ma.

Since your reading when data is being sent is only about -2 volts this implies no +12 supply. Basically the RS232 driver chip, typically a 1488, is supplied by a +/-12 v supply and when it is switched between a logic 1 and 0 the output should change from about +10 to -10 v.

The test from pin 1 to 2 may tell us more.

In the HAAS control is a Low Voltage Power Supply that supplies +/-5 and +/-12 and may look like a switching power supply from a PC. Generally these supplies have to have a minimum load to work correctly. So you can not just unplug the load to check the power supply.

In one of our VF3s there is a board just below said power supply that has some open terminals labeled +/- 12. These are closely spaced and if you use these to check voltage be very careful to avoid shorting. The machine cabinet should be sufficient for the meter common lead.

If these voltages are correct, then there maybe problems with the 1488 and 1489 chips or their equivalent.

.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-12-2005, 04:59 PM
 
Join Date: Oct 2005
Location: US
Posts: 9
allen_d is on a distinguished road

THANKS for your support. Here are my tests from today. I would like to begin in mentioning that the multimeter that i am using is a Craftsman 82026. We have 2 of them, and i have used them both to ensure that the readings that I am getting are indeed correct.

The voltage measurement from TxD on the HAAS is from pin 2 (TxD) to pin 7
The voltage today read -3.40

also try this measurement from pin 2 to pin 1
This reading yielded -3.80.

In the HAAS control is a Low Voltage Power Supply that supplies +/-5 and +/-12
I tested these. The readings were 14 and 6.

meter in MA mode and measure the short circuit current from pin 2 to 7
I placed my meter in 20mA, and tested this. However i didn't get a reading.

As a conclusion of this testing, I am lead to understand that my RS 232 driver chip is not working. This being said, I would need an entire new motherboard. Any suggestions?
Reply With Quote

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

051012-1830 EST USA

allen_d:

There should be protective circuits on the small pc board directly connected to the RS232 connector. Each I/O pin that is used (2, 3, 4, 5, 6, 7, 8, and 20) except pin 1 has a 100 ohm resistor from the pin to the RS232 interface chip. At the end of each resistor that goes to the interface is a bi-directional transient limiter. This has about a +/- 18 clamp point. I believe I previously mentioned performing a test on a similar circuiit by applying 120 vac to the resistor and that the resistor was destroyed with no damage to the transient limiter.

Your voltages measured on the power supply pins are suspect. Either the meter is a problem or the power supply voltage is high. Tonight I can not check our machine but I will in the morning. The 6 v reading on a 5 v supply might mean other circuit damage.

My off hand guess is that 120 vac applied to an RS232 pin would not have damaged a 1488 or 1489 chip. I suggest that you measure the voltage between pin 2 and 1 on the other RS232 connector. Each RS232 connector is going to connect to one 1488 and one 1489 (these are quad devices). Thus different chips are associated with the other connector. This assumes that these or their equivalent are the chips that HAAS uses. Is there an intermeadiate voltage to the I/O pin that would destroy the transisent limiter and not the resistor? I do not know.

You can check the resistors on the RS232 connector with your ohmmeter.

I know nothing about your Sears meter. A brand new fresh standard AA battery should be very close to 1.55 v. Try one to check the meter.

Five volt TTL chips are not designed to operate at 6 v. The TI maximum rating is 5.5 v. CMOS is a different story. How far above maximum rating you can operate without damage is dependent on many factors.

I believe it is correct that the RS232 circuitry is on the main processor board. Not cheap.

.
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:21 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