Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Postprocessor modification for including subprograms not working

#1
Hello all. 

Didn't managed to find a topic on this so sorry if this has already been discussed.
I am working on a kuka robot with KRC4 postprocessor.
I modified it as follows : 

    # Set to True to include subprograms in the main program. Otherwise, programs can be generated separately.
    INCLUDE_SUB_PROGRAMS = True    # Set to True to include subprograms in the same file

    # Generate subprograms as new files instead of adding them in the same file (INCLUDE_SUB_PROGRAMS must be set to True)
    SUB_PROGRAMS_AS_FILES = False

so that when i generate my main program all the instructions are included instead of having multiple calls (I need this for a specific project.

The issue is that the program thus generated has  DEF ... instructions for every program included, which gives errors. How can I solve this issue (without modifying manually the program)?

Thanks
  




Users browsing this thread:
1 Guest(s)