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

Modify program instruction

I am trying to modify the speed from mm/sec to cm/min and delete the extra comments from the generated program. Which INS_TYP_ should I use to do this?
You should customize this in your post processor.

For example, if you are using Fanuc, you can customize how you set the SPEED variable in the set Speed function.

  def setSpeed(self, speed_mms):
      """Changes the robot speed (in mm/s)"""
      speed_cmmin = speed_mms*60/100
      self.SPEED = '%.0fcm/min' % max(speed_cmmin, 0.01)

Users browsing this thread:
1 Guest(s)