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:

Parameter 20018 Assistance- Holding Onto Additional Information


jpara
 Share

Recommended Posts

Hi All,

Looking for some guidance in reference to parameter 20018. The shop utilizes the Toolpath Group Name (20018) within the program header information. 

Within the Mastercam file, the toolpath parameter can be called "MILL FIRST SIDE FEATURES". After posting the file, parameter 20018 prints out as "MILL FIRST SIDE FEATURES: 010T0001P0001 REV-A".  Parameter 20018 shows in the NCI file with the drawing number so I know this is not a post variable definition issue. It is defined in the post processor as shown below.

pparameter$     #Read operation parameters
      #rd_params is used to call pparameter postblock and read the parameters of the operation specified in rd_param_op_no
      #"pparameter", ~prmcode$, ~sparameter$, e$
      if prmcode$ = 12025, rotary_axis2 = rpar(sparameter$, 1) #Capture the axis of rotation in Multiaxis Drill and Curve 5 Axis
      if prmcode$ = 20018, stp_grp_name = sparameter$ # Set Tool Path Group Name

It appears that the Toolpath Group Name is merging with the text within the "Group Comment" under the file tab in Machine Group Properties area (parameter 19111). The shop uses this field for entering the print drawing number. The problem here is that it only merges with the drawing number once. So if the user enters an incorrect drawing number then parameter 20018 holds onto the initial drawing number. Or, if the user imports toolpath groups from another file then it brings in the drawing number from the file that was imported from. 

Is there a way to force 20018 to not combine with the text from "Group Comment"... Or is there a way to force Mastercam to re-initialize 20018 so it captures the new text within "Group Comment"?

 

Hopefully this all makes sense - Thanks in advance,

JPARA 

Link to comment
Share on other sites
1 hour ago, jpara said:

Hi All,

Looking for some guidance in reference to parameter 20018. The shop utilizes the Toolpath Group Name (20018) within the program header information. 

Within the Mastercam file, the toolpath parameter can be called "MILL FIRST SIDE FEATURES". After posting the file, parameter 20018 prints out as "MILL FIRST SIDE FEATURES: 010T0001P0001 REV-A".  Parameter 20018 shows in the NCI file with the drawing number so I know this is not a post variable definition issue. It is defined in the post processor as shown below.


pparameter$     #Read operation parameters
      #rd_params is used to call pparameter postblock and read the parameters of the operation specified in rd_param_op_no
      #"pparameter", ~prmcode$, ~sparameter$, e$
      if prmcode$ = 12025, rotary_axis2 = rpar(sparameter$, 1) #Capture the axis of rotation in Multiaxis Drill and Curve 5 Axis
      if prmcode$ = 20018, stp_grp_name = sparameter$ # Set Tool Path Group Name

It appears that the Toolpath Group Name is merging with the text within the "Group Comment" under the file tab in Machine Group Properties area (parameter 19111). The shop uses this field for entering the print drawing number. The problem here is that it only merges with the drawing number once. So if the user enters an incorrect drawing number then parameter 20018 holds onto the initial drawing number. Or, if the user imports toolpath groups from another file then it brings in the drawing number from the file that was imported from. 

Is there a way to force 20018 to not combine with the text from "Group Comment"... Or is there a way to force Mastercam to re-initialize 20018 so it captures the new text within "Group Comment"?

 

Hopefully this all makes sense - Thanks in advance,

JPARA 

Probably not in that old of a version. Hopefully someone who still have that version installed can chime in. IF it was a defect not going to be fixed in that version since they are in the 2023 Beta cycle.

Link to comment
Share on other sites

Crazy Millman

This is in Mastercam 2022. The post has been carried over from probably X6, but when I compare sub pparameter$ against the newest "Generic Fanuc 4x Mill.pst" they are the same. - But based on your response I take it you believe this is a bug within Mastercam? I believe it started adding the group comment to parameter 20018 in Mastercam version 2018. The shop has basically been manually deleting it from their manuscripts for a while now. 

Link to comment
Share on other sites
11 minutes ago, jpara said:

Crazy Millman

This is in Mastercam 2022. The post has been carried over from probably X6, but when I compare sub pparameter$ against the newest "Generic Fanuc 4x Mill.pst" they are the same. - But based on your response I take it you believe this is a bug within Mastercam? I believe it started adding the group comment to parameter 20018 in Mastercam version 2018. The shop has basically been manually deleting it from their manuscripts for a while now. 

I apologize I got confused with the parameter thinking it was the version. To be honest you will be best posting this in the official Mastercam Forum.

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