Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

PcRobotic

Customers
  • Posts

    913
  • Joined

  • Last visited

Everything posted by PcRobotic

  1. Hi, I've been working on the LOC but I got no luck. Can anybody guide me how to output LOC on the tooltable list? It should look like this. The please look at the red and bold LOC words below. % O0001 (NOVELLUS 258147-15-00 REV.NC) (Operation # 5 Of 20) (Customer Name: Novellus) (Approved By: Steven Luong) (Machine Name: Haas) (AUG.30.2012**At-3:51 PM) (****** Setup Instructions - SI ******) (SETUP MAN MUST FOLLOW THESE PROCEDURES:) (1. SQUARE PARTS PRIOR RUNNING FIRST ARTICAL) (2. CHECK FIRST ARTICAL WITH Q.C) (3. WHILE RUNNING SECOND PART AFTER QC APPROVED.) (GO TO BUILDING 2 GET MORE RAW MATERIAL) (3. ASK MARK TO GET CERTIFIED FROM THIS MACHINE.) (XY0 = BACK LEFT, Z0 = TOP OF PART. PART MUST BE SQUARED BEFORE CUT) (******** Tool List Info - TL ********) (T1 - 3" FACE MILL - H1 - D1 - D3.0000" - LOC =Z -.0001) (T2 - 1/2 FLAT ENDMILL - H2 - D2 - D0.5000" - LOC =Z -.7520) (T3 - 1/4 SPOTDRILL - H3 - D3 - D0.2500" - LOC =Z -.3526) (T4 - 7/32 DRILL - H4 - D4 - D0.2188" - LOC =Z -.1523) (T5 - 1/4-20 TAPRH - H5 - D5 - D0.2500" - LOC =Z -.981) (T6 - 2 INCH DRILL - H6 - D6 - D2.0000" - LOC =Z -1.856) (******* Work Offset List - WOL *******) G90 G10 L2 P1 X0. Y0. Z-27.965 G10 L2 P2 X20. Y0. Z-27.965 G10 L2 P3 X40. Y0. Z-27.965 G10 L2 P4 X60. Y0. Z-27.965 N1 (3" FACE MILL) G0 G17 G40 G49 G53 G80 G90 Z0 T1 M6(SKIM CUT) M8(LOC = Z-.0001)
  2. I don't know what to say to prove that i'm a solid guy with legal software but I'm here with honest and respecful.
  3. Okay, I just updated. I called my reseller, and it is 1312. It is the right number?
  4. We bought a full package of MasterCamX5-X6 but where do I view the Sim number so I can update my profile? Thank you. Can you direct me some how? I know I have the legal software but I don't know how to retreave the SIM number.
  5. We have a reseller but they don't cover the post problem. They only can help the software interface issue but not about G-code. I don't want to be mean but why I'm the only that not allow to ask questions in here whereas other people ask thousand of questions without trouble like me? Do I have to register as another way to ask questions? I just wonder if my account type differents than others? Best regards
  6. Hi, Anybody knows how to write codes when I click "G1" and there is a windows asks me like "What is the customer name?" so I fill in, then the "name" I filled in that window will be in the G-code? Please Help, so far I got this but it only allow me entering numbers not text. Under Toolchange / NC output Variable Formats fmt 15 pth_thr fmt 15 pth_tht spth_thr "" fq 1 pth_cs Enter the coordinate system (G54 -> G59): fq 2 sname Enter Name: fq 3 spartnumber Enter partnumber: under # General G and M Code String select tables fmt "" 2 pth_tool_loop fmt "G" 4 pth_cs # -------------------------------------------------------------------------- # Start of File and Toolchange Setup # -------------------------------------------------------------------------- psof0 #Start of file for tool zero psof psof #Start of file for non-zero tool number pth_cs=54 q1 if pth_cs<54 | pth_cs>59,psof q2 # pinit progno n,"( My name :",sname,")",e q3 # pinit progno n,"( Part number :",spartnumber,")",e pcuttype Tips are apprciated and thankful
  7. My company bought a full package of Mastercam such as 2D and 3D and they are not buying the post services at all. That's why I have to bite my lips to be such as thick face for some judgement in this forum. That's why I need help some of the questions that I can integrated into the post. Thanks for your reply and I'm looking to get help for this one.
  8. Hi, I'm trying to make a tool list which may look like this: (T1 =4" FACE MILL - H1 - D1 - LOC = 0) (T2 = 3/4 FLAT ENDMILL - H2 - D1 - LOC = -.357) (T3 = 3/4 DRILL - H3 - D1 - LOC = -1.52) (T4 = 3/8 FLAT ENDMILL - H4 - D1 - LOC = -.785) (T5 = 1/4 SPOTDRILL - H5/H52 - D1 - LOC = -.125/-.1) (T6 = NO. 7 DRILL - H6 - D1 - LOC = -.5) (T7 = 1/4-20 TAPRH - H7 - D1 - LOC = -.375) This is my ptooltable looks like, please help. Thanks a bunch. ptooltable # Write tool table, scans entire file, null tools are negative tnote = t$ toffnote = tloffno$ tlngnote = tlngno$ spaces$=0 if t$ >= zero, [ ########## (T5 - 3/8 FLAT ENDMILL - R0.0500") ########## if tcr$>0, scomm_str, *t$, " =", plistcomm, pdiamspc, " - ", *tcr$, punit, scomm_end, e$ if tcr$=0, scomm_str, *t$, " =", plistcomm, pdiamspc, scomm_end, e$ ########## (T5 - 3/8 FLAT ENDMILL - R0.0500") ########## ] #if t$ >= zero, # [ # if tcr$>0, scomm_str, *t$, ptspace, " - ", plistcomm, " - ", *tlngno$, phspace, " - ", *tloffno$, pdspace, " - ", *tldia$, punit, pdiamspc, " - ", *tcr$, punit, " - ", popnote, scomm_end, e$ # if tcr$=0, scomm_str, *t$, ptspace, " - ", plistcomm, " - ", *tlngno$, phspace, " - ", *tloffno$, pdspace, " - ", *tldia$, punit, pdiamspc, " - ", " - ", popnote, scomm_end, e$ # ] #if $t >= zero, # [ # scomm_str, *t$, ptspace, " - ", plistcomm, scomm_end, e$ # ] #if t$ >= zero, # [ # if tcr$>0, scomm_str, *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia$, " ", *tcr, punit, " ", popnote, scomm_end, e$ # if tcr$=0, scomm_str, *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia$, " ", popnote, scomm_end, e$ # ] spaces$=sav_spc
  9. I asked many questions about posts now it's time to pay back to the community here are the step by steps instructions how to turn off the "N". 1. Hold down "Crtl" and "F" and search for "tseqno", then change change from "1" to "0". Step 2 a. Go to "Settings" =====> "Control Definition" =====> "NC Output" =======> Uncheck the "Output Sequence Numbers" Hit Green Check Mark. You're ready to go.
  10. can you give me a post sample so I can follow Chris? Thanks you.
  11. Hi, I just want to know if I can make the post generate different N sequence numbers with the same tool as different operation type? For instance, I just tool #1 to contour then the next operation with tool #1 again but with pocket. Then I would like something like this: N1 (1/2 End Mill) G0 G17 G49 G53 G80 G90 Z0 T1 M6 ( SKIM CUT ) M8(LOC = Z0.) G0 G90 G56 X-3.3 Y-.7501 S5000 M3 G43 H1 Z2. T2 Z.2 G1 Z0. F100. X11.8 F50. Y-1.9167 X-1.8 Y-3.0833 X11.8 Y-4.2499 X-3.3 G0 Z2. M9 M5 G91 G28 Z0 M1 N100 (1/2 End Mill) G0 G17 G49 G53 G80 G90 Z0 T1 M6 ( Cut ABC ) M8(LOC = Z0.) G0 G90 G56 X-3.3 Y-.7501 S5000 M3 G43 H1 Z2. T2 Z.2 G1 Z0. F100. X11.8 F50. Y-1.9167 X-1.8 Y-3.0833 X11.8 Y-4.2499 X-3.3 G0 Z2. M9 M5 G91 G28 Z0 M1 Thanks for your help.
  12. Hi, I would like to know if I can list my .NC file list in the post so I won't make the setup-man knows where the file is for example % O0001 (HORIZONTAL OP1 OF 3.NC) (Source = M:\STEVEN LUONG\TEST\HORIZONTAL.MCX-5) (NC = N:\NC\ Op1 Of 3.NC) <================================= (Raw Material = ALUMINUM 6061 T6) (****** Setup Instructions ******) (PROGRAMMER ABC WANTS SETUP-MAN MUST PERFORM:) (1. SQUARE PARTS FROM VERTICAL PRIOR MACHINE IN HORIZONTAL) (2. BRING SQUARED PARTS TO QC AND WAIT FOR APPROVAL) () (THIS PROGRAM IS MEANT FOR ABC.) (Approved By: , Machine Name: A55 Makino) (AUG.20.2012**At-9:24 AM) (T1 =4" FACE MILL ) (T2 = 3/4 FLAT ENDMILL ) (T3 = 3/4 DRILL ) (T4 = 3/8 FLAT ENDMILL ) (T5 = 1/4 SPOTDRILL ) (T6 = NO. 7 DRILL ) (T7 = 1/4-20 TAPRH ) (T8 = 7/8 DRILL ) (T9 = 7/16 DRILL ) (T12 = 3/8 DRILL ) (T10 = 1/4 FLAT ENDMILL ) (T11 = 1/8 FLAT ENDMILL ) (********** Work Offset List **********) G90 G10 L2 P0 X0 Y0 Z0 B0 (G53 Zero) G10 L2 P1 X-10. Y0. Z-22.965 B0. G10 L2 P2 X-5. Y0. Z-27.965 B0. G10 L2 P3 X0. Y0. Z-17.965 B0.
  13. I tried that, but it would show up. Here is my partcial codes to make you understand more, thankful for your help. *************************** # -------------------------------------------------------------------------- # General Output Settings # -------------------------------------------------------------------------- hel_2100 : no$ #Acramatic 2100 style helical moves, 0=no, 1=yes force_dpts : no$ #Force XY output on all drilling lines including cycle call? haas : 0 #Haas style peck drill and extended offsets, 0=no, 1=yes wcstype : 2 #0 = G92 at start, 1 = G92 at toolchanges, 2 = G54, 3 = Off force_wcs : yes$ #Force WCS output at every toolchange? tool_table : 1 #Tool table, 0=no, 1=yes, 2=Predator VCNC, 3=MetaCut View output_z : yes$ #Output Z Min and Z Max values (yes or no) cool_zmove : yes$ #Coolant off with last move ########## Feed Tap ########## use_pitch : 0 #0 = Use feed for tapping, 1 = Use pitch for tapping ########## Feed Tap ########## ########## Rigid Tap M29 ########## rigid_tap : 1 #0 = Floating tap output, 1 = Rigid tap output (suppress spindle output and output M29) ########## Rigid Tap M29 ########## use_gear : 0 #Output gear selection code, 0=no, 1=yes frdegstp : 10 #Step limit for rotary feed in deg/min ret_on_indx : 1 #Machine home retract on rotary index moves, (0 = no, 1 = yes) one_rev : 0 #Limit rotary indexing between 0 and 360? (0 = No, 1 = Yes) lock_codes : 0 #Use rotary axis unlock/lock M-Codes? (0 = No, 1 = Yes) rot_feed : 1 #Use calculated rotary feed values, (0 = no, 1 = yes) frc_cinit : 1 #Force C axis reset at toolchange ctol : 225 #Tolerance in deg. before rev flag changes ixtol : 0.01 #Tolerance in deg. for index error miscerror : 0 #Error out if Misc Values button is disabled, 0=no, 1=yes tseqno : 0 #Output sequence number at toolchanges when omitseq = yes #0=off, 1=seq numbers match toolchange number, 2=seq numbers match tool number use_rotmcode : 0 #Output M-Code for Axis direction (sindx_mc) #0 = Signed direction (only valid when rot_type = 1) #1 = M-Code for direction force_output : 1 #0 = Modal G code output at toolchanges, 1 = Force output of all G codes (see also force_wcs) safe_index : 0 #Currently hooked up to misc int 4, remove safe_index = mi4$ from pmiscint$ to make this switch permanent ########## Stock To Leave On Wall And Floor 2D Note ########## stockleft : 0 #Output stock to leave information on 2d contour/pocket/facing (0 = No, 1 = Yes) ########## Stock To Leave On Wall And Floor 2D Note ########## #Rotary Axis Label options use_md_rot_label : yes$ #Use rotary axis label from machine def? - Leave set to 'no' until available srot_x : "A" #Label applied to rotary axis movement - rotating about X axis (mill top toolplane) - used when use_md_rot_label = no srot_y : "B" #Label applied to rotary axis movement - rotating about Y axis (mill top toolplane) - used when use_md_rot_label = no srot_z : "B" #Label applied to rotary axis movement - rotating about Z axis (mill top toolplane) - used when use_md_rot_label = no sminus : "-" #Address for the rotary axis (signed motion) use_g10wcs : yes$ #Output G10 work offsets use_g10tloff : no$ #Output G10 Tool offsets # -------------------------------------------------------------------------- # Start of File and Toolchange Setup - Start Of Program # -------------------------------------------------------------------------- psof0$ #Start of file for tool zero psof$ psof$ #Start of file for non-zero tool number *e$ "(********** Work Offset List **********)", e$ ########## Work Offset List ########## #pbld, n$, *sgcode, *sgplane, *smetric, "G40", "G49", "G80", *sgabsinc, e$ "G10 L2 P0 X0 Y0 Z0 B0 (G53 Zero)", e$ #Read buffer 2 and write out preload work offsets if use_g10wcs = yes$, preloadwcs # " ", e if use_g10tloff = yes$, preloadtloff ########## Work Offset List ########## *e$, ptravel pwritbuf5 pcuttype toolchng = one # -------------------------------------------------------------------------- # Additional General Output Settings # -------------------------------------------------------------------------- tooltable$ : 1 #Read for tool table and pwrtt - use tool_table to disable # -------------------------------------------------------------------------- # G10 tool offset (L11) preloads & cancel write, read, output routines # -------------------------------------------------------------------------- #This section is designed to allow the user to output the many different G10 L10 - L13 #Tool offset settings for preload and cancel. By default the L11 is supportted but can #be replaced or additional L output can be added. Additional variable data can be written to #The buffer and extracted from it. If you do not know how to use buffers, please contact your #Mastercam dealer or CNC Software's post Department wc3 : 1 #Initial count for write buffer 3 rc3 : 1 #Initial count for read buffer 3 size3 : 0 #Buffer 3 size fmt P 4 offset3 #Buffer 3 offsetn : 0 #Next buffer variables fbuf 3 0 1 0 0 #Buffer 3 definintion preloadtloff #Read tool offset buffer and write to NC file #This postblock is called from the PSOF and PEOF postblocks and only if the use_g10tloff flag is on. #This postblock is responsible for reading the tool offset buffer and outputting the preloads or cancel #to the NC output file. pg10sortl12 rc3 = 1 size3 = rbuf (3, 0) "G90", e$ while rc3 <= size3, [ offset3 = rbuf (3, rc3) pbld, n$, sgabsinc, "G10", "L12", *offset3, "R0" ] pg10sortl12 #Sort preload work offsets in accending order #This postblock is designed to sort the tloffno preload buffer in accending order. This postblock is called #from the preloadtloff postblock. DO NOT MODIFY this post block unless you are absolutely sure of what you #are doing. rc3 = 1 size3 = rbuf (3, 0) cnt1 = 1 #intialize counters cnt2 = 1 #intialize counters while cnt1 < size3, #loop 1 - loop 1 time less than the size of the buffer [ size3 = rbuf (3, 0) while cnt2 <= size3 - cnt1, #loop 2 - loop 1 less every time [ rc3 = cnt2 #set buffer read counter to current loop counter value (Current record to read) offset3 = rbuf (3, rc3) #Read current and next record from buffer offsetn = rbuf (3, rc3) if offsetn < offset3, #Check and swap records if next offset is less than current [ wc3 = cnt2 #initalize write counter to current loop counter value (current record to write) offsetn = wbuf (3, wc3) #Swap records by writing back into buffer. Next into current, current into next offset3 = wbuf (3, wc3) ] cnt2 = cnt2 + 1 #increment loop counter 2 ] cnt2 = 1 #Reset loop counter 2 to start at record 1 cnt1 = cnt1 + 1 #increment loop counter 1 ] pg10tloff_writbuf #Buffer 2 works offset preload buffer #This postblock is called from pwrtt and only if the use_g10tloff variable is on. #This postblock is designed to write out the tool offsetinformation to buffer 3 the #preload buffer. The preload buffer will be scanned and checked to see if the tloffno was already #written to the buffer, if not the wcs is written to the buffer. test = 0 size3 = rbuf(3, 0) #Get size of buffer #read buffer and compare current tloffno value with one read from buffer. #If current tloffno matches one already in buffer set flag to not process. while rc3 <= size3, [ offset3 = rbuf (3, rc3) if tloffno$ = offset3, test = 1 ] #If tloffno doesn't match one in the buffer, write it to the buffer if test = 0, [ offset3 = tloffno$ offset3 = wbuf (3, wc3) ] rc3 = 1 #reset read counter for next pass # -------------------------------------------------------------------------- # G10 work offset preloads write, sort, read, output routines # -------------------------------------------------------------------------- #This section is designed to write the work offsets preloads to a buffer file, then sort them #into accesding order and eventually output the preloads to the NC output files. These sections #only get called if the use_g10wcs flag is on. # Work offset preload buffer test : 0 #Result variable cnt1 : 0 #Loop counter number 1 for sort cnt2 : 0 #Loop counter number 2 for sort wc2 : 1 #Initial count for write buffer 2 rc2 : 1 #Initial count for read buffer 2 size2 : 0 #Buffer 2 size toz3 = toz2 - 27.965 #Figures Z Offset from machine zero fmt W 4 workofs2 #Buffer 2 fmt P 4 pofs2 #Buffer 2 fmt X 2 tox2 #Buffer 2 fmt Y 2 toy2 #Buffer 2 fmt Z 2 toz2 #Buffer 2 #fmt B 2 cout2 #Buffer 2 fmt Z 2 toz3 #Writes Z Offset from machine zero workofsn : 0 #Temporary data for swap in buffer2 pofsn : 0 #Temporary data for swap in buffer2 toxn : 0 #Temporary data for swap in buffer2 toyn : 0 #Temporary data for swap in buffer2 tozn : 0 #Temporary data for swap in buffer2 coutn : 0 #Temporary data for swap in buffer2 fbuf 2 1 6 0 0 #Buffer 2 # -------------------------------------------------------------------------- preloadwcs #Output G10 preloads from Buffer2 #This postblock is called from the PSOF postblock and is designed to output the WCS #preloads to the beggining of the NC output file and only if the use_g10wcs flag is active. pg10sort #Sort preload buffer in accesnding order before output #read preload buffer and output preloads rc2 = 1 size2 = rbuf (two, 0) while rc2 <= size2, [ workofs2 = rbuf (two, rc2) if workofs2 > 53, pbld, n$, sgabsinc, "G10", "L2", *pofs2, *tox2, *toy2, *toz3, e$ #Offsets G54 - G59 else, pbld, n$, sgabsinc, "G10", "L20", *pofs2, *tox2, *toy2, *toz3, e$ #Extended offsets g54.1 P1 - P48 ] # [ # workofs2 = rbuf (two, rc2) # if workofs2 > 53, pbld, n, sgabsinc, "G10", "L2", *pofs2, *tox2, *toy2, *toz3, *cout2, e #Offsets G54 - G59 # else, pbld, n, sgabsinc, "G10", "L20", *pofs2, *tox2, *toy2, *toz3, *cout2, e #Extended offsets g54.1 P1 - P48 # ] pg10sort #Sort preload work offsets in accending order #This postblock is designed to sort the wcs preload buffer in accending order. This postblock is called #from the preloadwcs postblock. DO NOT MODIFY this post block unless you are absolutely sure of what you #are doing. rc2 = 1 size2 = rbuf (two, 0) cnt1 = 1 #intialize counters cnt2 = 1 #intialize counters while cnt1 < size2, #loop 1 - loop 1 time less than the size of the buffer [ size2 = rbuf (two, 0) while cnt2 <= size2 - cnt1, #loop 2 - loop 1 less every time [ rc2 = cnt2 #set buffer read counter to current loop counter value (Current record to read) workofs2 = rbuf (two, rc2) #Read current and next record from buffer workofsn = rbuf (two, rc2) if workofsn < workofs2, #Check and swap records if next offset is less than current [ wc2 = cnt2 #initalize write counter to current loop counter value (current record to write) workofsn = wbuf (two, wc2) #Swap records by writing back into buffer. Next into current, current into next workofs2 = wbuf (two, wc2) ] cnt2 = cnt2 + 1 #increment loop counter 2 ] cnt2 = 1 #Reset loop counter 2 to start at record 1 cnt1 = cnt1 + 1 #increment loop counter 1 ] pg10wcs_writbuf #Buffer 2 works offset preload buffer #This postblock is called from pwrtt and only if the use_g10wcs flag is active. #This postblock is designed to write out the WCS and tool origin information to the #preload buffer. The preload buffer will be scanned and checked to see if the WCS was already #written to the buffer, if not the wcs is written to the buffer. test = 0 size2 = rbuf(2, 0) #Get size of buffer #read buffer and compare current workofs value with one read from buffer. #If current workofs matches one already in buffer set flag to not process. while rc2 <= size2, [ workofs2 = rbuf (2, rc2) if workofs$ = workofs2, test = 1 ] #If workofs doesn't match one in the buffer, write it to the buffer # with the P value and tool origin. if test = 0, [ # cout2 = atan2 (m7$, -m8$) workofs2 = workofs$ pofs2 = workofs$ - 53 ########## G10 L20 P1 Xx Yx Zx ########## if workofs2 < 54, pofs2 = workofs$ +1 #Extened offsets P1 - P48 tox2 = tox$ toy2 = toy$ toz2 = toz$ workofs2 = wbuf (2, wc2) ] rc2 = 1 #reset read counter for next pass pwrtt$ #Buffer toolchange information # Call to save work offset and tool origin to buffer for output at SOF. if use_g10wcs = yes$, pg10wcs_writbuf if use_g10tloff = yes$ & opcode$ <> 3, pg10tloff_writbuf #don't output for drilling tools *****************************************
  14. Hi guys, I'm having a post conflict with the "pwrtt$". I like to list all of my G10 work offsets and I got from the instructions of this forum. I got stuck because my M11 G0 G90 G54 does not include B0. Below here, you can see what I'm having trouble with. I believe that I'm almost ready to go but only does not out put the B-Axis for me. I know I ask a lot of questions and I really need help just on this one. ********************************** % O0001 (HORIZONTAL) (****** Setup Instructions ******) (PROGRAMMER ABC WANTS SETUP-MAN MUST PERFORM:) (1. SQUARE PARTS FROM VERTICAL PRIOR MACHINE IN HORIZONTAL) (2. BRING SQUARED PARTS TO QC AND WAIT FOR APPROVAL) () (THIS PROGRAM IS MEANT FOR ABC.) (Approved By - , Machine Name - A88 Makino) (AUG.15.2012**At-2:52 PM) (********** Work Offset List **********) G10 L2 P0 X0 Y0 Z0 B0 (G53 Zero) G10 L20 P1 X-10. Y0. Z-22.965 G10 L20 P2 X-5. Y0. Z-27.965 G10 L20 P3 X0. Y0. Z-17.965 T1 (4" FACE MILL) M6 N1 G0 G40 G80 G90 S4000 M3 T2 M8 ( FACING ) M11 G0 G90 G54 B0. <=============== B0. suppose to appear like this but I can't make it help please M10 X-4.4 Y-1.0001 M56 H1 D9 G43 H1 Z2. D9 Z.2 G1 Z-.0001 F5. X12.4 F50. Y-2.6667 X-2.4 Y-4.3333 X12.4 Y-5.9999 X-4.4 G0 Z2. G0 G80 M9 G91 G28 Z0 M5 G90 G49 M1 T2 M6 N2 ( 3/4 FLAT ENDMILL) G0 G40 G80 G90 S7000 M3 T3 M8(CONTOUR) M11 G0 G90 G54 M10 X-.525 Y.75 M56 H1 D9 G43 H1 Z2. D9 Z.2 G1 Z-5.025 F5. G41 X0. F25. X10. F40. G2 X10.75 Y0. I0. J-.75 G1 Y-7. G2 X10. Y-7.75 I-.75 J0. G1 X0. G2 X-.75 Y-7. I0. J.75 G1 Y0. G2 G40 X0. Y.75 I.75 J0. G1 Z.2 F100. G0 Z.25 X-.525 Y.375 Z.2 G1 Z-5.025 F5. G41 X0. F25. X10. F40. G2 X10.375 Y0. I0. J-.375 G1 Y-7. G2 X10. Y-7.375 I-.375 J0. G1 X0. G2 X-.375 Y-7. I0. J.375 G1 Y0. G2 G40 X0. Y.375 I.375 J0. G1 Z.2 F100. G0 Z2. G0 G80 M9 G91 G28 Z0 M5 G90 G49 M1 T3 M6 N3 ( 3/4 DRILL) G0 G40 G80 G90 S7000 M3 T2 M8(PECK DRILL) M11 G0 G90 G54 M10 X5.0432 Y-3.4878 M56 H1 D9 G43 H1 Z2. D9 G98 G83 Z-1. R.1 Q.225 F10. G0 G80 M9 G91 G28 Z0 M5 G90 G49 M1
  15. Where do you put this postblock in which section? I"m confused can you be more pacific?
  16. Hi, I'm having problem to seperate the Manual Entry comment and the Operation Comment because they are 1 block and if I disbale one of then I'm having a conflict. Please read below. Thank you and please help. (I want Manual Entry Here)<======================================= N1G0G17G40G54G80G98M5 (C-AXIS FACE CONTOUR OPERATION 1)<======================================= (I disabled the Manual Entry from this block but it does not show the Manual Entry if I copy and pasted into another post block) ( 3/16 FLAT ENDMILL) T0101 G0C0.Y0 G97S200M13 S2500 X.4629Z.1M8 G12.1 G1X.4338C.0808F5. Z-.33 G41X.394C.0609F0. G3X.3775C.041R.0281 G1C-.041 G2X.14C-.1598R.1187 G1X-.14 G2X-.3775C-.041R.1187 G1C.041 G2X-.14C.1598R.1187 G1X.14 G2X.3775C.041R.1187 G1C.031 G3X.394C.0111R.0281 G1G40X.4338C-.0088 X.3937C.0808 G41X.354C.0609 G3X.3375C.041R.0281 G1C-.041 G2X.14C-.1398R.0988 G1X-.14 G2X-.3375C-.041R.0988 G1C.041 G2X-.14C.1398R.0988 G1X.14 G2X.3375C.041R.0988 G1C.031 G3X.354C.0111R.0281 G1G40X.3937C-.0088 Z.1F500. G30U0V0W0H0. T0100M9 M1
  17. I got it now, it's. Step 1: Control Definition Manager Step 2: click on NC "Output" (It will leads you to General) Step 3: look for "spaces between NC addresses" Step 4: change from "1" to "0" then it will becomes like this N1G0G17G40G54G80G98M5 ( 3/16 FLAT ENDMILL) T0101 G0C0.Y0 G97S200M13 S2500 Thanks for your respond.
  18. One of my programmers wants to remove spaces between the G-Codes like this. How do I do do it? Please help, thank you. (MANUAL ENTRY AREA HERE) N1G0G17G40G54G80G98M5 (3/16 FLAT ENDMILL ) T0101 G0C0.Y0 G97S200M13 S2500 X.4629Z.1M8 G12.1 G1 X.4338C.0808F5. Z-.33 Z.1F500. G30U0V0W0H0. T0100M9 M1
  19. I went to the active report for the files as you told but how can I link them? Please let me know.
  20. I'm trying to create setup sheet by using Active Reports Designer. I'm on the way to finish it and I have only one problem is the "Manual Entry" note not showing up on the setup sheet. I think because I don't know what it is called in the function of the template shopware.inc that I downloaded. Does any one know about this? PS: If this forum is only support the post can you guys suggest me a good link for me to follow? Best regards, steven.L
  21. I hate to say this and sorry to be rude but if we knew that we could ask for the dealer then why we come to this wonderful forum website? On the other hand, it takes weeks just to find out who is doing what and restrictions in the company just to get what we need. For instance, signatures required for approval ABC..., I hope my comment won't make you unhappy but please understand us that we really need your help because the place where we work is lack of communication if we all don't consider of the word "I work for a suck company".... hiihhi.... Good night, Steven.L
  22. In our shop we have many versions of NC files and we would like it posts out revision number everytime we generate g-code. How do I do that? Please help. Here is the sample that I would like to have. Thank you ########## % O0000 (T) (This Post Is Only For - HAAS) (Unproven/ Proven By: ) (Post Revision "1") -----------> I want some thing like this, thank you (ALUMINUM INCH - 2024) (***** Posted Date And Time *****) (JUL.05.2012 @ 7:17PM) (Source - C:\USERS\MASTER\DOCUMENTS\MY MCAMX5\MCX\T.MCX-5) (NC - C:\USERS\MASTER\DOCUMENTS\MY MCAMX5\MILL\NC\T.NC) (****** Note From Programmer ******) (MANUAL ENTRY) (********* Tool List Info *********) (T1 -2" FACE MILL - H1 - D1) (T2 - 3/4 FLAT ENDMILL - H2 - D2) (T4 - 1/2 DRILL - H4 - D4) (T5 - 3/4-10 TAPRH - H5 - D5) (T3 - 1/2 FLAT ENDMILL - H3 - D3) (******* Work Offset List *******) G90 G10 L2 P1 X0 Y0 Z0 G90 G10 L P X0 Y0 Z0 (Optional) N1 ( FACING ) G91 G28 Z0 G0 G17 G40 G49 G80 G90 T1 M06 (2" FACE MILL) G0 G90 G54 X-7.2 Y-.5001 S5000 M3 G43 H1 Z2. T2 M8 Z.2 G1 Z-.0001 F100. X1.2 F50. G2 Y-1.4999 I0. J-.4999 F200. G1 X-7.2 F50. G0 Z2. M9 G91 G28 Z0 M5 M1 N2(CONTOUR) G91 G28 Z0 G0 G17 G40 G49 G80 G90 T2 M06 ( 3/4 FLAT ENDMILL) G0 G90 G54 X-3.25 Y1.875 S700 M3 G43 H2 Z2. T4 M8 Z.2 G1 Z-1. F100. G41 D2 Y1.125 F70. G3 X-2.5 Y.375 I.75 J0. G1 X0. G2 X.375 Y0. I0. J-.375 G1 Y-2. G2 X0. Y-2.375 I-.375 J0. G1 X-5. G2 X-5.375 Y-2. I0. J.375 G1 Y0. G2 X-5. Y.375 I.375 J0. G1 X-2.5 G3 X-1.75 Y1.125 I0. J.75 G1 G40 Y1.875 Z.2 F6.42 G0 Z2. M9 G91 G28 Z0 M5 M1 N4(DRILLL) G91 G28 Z0 G0 G17 G40 G49 G80 G90 T4 M06 ( 1/2 DRILL) G0 G90 G54 X-2.3998 Y-.9136 S2000 M3 G43 H4 Z2. T5 M8 G98 G82 Z-.75 R.1 P100. F20. M9 G91 G28 Z0 M5 M1 N5(TAP) G91 G28 Z0 G0 G17 G40 G49 G80 G90 T5 M06 ( 3/4-10 TAPRH) G0 G90 G54 X-2.3998 Y-.9136 G43 H5 Z2. T3 M8 M29 S200 G98 G84 Z-1. R.1 F20. P100 M9 G91 G28 Z0 M5 M1 N3(OD) G91 G28 Z0 G0 G17 G40 G49 G80 G90 T3 M06 ( 1/2 FLAT ENDMILL) G0 G90 G54 X-2. Y-3.25 S7000 M3 G43 H3 Z2. T1 M8 Z.2 G1 Z-2. F6.42 G41 D3 Y-2.75 F40. G3 X-2.5 Y-2.25 I-.5 J0. G1 X-5. G2 X-5.25 Y-2. I0. J.25 G1 Y0. G2 X-5. Y.25 I.25 J0. G1 X0. G2 X.25 Y0. I0. J-.25 G1 Y-2. G2 X0. Y-2.25 I-.25 J0. G1 X-2.5 G3 X-3. Y-2.75 I0. J-.5 G1 G40 Y-3.25 Z.2 F6.42 G0 Z2. M5 G91 G28 Z0 M9 G28 Y0 M30 %

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...