![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#2
| |||
| |||
| Do you want to use the value of a common variable inside a program or want to print the values calculated in a program through RS232? The first requirement is no big deal. If #500 contains 1.0, G#500 is equivalent to G01, and so on. Use DPRINT for the second requirement. |
|
#3
| |||
| |||
| I want to print the values into another program and not into RS232. This way i can transfer the program into my dataserver / flashcard / computer for further analysis. My machine is not connected through RS232 but is connected through Ethernet. |
|
#4
| |||
| |||
| It looks like you don't really want to use variables, you want fixed a fixed program using values based on some variables that will not change during program running. This is much easier to do on your PC. Use "replace all" feature in your text editor to replace the variables with their desired values. As long as you keep your original macro program you can create as many fixed programs with different values as you want. You will lose your flexibility though, these programs will be "hard wired" for a specific set of values. If the variables actually change during the program I am not aware of any method to extract the program that was created on the fly. |
|
#5
| ||||
| ||||
| I'm not really 100% sure what you are trying to achieve, but if you are looking to extract data from a Fanuc CNC, look on this site. CNC Data LTD – CNC Data Collection and Monitoring Software | We can get any data out of CNC machines using ethernet connections and software such as Fanuc Focas They can help you.
__________________ CNC Mate www.cncmate.com |
| Sponsored Links |
|
#6
| |||
| |||
| Use permanent common variables instead of common variables. A permanent common variable remains available to all the programs, even after a power cycle, and any program can change their values. Actually, it is not very clear what you want to do, and why? |
|
#7
| |||
| |||
| I' am very much using the permanent common variables to monitor cycle times of the programs that run for a particular component. These values are reset whenever a new component is machined. My idea is to output the variable values into a program so that this program can be downloaded onto the computer and then analyzed as well as for easing of data entry. |
|
#8
| |||
| |||
| What model Fanuc are you using? Stevo |
|
#10
| |||
| |||
|
I' am using Fanuc 0i-MD which is supposed to be the latest among the 0i controllers. They claim that it has most features of 18i incorporated into it except for the true multi axis capabilities and some the HPCC options. I was only hoping against hope that i will find an alternative method to DPRINT. |
| Sponsored Links |
|
#11
| |||
| |||
I have tried accessing data myself through this Focas 2 Ethernet but they Fanuc disables it when using in conjunction with a data server and thats the najor problem. Having one option ends up disabling another one ! |
|
#12
| |||
| |||
|
![]() |
| 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 |
| Common Variable values output into a program | yaji63 | G-Code Programing | 4 | 05-17-2012 12:17 AM |
| Outputting Common variable values into a program (with automated program number) | yaji63 | Fanuc | 0 | 12-27-2010 02:55 AM |
| outputting variables to a program | bob in windsor | Fanuc | 4 | 03-21-2010 10:43 AM |
| Displaying variable values onscreen? | facegarden | Haas Mills | 15 | 04-25-2009 03:04 AM |
| EMC bug? axis position values instantly change after end of program | davidma | LinuxCNC (formerly EMC2) | 5 | 12-01-2007 04:11 PM |