SetJointLimitsCfg#

This command enables or disables the user-defined limits set by the SetJointLimits command. If the user-defined limits are disabled, the default joint limits become active. However, user-defined limits remain in memory, and can be re-enabled, even after a power down.

Syntax#

SetJointLimitsCfg(e)

Arguments#

  • e: user-defined joint limits enabled (1) or disabled (0).

Default values#

This setting is persistent and retained after a power cycle (a reboot).

The factory default is for user-defined joint limits to be disabled.

Responses#

  • [2093][e]

    • e: status, 1 for enabled, 0 for disabled.

Note

If any robot joints are inadvertently moved outside the defined limits, the robot will not activate. To resolve this, enable recovery mode (see Section 2.3.2), which allows movement of the joints even when they are outside the configured limits.

Usage restrictions#

This command can only be executed when the robot is deactivated.

Cyclic protocols#

In cyclic protocols, the SetJointLimitsCfg command is represented by MotionCommandID 151. See Section 4.2 for more details.