For the complete documentation index, see llms.txt. This page is also available as Markdown.

🆕Background Task

Purpose

The purpose of the Background Task is to provide continuous monitoring and control logic on the robot controller, independently of the main robot program, without requiring a separate physical PLC.

Background Task is available starting from Robpod Studio 1.3.6 release.

Overview

A Background Task runs in parallel with the main robot program on the robot controller. Its key feature is that it continues running even when the main robot program is stopped. This allows permanent background logic and monitoring functions to be implemented without requiring additional PLC hardware.

The Background Task is implemented as a standard Python program. To interact with the robot, it uses the Robpod Background API, which provides functions for:

  • Reading the robot's state: safety status, joint and caretesian position, operational mode, program state.

  • Reading and writing Digital and Analog I/O signals.

  • Reading and writing Modbus register.

  • Scheduling logic rules.

Motion commands are not supported in the Background Task, as only the main robot program is allow to control the robot motion.

The Background Task can also be configured to start automatically when the robot controller starts up, ensuring that background logic and monitoring functions are available without manual intervention.

To leran how to develop and setup a Background Task, follow this guides:

Last updated