RoboDK Forum
ABB output file - Change MODULE and PROC names- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: ABB output file - Change MODULE and PROC names (/Thread-ABB-output-file-Change-MODULE-and-PROC-names)



ABB output file - Change MODULE and PROC names-Aleix Ripoll-03-02-2022

Hello,

We would like to know how can be change the PROC name from "Main" to "Prog2". If we open the Example 1 - Pick and place, and we generate the program "Pick and place", output file is like:

MODULE MOD_Pickandplace
...
PROCmain_RoboDK()
Pickandplace;
EXIT;
ENDPROC

PROCPickandplace()
!Program
...
ENDMODULE


However, when we generate our program, it is generated a file like:

MODULE MOD_Prog2

PROCMain()
...

ENDMODULE

and we would like to generate something like your example1. We guess that somewhere is an option to change it but we can't find it.

Thank you


RE: ABB output file - Change MODULE and PROC names-Jeremy-03-02-2022

Try this:

"Tools"->"Plugins"-> Activate "Post Processor Editor"
"Program"->"Post Processor Editor"->"ABB IRC 5"

Change "FIRST PROG AS MAIN" to false.

Jeremy


RE: ABB output file - Change MODULE and PROC names-Aleix Ripoll-03-03-2022

Thank you Jeremy

Kind regards,

Aleix R.