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:

MANUAL ENTRY output


sgargaly2
 Share

Recommended Posts

I am programming for a Nakamura MX100 mill turn machine with a B axis upper head and
a lower turret.
The upper head uses a program with a .P1 extension and the lower turret with a .P2 extension.
There are places in Mastercam which I can set upper and lower tools that control which program

the toolpath will be output to.
When I program a "MANUAL ENTRY" data path, the output posts only to the upper head .P1 program.
Is there a method I can use to force the output to the lower turret .P2 program?
This would be helpful for operator and setup instructions at various places in the program as well as inserting
sync codes at specific places.
Thanks

Link to comment
Share on other sites
6 minutes ago, sgargaly2 said:

I am programming for a Nakamura MX100 mill turn machine with a B axis upper head and
a lower turret.
The upper head uses a program with a .P1 extension and the lower turret with a .P2 extension.
There are places in Mastercam which I can set upper and lower tools that control which program

the toolpath will be output to.
When I program a "MANUAL ENTRY" data path, the output posts only to the upper head .P1 program.
Is there a method I can use to force the output to the lower turret .P2 program?
This would be helpful for operator and setup instructions at various places in the program as well as inserting
sync codes at specific places.
Thanks

I cannot think of a way since Manual entry doesn't use Axis Combinations to control them. Good suggestion for Multi Channel machine. Might go cheat with a point toolpath and use a mi or mr trigger to have it ignore everything, but the comment or use it as a wait point and let the comment of the point toolpath act like your manual entry. You could add Cantext lines and call them from any toolpath, but would need to come up with some common things you want used since Cantext takes already made out comments in the Post and just outputs them.

Here is a section added for Vertical Mill/Turn a couple years ago for a customer to give you an idea.

pcant_out       #Canned text - build the string for output
      #Assign string select type outputs
      if cant_pos < 3, #cant_pos indicates canned text output
        [
        if cantext$ = 3, bld = 1
        if cantext$ = 4, bld = 0
        #Build the cantext string
        #if cantext$ = 1, strcantext = strcantext + sm00
        if cantext$ = 1,
          [
          pbld, pn, sm00, pe #Had to change to keep correct order since comments changed RDB 9-11-19
          pfe
          pfe
          pfe
          ]               
        if cantext$ = 2, strcantext = strcantext + sm01
        if cantext$ = 5, strcantext = strcantext + scant5
        #if cantext$ = 6, strcantext = strcantext + scomm_str + "SHIM CHECK 1.0" + scomm_end
        if cantext$ = 6, #Added Operator Check Spaces after comment RDB 9-11-19
          [
          pbld, pn, sm00, scomm_str, 'SHIM CHECK 1.0', scomm_end, pe
          pfe
          pfe
          pfe
          ]
        #if cantext$ = 7, strcantext = strcantext + scomm_str + "SHIM CHECK .500" + scomm_end
        if cantext$ = 7, #added Operator Check Spaces after comment RDB 9-11-19
          [
          pbld, pn, sm00, scomm_str,'SHIM CHECK .500', scomm_end, pe
          pfe
          pfe
          pfe
          ]
        #if cantext$ = 8, strcantext = strcantext + scomm_str + "SHIM CHECK .250" + scomm_end
        if cantext$ = 8, #added Operator Check Spaces after comment RDB 9-11-19
          [
          pbld, pn, sm00, scomm_str,'SHIM CHECK .250', scomm_end, pe
          pfe
          pfe
          pfe
          ]
        if cantext$ = 9,
          [
          pbld, pn, sm00, scomm_str,'SHIM CHECK 3.0', scomm_end, pe
          pfe
          pfe
          pfe
          ]
        if cantext$ = 10, strcantext = strcantext + "M05"
        if cantext$ = 11, strcantext = strcantext + "M19"
        if cantext$ = 12, strcantext = strcantext + scomm_str + 'HIDE"FAIL SAFE"' + scomm_end
        if cantext$ = 13, strcantext = strcantext + scomm_str + 'SHOW"FAIL SAFE"' + scomm_end
        if cantext$ = 14, strcantext = strcantext + scomm_str + 'HIDE"CLAMP SET 1"' + scomm_end
        if cantext$ = 15, strcantext = strcantext + scomm_str + 'SHOW"CLAMP SET 1"' + scomm_end
        if cantext$ = 16, strcantext = strcantext + scomm_str + 'HIDE"CLAMP SET 2"' + scomm_end
        if cantext$ = 17, strcantext = strcantext + scomm_str + 'SHOW"CLAMP SET 2"' + scomm_end
        if cantext$ = 18, strcantext = strcantext + scomm_str + 'HIDE"CLAMP SET 3"' + scomm_end
        if cantext$ = 19, strcantext = strcantext + scomm_str + 'SHOW"CLAMP SET 3"' + scomm_end
        if cantext$ = 20, strcantext = strcantext + scomm_str + 'HIDE"CLAMP SET 4"' + scomm_end
        if cantext$ = 21, strcantext = strcantext + scomm_str + 'SHOW"CLAMP SET 4"' + scomm_end
        if cantext$ = 22, #added Operator Check Spaces after comment RDB 11-9-2020
          [
          pbld, pn, sm00, scomm_str, 'SHIM CHECK FLUSH', scomm_end, pe
          pfe
          pfe
          pfe
          ]
        if cantext$ = 23, strcantext = strcantext + 'M03'
        if cantext$ = 24, strcantext = strcantext + 'M04'
        if cantext$ = 25, strcantext = strcantext + scomm_str + 'REMOVE TOOL' + scomm_end
        if cantext$ = 26, strcantext = strcantext + scomm_str + 'INSTALL TOOL' + scomm_end
        if cantext$ = 27, strcantext = strcantext + scomm_str + 'BROACH_MODE_ON' + scomm_end
        if cantext$ = 28, strcantext = strcantext + scomm_str + 'BROACH_MODE_OFF' + scomm_end
        if cantext$ = 29, #Added REMOVE_HEAD for Vericut RDB 11-7-2020
           [
           pbld, pn, ";REMOVE_HEAD", pe
           pbld, pn, ";REMOVE BACK SPOT FACE TOOL", pe
           ] 
        if cantext$ = 30, #Added ATTACH_HEAD for Vericut RDB 11-7-2020
           [
           pbld, pn, ";ATTACH_HEAD", pe
           pbld, pn, ";PUT ON BACK SPOT FACE TOOL", pe
           ]
        if cantext$ = 31, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S100 M3", pe
          ]
        if cantext$ = 32, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S100 M4", pe
          ]      
        if cantext$ = 33, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S400 M3", pe
          ]        
        if cantext$ = 34, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S400 M4", pe
          ]        
        if cantext$ = 35, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S500 M3", pe
          ]        
        if cantext$ = 36, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S500 M4", pe
          ]        
        if cantext$ = 37, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S600 M3", pe
          ]        
        if cantext$ = 38, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S600 M4", pe
          ]        
        if cantext$ = 39, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S700 M3", pe
          ] 
        if cantext$ = 40, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "700 M4", pe
          ]        
        if cantext$ = 41, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S800 M3", pe
          ]        
        if cantext$ = 42, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S800 M4", pe
          ]        
        if cantext$ = 43, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S900 M3", pe
          ]        
        if cantext$ = 44, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S900 M4", pe
          ]        
        if cantext$ = 45, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S1000 M3", pe
          ]
        if cantext$ = 46, #Added RPM for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "S1000 M4", pe
          ]
        if cantext$ = 47, #Added Extrenal Coolant On for Backspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "M73 M08", pe
          ]          
        if cantext$ = 48, #Added Extrenal Coolant Off for Bakcspot face tool process using Contour RBD 11-7-2020
          [
          pbld, pn, "M09", pe
          ]         
        if cantext$ > 50,
          [
          strtextno = no2str(cantext$)
          strcantext = strcantext + strm + strtextno
          ]
        ]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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...