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-11-2008, 09:50 AM
 
Join Date: Apr 2006
Location: U.S.A.
Posts: 5
2hoop4inch is on a distinguished road
Remote send/receive

I use Predator DNC to upload and download programs. I have recently aquired a VF-0E and I am trying to set-up the machine to send and receive programs from the machine control. I have Mori mills and I can send up a program that tells the Predator software to load the program and wait for me to hit receive execute. I need to do this with the HAAS b/c my server is about 100ft away upstairs in a computer room. Can I get the HAAS to comunciate with the Predator software to send and receive from the machine control?? The HAAS does have a ethernet jack on it. Would I need to use that?
Reply With Quote

  #2   Ban this user!
Old 03-11-2008, 12:21 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Yes, the Remote Request program will look the same as the Mori's. You should have 2 DB-25 connectors on the electrical cabinet. The top one is used for communications, the bottom one is usually for indexer controllers. The same cable wiring should work.

From the Haas LIST PROG screen, cursor to the Remote Request program and hit SEND RS232. When you see RS232 DONE, hit the END key (to highlight ALL) then hit RECV RS232.
Reply With Quote

  #3   Ban this user!
Old 03-11-2008, 02:47 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080311-1446 EST USA

2hoop4inch:

Check your personal messages.

.
Reply With Quote

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

080312-1251 EST USA

2hoop4inch:

I believe you have indicated that you have an RF link to your HAAS RS232 port.

In any HAAS machines I have been exposed to the RS232 communication is essentially one-way based upon whether SEND or RECV was initiated.

To do what you want you need a program on HAAS that contains data that you send to the computer to tell the computer what you want sent. The sending program has to analyze your message and after a delay send the data to you. By some means that delay has to allow you time to move the HAAS cursor to ALL, and push RECV.

You need to know what protocol Predator uses to allow this operation. Then you can write a program for HAAS that accomplishes this exercise.

.
Reply With Quote

  #5   Ban this user!
Old 03-12-2008, 01:45 PM
 
Join Date: Apr 2006
Location: U.S.A.
Posts: 5
2hoop4inch is on a distinguished road

Thanks for the info. We are looking into it. I will post what I find out.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-12-2008, 03:04 PM
 
Join Date: Apr 2006
Location: U.S.A.
Posts: 5
2hoop4inch is on a distinguished road

EXACTLY.

My IT gut won't be in until Friday and the PC is Admin locked. I cannot see the protocol. On my Mori mills we send a prog that looks like this.

O8000 (/GET 1101-00654)

We send this to our server that has Predator. Then we wait 10 seconds and type the prog # and hit receive execute. Prog loads. All of this takes place over a wireless connection for each machine through a Comtrol box.

I tried this on the Haas and it didn't work. I am going to verify communication with the Comtrol box and Predator before going any further with it.
Reply With Quote

  #7   Ban this user!
Old 03-12-2008, 08:13 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080312-1644 EST USA

2hoop4inch:

How Predator works I do not know. But I have to assume it is constantly receiving from your HAAS RS232 port. Then it looks for an something in the incoming data stream that indicates that the received data is a request for it to send a particular file.

What will actually go out from HAAS for your sample code is

%
O8000 (/GET 1101-00654)
%

Predator may receive this, get the file to be sent, and then wait for some code from HAAS that signals that HAAS is ready to receive. In XonXoff mode I do not believe that HAAS sends any control code when you push RECV RS232, but in DC mode I believe one of the DC codes is sent. So you might try DC mode. Also try to find the Predator manual and see if they define the algorithm for this type of transaction.

When HAAS receives data from RS232 there must be a beginning % seen and an ending %. If Predator were to send the the % before HAAS was in receive, then HAAS would never load the file. This could occur if Predator used a timer to determine when to send data rather than waiting for some code from HAAS and you waited too long to put HAAS in receive mode.

Another possible problem is that Predator may not send any %s.

If your file to be received starts with an O-number in the first line, then if you put the HAAS cursor on ALL and push RECV RS232, then HAAS will use that first line O-number as the program number in HAAS memory.

.
Reply With Quote

  #8   Ban this user!
Old 03-13-2008, 06:28 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

2hoop4inch,

Have you (or the IT guy) created a machine (you can copy and paste one of the existing Mori's) in Predator DNC Administrator for the Haas, and set the comm port, etc?
Reply With Quote

  #9   Ban this user!
Old 03-13-2008, 10:41 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

2hoop4inch:

I ran an experiment on a 98 HAAS this morning.

In XonXoff mode there are no handshake codes sent unless there is actually a need to start and stop the data flow. So when you push RECV HAAS does nothing.

In DC CODES the following happens: When you press RECV HAAS sends 11h which is ctrl-Q or Xon or DC1 (the typical start character). This is repetitively output about every second. When data comes in that repetition is stopped and Xon will only occur following an Xoff as required. At the end of receiving data HAAS sends Xoff. So if you push RECV and then RESET you will get one or more Xons followed by an Xoff. If predator is using Xon to signal that it should start sending, then there should be no minimum time required before you press RECV after you send O8000.

In DC mode when sending data HAAS first sends 12h or ctrl-R or DC2, then the data, and ends with 14h or DC4.

It is possible that Predator after receiving the O8000 message that you sent will wait for an Xon code to start sending data to your control. Thus, I would try DC mode and see if it will work.

.
Reply With Quote

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

080319-1115 EST USA

2hoop4inch:

Have you solved your problem? If so what are the solution details?

.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-27-2009, 06:21 PM
 
Join Date: Jul 2004
Posts: 137
gm3211 is on a distinguished road

For Predator, match the baud rates, 7, E, 2 with Software Flow Control and then disable the Program Wait. Set the CNC side up with same baud, 7, E, 2 and XON/XOFF with DC codes.

Test by sending from the CNC, send RS232 button, a part program and receive in the Predator. If this works, send back to the machine. Once you are this far, a new command called Remote will need to be setup like your Mori. It will work perfect.

Need help, give us a call. We sell Predator as well and can help with support.
__________________
Greg Mercurio -Shop Floor Automations
www.shopfloorautomations.com /619-461-4000
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
WIRELESS send & receive SpeedMetal Milltronics 1 01-21-2008 04:04 PM
How do I send/receive NC Programs on Mitsubishi FX EDM barnescomputer CNC Plasma and Waterjet Machines 3 06-15-2007 03:30 PM
Prototrak plus receive error wallyman Post Processors for MC 0 10-21-2006 07:38 AM
Anyone receive a new generation Fadal 104/D? fin333 Fadal 8 02-07-2005 09:09 PM




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