gplush
02-03-2008, 03:32 PM
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
080203-1827 EST USA
Your question is not clear to me. Provide more detail.
.
pit202
02-04-2008, 02:12 PM
you could use a dprint at end of your programs, or you can use this : http://www.haascnc.com/training/InfoMods/IMMachineDC/MachineDC.htm
gplush
02-04-2008, 04:34 PM
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..
pit202
02-05-2008, 12:37 AM
my DPRNT works , maybe check your speeds and com ports.
gplush
02-05-2008, 06:30 AM
Ok...Can you give me an example of your code?? Maybe, I'm missing the idea..DPRNT[????].
080205-0728 EST USA
gplush:
See my post at
http://www.cnczone.com/forums/showthread.php?t=22241
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?
.
gplush
02-05-2008, 09:13 AM
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.
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.
.
gplush
02-08-2008, 07:42 PM
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...