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
-
... ... @@ -48,7 +48,7 @@ 48 48 49 49 <h2>Queries</h2> 50 50 <div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 51 -Query commands request information from the servo. They are received via the Rx pin of the servo, and the servo's reply is sent via the servo's Tx pin. Using separate lines for Tx and Rx is called "full duplex".Query commands are also similar to action and configuration commands and must use the following format:<div class="wikimodel-emptyline"></div>51 +Query commands request information from the servo. Query commands are also similar to action and configuration commands and must use the following format:<div class="wikimodel-emptyline"></div> 52 52 53 53 1. Start with a number sign **#** (Unicode Character: U+0023) 54 54 1. Servo ID number as an integer ... ... @@ -72,10 +72,12 @@ 72 72 This indicates that servo #5 is currently at 130.00 degrees (13000 tenths of degrees). 73 73 <div class="wikimodel-emptyline"></div></div></div> 74 74 75 +<h2>Configurations</h2> 76 + 75 75 <div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 76 76 Configuration commands and corresponding values affect a servo's defaults which are written to and read from the servo's EEPROM.<div class="wikimodel-emptyline"></div> 77 77 78 -These configurations are retained in memory after the servo is reset or power is cut / lost. Some configuration commands affect the session, while others do not. In the Command table below, the column "Session" denotes if the configuration command affects the session. Not all action commands have a corresponding configuration command and vice versa. More information about which configuration commands are retained when in RCmode canbefound on the [[LSS - RC PWM page>>doc:lynxmotion-smart-servo.lss-radio-control-pwm.WebHome]]. Configuration commands are not cumulative.This means that if two of the same configuration commands are sent, one after the next, only the last configuration is used and stored.<div class="wikimodel-emptyline"></div>80 +These configurations are retained in memory after the servo is reset or power is cut / lost. Some configuration commands affect the session, while others do not. In the Command table below, the column "Session" denotes if the configuration command affects the session. Not all action commands have a corresponding configuration command and vice versa. Configuration commands are not cumulative; this means that if two of the same configuration commands are sent, one after the next, only the last configuration is used and stored.<div class="wikimodel-emptyline"></div> 79 79 80 80 The format to send a configuration command is identical to that of an action command:<div class="wikimodel-emptyline"></div> 81 81 ... ... @@ -85,9 +85,9 @@ 85 85 1. Configuration value in the correct units with no decimal 86 86 1. End with a carriage return **\r** or **<cr>** Unicode Character (U+000D)<div class="wikimodel-emptyline"></div> 87 87 88 -Ex: #5CO-50<cr><div class="wikimodel-emptyline"></div> 90 +Ex: #5CO-500<cr><div class="wikimodel-emptyline"></div> 89 89 90 -This configures an absolute origin offset ("CO") with respect to factory origin of servo with ID #5 and changes the offset for that session to -5.0 degrees (50 tenths of degrees). Once the servo is powered off and on, zeroing the servo will cause it to move to -5.0 degrees with respect to the factory origin and report its position as 0 degrees. Configuration commands can be undone / reset either by sending the servo's default value for that configuration, or by doing a factory reset that clears all configurations (through the button menu or with DEFAULT command described below).<div class="wikimodel-emptyline"></div>92 +This configures an absolute origin offset ("CO") with respect to factory origin of servo with ID #5 and changes the offset for that session to -5.00 degrees (500 hundredths of degrees). Once the servo is powered off and on, zeroing the servo will cause it to move to -5.00 degrees with respect to the factory origin and report its position as 0 degrees. Configuration commands can be undone / reset either by sending the servo's default value for that configuration, or by doing a factory reset that clears all configurations (through the button menu or with DEFAULT command described below).<div class="wikimodel-emptyline"></div> 91 91 92 92 **Session vs Configuration Query**<div class="wikimodel-emptyline"></div> 93 93