03-02-2022, 02:21 PM
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
...
PROC main_RoboDK()
Pickandplace;
EXIT;
ENDPROC
PROC Pickandplace()
!Program
...
ENDMODULE
However, when we generate our program, it is generated a file like:
MODULE MOD_Prog2
PROC Main()
...
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
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
...
PROC main_RoboDK()
Pickandplace;
EXIT;
ENDPROC
PROC Pickandplace()
!Program
...
ENDMODULE
However, when we generate our program, it is generated a file like:
MODULE MOD_Prog2
PROC Main()
...
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