Changes for page LSS Communication Protocol
Last modified by Eric Nantel on 2024/11/21 09:43
Change comment: There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. RB11 +xwiki:XWiki.CBenson - Content
-
... ... @@ -100,8 +100,7 @@ 100 100 | 6|**O**rigin Offset| O| QO| CO| ✓| ✓| tenths of degrees (ex 325 = 32.5 degrees; 91 = 9.1 degrees)| 101 101 | 7|**A**ngular **R**ange| AR| QAR| CAR| ✓| ✓| tenths of degrees (ex 325 = 32.5 degrees; 91 = 9.1 degrees)| 102 102 | 8|Position in **P**ulse| P| QP| | | ✓| microseconds|((( 103 -Valid values for P are [500, 2500]. Values outside this range are corrected to end points. 104 -Valid values for QP are {-500, [500, 2500], -2500}. Values outside the [500, 2500] range are given a negative corresponding end point value to indicate they are out of bounds. 103 +See details below. 105 105 ))) 106 106 | 9|Position in **D**egrees| D| QD| | | ✓| tenths of degrees (ex 325 = 32.5 degrees; 91 = 9.1 degrees)| 107 107 | 10|**W**heel mode in **D**egrees| WD| QWD| | | ✓| tenths of degrees per second (ex 248 = 24.8 degrees per second)| ... ... @@ -211,13 +211,14 @@ 211 211 212 212 Example: #5P2334<cr> 213 213 214 -The position in PWM pulses was retained in order to be backward compatible with the SSC-32 / 32U protocol. This relates the desired angle with an RC standard PWM pulse and is further explained in the SSC-32 and SSC-32U manuals found on Lynxmotion.com. Without any modifications to configuration considered, and a ±90.0 degrees standard range where 1500 microseconds is centered, a pulse of 2334 would set the servo to 165.1 degrees 213 +The position in PWM pulses was retained in order to be backward compatible with the SSC-32 / 32U protocol. This relates the desired angle with an RC standard PWM pulse and is further explained in the SSC-32 and SSC-32U manuals found on Lynxmotion.com. Without any modifications to configuration considered, and a ±90.0 degrees standard range where 1500 microseconds is centered, a pulse of 2334 would set the servo to 165.1 degrees. Valid values for P are [500, 2500]. Values outside this range are corrected to end points. 215 215 216 216 Query Position in Pulse (**QP**) 217 217 218 218 Example: #5QP<cr> might return *5QP 219 219 220 -This command queries the current angular position in PWM "units". The user must take into consideration that the response includes any angular range and origin configurations in order to determine the actual angle. 219 +This command queries the current angular position in PWM "units". The user must take into consideration that the response includes any angular range and origin configurations in order to determine the actual angle. 220 +Valid values for QP are {-500, [500, 2500], -2500}. Values outside the [500, 2500] range are given a negative corresponding end point value to indicate they are out of bounds. 221 221 222 222 __9. Position in Degrees (**D**)__ 223 223 ... ... @@ -485,23 +485,26 @@ 485 485 486 486 This command does a "soft reset" (no power cycle required) and reverts all commands to those stored in EEPROM (i.e. configuration commands). 487 487 488 -**__DEFAULT__** 488 +**__DEFAULT __**__& **CONFIRM**__ 489 489 490 490 Ex: #5DEFAULT<cr> 491 491 492 -This command sets all values to the default values included with the version of the firmware installed on that servo. 492 +This command sets in motion the reset all values to the default values included with the version of the firmware installed on that servo. The servo then waits for the CONFIRM command. Any other command received will cause the servo to exit the DEFAULT function. 493 493 494 - __**FIRMWARE**&**CONFIRM**__494 +EX: #5DEFAULT<cr> followed by #5CONFIRM<cr> 495 495 496 - Ex:#5FIRMWARE<cr>496 +Since it it not common to have to restore all configurations, a confirmation command is needed after a firmware command is sent. Should any command other than CONFIRM be received by the servo after the firmware command has been received, it will leave the firmware action. 497 497 498 -T his command clears all user-input values inEEPROMandreverts back to factory defaults for the firmware installed. It does not overwrite any firmware updates. To revert to an older firmware version, please refer to the LSS -Firmware page. The firmware command alone does nothing other than have the servo wait for a confirmation.498 +**__UPDATE __**__& **CONFIRM**__ 499 499 500 -E X: #5FIRMWARE<cr>followed by #5CONFIRM<cr>500 +Ex: #5UPDATE<cr> 501 501 502 - Sinceit itnotcommonto haveto restoreallconfigurations,a confirmationcommandis neededafterafirmwarecommand is sent.Shouldany command otherthanCONFIRMbe receivedby the servoafterthefirmware commandhasbeen received,itwillleave thefirmwareaction.502 +This command sets in motion the equivalent of a long button press when the servo is not powered in order to enter firmware update mode. This is useful should the button be broken or inaccessible. The servo then waits for the CONFIRM command. Any other command received will cause the servo to exit the UPDATE function. 503 503 504 +EX: #5UPDATE<cr> followed by #5CONFIRM<cr> 504 504 506 +Since it it not common to have to update firmware, a confirmation command is needed after an UPDATE command is sent. Should any command other than CONFIRM be received by the servo after the firmware command has been received, it will leave the firmware action. 507 + 505 505 === Virtual Angular Position === 506 506 507 507 {In progress}