Changes for page 08 Communication
Last modified by Iris on 2025/07/24 15:23
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Iris1 +XWiki.Mora - Content
-
... ... @@ -34,9 +34,7 @@ 34 34 35 35 (% class="table-bordered" %) 36 36 (% class="warning" %)|(% style="text-align:center; vertical-align:middle" %)[[image:image-20220611153144-2.png]] 37 -|((( 38 -The grounding wire cannot form a closed loop under no circumstances. 39 -))) 37 +|Under no circumstances can the grounding wire form a closed loop. 40 40 41 41 When wiring, consider the drive capability of the computer/PLC and the distance between the computer/PLC and the servo drive. If the drive capacity is insufficient, a repeater is needed. 42 42 ... ... @@ -101,7 +101,6 @@ 101 101 The servo uses a 16-bit CRC check, and the host computer must also use the same check rule, otherwise the CRC check will make mistake. When transmitting, the low bit is in the front and the high bit is at the back. The CRC code are as follows: 102 102 103 103 {{code language="LUA"}} 104 -Uint16 CRC16_Calc(Uint8 *pBuf, Uint16 uLen) 105 105 { 106 106 107 107 Uint16 crc = 0xffff; ... ... @@ -136,8 +136,8 @@ 136 136 137 137 } 138 138 139 - } 140 140 137 + 141 141 } 142 142 143 143 } ... ... @@ -146,6 +146,9 @@ 146 146 147 147 } 148 148 146 +return crc; 147 + 148 +} 149 149 {{/code}} 150 150 151 151 == **Error response frame** == ... ... @@ -356,7 +356,7 @@ 356 356 )))|=(% style="text-align: center; vertical-align: middle; width: 278px;" %)((( 357 357 **Modbus address (Decimal)** 358 358 )))|=(% style="text-align: center; vertical-align: middle; width: 192px;" %)**Category**|=(% style="text-align: center; vertical-align: middle; width: 142px;" %)**Name** 359 -|(% style="text-align:center; vertical-align:middle; width:162px" %)P0 0-01|(% style="text-align:center; vertical-align:middle; width:302px" %)0x0001|(% style="text-align:center; vertical-align:middle; width:278px" %)1|(% style="text-align:center; vertical-align:middle; width:192px" %)Basic settings|(% style="text-align:center; vertical-align:middle; width:142px" %)Control mode359 +|(% style="text-align:center; vertical-align:middle; width:162px" %)P0-1|(% style="text-align:center; vertical-align:middle; width:302px" %)0x0001|(% style="text-align:center; vertical-align:middle; width:278px" %)1|(% style="text-align:center; vertical-align:middle; width:192px" %)Basic settings|(% style="text-align:center; vertical-align:middle; width:142px" %)Control mode 360 360 361 361 For detailed parameter addresses, please refer to __[["11.1 Lists of parameters".>>https://docs.we-con.com.cn/bin/view/Servo/Manual/02%20VD2%20SA%20Series/11%20Appendix/#HListsofparameters]]__ 362 362