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. Mora1 +XWiki.Iris - Content
-
... ... @@ -34,7 +34,9 @@ 34 34 35 35 (% class="table-bordered" %) 36 36 (% class="warning" %)|(% style="text-align:center; vertical-align:middle" %)[[image:image-20220611153144-2.png]] 37 -|Under no circumstances can the grounding wire form a closed loop. 37 +|((( 38 +The grounding wire cannot form a closed loop under no circumstances. 39 +))) 38 38 39 39 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. 40 40 ... ... @@ -99,6 +99,7 @@ 99 99 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: 100 100 101 101 {{code language="LUA"}} 104 +Uint16 CRC16_Calc(Uint8 *pBuf, Uint16 uLen) 102 102 { 103 103 104 104 Uint16 crc = 0xffff; ... ... @@ -133,8 +133,8 @@ 133 133 134 134 } 135 135 139 + } 136 136 137 - 138 138 } 139 139 140 140 } ... ... @@ -143,9 +143,6 @@ 143 143 144 144 } 145 145 146 -return crc; 147 - 148 -} 149 149 {{/code}} 150 150 151 151 == **Error response frame** ==