Manual output in Datron MCR Post does not work

Manual output in Datron MCR Post does not work

milan_vasic
Advocate Advocate
479 Views
5 Replies
Message 1 of 6

Manual output in Datron MCR Post does not work

milan_vasic
Advocate
Advocate

According to the history of the post, something has been optimized. 

I therefore assume that the function is available.
Here is the line for it.

 

44057 13.3.2023

  • Fixed location of Manual NC command output in the Datron MCR posts.


I get the following error when I post a manual operation:

 

 

###############################################################################

Error: section is null

Error at line: 855 (datron mcr 2.cps)

Failed while processing onComment() for record 44.

###############################################################################

Error: Failed to invoke function 'onManualNC'.

Error: Failed to invoke 'onManualNC' in the post configuration.

Error: Failed to execute configuration.

Stop time: Monday, October 21, 2024 10:24:29 AM

Post processing failed.

 

 

0 Likes
480 Views
5 Replies
Replies (5)
Message 2 of 6

boopathi.sivakumar
Autodesk
Autodesk

Hi @milan_vasic 

Could you attach an f3d file to reproduce this?


Boopathi Sivakumar
Principal Technology Consultant

0 Likes
Message 3 of 6

milan_vasic
Advocate
Advocate

Here is a f3z file.
I have tested many manual output settings and each time I get an error.

0 Likes
Message 4 of 6

boopathi.sivakumar
Autodesk
Autodesk

Hi @milan_vasic 

Couple of things

one is you cannot post process the manual nc alone you will get the section is null error because there is no toolpath section so it will error.
Second you are using the pass through manual nc command in fusion but in the post there is no hadling of the passthrough function so its not printing any of your codes

You can add this function as shown below 

//add from here
function onPassThrough(text) {
  writeBlock(text);
}
//to here
function writeMainProgram() {

that would print the passthrough commands in the nc file 

boopathisivakumar_0-1729582395851.png

 


Boopathi Sivakumar
Principal Technology Consultant

0 Likes
Message 5 of 6

milan_vasic
Advocate
Advocate

Thanks for your reply.
Is there a reason why this is not in the post?

If I add it manually, my post is no longer compatible for updates and I have to add it manually every time.

Who is the author of the post and could he perhaps add it for everyone?

0 Likes
Message 6 of 6

milan_vasic
Advocate
Advocate

Hello again,

the solution does not work quite so well.
If I have two setups and a manual operation at the end of the setups, both manual operations are placed at the end instead of as configured in Fusion.
I need manual operations mostly between two setups because we mill the first side, flip the part and then the second side.
For this I want the machine to move to the side and stop with a message so the operator can flip the part.

Until now, we have always done this manually on the machine. It would make the work much easier if I could work with manual operation templates directly from the CAM.

 

Here is a picture of the setups and the generated code.

How can I make sure that the manual code is really in the right place?

 

milan_vasic_0-1732524255558.png

 

0 Likes