![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| UG NX UG CAD/CAM Discussion |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Dear All, I have a small hitch while customising my tpl file. All I wanted to know is "what are there other INST tokens available in NX4 apart from PART_GIF, PATH_GIF and GEOM_GIF" I read in the help file that if I want to output enhanced information on to my document like machining time etc, i can do it using OPER INST but i dont know the token to use. I tried using [MOM_cycle_objects {OPER INST=$mom_machine_time}] but it was a failure. can anybody help me please.
__________________ Ananth Kulkarni THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND |
|
#2
| |||
| |||
| I usually output the cycle time in the g-code file. Insert these lines into your post. #============================================================= proc PB_CMD_announce_cycle_time { } { #============================================================= # ------------------------------------------------------- # PB_CMD_announce_cycle_time # # Reports accumulated machine time # # Bind into END_OF_PROGRAM event (after the REWIND STOP) # to include message in the output file. # ------------------------------------------------------- global mom_machine_time mom_cutting_time mom_event_time global mom_sys_control_out mom_sys_control_in # set up some variables so that control OUT and IN can be # used as needed in output blocks: # - CONTROL OUT = ${co} # - CONTROL IN = ${ci} set co $mom_sys_control_out; set ci $mom_sys_control_in # fetch machine time, format for xx.x minutes set mtime [format "%6.1f MINUTES" $mom_machine_time] # output to tape MOM_output_literal "(MACHINE TIME: $mtime)" } |
![]() |
| 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 |
| Template Bulider | Tazzer | Haas Visual Quick Code | 9 | 02-18-2008 03:24 PM |
| Need Help!- Milling Machine Setup File | seal1966 | BobCad-Cam | 0 | 01-25-2008 02:54 PM |
| CNC Setup Template | MartinLogan | General CNC (Mill and Lathe) Control Software (NC) | 1 | 03-20-2007 06:02 AM |
| VQC Template Builder | leggetmachine | Haas Mills | 3 | 05-28-2006 08:00 PM |
| Xylotex setup file | anoah | TurboCNC | 18 | 01-08-2004 10:36 PM |