![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| Hi, I' am trying to automate monitoring functions on my Fanuc0iMD based VMC and right now I' am using common variables starting from #610 (incrementing from here) to enter the clock value before a program starts and then entering clock value into #611 when the program ends. I'am incrementing the start and end time variables by 2 (Eg.#610, #612, #614 etc). Right now the user has to be manually note down the values in these variables before another component starts failing which the values will get overwritten as same variables are used with every new component. Is there a way (Other than Dprint into RS232) to output the common variable values into a program as text values so that it can downloaded from the controller at some later stage ? I use ethernet to transfer the programs into Data server and hence RS232 is not connected on my machine. Cheers |
|
#2
| |||
| |||
| I do not think there is a way. Fanuc controls treat each program space as inviolate, so you cannot write to other programs in the control. And to write to within the same program would be to create self modifying code, which is not able to be done (works great in lisp on a computer, however) on a fanuc control. The only things that I know you can modify are variables and using Dprint to send to a serial port. A similar case is a probing program, the only way is to hook a computer to the serial port and send the coordinates from probing to that port. The best you could do is save to a bunch of variables, one after the other, and batch-send them with Dprint. You said monitoring, so that is probably not helpful. I don't know what you are monitoring--just if the machine is done? or which too it is on? Maybe something as simple as either an ethernet-camera pointed at the control, or a cheap EEEP netbook with a web cam, run VNC on it and login remotely to operate the webcam on another computer on your network (or from home). Just an idea. |
|
#3
| |||
| |||
|
|
#4
| ||||
| ||||
| Best method I could come up with was to dump the info into the tool table and punch it to dservr from there. Do the same with probe results. Works well. I went as far as storing each N sequence time, each tool cutting time, aux function times, time spent reworking, unknown time, efficiency, and to save variables I stored last forty cycles in format hhmmhhmmss.pp meaning cycle finish time, cycle time and cycle efficiency in one variable. You might say I have too much time on my hands.... DP |
|
#5
| |||
| |||
| It sucks you apparently can't just output dprnt via ethernet to a file, but you should be able to punch out your offset tables (tool or macro #'s) the same way you save programs to your file server. |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- variable program | caddisfly | Fadal | 16 | 08-31-2009 11:05 AM |
| Displaying variable values onscreen? | facegarden | Haas Mills | 15 | 04-25-2009 03:04 AM |
| Automatic Program Output | gplush | Haas Mills | 9 | 02-08-2008 07:42 PM |
| EMC bug? axis position values instantly change after end of program | davidma | LinuxCNC (formerly EMC2) | 5 | 12-01-2007 04:11 PM |
| Output values?? | hop | Machine Problems, Solutions , Wireless DNC, serial port | 0 | 06-07-2006 05:37 AM |