User Manual

Table Of Contents
10 Advanced Digital Motor Controllers User Manual V2.1, December 3, 2020
DS402 Runtime Commands .................................................................. 209
Velocity Mode .........................................................................................211
Other Modes ..........................................................................................211
FEW - Following Error Window (DS402) ................................................ 212
FET - Following Error Time Out (DS402) ................................................ 213
INT - Interpolation Time Period (DS402) ................................................. 213
MSL - Target Profile Velocity (DS402) ..................................................... 214
PAC – Profile Acceleration (DS402) ........................................................ 214
PDC – Profile Deceleration (DS402) ....................................................... 215
PLT - Software Position Limit (DS402) ................................................... 215
POS – Target Position (DS402) ............................................................... 216
PSP – Profile Velocity (DS402) ............................................................... 217
ROM – Modes of Operation (DS402) ..................................................... 217
S16 – Target Velocity (DS402) ................................................................. 218
SAC – Velocity Acceleration (DS402) ...................................................... 218
SDC – Velocity Deceleration (DS402) ..................................................... 219
SPC - Target Profile Velocity (DS402) ...................................................... 219
SPL – Velocity Min/Max Amount (DS402) .............................................. 220
TC – Target Torque (DS402) .................................................................... 221
TSL – Torque Slope (DS402) ................................................................... 221
Runtime Queries .................................................................................... 222
A - Read Motor Amps ............................................................................ 224
AI - Read Analog Inputs ......................................................................... 225
AIC - Read Analog Input after Conversion .............................................. 225
ANG - Read Rotor Angle ........................................................................ 226
ASI - Read Raw Sin/Cos sensor ............................................................. 226
B - Read User Boolean Variable .............................................................. 227
BA - Read Battery Amps ........................................................................ 227
BCR - Read Brushless Count Relative .................................................... 228
BMC - Read BMS State Of Charge in AmpHours .................................. 229
BMF - Read BMS status flags ................................................................ 229
BMS - Read BMS switch states ............................................................ 230
BS - Read BL Motor Speed in RPM ....................................................... 231
BSC - Read BMS State of Charge in percentage ................................... 232
BSR - Read BL Motor Speed as 1/1000 of Max RPM ............................ 232
C - Read Encoder Counter Absolute ...................................................... 233
CAN - Read Raw CAN frame ................................................................. 233
CB - Read Absolute Brushless Counter ................................................. 234
CD - Read Raw Redirect Received Frames Count ................................. 234
CF - Read Raw CAN Received Frames Count ........................................ 235
CHS - CAN Consumer Heartbeat Status ................................................ 235
CIA - Read Converted Analog Command ............................................... 236
CIP - Read Internal Pulse Command ...................................................... 237
CIS - Read Internal Serial Command ...................................................... 237
CL - Read RoboCAN Alive Nodes Map .................................................. 238
CR - Read Encoder Count Relative ........................................................ 238
CSR - Read Relative SSI Sensor Counter ............................................... 239