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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -232,10 +232,10 @@ 232 232 233 233 Query Position in Pulse (**QP**) 234 234 235 -Example: #5QP<cr> might return *5QP 235 +Example: #5QP<cr> might return *5QP2334 236 236 237 237 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. 238 -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. 238 +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 (note that if the servo is physically located at one of the endpoints, it may return a negative number if it is a fraction of a degree beyond the position). 239 239 240 240 __9. Position in Degrees (**D**)__ 241 241 ... ... @@ -247,8 +247,10 @@ 247 247 248 248 Query Position in Degrees (**QD**) 249 249 250 -Example: #5QD<cr> might return *5QD 0<cr>250 +Example: #5QD<cr> might return *5QD132<cr> 251 251 252 +This means the servo is located at 13.2 degrees. 253 + 252 252 __10. Wheel Mode in Degrees (**WD**)__ 253 253 254 254 Ex: #5WD900<cr> ... ... @@ -379,13 +379,13 @@ 379 379 380 380 Query Identification (**QID**) 381 381 382 -EX: #QID<cr> might return *QID5<cr> 384 +EX: #254QID<cr> might return *QID5<cr> 383 383 384 -When using the query ID command, it is best to only have one servo connected and thus receive only one reply. 386 +When using the query ID command, it is best to only have one servo connected and thus receive only one reply using the broadcast command (ID 254). Alternatively, pushing the button upon startup and temporarily setting the servo ID to 255 will still result in the servo responding with its "real" ID. 385 385 386 386 Configure ID (**CID**) 387 387 388 -Ex: #CID5<cr> 390 +Ex: #4CID5<cr> 389 389 390 390 Setting a servo's ID in EEPROM is done via the CID command. All servos connected to the same serial bus will be assigned that ID. In most situations each servo must be set a unique ID, which means each servo must be connected individually to the serial bus and receive a unique CID number. It is best to do this before the servos are added to an assembly. Numbered stickers are provided to distinguish each servo after their ID is set, though you are free to use whatever alternative method you like. 391 391