Changes for page LSS Communication Protocol
Last modified by Eric Nantel on 2024/11/21 09:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -283,14 +283,14 @@ 283 283 284 284 Ex: #5QSD<cr> might return *5QSD1800<cr> 285 285 286 -By default QSD will return the current session value, which is set to the value of CSD as reset/power cycle and changed whenever a SD command is processed. 286 +By default QSD will return the current session value, which is set to the value of CSD as reset/power cycle and changed whenever a SD/SR command is processed. 287 287 If #5QSD1<cr> is sent, the configured maximum speed (CSD value) will be returned instead. You can also query the current speed using "2" and the current target travel speed using "3". See the table below for an example: 288 288 289 289 |**Command sent**|**Returned value (1/10 °)** 290 -|ex: #5QS R<cr>|Current session value for maximum speed (set by latest SD/SR command)291 -|ex: #5QS R1<cr>|Current maximum speed configured (set by CSD/CSR)292 -|ex: #5QS R2<cr>|Current speed.293 -|ex: #5QS R3<cr>|Target travel speed.290 +|ex: #5QSD<cr>|Current session value for maximum speed (set by latest SD/SR command) 291 +|ex: #5QSD1<cr>|Current maximum speed configured (set by CSD/CSR) 292 +|ex: #5QSD2<cr>|Current speed. 293 +|ex: #5QSD3<cr>|Target travel speed. 294 294 295 295 Configure Speed in Degrees (**CSD**) 296 296 ... ... @@ -308,13 +308,20 @@ 308 308 309 309 Ex: #5QSR<cr> might return *5QSR45<cr> 310 310 311 -Note that the QSD query will return the current servo speed. Querying the last maximum speed value set using SR or CSR is not possible. 311 +By default QSR will return the current session value, which is set to the value of CSR as reset/power cycle and changed whenever a SD/SR command is processed. 312 +If #5QSR1<cr> is sent, the configured maximum speed (CSR value) will be returned instead. You can also query the current speed using "2" and the current target travel speed using "3". See the table below for an example: 312 312 313 -Configure Speed in Degrees (**CSR**) 314 +|**Command sent**|**Returned value (1/10 °)** 315 +|ex: #5QSR<cr>|Current session value for maximum speed (set by latest SD/SR command) 316 +|ex: #5QSR1<cr>|Current maximum speed configured (set by CSD/CSR) 317 +|ex: #5QSR2<cr>|Current speed. 318 +|ex: #5QSR3<cr>|Target travel speed. 314 314 320 +Configure Speed in RPM (**CSR**) 321 + 315 315 Ex: #5CSR45<cr> 316 316 317 -Using the CS Dcommand sets the servo's maximum speed which is saved in EEPROM. In the example above, the servo's maximum speed will be set to 45rpm. When the servo is powered on (or after a reset), the CSDvalue is used. Note that CSD and CSR are effectively the same, but allow the user to specify the speed in either unit. The last command (either CSR or CSD) is what the servo uses for that session.324 +Using the CSR command sets the servo's maximum speed which is saved in EEPROM. In the example above, the servo's maximum speed will be set to 45rpm. When the servo is powered on (or after a reset), the CSR value is used. Note that CSD and CSR are effectively the same, but allow the user to specify the speed in either unit. The last command (either CSR or CSD) is what the servo uses for that session. 318 318 319 319 __14. Rigidity (R)__ 320 320