Changes for page 08 Communication

Last modified by Iris on 2025/07/24 15:23

From version 12.1
edited by Mora Zhou
on 2024/07/17 14:19
Change comment: There is no comment for this version
To version 16.1
edited by Iris
on 2025/07/24 14:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Mora
1 +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** ==
... ... @@ -272,13 +272,20 @@
272 272  Operation setting
273 273  )))|(% style="text-align:center; vertical-align:middle; width:165px" %)(((
274 274  Effective immediately
275 -)))|(% style="text-align:center; vertical-align:middle; width:109px" %)2|(% style="text-align:center; vertical-align:middle; width:85px" %)0 to 5|(% style="width:224px" %)(((
276 -* 0: 2400bps
277 -* 1: 4800bps
278 -* 2: 9600bps
279 -* 3: 19200bps
280 -* 4: 38400bps
281 -* 5: 57600bp
275 +)))|(% style="text-align:center; vertical-align:middle; width:109px" %)2|(% style="text-align:center; vertical-align:middle; width:85px" %)0 to 6|(% style="width:224px" %)(((
276 +0: 2400bps
277 +
278 +1: 4800bps
279 +
280 +2: 9600bps
281 +
282 +3: 19200bps
283 +
284 +4: 38400bps
285 +
286 +5: 57600bp
287 +
288 +6:115200bps
282 282  )))|(% style="text-align:center; vertical-align:middle; width:69px" %)-
283 283  |(% style="text-align:center; vertical-align:middle; width:121px" %)P12-03|(% style="text-align:center; vertical-align:middle; width:165px" %)Serial data format|(% style="text-align:center; vertical-align:middle; width:148px" %)(((
284 284  Operation setting
... ... @@ -285,10 +285,13 @@
285 285  )))|(% style="text-align:center; vertical-align:middle; width:165px" %)(((
286 286  Effective immediately
287 287  )))|(% style="text-align:center; vertical-align:middle; width:109px" %)0|(% style="text-align:center; vertical-align:middle; width:85px" %)0 to 3|(% style="width:224px" %)(((
288 -* 0: 1 stop bit, no parity
289 -* 1: 1 stop bit, odd parity
290 -* 2: 1 stop bit, even parity
291 -* 3: 2 stop bits, no parity
295 +0: 1 stop bit, no parity
296 +
297 +1: 1 stop bit, odd parity
298 +
299 +2: 1 stop bit, even parity
300 +
301 +3: 2 stop bits, no parity
292 292  )))|(% style="text-align:center; vertical-align:middle; width:69px" %)-
293 293  |(% style="text-align:center; vertical-align:middle; width:121px" %)P12-04|(% style="text-align:center; vertical-align:middle; width:165px" %)Modbus communication data is written into EEPROM|(% style="text-align:center; vertical-align:middle; width:148px" %)(((
294 294  Operation setting
... ... @@ -295,8 +295,9 @@
295 295  )))|(% style="text-align:center; vertical-align:middle; width:165px" %)(((
296 296  Effective immediately
297 297  )))|(% style="text-align:center; vertical-align:middle; width:109px" %)0|(% style="text-align:center; vertical-align:middle; width:85px" %)0 to 1|(% style="width:224px" %)(((
298 -* 0: Do not write to EEPROM, and do not store after power failure;
299 -* 1: Write to EEPROM, power-down storage.
308 +0: Do not write to EEPROM, and do not store after power failure;
309 +
310 +1: Write to EEPROM, power-down storage.
300 300  )))|(% style="text-align:center; vertical-align:middle; width:69px" %)-
301 301  |P12-06|Modbus 32-bit variable big endian and little endian|(((
302 302  Operation
... ... @@ -345,7 +345,7 @@
345 345  )))|=(% style="text-align: center; vertical-align: middle; width: 278px;" %)(((
346 346  **Modbus address (Decimal)**
347 347  )))|=(% style="text-align: center; vertical-align: middle; width: 192px;" %)**Category**|=(% style="text-align: center; vertical-align: middle; width: 142px;" %)**Name**
348 -|(% 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
359 +|(% style="text-align:center; vertical-align:middle; width:162px" %)P00-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 mode
349 349  
350 350  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]]__
351 351