Wiki source code of LSS-PRO Configuration Software

Version 91.1 by Eric Nantel on 2024/07/12 09:11

Show last authors
1 [[image:LSS-P-Configuration-Software.png||width="350"]]
2
3 [[image:[email protected]]]
4
5 **Table of Contents**
6
7 {{toc/}}
8
9 = Description =
10
11 The Lynxmotion Smart Servo PRO Configuration Software (“LSS PRO Config” for short) is intended to be a tool to quickly interact with the Lynxmotion Professional Smart Servos (LSS-P) loaded with our Lynxmotion firmware. Features include sending action and configuration commands, queries (and receiving the reply), updating the firmware, monitoring sensor data and more. The software works on Windows 7 operating systems and above.
12
13
14 Note: The software can be connected to multiple servos, but the interface can only control and communicate with one at any time (unless using the free format commands described below). Each servo must have a unique ID. The servo(s) must be powered correctly and connected to the computer via USB from the first servo in the BUS.
15
16 = Features =
17
18 * Send action, configuration and query commands to an individual PRO servo
19 * Obtain visual feedback from various onboard sensors
20 * Create custom actions for testing purpose
21 * Update PRO servo’s firmware
22 * Auto-Update if connected to Internet
23
24 = User Guide =
25
26 [lorren Ipsum]
27
28 == Information ==
29
30 [[image:LSS-P-Config-Info.png]]
31
32 1. The Information (capital I) button at the top right of the interface leads to this user guide.
33
34 == Connection ==
35
36 In order for the LSS PRO Config software to detect the servos, the correct USB to serial drivers must be installed on the computer. Windows will automatically detect and install the drivers.
37
38
39 [[image:LSS-P-Config-Connection.png]]
40
41 1. Select the appropriate COM port
42 1. Click on the "Connect" button (All servos in the communication BUS should be detected)
43 1. Select a particular servo from the list
44
45 Note: The interface will then display and control that single actuator.
46
47 == Safety & Useful Buttons ==
48
49 This section includes the important emergency stop (removes power from the motors via software) and other useful commands.
50
51 Note: Those commands are sent to the selected servo, if "254 - All servos" is selected then it will be sent to all of them.
52
53 [[image:LSS-P-Config-Buttons.png]]
54
55 1. This button sends a RESET command. More information [[HERE>>doc:ses-pro.lss-pro.lss-p-communication-protocol.WebHome||anchor="HReset"]]
56 1. This reset the servo to factory default settings, removing all configurations, including the ID. More information [[HERE>>doc:ses-pro.lss-pro.lss-p-communication-protocol.WebHome||anchor="HDefault26confirm"]]
57 1. This command halts the actuator at whatever angle it is (whether during a motion or already at an angle) and causes it to hold that position (motor is powered and holding). The following command is sent to all servos, not just the one connected via USB.
58 \\Command sent: #254H<cr>
59
60 1. (((
61 This command halts the actuator at whatever angle it is (whether during a motion or already at an angle) and causes it to hold that position (motor is powered and holding). The following command is sent to all servos, not just the one connected via USB.
62
63 Command sent: #254L<cr>
64
65 Just like the emergency stop button the 36V large power supply which is provided with each PRO arm, the E-Stop is meant to be under emergency only, as power is cut to all motors, which may result in joints rotating because of high torque being applied. In the case of a robotic arm, __the arm may fall and damage itself__ or whatever is in its environment.
66 )))
67
68 == Status ==
69
70 As a servo is intended to be moved to specific angles, the position of the servo, to 0.01 degrees of accuracy, is displayed at the bottom left of the interface.
71
72 [[image:LSS-P-Config-Status.png]]
73
74 This is a section to directly give information to the user on what's happening with their actuator.
75
76 1. The Position shows the current angle of the output shaft of the servo in relation to its configured origin (0 degree) angle (including any adjustment to the Origin Offset). It also displays angles over 360 degrees, and it’s important to note this is a calculated position as the internal sensor can only read 0 to 360 degrees. The multi-turn angle is retained even after a power cycle.
77 1. Status of what the actuator is currently doing. More information HERE
78 1. Errors that are happening. More information HERE
79
80 Note: Most errors will require the problem to be solved & the servo either Reset or set Limp. To view and resolve any errors, go to the troubleshooting section
81
82 == Servo Control ==
83
84 In order to view the various commands available for each drop-down, a PRO servo needs to be properly connected to the computer, powered, turned on and detected.
85
86 [[image:LSS-P-Config-ServoControl.png]]Query
87
88
89 [[image:LSS-P-Config-Query.png]]
90
91 1. The drop down list below Query provides a list of most query commands possible. More information click HERE
92 1. Click the "Send" button to initiate the Query.
93 1. The Query protocol command will be displayed here as well as the answer from the actuator. (ex: #1QID / *1QID1)
94
95 === Action ===
96
97 The drop down list below Action provides a list of most action commands used with the LSS PRO servos.
98
99 [[image:LSS-P-Config-Action.png]]
100
101 1. The drop down list below Action provides a list of most action commands possible. More information click HERE.
102 1. Input the value of the Action required in the text input field. (ex: 9000 for a 90deg move)
103 1. Click the "Send" button to initiate the Action.
104 1. The Action protocol command will be displayed here and the actuator should be doing it.
105
106 === Configuration ===
107
108 The drop down list below Configuration provides a list of most configuration commands used with the LSS PRO servos.
109
110 [[image:LSS-P-Config-Config.png]]
111
112 1. The drop down list below Configuration provides a list of most configuration commands possible. More information click HERE.
113 1. Input the value of the Configuration required in the text input field. (ex: 1 for an ID change to 1)
114 1. Click the "Send" button to initiate the Configuration.
115 1. The Configuration protocol command will be displayed here.
116
117 === Free format command ===
118
119 This command line interface allows the user to send commands, including those not otherwise found in the drop-down list, as well as any special commands provided by Lynxmotion staff. Once sent the commands will be displayed in the area bellow (like a terminal) and can be cleared if required. This can help with debugging or better understanding the communication protocol.
120
121 [[image:LSS-P-Config-Free-Cmd.png]]
122
123 == Telemetry ==
124
125 A graph within the software is used to display output of any query commands, which can include sensor data or calculated data.
126
127 [[image:LSS-P-Config-Telemetry.png]]
128
129 1. To activate a specific value, click on the button and click again to disable it. he software start memorizing the data as soon as one query is activated.
130 1. Pause will stop recording until you click back on it.
131 1. Restart will wipe all the recorded values.
132 1. The Y-axis of the graph auto-scales depending on what output is selected. To switch between traces, use the mouse wheel and confirm that the y axis label is the one you selected.
133 1. The X-axis display the time & expands up to 20 minutes then scrolls a 20 minute time window.
134 1. Saving the data is possible by doing a right click on the graph and select Copy, it's then possible to paste them in a spreadsheet application (Excel / Google Sheets)
135
136 === Personalize Query ===
137
138 To change the query for a specific button, you have to do a "CTRL + CLICK" on the desired button, this interface will then be displayed.
139
140 [[image:LSS-P-Config-Telemetry-Custom.png]]
141
142 1. Trace Name: Displayed name for that particular query.
143 1. Two separate "Add" button and drop down are present, they are shortcuts to add to the query bellow.
144 1. Query that will be sent to the actuator plus displayed units for the interface.
145
146 == Custom Actions ==
147
148 This list of assignable buttons allows the user to select specific commands to send to the servo. These can be used to quickly position the servo to specific angles, experiment with different speeds and more.
149
150 [[image:LSS-P-Config-Custom-Actions.png]]
151
152 1. All of those buttons can be set to trigger any action required.
153 1. Save will let you do a backup of the current Custom Actions.
154 1. Load will let you select and load a previously saved Custom Action file.
155
156 === Personalize Action ===
157
158 To change the Action for a specific button, you have to do a "CTRL + CLICK" on the desired button, this interface will then be displayed.
159
160 [[image:LSS-P-Config-Custom-Actions-Custom.png]]
161
162 1. Action Name: Displayed name for that particular action.
163 1. Two separate "Add" button and drop down are present, they are shortcuts to add to the action bellow.
164 1. Action command that will be sent to the actuator plus displayed units for the interface.
165
166 == Firmware Update ==
167
168 It is good to periodically check for firmware updates for the servos. A firmware update requires that the computer running the software be connected to the Internet.
169
170 Firmware updates can resolve bugs or add improvements. The information in this Wiki (for example the PRO Communication Protocol Page) will always refer to the latest version of firmware (though in certain instances will detail which firmware version of the firmware the feature or function started with).
171
172 [[image:LSS-P-Config-Firmware-Available.png]]
173
174 1. When a firmware update is available, the logo will turn green.
175
176 Note: Only a servo connected via USB can be updated and all the other servos on the bus will not be displayed with a green logo unless connected directly via USB.
177
178 === Online Update ===
179
180 1. Select the servo ID that requires a firmware update
181 1. If the logo is green, click on the "Firmware Update" button
182 1. A message will ask you if you want do download the latest firmware, click Yes.
183 [[image:LSS-P-Config-Firmware-Download-Yes.png||alt="LSS-P-Config-Firmware-Download.png"]]
184 1. It's pretty quick but once downloaded another message will ask you if you want to proceed click Yes.
185 [[image:LSS-P-Config-Firmware-Write.png]]
186 1. The servo will be put in "Firmware Update" mode and flashing will start. A progress bar will show the progress. DO NOT UNPLUG / UNPOWER the servo while updating.
187 [[image:LSS-P-Config-Firmware-Uploading.png]]
188 1. Once the procedure is done you will have a confirmation pop-up.
189 [[image:LSS-P-Config-Firmware-Success.png]]
190
191 === Offline Update ===
192
193 In some rare occasions, our staff could ask you to try a firmware which they provided and here's how to flash it.
194
195 1. Select the servo ID that requires a firmware update
196 1. Click on the "Firmware Update" button and depending on the pop-up select as shown. 
197 [[image:LSS-P-Config-Firmware-Download-No.png||alt="LSS-P-Config-Firmware-Download.png"]] [[image:LSS-P-Config-Firmware-Write-Yes.png||alt="LSS-P-Config-Firmware-Local.png"]]
198 1. Browse and select & open the firmware file provided by our staff.
199 [[image:LSS-P-Config-Firmware-Local-Browse.png]]
200 1. Another message will ask you if you want to proceed click Yes.
201 [[image:LSS-P-Config-Firmware-Write.png]]
202 1. The servo will be put in "Firmware Update" mode and flashing will start. A progress bar will show the progress. DO NOT UNPLUG / UNPOWER the servo while updating.
203 [[image:LSS-P-Config-Firmware-Uploading.png]]
204 1. Once the procedure is done you will have a confirmation pop-up.
205 [[image:LSS-P-Config-Firmware-Success.png]]
Copyright RobotShop 2018