Skip to content

Commit 8b0c985

Browse files
committed
修改夹爪配件myblockly使用图片为英文版本
1 parent 87bc6ec commit 8b0c985

40 files changed

+162
-75
lines changed

1-ProductIntroduction/1.4-AccessoriesTools/1.4.1-Gripper/1-AdaptiveGripper.md

+101-34
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Mall link:
5959
If the video fails to load, please click the link below to view the video.
6060
[Installing Vidio](https://www.youtube.com/watch?v=RPKjV0IuP5E)
6161

62-
**Installation and use**
62+
### **Installation and use**
6363

6464
- Clamping jaws mounting:
6565

@@ -80,9 +80,9 @@ If the video fails to load, please click the link below to view the video.
8080

8181
<br>
8282

83-
**myCobot Pro 320 Instructions for use**
83+
### **myCobot Pro 320 Instructions for use**
8484

85-
- Programming development (python):
85+
#### Programming development (python):
8686

8787
> Programming and development of the jaws using python:
8888
> [python environment download](../../../7-ApplicationBasePython/7.1_download.md)
@@ -135,37 +135,104 @@ If the video fails to load, please click the link below to view the video.
135135

136136
> You can see the jaws open-close-open
137137

138-
- Programming Development (myblockly):
139-
140-
> Programming and development of the jaws using myblockly:
141-
> [myblockly download](../../../5-BasicApplication/5.2-ApplicationUse/myblockly/320pi/2-install_uninstall.md)
142-
> Note that before developing with myblockly, you need to have run `mc.set_gripper_mode(0)` with a python program to set the jaws to 485 mode.
143-
144-
1. After confirming that the structural and electrical connections are complete, start the arm and open the myblockly software when the graphical interface appears.
145-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用1.png)
146-
2. Modify the baud rate to 115200
147-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用2.png)
148-
3. Find `Jaws` in the list on the left and select the `Set Jaw Value` module.
149-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用3.png)
150-
4. The drag module is attached under the `initialise mycobot` module, modify the degree of spread and speed as required, here it is set to `70`.
151-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用4.png)
152-
5. In `Time`, select `Sleep` module
153-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用5.png)
154-
6. Set the time to `2 seconds` to allow time for the jaws to move.
155-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用6.png)
156-
7. Repeat the selection of the `Set Jaw Value` and `Sleep` modules to change the `Set Jaw Value` opening level to `0`.
157-
![alt text](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用7.png)
158-
![alt text](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用8.png)
159-
8. Find `Jaws` in the list on the left and select the `Set Jaw Value` module.
160-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用9.png)
161-
9. Modify status to `open' and speed to `70'.
162-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用10.png)
163-
10. Click on the green running icon in the upper right corner to see the jaws `open-close-open` in motion
164-
165-
<!-- 2 Development with SDK
166-
- [Blockly]()
167-
- [Python]()
168-
- [C++]() -->
138+
#### Programming Development (myblockly):
139+
140+
> Programming and development of the gripper using myblockly:
141+
> [myblockly download](../../../5-BasicApplication/5.2-ApplicationUse/5.2.1-myblockly/320pi/2-install_uninstall.md)
142+
143+
- **Port Passthrough Mode Method 1:**
144+
145+
1. After confirming that the structural and electrical connections are complete, start the arm and open the myblockly software when the graphical interface appears.
146+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用1.png)
147+
2. Modify the baud rate to 115200.
148+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用2.png)
149+
3. Find `Gripper` in the list on the left and select the `Set Gripper Mode` module.
150+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用3.png)
151+
4. Drag and drop under the `init` module and select `Transparent Transmission`.
152+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用4.png)
153+
5. In `Loops`, select `repeat` module.
154+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用5.png)
155+
6. Set the times to `3 times`.
156+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用6.png)
157+
7. In `Gripper`, select the `Set Gripper State` module, put it in the `repeat` module, set it to open at 20 speed, and the gripper type to Adaptive Gripper.
158+
![alt text](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用7.png)
159+
![alt text](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用8.png)
160+
8. In `Time`, find the `Sleep` module and set the time to 2s, the purpose is to give the gripper time to make a movement.
161+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用9.png)
162+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用10.png)
163+
9. In `Gripper`, select the `Set Gripper State` module, put it in the `repeat` module, set it to close at 20 speed, and the gripper type to Adaptive Gripper.
164+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用11.png)
165+
10. In `Time`, find the `Sleep` module and set the time to 2s, the purpose is to give the gripper time to make a movement.
166+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用12.png)
167+
11. Final flowchart and code.
168+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用13.png)
169+
170+
```python
171+
from pymycobot.mycobot import MyCobot
172+
import time
173+
174+
mc = MyCobot('/dev/ttyAMA0', 115200)
175+
mc.set_gripper_mode(0)
176+
for count in range(3):
177+
mc.set_gripper_state(0,20,1)
178+
time.sleep(2)
179+
mc.set_gripper_state(1,20,1)
180+
time.sleep(2)
181+
```
182+
12. Click on the green running icon in the upper right corner to see the jaws `open-close-open` in motion.
183+
184+
- **Port Passthrough Mode Method 2:**
185+
1. The process framework is the same as method 1, except that the `Set Gripper Mode` module is replaced by `Set Gripper Value`.
186+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用14.png)
187+
2. Final flowchart and code.
188+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用15.png)
189+
190+
```python
191+
from pymycobot.mycobot import MyCobot
192+
import time
193+
194+
mc = MyCobot('/dev/ttyAMA0', 115200)
195+
mc.set_gripper_mode(0)
196+
for count in range(3):
197+
mc.set_gripper_value(10,50,1)
198+
time.sleep(2)
199+
mc.set_gripper_value(90,50,1)
200+
time.sleep(2)
201+
```
202+
203+
- **IO Control Mode:**
204+
1. Setting the `Set Gripper Mode` module to Port Mode.
205+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用16.png)
206+
2. Again select the `repeat` module and loop through it three times.
207+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用17.png)
208+
3. In `ATOM IO` select the `Setting IO value` module.
209+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用18.png)
210+
4. Set the IO port to 33 with a value of 0.
211+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用19.png)
212+
5. In `Time` select the `Sleep` module.
213+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用20.png)
214+
6. Setting time to 2s.
215+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用21.png)
216+
7. Repeat the selection of the `Setting IO value` and `Sleep` modules, noting the change of IO number and the change of value.
217+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用22.png)
218+
8. Final flowchart and code.
219+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/1-AdaptiveGripper/myblockly使用23.png)
220+
```python
221+
from pymycobot.mycobot import MyCobot
222+
import time
223+
224+
mc = MyCobot('/dev/ttyAMA0', 115200)
225+
mc.set_gripper_mode(1)
226+
for count in range(3):
227+
mc.set_digital_output(33, 0)
228+
time.sleep(2)
229+
mc.set_digital_output(33, 1)
230+
time.sleep(2)
231+
mc.set_digital_output(23, 0)
232+
time.sleep(2)
233+
mc.set_digital_output(23, 1)
234+
time.sleep(2)
235+
```
169236

170237
---
171238

1-ProductIntroduction/1.4-AccessoriesTools/1.4.1-Gripper/2-ElectricGripper.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ mc.set_eletric_gripper(0)
122122
time.sleep(3)
123123
```
124124

125-
<!-- 2 Development with SDK
126-
- [Blockly]()
127-
- [Python]()
128-
- [C++]() -->
125+
---
129126

130127
[← Accessories Tools Page](../1.4-AccessoriesTools.md#gripper) | [Next Page →](../1.4.1-Gripper/3-PneumaticGripper.md)

1-ProductIntroduction/1.4-AccessoriesTools/1.4.1-Gripper/3-PneumaticGripper.md

+27-19
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,32 @@
9898
> To test if the jaws are available after installation, use myBlockly.
9999
> [myblockly 下载](../../../5-ProgramingApplication-myblockly-uiflow-mind/5.1-myblockly/5.1.1-myBlocklyFirstUse.md#myblockly下载安装)
100100
101-
1. After confirming that the structural and electrical connections are complete, start the arm and open the myblockly software when the graphical interface appears:
102-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证0.png)
103-
2. Modify the baud rate to 115200:
104-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证1.png)
105-
3. Find `Base` in the list on the left and select the `Set Pin Out` module:
106-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证2.png)
107-
4. Set `pin number` to `1` and `output` to `0`:
108-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证3.png)
109-
5. Find `Time` and select the `Sleep` module:
110-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证4.png)
111-
6. Set the time as desired, here it is set to `2s`:
112-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证5.png)
113-
7. Repeat the above steps for the final setup as follows:
114-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证6.png)
115-
8. Click on the green run button in the top right corner to see the jaws close-open once.
101+
1. After confirming that the structural and electrical connections are complete, start the arm and open the myblockly software when the graphical interface appears:
102+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证0.png)
103+
2. Modify the baud rate to 115200:
104+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证1.png)
105+
3. Find `Base` in the list on the left and select the `Set Pin Out` module:
106+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证2.png)
107+
4. Set `pin number` to `1` and `output` to `0`:
108+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证3.png)
109+
5. Find `Time` and select the `Sleep` module:
110+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证4.png)
111+
6. Set the time as desired, here it is set to `2s`:
112+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证5.png)
113+
7. Repeat the above steps for the final setup as follows:
114+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/3-PneumaticGripper/myblockly验证6.png)
115+
8. Final code:
116+
```python
117+
from pymycobot.mycobot import MyCobot
118+
import time
119+
120+
mc = MyCobot('/dev/ttyAMA0', 115200)
121+
mc.set_basic_output(1, 0)
122+
time.sleep(2)
123+
mc.set_basic_output(1, 1)
124+
time.sleep(2)
125+
```
126+
9. Click on the green run button in the top right corner to see the jaws close-open once.
116127

117128
- Programming Development:
118129

@@ -167,9 +178,6 @@
167178

168179
> Clamping jaws can be seen closed-open
169180

170-
<!-- 2 Development with SDK
171-
- [Blockly]()
172-
- [Python]()
173-
- [C++]() -->
181+
---
174182

175183
[← Accessories Tools Page](../1.4-AccessoriesTools.md#gripper) | [Next Page →](../1.4.1-Gripper/4-FlexibleGripper.md)

1-ProductIntroduction/1.4-AccessoriesTools/1.4.1-Gripper/4-FlexibleGripper.md

+32-15
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,36 @@ Special Reminder ⚠️: Regarding pressure maintenance, both positive and negat
119119
> To test if the jaws are available after installation, use myBlockly.
120120
> [myblockly download](../../../5-ProgramingApplication-myblockly-uiflow-mind/5.1-myblockly/5.1.1-myBlocklyFirstUse.md#myblockly下载安装)
121121
122-
1. After confirming that the structural and electrical connections are complete, start the arm and open the myblockly software when the graphical interface appears.
123-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证0.png)
124-
2. Modify the baud rate to 115200:
125-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证1.png)
126-
3. Find `Base` in the list on the left and select the `Set Pin Out` module:
127-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证2.png)
128-
4. Set `pin number` to `1` and `output` to `0`:
129-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证3.png)
130-
5. Find `Time` and select the `Sleep` module:
131-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证4.png)
132-
6. Set the time as desired, here it is set to `1s`:
133-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证5.png)
134-
7. Repeat the above steps for the final setup as follows:
135-
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证6.png)
136-
8. Click on the green run button in the top right corner to see the jaws close-open once.
122+
1. After confirming that the structural and electrical connections are complete, start the arm and open the myblockly software when the graphical interface appears.
123+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证0.png)
124+
2. Modify the baud rate to 115200:
125+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证1.png)
126+
3. Find `Base` in the list on the left and select the `Set Pin Out` module:
127+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证2.png)
128+
4. Set `pin number` to `1` and `output` to `0`:
129+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证3.png)
130+
5. Find `Time` and select the `Sleep` module:
131+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证4.png)
132+
6. Set the time as desired, here it is set to `1s`:
133+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证5.png)
134+
7. Repeat the above steps for the final setup as follows:
135+
![](../../../resources/1-ProductIntroduction/1.4/1.4.1-Gripper/4-FlexibleGripper/myblockly验证6.png)
136+
8. Final code:
137+
```python
138+
from pymycobot.mycobot import MyCobot
139+
import time
140+
141+
mc = MyCobot('/dev/ttyAMA0', 115200)
142+
mc.set_basic_output(1, 0)
143+
time.sleep(1)
144+
mc.set_basic_output(2, 1)
145+
time.sleep(1)
146+
mc.set_basic_output(1, 1)
147+
time.sleep(1)
148+
mc.set_basic_output(2, 0)
149+
time.sleep(1)
150+
```
151+
9. Click on the green run button in the top right corner to see the jaws close-open once.
137152

138153
- Programming Development:
139154

@@ -188,4 +203,6 @@ Special Reminder ⚠️: Regarding pressure maintenance, both positive and negat
188203

189204
> Clamping jaws can be seen closed-open
190205

206+
---
207+
191208
[← Accessories Tools Page](../1.4-AccessoriesTools.md#gripper)

1-ProductIntroduction/1.4-AccessoriesTools/1.4.1-Gripper/5-flexible_electric_gripper.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
| fixed method | screw |
2626
| Use environment requirements | atmospheric and atmospheric pressure |
2727
| control interface control | Serial / IO Control |
28-
| Applicable equipment | ER myCobot 320 M5
29-
ER myCobot 320 Pi
30-
ER myCobot Pro 600 |
28+
| Applicable equipment | ER myCobot 320 M5、ER myCobot 320 Pi、ER myCobot Pro 600 |
3129

3230
**Flexible gripper:** used for gripping objects
3331

Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)