Use of adaptive grippers

Note that before using myblockly for development, you need to run mc.set_gripper_mode(0) with a python program to set the gripper to 485 mode. Or use the module in myblockly to set the gripper mode to "Transparent Transmission"

Preparation before you begin

Grippers include adaptive grippers, electric grippers and pneumatic grippers. Here we take the adaptive gripper as an example to explain how to use myBlockly to control the gripper.

Learning content of this chapter

How to use myBlockly to control the adaptive gripper attached to the myCobot 320 M5Stack robotic arm

API display

img

Purpose: Make the gripper enter the specified state (open or closed) at a specified speed

Simple demonstration

The graphics code is as follows:

img

Note:

If you can't control the girpper from the above example, maybe you need to set the gripper mode

img

img

And run the program

img

Note: If you are using an M5 version of the machine, you need to change the port parameter to COM