You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 6-SDKDevelopment/6.1-CommunicationDoc.md
+47-46
Original file line number
Diff line number
Diff line change
@@ -436,7 +436,7 @@ temp = x_low + x_high*256
436
436
437
437
x coordinate =(temp\33000 ?(temp – 65536) : temp)/10
438
438
439
-
*Explanation: if temp is greater than 33000, temp minus 65536, and then is divided by 100; if temp is less than 33000, then temp is divided by 100 directly.*
439
+
*Explanation: if temp is greater than 33000, temp minus 65536, and then is divided by 10; if temp is less than 33000, then temp is divided by 10 directly.*
440
440
441
441
*y coordinate is counted in a similar way.*
442
442
@@ -586,7 +586,7 @@ Return value: data structure
586
586
| ------- | -------------------- | --------- |
587
587
| Data[0]| identification frame | 0XFE |
588
588
| Data[1]| identification frame | 0XFE |
589
-
| Data[2]| data-length frame |0X02|
589
+
| Data[2]| data-length frame |0X03|
590
590
| Data[3]| command frame | 0X27 |
591
591
| Data[4]| suspend/not suspend | 0X01/0X00 |
592
592
| Data[5]| end frame | 0XFA |
@@ -595,7 +595,7 @@ Example:
595
595
596
596
Given that program suspends,
597
597
598
-
port return value: FE FE 03 12 01 FA
598
+
port return value: FE FE 03 27 01 FA
599
599
600
600
******
601
601
@@ -606,13 +606,13 @@ port return value: FE FE 03 12 01 FA
| Data[5]| signal of electrical level | 0X00/0X01 |
1635
1636
| Data[6]| end frame | 0XFA |
@@ -1715,7 +1716,7 @@ no return value
1715
1716
1716
1717
Example:
1717
1718
1718
-
Given that gripper opens by 50% at the speed of 30
1719
+
Given that gripper opens by 50% at the speed of 20
1719
1720
1720
1721
Port transmission: FE FE 04 67 32 14 FA
1721
1722
@@ -1759,7 +1760,7 @@ Return value: data structure
1759
1760
| ------- | -------------------- | ----- |
1760
1761
| Data[0]| identification frame | 0XFE |
1761
1762
| Data[1]| identification frame | 0XFE |
1762
-
| Data[2]| data-length frame |0X04|
1763
+
| Data[2]| data-length frame |0X03|
1763
1764
| Data[3]| command frame | 0X69 |
1764
1765
| Data[4]| stop/move | 00/01 |
1765
1766
| Data[6]| end frame | 0XFA |
@@ -1800,7 +1801,7 @@ no return value
1800
1801
| Data[0]| identification frame | 0XFE |
1801
1802
| Data[1]| identification frame | 0XFE |
1802
1803
| Data[2]| data-length frame | 0X04 |
1803
-
| Data[3]| command frame |0Xa0|
1804
+
| Data[3]| command frame |0XA0|
1804
1805
| Data[4]| pin number | Pin_no |
1805
1806
| Data[5]| signal of electrical level | 0X00/0X01 |
1806
1807
| Data[4]| end frame | 0XFA |
@@ -1809,7 +1810,7 @@ Example:
1809
1810
1810
1811
Setting high electrical level of pin 2
1811
1812
1812
-
Port transmission: FE FE 02 a0 02 01 FA
1813
+
Port transmission: FE FE 04 A0 02 01 FA
1813
1814
1814
1815
******
1815
1816
@@ -1824,7 +1825,7 @@ Port transmission: FE FE 02 a0 02 01 FA
1824
1825
| Data[4]| pin number | Pin_no |
1825
1826
| Data[4]| end frame | 0XFA |
1826
1827
1827
-
Port transmission: FE FE 02 a0 02 01 FA
1828
+
Port transmission: FE FE 04 a1 02 01 FA
1828
1829
1829
1830
Return value: data structure
1830
1831
@@ -1938,7 +1939,7 @@ no return value
1938
1939
1939
1940
Example:
1940
1941
1941
-
Port transmission: FE FE 04 b2 1b 58 FA
1942
+
Port transmission: FE FE 02 82 FA
1942
1943
1943
1944
Return value: data structure
1944
1945
@@ -1947,7 +1948,7 @@ Return value: data structure
1947
1948
| Data[0]| identification frame | 0XFE |
1948
1949
| Data[1]| identification frame | 0XFE |
1949
1950
| Data[2]| data-length frame | 0X0E |
1950
-
| Data[3]| command frame |0X81|
1951
+
| Data[3]| command frame |0X82|
1951
1952
| Data[4]| specify high status of x coordinate | x_high |
1952
1953
| Data[5]| specify low status of x coordinate | x_low |
1953
1954
| Data[6]| specify high status of y coordinate | y_high |
@@ -1970,7 +1971,7 @@ temp = x_low + x_high*256
1970
1971
1971
1972
x coordinate =(temp\33000 ?(temp – 65536) : temp)/10
1972
1973
1973
-
*Explanation: if temp is greater than 33000, temp minus 65536, and then is divided by 100; if temp is less than 33000, then temp is divided by 100 directly.*
1974
+
*Explanation: if temp is greater than 33000, temp minus 65536, and then is divided by 10; if temp is less than 33000, then temp is divided by 10 directly.*
1974
1975
1975
1976
*y coordinate is counted in a similar way.*
1976
1977
@@ -2016,7 +2017,7 @@ temp = x_low + x_high*256
2016
2017
2017
2018
x coordinate =(temp\33000 ?(temp – 65536) : temp)/10
2018
2019
2019
-
*Explanation: if temp is greater than 33000, temp minus 65536, and then is divided by 100; if temp is less than 33000, then temp is divided by 100 directly.*
2020
+
*Explanation: if temp is greater than 33000, temp minus 65536, and then is divided by 10; if temp is less than 33000, then temp is divided by 10 directly.*
2020
2021
2021
2022
*y coordinate is counted in a similar way.*
2022
2023
@@ -2132,7 +2133,7 @@ Return value: data structure
0 commit comments