Changes for page LSS-PRO Communication Protocol
Last modified by Eric Nantel on 2024/09/06 14:52
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -494,40 +494,105 @@ 494 494 495 495 ====== __Query Voltage (**QV**)__ ====== 496 496 497 -Ex: #5QV<cr> might return *5QV11200<cr> 497 +{{html wiki="true" clean="false"}} 498 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 499 +Ex: #5QV<cr> might return *5QV11200<cr><div class="wikimodel-emptyline"></div> 500 +The number returned is in milliVolts, so in the case above, servo with ID 5 has an input voltage of 11.2V.<div class="wikimodel-emptyline"></div> 501 +</div></div> 502 +{{/html}} 498 498 499 -The number returned is in milliVolts, so in the case above, servo with ID 5 has an input voltage of 11.2V. 500 - 501 501 ====== __Query Temperature (**QT**)__ ====== 502 502 503 -Ex: #5QT<cr> might return *5QT564<cr> 506 +{{html wiki="true" clean="false"}} 507 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 508 +Ex: #5QT<cr> might return *5QT564<cr><div class="wikimodel-emptyline"></div> 509 +The units are in tenths of degrees Celcius, so in the example above, the servo's internal temperature is 56.4 degrees C. To convert from degrees Celcius to degrees Farenheit, multiply by 1.8 and add 32. Therefore 56.4C = 133.52F.<div class="wikimodel-emptyline"></div> 510 +</div></div> 511 +{{/html}} 504 504 505 - Theunits arein tenths of degreesCelcius, so in the example above, the servo's internal temperature is 56.4 degrees C. To convertfrom degreesCelciusto degrees Farenheit, multiply by 1.8 and add 32. Therefore 56.4C=133.52F.513 +====== __Query Current (**QC**)__ ====== 506 506 507 -====== __Query Motor Driver Current (**QC**)__ ====== 515 +{{html wiki="true" clean="false"}} 516 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 517 +Ex: #5QC<cr> might return *5QC140<cr><div class="wikimodel-emptyline"></div> 518 +The units are in milliamps, so in the example above, the servo is consuming 140mA, or 0.14A.<div class="wikimodel-emptyline"></div> 519 +</div></div> 520 +{{/html}} 508 508 509 - Ex:#5QC<cr>might return *5QC140<cr>522 +====== __Query Model String (**QMS**)__ ====== 510 510 511 -The units are in milliamps, so in the example above, the servo is consuming 140mA, or 0.14A. It represents the RMS value. 524 +{{html wiki="true" clean="false"}} 525 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 526 +Ex: #5QMS<cr> might return *5QMSLSS-HS1<cr><div class="wikimodel-emptyline"></div> 527 +This reply means that the servo model is LSS-HS1: a high speed servo, first revision.<div class="wikimodel-emptyline"></div> 528 +</div></div> 529 +{{/html}} 512 512 513 -====== __Query ModelString(**QMS**)__ ======531 +====== __Query Firmware (**QF**)__ ====== 514 514 515 -Ex: #5QMS<cr> might return *5QMSLSS-HS1<cr> 533 +{{html wiki="true" clean="false"}} 534 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 535 +Ex: #5QF<cr> might return *5QF368<cr><div class="wikimodel-emptyline"></div> 536 +The number in the reply represents the firmware version, in this example being 368.<div class="wikimodel-emptyline"></div> 537 +The command #5QF3<cr> can also be sent and the servo will reply with a 3 numbers firmware version, for example, 368.29.14<div class="wikimodel-emptyline"></div> 538 +</div></div> 539 +{{/html}} 516 516 517 - Thisreplymeans that the servo modelis LSS-HS1:ahigh speed servo,firstrevision.541 +====== __Query Serial Number (**QN**)__ ====== 518 518 519 -====== __Query Firmware (**QF**)__ ====== 543 +{{html wiki="true" clean="false"}} 544 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 545 +Ex: #5QN<cr> might return *5QN12345678<cr><div class="wikimodel-emptyline"></div> 546 +The number in the response (12345678) would be the servo's serial number which is set and should not be changed by the user.<div class="wikimodel-emptyline"></div> 547 +</div></div> 548 +{{/html}} 520 520 521 - Ex:#5QF<cr>mightreturn *5QF368<cr>550 +== RGB LED == 522 522 523 - Thenumberin the reply represents the firmware version, in this example being 368.The command #5QF3<cr>canalso be sent and the servo will reply with a 3 numbers firmware version, for example, 368.29.14552 +====== __LED Color (**LED**)__ ====== 524 524 525 -====== __Query Serial Number (**QN**)__ ====== 554 +{{html wiki="true" clean="false"}} 555 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 556 +Ex: #5LED3<cr><div class="wikimodel-emptyline"></div> 557 +This action sets the servo's RGB LED color for that session.The LED can be used for aesthetics, or (based on user code) to provide visual status updates. Using timing can create patterns.<div class="wikimodel-emptyline"></div> 558 +0=Off (black); 1=Red 2=Green; 3=Blue; 4=Yellow; 5=Cyan; 6=Magenta; 7=White;<div class="wikimodel-emptyline"></div> 559 +Query LED Color (**QLED**)<div class="wikimodel-emptyline"></div> 560 +Ex: #5QLED<cr> might return *5QLED5<cr><div class="wikimodel-emptyline"></div> 561 +This simple query returns the indicated servo's LED color.<div class="wikimodel-emptyline"></div> 562 +Configure LED Color (**CLED**)<div class="wikimodel-emptyline"></div> 563 +Ex: #5CLED3<cr><div class="wikimodel-emptyline"></div> 564 +Configuring the LED color via the CLED command sets the startup color of the servo after a reset or power cycle. Note that it also changes the session's LED color immediately as well. The command above will configure the servo's LED to a Blue color.<div class="wikimodel-emptyline"></div> 565 +</div></div> 566 +{{/html}} 526 526 527 - Ex:#5QN<cr> might return *5QN12345678<cr>568 +====== __Configure LED Blinking (**CLB**)__ ====== 528 528 529 -The number in the response (12345678) would be the servo's serial number which is set and should not be changed by the user. 570 +{{html wiki="true" clean="false"}} 571 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 572 +This command allows you to control when the RGB LED will blink the user set color (see RGB LED command for details). This is very useful when visually seeing what the servo is doing. You can turn on or off blinking for various LSS status. The command requires that the servo be RESET. Here is the list and their associated value:<div class="wikimodel-emptyline"></div> 530 530 574 +(% style="width:195px" %) 575 +|(% style="width:134px" %)**Blink While:**|(% style="width:58px" %)**#** 576 +|(% style="width:134px" %)No blinking|(% style="width:58px" %)0 577 +|(% style="width:134px" %)Limp|(% style="width:58px" %)1 578 +|(% style="width:134px" %)Holding|(% style="width:58px" %)2 579 +|(% style="width:134px" %)Accelerating|(% style="width:58px" %)4 580 +|(% style="width:134px" %)Decelerating|(% style="width:58px" %)8 581 +|(% style="width:134px" %)Free|(% style="width:58px" %)16 582 +|(% style="width:134px" %)Travelling|(% style="width:58px" %)32 583 +|(% style="width:134px" %)Always blink|(% style="width:58px" %)63<div class="wikimodel-emptyline"></div> 584 + 585 +To set blinking, use CLB with the value of your choosing. To activate blinking in multiple status, simply add together the values of the corresponding status. See examples below:<div class="wikimodel-emptyline"></div> 586 +Ex: #5CLB0<cr> to turn off all blinking (LED always solid)<div class="wikimodel-emptyline"></div> 587 +Ex: #5CLB1<cr> only blink when limp (1)<div class="wikimodel-emptyline"></div> 588 +Ex: #5CLB2<cr> only blink when holding (2)<div class="wikimodel-emptyline"></div> 589 +Ex: #5CLB12<cr> only blink when accel or decel (accel 4 + decel 8 = 12)<div class="wikimodel-emptyline"></div> 590 +Ex: #5CLB48<cr> only blink when free or travel (free 16 + travel 32 = 48)<div class="wikimodel-emptyline"></div> 591 +Ex: #5CLB63<cr> blink in all status (1 + 2 + 4 + 8 + 16 + 32)<div class="wikimodel-emptyline"></div> 592 +RESETTING the servo is needed.<div class="wikimodel-emptyline"></div> 593 +</div></div> 594 +{{/html}} 595 + 531 531 == RGB LED == 532 532 533 - Moreinformationto come.598 +The LED can be