![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mastercam Discuss Mastercam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi folks.. I am looking to modify my V9 MPFAN post so I can have a 5 digit program name at the top of my program. Right now I have a "O" with 0000. Can someone walk me through this?? Thanks alot |
|
#2
| |||
| |||
| On your tool parameter page, you can enter a program number for the post to use. Look to the third column over and you'll see " program # ". Or have you already tried that and you're still getting ' O0000 ' ?
__________________ It's just a part..... cutter still goes round and round.... |
|
#3
| ||||
| ||||
| Greetings, I assume you have already made modifications to your MPFAN post. If you will attach your post as a ZIP file to a message, I will be happy to modify it for you and post it back. I will also try to explain how I fixed it. Regards, ObrienDave MasterCam programmer since V6 |
|
#4
| ||||
| ||||
Sorry, but that will not fix the 4 digit "O" word. In the post there is an output format for each "word". Usually, the "O" word is forced to a 4 digit integer. You have to change the output format in the post to allow a 5 digit "O" word. Regards, ObrienDave |
|
#5
| ||||
| ||||
Code: fs2 7 4 0 4 0l #Integer, force four leading Code: fs2 8 5 0 4 0l #Integer, force five leading Next find: Code: fmt O 7 progno #Program number Code: fmt O 8 progno #Program number HTH. (back up your post before you make any changes)
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
| Sponsored Links |
|
#6
| ||||
| ||||
__________________ It's just a part..... cutter still goes round and round.... |
|
#8
| |||
| |||
| Hi again. Ok here is my post after I did ReKD's mods. I put the O34343 in at the tool Parameters page but chose 111111 when I coded the part. Major confusion here. All I want is the 111111 in place of the O34343. I also don't want it to say (PROGRAM NAME-111111). This part is just a simple 2-d square. I have some more things I would like changed, but one thing at a time for this greenhorn. Thanks again for any help guys. % O34343 (PROGRAM NAME - 111111) (DATE=DD-MM-YY - 15-07-05 TIME=HH:MM - 07:04) N5G20 N10G0G17G40G49G80G90 ( 1/2 FLAT ENDMILL TOOL - 1 DIA. OFF. - 21 LEN. - 2 DIA. - .5) N15T1M6 N20G0G90G53X0.Y4.25A0.S1069M3 N25G43H2Z.1 N30G1Z0.F6.42 N35X5. N40G2X5.25Y4.R.25 N45G1Y0. N50G2X5.Y-.25R.25 N55G1X0. N60G2X-.25Y0.R.25 N65G1Y4. N70G2X0.Y4.25R.25 N75G0Z.1 N80M5 N85G91G28Z0. N90G28X0.Y0.A0. N95M30 % |
|
#9
| ||||
| ||||
| progname and progno are 2 different things. progno comes from the Program Number in the Ops manager. progname is the name of the NCI destination. (Typically the MC9 name) i.e. if your MC9 name is 11111.mc9, that's what you'll likely get for progname. Do you want the program name to match the program number?
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#10
| |||
| |||
| Ya know I am really confused here as to what I want. I am sending a program that works perfect for my machine. It is a 1X2" 2-d rectangle. I need a stock MPFAN post to be modified to post like my program I am sending. Probably no easy task. Thanks for the help. % O11111 N15G54G00X0Y0Z0 N26S1069M3T1 N28G1Z0.F6.42 N45G43H1Z.1 N26X0.Y1.25 N65X2. N75G2X2.25Y1.R.25 N85G1Y0. N95G2X2.Y-.25R.25 N105G1X0. N115G2X-.25Y0.R.25 N125G1Y1. N135G2X0.Y1.25R.25 N136G40G49 N145G0Z0 N155G54G00X0Y0Z0 N185M30 % |
| Sponsored Links |
|
#11
| |||
| |||
| COPO, Using your program as the example, lets try this.... In your post, the 'psof' probably looks something like this: Code: .psof #Start of file for non-zero tool number . . pcuttype . toolchng = one . if ntools = one, . [ . #skip single tool outputs, stagetool must be on . stagetool = m_one . !next_tool . ] . "%", e . *progno, e . "(PROGRAM NAME - ", sprogname, ")", e . "(DATE=DD-MM-YY - ", date, " TIME=HH:MM - ", time, ")", e . pbld, n, *smetric, e . pbld, n, *sgcode, *sgplane, "G40", "G49", "G80", *sgabsinc, e . sav_absinc = absinc . if mi1 <= one, #Work coordinate system . [ Code: .psof #Start of file for non-zero tool number . . pcuttype . toolchng = one . if ntools = one, . [ . #skip single tool outputs, stagetool must be on . stagetool = m_one . !next_tool . ] . "%", e . *progno, e .# "(PROGRAM NAME - ", sprogname, ")", e .# "(DATE=DD-MM-YY - ", date, " TIME=HH:MM - ", time, ")", e . pbld, n, *smetric, e . pbld, n, *sgcode, *sgplane, "G40", "G49", "G80", *sgabsinc, e . sav_absinc = absinc . if mi1 <= one, #Work coordinate system . [ Now in your tool parameter page, go ahead and type in "11111" for your program number. When you post, one of the windows prompt will ask you for a program name or actually, a "file name". Call this what you want (the default name will show up the same as your nci, you can change it to what you want). HTH
__________________ It's just a part..... cutter still goes round and round.... Last edited by psychomill; 07-15-2005 at 10:10 AM. |
![]() |
| 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 |
| Modify Mastercam MPFAN post | COPO427 | Mastercam | 15 | 05-26-2004 11:59 AM |