Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Processor Adaption Nachi AX FD
#1
Hi all,

I have made some changes in the Postprocessor.
Now my question is if every Robot Model of Nachi has the same type of functionnaming
I've got a MZ12-01 with a CFD-Controller

Changes I made
The Robotprogramname normally was "MZ12-01-01-A.005"
Change to generate a program in Nachi-Software "MZ12-01.005"

Line 115
Code:
self.BASE_PROGNAME = robotnamelist[1] + '' #
#Before ... + '-01-A'


When calling Subprogram(s) the squaret brackets interfere with the Nachi-Software
Should be
CALLP XX代替CALLP (XX)


Line 173
Code:
mainprog += 'CALLP %03i\n' % (self.PROG_ID+i+1)
#Before ...+='CALLP [%03i]\n'


I would like to know if these are general issues at the Nachi PP or just for my robot-model
Programming isn't my strenght... maybe there are some better solutions.

Another thing I would like to change is the numeration of the called subprograms
The Programs start with .005 (always main)
Think it refers to Line 58
PROG_ID=5

Because I have to generate up to 20 programs at once, I have to change all programnumbers in the main and the programnamenumber...
My idea would be like this example:
'generate robot program as...'

Code:
MZ12-01.XX #For XX type a number (Main Prog)
# Calling X+n subprograms
MZ12-01.XX+1
MZ12-01.XX+2
MZ12-01.XX+n...


hope my idea is good , what I fall down on is implementing it...


Markus




Users browsing this thread:
1 Guest(s)