Servosila-SC-25-Programming-Guide
Manuals
Brands
Servosila Manuals
Microcontroller Accessories
Brushless/Brushed Motor Controller (circular shape)
16
17
18
19
20
21
22
23
24
25
Table Of Contents
Introduction
Network Architecture
CAN Network
USB-to-CAN Gateway + CAN Network
Unique Node ID
Application Programming Interfaces
Linux APIs
Windows APIs
Message Flows
Sending COMMANDS to devices
Receiving TELEMETRY from devices
Fault Acknowledgment
Reading a Telemetry or a Configuration Parameter
Encoding and Decoding
General message structure
Encoding COMMANDS
Decoding TELEMETRY
CAN ID Analysis & Decoding Example (C++)
Encoding a READ REQUEST
Decoding a READ RESPONSE
Data Types
FLOAT16
List of applicable COB IDs
SLCAN Text Protocol
Format of an SLCAN text message
Serial Port Settings
Starting SLCANd daemon under Linux
Sample Projects (C++)
Figur
e
1:
Scr
eenshot
of
MotorContr
olGUI,
an
example
pr
oject
written
in
C++
with
Qt
library
.
The
sample
pr
ogram
runs
on
both
W
indows
and
Linux.
The
sour
ce
code
of
the
application
is
fr
eely
available for modification, r
euse or distribution.
24
www
.servosila.com
1
...
...
22
23
24
25