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 02-03-2008, 04:32 PM
 
Join Date: Apr 2007
Location: United States
Posts: 22
gplush is on a distinguished road
Automatic Program Output

Is there any way to "automate" program output? Right now I output multiple variables and times every cycle. I would like to export the programs every shift, parse it, and set up a file compare to see what is changing from shift to shift. This would help understand positional trends and variances.

Any thoughts?


GP
Tweet this Post!Share on Facebook
Reply With Quote

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

080203-1827 EST USA

Your question is not clear to me. Provide more detail.

.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 02-04-2008, 03:12 PM
 
Join Date: Jul 2005
Location: POLAND
Age: 32
Posts: 340
pit202 is on a distinguished road

you could use a dprint at end of your programs, or you can use this : http://www.haascnc.com/training/Info.../MachineDC.htm
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 02-04-2008, 05:34 PM
 
Join Date: Apr 2007
Location: United States
Posts: 22
gplush is on a distinguished road

I'm curious about the DPRNT...I'm working at the machine right now, and I can't seem to type into my HyperTerminal screen. I'm working with RS, and it isn't sending either.

tks..
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 02-05-2008, 01:37 AM
 
Join Date: Jul 2005
Location: POLAND
Age: 32
Posts: 340
pit202 is on a distinguished road

my DPRNT works , maybe check your speeds and com ports.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-05-2008, 07:30 AM
 
Join Date: Apr 2007
Location: United States
Posts: 22
gplush is on a distinguished road

Ok...Can you give me an example of your code?? Maybe, I'm missing the idea..DPRNT[????].
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 02-05-2008, 07:41 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080205-0728 EST USA

gplush:

See my post at
Discussion on HAAS DPRNT
for some information on HAAS DPRNT. Also note that by mistake I sometimes type DPRINT and that does not work.

Your original question said
"Right now I output multiple variables and times every cycle." That seems to imply the use of DPRNT. But your second post does not indicate your use of DPRNT.

I am back to my question -- exactly what do you want to do?

.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 02-05-2008, 10:13 AM
 
Join Date: Apr 2007
Location: United States
Posts: 22
gplush is on a distinguished road

I want to dump the entire program daily, and I want to automate it. I can use the dprnt, but it would take a complete re-write (unless I'm missing something). I can do it manually through the usb, but I can't figure out a way to do it manually.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 02-05-2008, 11:59 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080205-1115 EST USA

gplush:

What do you mean by dump the "entire program daily"?

1. Are you talking about sending all the O-number programs on HAAS to some computer connected via RS232 to the HAAS at some specified time every day without your doing anything?

2. Or is there data you have stored via macro commands or other means that you want to save once per day?

3. You state "Right now I output multiple variables and times every cycle." Output to where and how? This seems to imply you are currently using DPRNT for this.

4. You state "I would like to export the programs every shift, parse it, and set up a file compare to see what is changing from shift to shift." Are all your offsets and tool diameters embedded in your programs and the operator make changes within the program, or does the operator make these changes manually in the offset page, meaning they do not show up in the program?

5. Do your operators make program changes? I am not referring to parameters such as tool diameter or length, but to logical or tool path changes.

If you want to track thru the day when changes are made to variables such as tool diameter, then you need some special programs thru which the operator makes the changes and this would include DPRNTs to tell you what the operator did.

A single snapshot at the end of the day may not tell you all of what you need to know.

I know of no commands that will allow you to write a HAAS CNC program to accomplish what you can do by manually pushing buttons on the front panel. For example:
RS232_SEND O00123 --- the manual operation is put cursor on O00123, then push RS232 SEND.
DPRNT is not going to solve this problem.

Cursor on ALL and press RS232 SEND is convenient, but now you have to separate the individual programs. We have a program under DOS to do this separation. We also have capability with our E232 System to quickly send individual files from HAAS.

There do not appear to be any commands under setting "143 ON" to do what you seem to imply you want.

.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 02-08-2008, 08:42 PM
 
Join Date: Apr 2007
Location: United States
Posts: 22
gplush is on a distinguished road

Sorry it took me a bit...I have it figured out (for the most part). I am now outputting everything RS232 except for the programs. I check tool life, offset changes, etc. and generate a report to the next shift. It is pretty slick, but it is also alot of work. I never did figure out how to dump the programs out.

Thanks for the help...
Tweet this Post!Share on Facebook
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
program input/output with RS232 port on Mitsubishi 50L Chuck Reamer Mazak, Mitsubishi, Mazatrol 3 02-04-2008 03:56 PM
calling program automatic at certain time in OKUMA Bala Mazak, Mitsubishi, Mazatrol 0 01-03-2007 05:37 PM
Fanuc output program + subprograms Mr_T Fanuc 9 11-29-2005 01:21 AM
Anyone got any basic examples of a program using a subroutine/program? Darc CamSoft Products 11 10-09-2005 12:45 AM
Automatic refresh sp00k1e Forum Questions or Problems 12 03-25-2004 06:37 PM




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