Skip to main content
Skip table of contents

Try Compliance command samples

Caution

Before trying the sample, make sure to read and follow Precautions. For more information, refer to PART 1. Safety Manual.

Note

  • If there is an external torque above the threshold when enabling or disabling compliance control, the robot stops the program due to the JTS (Joint Torque Sensor) error.

  • Stiffness change can be executed regardless of the external torque size.

  • During compliance control, joint motions, such as MoveJ command, cannot be executed.

Threshold of JTS error (Nm)

Model

J1

J2

J3

J4

J5

J6

E0509

15

15

15

15

15

15

image-20250806-060047.png
  1. Change the servo state to On.

  2. Change the operation mode to Manual.

  3. Select the Robot Parameters module from the bottom menu. In this example, the Collision Sensitivity is set to 95% to explain the reason for lowering the Collision Sensitivity when using compliance control.

image-20250806-061023.png
image-20250806-061042.png
  1. Select Robot Limits from Safety Settings.

  2. Enable the parameter editing state.

  3. If a password input window appears, enter the Safety Password (default safety password: admin).

  4. Click the Confirm button.

  5. Modify the Collision Sensitivity to 95%.

  6. Click the Save button to save the settings.

image-20250806-061817.png
  1. After reviewing the changes, click the Apply button.

image-20250806-061918.png
  1. Select the Task Editor module from the bottom menu.

image-20250806-062227.png
  1. Rename the Task to Task_demo_compliance_ctrl.

  2. Save the updated Task name.

image-20250806-062531.png
  1. Add the MoveJ command. This command will be used to move the robot to the starting position for compliance control.

image-20250806-062643.png
  1. Add two Compliance commands. These commands will be used to activate and deactivate compliance control.

  2. Insert a Wait command between the Compliance commands. This wait command will be used to maintain compliance control.

image-20250806-062855.png
  1. Select the MoveJ command on line 3.

  2. Choose the Property tab.

  3. Modify the target position of MoveJ to (0, 0, 90, 0, 90, 0) deg. Depending on the robot's installation space, the angle of the J1 can be adjusted if necessary.

image-20250806-065158.png
  1. Select the Compliance command on line 4.

  2. In the Property tab, set the Mode as follows: Mode On activates compliance control.

    • Mode : On

  3. Set the Stiffness as follows: Lower the stiffness in the X and Y directions to make the robot respond more softly in those directions.

    • X : 200 N/m

    • Y : 200 N/m

    • Z : 3000 N/m (default)

    • Rx, Ry, Rz : 200 Nm/rad (default)

image-20250807-050007.png
  1. Select the Wait command on line 5.

  2. Set the Wait Time as follows.

    • Wait Time : 100 sec

image-20250807-050118.png
  1. Select the Compliance command on line 6.

  2. In the Property tab, set the Mode as follows: Mode Off deactivates compliance control.

    • Mode : Off

  3. Change the operation mode to Auto. The Property tab will automatically switch to the Monitoring tab.

image-20250807-050325.png
  1. Click the Run button. The robot will move to the starting position, initiate compliance control, and remain stationary for 100 seconds. During this time, gently push the robot's end effector toward the robot's body. The robot will stop with a collision error(or TCP Force Limit error). In the safety stop state caused by the collision, the robot's LED will display a yellow color.

image-20250807-050544.png
  1. Click the Reset button on the safety stop warning window. The task program will resume operation.

  2. Click the Stop button to terminate the program.

image-20250807-051132.png
  1. To resolve collision issues, the Collision Sensitivity in the safety settings should be lowered. (If there is a TCP Force Limit issue, the TCP Force parameter should be increased.) Select the Robot Parameters module from the bottom menu. Alternatively, you can select the Robot Parameters module tab in the top left corner, which works the same.

image-20250807-051232.png
  1. In Auto mode, accessing the Robot Parameters module will trigger a notification window. Click the Confirm button to switch to Manual mode.

image-20250807-051936.png
  1. Select Robot Limits from Safety Settings.

  2. Enable the parameter editing state. If a password input window appears, refer to steps 6–7.

  3. Modify the Collision Sensitivity to 50%.

  4. Click the Save button to save the settings. If the Robot Parameters Review window appears, review the modifications and click the Apply button.

image-20250807-052343.png
  1. Select the Task Editor module tab.

  2. Switch to Auto mode to execute the Task Program.

image-20250807-052508.png
external_Try Compliance command samples.png
  1. Click the Run button. During the wait time, gently push the robot's end effector toward the robot's body. The robot will move due to the pushing force, and once you release your hand, it will return to its original position.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.