KUKA Joint Velocities Marwin Junior Member Posts: 4 Threads: 2 Joined: Feb 2022 Reputation: 0 07-11-2022, 09:36 PM Hello, Kuka differentiates between translational and orientational velocities in a Continuous-Path (e.g. linear) motion. When using the setSpeed() command and the KUKA KRC2 postprocessor the joint speed input sets the rotational speed of the Continuous-Path Motion. Thus, from my understanding there is currently no predefined function to change the joint velocity for a Joint/ a PTP motion. Is this correct? What other way would I have to change the velocity of the PTP motions (KUKA command \$VEL_AXIS[])? "RunInstruction("\$VEL_AXIS[1]=50", INSTRUCTION_INSERT_CODE)"? Thank you! Marwin Find Reply Albert Moderator Posts: 1,492 Threads: 1 Joined: Apr 2018 Reputation: 77 07-12-2022, 12:45 PM Your suggestion of using RunInstruction to insert code in your generated program is a valid option if you are using the API: Code:`robot.RunInstruction("\$VEL_AXIS[1]=50", INSTRUCTION_INSERT_CODE)` On the other hand, you can customize the post processor to generate the code you would like to have for joint speed changes. For example, to customize the behavior of setting the joints you could edit the KUKA KRC4 post processor by adding this function inside the main class: Code:```    def setSpeedJoints(self, speed_degs):         """Changes the robot joint speed (in deg/s)"""         # Set the real joint speed:         for i in range(6):             self.addline('\$VEL_AXIS[%i] = %.5f' % (i+1, speed_degs))                      # Set the pose orientation         # self.addline('\$VEL.ORI1 = %.5f' % speed_degs)         # self.addline('\$VEL.ORI2 = %.5f' % speed_degs)``` You'll find more information and useful examples here: https://robodk.com/doc/en/Post-Processor...ampleSpeed Find Reply Marwin Junior Member Posts: 4 Threads: 2 Joined: Feb 2022 Reputation: 0 07-12-2022, 01:11 PM Great, thank you! :) Find Reply