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
-
... ... @@ -1,8 +1,6 @@ 1 1 {{warningBox warningText="More information coming soon"/}} 2 2 3 3 4 - 5 - 6 6 (% class="wikigeneratedid" id="HTableofContents" %) 7 7 **Page Contents** 8 8 ... ... @@ -16,36 +16,17 @@ 16 16 17 17 = Action Commands = 18 18 19 -Action commands tell the servo, within that session, to do something (i.e. "take an action"). The types of action commands which can be sent are described below, and they cannot be combined with other commands such as queries or configurations. Only one action command can be sent at a time. Action commands are session-specific, therefore once a servo is power cycled, it will not have any "memory" of previous actions or [[virtual positions>>||anchor="HVirtualAngularPosition"]] (described below). Action commands are sent serially to the servo's Rx pin and must be sent in the following format: 20 - 21 -1. Start with a number sign **#** (Unicode Character: U+0023) 22 -1. Servo ID number as an integer (assigning an ID described below) 23 -1. Action command (one or more letters, no whitespace, capital or lowercase from the list below) 24 -1. Action value in the correct units with no decimal 25 -1. End with a carriage return **\r** or **<cr>** Unicode Character (U+000D) 26 - 27 -((( 28 -Ex: #5D18000<cr> 29 - 30 -This sends a serial command to all servo's RX pins which are connected to the bus and only servo(s) with ID #5 will move to a position (1800 in tenths of degrees) of 180.0 degrees. Any servo on the bus which does not have ID 5 will take no action when receiving this command. 31 - 32 -== Modifiers == 33 - 34 -{{html clean="false" wiki="true"}} 35 35 <div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 36 - Modifiersused with certain**action commands**.The format to includeamodifier is:<div class="wikimodel-emptyline"></div>18 +Action commands tell the servo, within that session, to do something (i.e. "take an action"). The types of action commands which can be sent are described below, and they cannot be combined with other commands such as queries or configurations. Only one action command can be sent at a time. Action commands are session-specific, therefore once a servo is power cycled, it will not have any "memory" of previous actions or ~[~[virtual positions>>||anchor="HVirtualAngularPosition"]] (described below). Action commands are sent serially to the servo's Rx pin and must be sent in the following format:<div class="wikimodel-emptyline"></div> 37 37 38 -1. Start with a number sign **#** (Unicode Character: U+0023) 39 -1. Servo ID number as an integer 40 -1. Action command (one to three letters, no spaces, capital or lowercase from a subset of action commands below) 41 -1. Action value in the correct units with no decimal 42 -1. Modifier command (one or two letters from the list of modifiers below) 43 -1. Modifier value in the correct units with no decimal 44 -1. End with a carriage return **\r** or **<cr>** Unicode Character (U+000D) 20 +~1. Start with a number sign ~*~*#~*~* (Unicode Character: U+0023) 21 +~1. Servo ID number as an integer (assigning an ID described below) 22 +~1. Action command (one or more letters, no whitespace, capital or lowercase from the list below) 23 +~1. Action value in the correct units with no decimal 24 +~1. End with a carriage return ~*~*\r~*~* or ~*~*<cr>~*~* Unicode Character (U+000D) 45 45 46 -Ex: #5D1800T1500<cr><div class="wikimodel-emptyline"></div> 26 +~(~(~( 27 +Ex: #5D1800<cr><div class="wikimodel-emptyline"></div> 47 47 48 -This results in the servo with ID #5rotatingto a position (1800 in tenths of degrees) of 180.0 degreesinatime("T")of1500 milliseconds(1.5seconds).<divclass="wikimodel-emptyline"></div>29 +This sends a serial command to all servo's RX pins which are connected to the bus and only servo(s) with ID #5 will move to a position (1800 in tenths of degrees) of 180.0 degrees. Any servo on the bus which does not have ID 5 will take no action when receiving this command. 49 49 <div class="wikimodel-emptyline"></div></div></div> 50 -{{/html}} 51 -)))