![]() | |
| 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 |
|
#1
| ||||
| ||||
currently running a fanuc 21i. i would like to output the cutting time parameter (n6754) as a variable to be used in a monitering macro. i understand thet there are other ways of doing this like setting m3 and m5 as start stop macros for a counter, but i was just curious if it possible to output parameters as variables as this may become usefull to me further down the track. thanks in advance |
|
#2
| |||
| |||
The short answer is probably not unless there is a specified argument (alpha/numeric) to call a variable subroutine placed by manufacturer... If they didn't put it in the parameters manual. It probably doesn't exist for any shop usable purpose. |
|
#3
| |||
| |||
| You can pass parameter data to the cnc but it's tricky to make it work. You would have to add several Window read functions into the pmc, then make outputs as to the status of the parameter, and output again to a custom macro bit to actually pass the information into the system. |
|
#4
| |||
| |||
| I don't know of a general way to read system parameters as macro variables, but there are some macro variables that you might find useful: If it's a cycle time variable you're looking for, you can use macro variable #3002 to read the amount of time that the control has been "in cycle". This timer increments in 1-hour increments, so it's not useful as a precision timer. You should be able to preset a value into this variable with a macro statement also. You can also use variable #3901 as a parts counter. This variable increments by 1 when a part cycle is completed. |
|
#5
| ||||
| ||||
appear one window which display tool life, and use variab. #500 #501 for preset value and display in this window; #502 #503 for tool life left and display in this window;and 2 soft key F1 (reset tool 1 #502) F2 (reset tool 2 #503) Program look like this Oxxxx G...T0101 .... #502=#502-1(when 502=0 alarm tool change) G...T0206 ... #503=#503-1(when 503=0 alarm tool change) ... M30% Issue is some machine use #502 #503 for tool lief left and other use #525 #526 in tool life window .Is it possible to modify this window to use othet variab.( instead of..#525 to use #502 and #526to use #503)? |
| 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 |
| Variables 500 to 531 | viorel26 | Fanuc | 0 | 09-30-2007 02:30 AM |
| How do you clear variables after the prg. is done?? | theemudracer | Fanuc | 18 | 03-25-2007 09:21 PM |
| Local variables | jorgehrr | G-Code Programing | 4 | 02-19-2007 03:03 PM |
| System variables | jorgehrr | G-Code Programing | 8 | 02-18-2007 07:26 PM |
| Variables/Macro uses.... | theemudracer | Fanuc | 12 | 12-13-2006 01:45 PM |