LESSONS › Python API

Control Robots

Python API can be used to control robots during a simulation. For example, you can write a component script that executes subroutines in a robot program for picking and placing parts at different locations. That, of course, would not require you to execute the entire robot program. You can create subroutines for tasks dynamically and automate robot motions using scripts and helper libraries.

In this tutorial you learn how to:
  • Control the actions of a robot during a simulation with a script.
  • Call subroutines in a robot program.
  • Move and drive robot joints.
  • Use helper libraries to record and automate robot routines.
  • Control a robot from a different component.

Software Version: 4.0.2

TABLE OF CONTENTS

  1. Getting Started
  2. Call Subroutines
  3. Move Joints
  4. Pick Stationary Parts
  5. Pick Moving Parts
  6. Place Parts
  7. Pick Parts from Pallet
  8. Record Routines
  9. Place Parts in Pattern
DOWNLOAD FILESFORUM