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
-
... ... @@ -16,20 +16,18 @@ 16 16 17 17 = Action Commands = 18 18 19 -<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 20 -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> 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: 21 21 22 - ~1. Start with a number sign~*~*#~*~* (Unicode Character: U+0023)23 - ~1. Servo ID number as an integer (assigning an ID described below)24 - ~1. Action command (one or more letters, no whitespace, capital or lowercase from the list below)25 - ~1. Action value in the correct units with no decimal26 - ~1. End with a carriage return~*~*\r~*~* or~*~*<cr>~*~*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) 27 27 28 - ~(~(~(29 -Ex: #5D1800 <cr><divclass="wikimodel-emptyline"></div>27 +((( 28 +Ex: #5D18000<cr> 30 30 31 31 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. 32 -<div class="wikimodel-emptyline"></div></div></div> 33 33 34 34 == Modifiers == 35 35 ... ... @@ -50,3 +50,4 @@ 50 50 This results in the servo with ID #5 rotating to a position (1800 in tenths of degrees) of 180.0 degrees in a time ("T") of 1500 milliseconds (1.5 seconds).<div class="wikimodel-emptyline"></div> 51 51 <div class="wikimodel-emptyline"></div></div></div> 52 52 {{/html}} 51 +)))