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:

Lathe Active Report Issues


uncle_dolan
 Share

Recommended Posts

Hi All,

 

I'm in the process of developing a setup sheet for our Lathes and am running into some problems. We have a report set up for our mills and it works no dramas. I have pretty much replicated it for the lathe and am getting the following issues:

 

1. Insert Tip Radius: When I create a setup sheet, it will only read the tip radius of the first tool, and then output that radius for all tools, however, if i create a setup sheet for individual tools, it will pick the correct radius every time.

 

2. Operations are getting listed twice. Using a subprogram to output relevant Operations info. It lists all of the operations, then goes through and lists them again, but with some of the details missing, and then it lists another called "All Operations".

 

Hope this makes some sense and any help would be greatly appreciated.

 

I've attached a marked up image to help.

 

Thanks in advance! Brendan

Link to comment
Share on other sites

Active Reports can get Tool data from two places within the XML data source. When Active Reports runs your template every time it finds the DESCRIPTION tag for example it will output it in your report. I've had this problem before and you have to define the areas of your report a little better. From your image it looks like the first part is a tool list so you would want tool data from the <TOOLS> node of the XML data source. The second part looks like an operations list that you would want to get tool data from the <OPERATION> node of the XML data source. Do you have a subreport for both the Tools list and the Operations list?

 

XML Data Source

<SETUPSHEET>
 <NCFILE>
   <OPERATION>
     <TOOL>
       ...Tool Data Fields
       <DESCRIPTION>
         T0101: General Turning Tool-55 Degree Roughing
       </DESCRIPTION>
     </TOOL>
   </OPERATION>
   <TOOLS>
     <TOOL>
       ...Tool Data Fields
       <DESCRIPTION>
         T0101: General Turning Tool-55 Degree Roughing
       </DESCRIPTION>
     <TOOL>
   </TOOLS>
 </NCFILE>
</SETUPSHEET>

Link to comment
Share on other sites

Yeah I am using subreports and have them defined to the correct Sections of the XML File like you have indicated Thrash. Will have a closer look at it today and double check that section of it is correct. I'm not able to attach the rpx files for some reason...sorry i can't provide that information.

 

Thanks for all the help everyone!

 

Brendan

Link to comment
Share on other sites

Thrash,

 

On the faulty active report I had my subreport references set to //TOOL and //OPERATION. Taking on board what you said about defining them more clearly I changed the references to //SETUPSHEET/NCFILE/TOOLS/TOOL and //SETUPSHEET/NCFILE/OPERATION respectively and from there I only had to change a couple of other small references (pretty much just re-setting the time and tip radius fields) and now it works perfectly.

 

Thanks for taking the time to help me out there Thrash! Is Appreciated!

 

Brendan

Link to comment
Share on other sites
  • 1 month later...

Thrash,

 

On the faulty active report I had my subreport references set to //TOOL and //OPERATION. Taking on board what you said about defining them more clearly I changed the references to //SETUPSHEET/NCFILE/TOOLS/TOOL and //SETUPSHEET/NCFILE/OPERATION respectively and from there I only had to change a couple of other small references (pretty much just re-setting the time and tip radius fields) and now it works perfectly.

 

Thanks for taking the time to help me out there Thrash! Is Appreciated!

 

Brendan

Hi Brendan,

 

Do you mind sharing your custom RPXs I have a custom mill RPX but haven;t gotten around to finish the lathe. Yours seems like the one I would make, do you care for sharing ?

Link to comment
Share on other sites

Hi Brendan,

 

Do you mind sharing your custom RPXs I have a custom mill RPX but haven;t gotten around to finish the lathe. Yours seems like the one I would make, do you care for sharing ?

 

Hi Greyman,

 

As I'm sure you are aware there is a lot of time and effort gone into configuring an active report. Im happy to help you out with as much information as I can to help you work through problems, but I am not comfortable sharing the rpx's. Besides anything else I have only been at my current workplace a short time and am not aure they would be too pleased with me sharing the documents that they paid for.

 

If you want me to look at creating a custom activereport to suit your company and machines i'm sure we can sort something out and get that happening.

 

Otherwise I have definitely found that everyone on the forum are very happy to pass on there experience and knowledge to help people in developing active reports.

 

Brendan

Link to comment
Share on other sites

A bit over the top asking for what others have spent time working on isn't it?

 

Kind of like asking for a post if you ask me.

 

I think it's legit asking for the active sheets

considering the person wants help making them work?

 

Besides, I'd like to see a place where people post their setup sheets, post processors, macros, tool lists, config files, etc...

I'm sure the local distributors prolly wouldnt like it, but it sure would be a good thing for the mastercam user community.

Link to comment
Share on other sites
Besides, I'd like to see a place where people post their setup sheets, post processors, macros, tool lists, config files, etc...

I'm sure the local distributors prolly wouldnt like it, but it sure would be a good thing for the mastercam user community.

 

Well, boolay for you

 

But we don't allow users to ask for things like posts, unless of course some one has one they'd like to share. Of course most users would ask the requesting individual to have their reseller contact them.

 

Sharing things that pirates can use freely is discouraged.

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