![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
060310-1803 EST USA Do any of you have need to automatically enter numeric data into HAAS from an external source under CNC program control? An example would be a CNC used to remove a variable amount of material from part to part for part balancing. Another example is an external gage measures your part and feeds this information to the CNC for possible offset correction to keep the part within tolerance. We may build a device to accomplish this if there is interest. . |
|
#2
| ||||
| ||||
| I believe I already have that in one of the renishaw macros that came with my probe. Anybody out there that has the haas probe package, I got a 200 plus page manual from renishaw on how to use the advanced macros. Email me for it in pdf JP |
|
#3
| |||
| |||
| 060310-1955 EST USA JPMach: HAAS Macros has a DPRNT function that outputs DATA to the first RS232 port (for convience I call it COM1 ), limited to a large part of the ASCII alphabet, but does not allow output of all 128 basic codes. There is no comparable input function from the COM1 RS232 port. I have found nothing that allows me to generically communicate with COM 2. I believe the Renishaw probing function only outputs numeric data and communicates back to the CNC with a single binary bit. Is this correct? Obviously if you use the probing system to gage a part within the CNC, and have pre-stored data in a table in the CNC the mean (or limit ) values can be compared with the measured values to perform offset corrections. . |
|
#4
| ||||
| ||||
| I am not sure, as I have yet to use or get the dprnt to work. I do know that in the manual from renishaw they do talk about changing offsets to a cast part for instance to keep thicknesses and such the same. I don't want to buy a program now, but it would be nice to be able to print inspection reports right from the machine. Would also be nice to have a cam program to program the probe offline from cad files. JP |
|
#5
| |||
| |||
| 060311-0924 EST USA JPMach: Following is a Macro program that when called will output the current value of the HAAS millisecond time to the RS232 port (COM1). The output is formatted in seconds. If you want to measure machine cycle time, then the millisecond timer has to be zeroed at the start of the machine cycle. % O9204 (Copyright Betatronics, Ann Arbor, MI 48106 2004) (O9204_M30_STOP_TO_COM1_TIME_FROM_PROG_START 040202-0916 ) (This macro outputs to COM1 the millisec timer value in seconds) (Format of call is G65 P9204 ) ( HAAS converts lower case to upper ) ( put the call to this macro just before M30 ) (#500 = .0 means skip this subroutine, non-zero means output time info) ( this sub resets #101 ) IF [#500 EQ .0 ] GOTO 99 G103 P1 (disable look ahead) #100= #100 (to make disable active before time is read) #100= #3001 / 1000 (current value in seconds) #101= #100 (save for next last value, ) DPRNT[***M30*STOP*and*RET*to*BEGIN***************#100[62]*sec] G103 (enable look ahead) N99 M99 % . |
| Sponsored Links |
|
#6
| |||
| |||
1) CNC Reporter - create inspection reports right from the machine in Excel - also generate control charts across a batch of components to monitor critical features! 2) Productivity+ - Generate and verify your probing programs off-line from a CAD model or 2D geometry. Then interlace those inspection cycles with the metal-cutting program and use simple logic to make decisions. Can be done as part of the GibbsCAM package or as a stand-alone CAD import to work with your existing CAM Package We ran a demo at a recent event in the UK where the results were coming off live from a Haas machine tool - generating inpsection reports and control charts in "real time". see here: http://www.gspsltd.co.uk/what.php Don't worry about it being UK based! In terms of getting information BACK into a HAAS controller - I'm very interested to see how you do that - I would like to feed back from Excel to the control, rather than doing all the math inside the controller. |
|
#9
| |||
| |||
| 060630-0704 EST USA carguy001: Define some terms for me. What is an "inspection report"? Is this many points or one point and is other information included? What is "store the collected data in a variable"? I assume that data is plural meaning you have at least X and Y and maybe Z for each point, and therefore there are multiple variables. I assume for one measurement point the probing subroutine stores the point position information in certain specific variables. Following this point measurement you can write a DPRNT statement to take these values and output them. You would not need to move them to some other variables. See my posts #49 thru #52 at the following location: http://www.cnczone.com/forums/showth...ight=dprnt+gar . |
|
#10
| |||
| |||
| an inspection report will show show you the programed coordiante( what the feature should measure) and then the actual dim. and the given tolerance and it tells you what the devation is and weather or not the part is out of tolerance. stored data i would think would be the info collected from the input that is entered in the macros you are using to do the inspection. i can get one measuring cycle to print on one piece of paper which only takes up about 5 lines and i would like to print more than one measuring cycle at a time. our guy from haas said i need to store the data in the variables and then dprint to get the info on one page |
| Sponsored Links |
|
#11
| ||||
| ||||
| carguy001, I am attaching the following for your review. First, O00001.txt - you can open this with Microsoft Notepad or any other text editor. The file is a proven inspection program using the OMP40 and a 3mm probe stylus. It is written using Renishaw's Inspection Plus software. We rarely use VQC to accomplish any inspection - if you notice the W1's, these are commands to print the results of an inspection. We are collecting data using EasyDNCXP (see link) via RS232. Second, I have attached a file named Sample Inspection Results. These are the results captured per the above mentioned inspection program to our PC, then saved as a .txt file. http://www.axis-controls.com/ |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |