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 2334235 +Example: #5QP<cr> might return *5QP 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 (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).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. 239 239 240 240 __9. Position in Degrees (**D**)__ 241 241 ... ... @@ -247,10 +247,8 @@ 247 247 248 248 Query Position in Degrees (**QD**) 249 249 250 -Example: #5QD<cr> might return *5QD 132<cr>250 +Example: #5QD<cr> might return *5QD0<cr> 251 251 252 -This means the servo is located at 13.2 degrees. 253 - 254 254 __10. Wheel Mode in Degrees (**WD**)__ 255 255 256 256 Ex: #5WD900<cr> ... ... @@ -381,13 +381,13 @@ 381 381 382 382 Query Identification (**QID**) 383 383 384 -EX: # 254QID<cr> might return *QID5<cr>382 +EX: #QID<cr> might return *QID5<cr> 385 385 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.384 +When using the query ID command, it is best to only have one servo connected and thus receive only one reply. 387 387 388 388 Configure ID (**CID**) 389 389 390 -Ex: # 4CID5<cr>388 +Ex: #CID5<cr> 391 391 392 392 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. 393 393