Skip to main content
Firmware 4.2.x

Driver execute command

info

All here listed messages are unicast with SID = 24

warning

Payload byte position is not corresponding with byte position in transfer layer (CAN, UART, USB, bluetooth...) Before continuing, read carefully how to create a message for:

Message - execute command​

Payload byteDescription
00x04
1Command ID

Command ID list​

Command IDDescriptionReturn value
1Driver reinit.Driver error after reinit.
2Execute identlin
3Execute identrun
128Save parameters
129Load parameters from flash
255Heartbeat. Do nothing, just answer back

Return value:

  • 0 = succesfull
  • -1 = unsupported command

Response​

Payload byteDescription
00x44
1Command ID
2-5Command return value.

If return value is omitted and payload is only 2 bytes long:

  • Some command is being executed. Wait until command is finished (wait for response)
  • It is response to heartbeat

Message - do beep with the motor​

Using this message you can play one tone with the motor.

Payload byteDescription
00x06
1-2[int16] Beep volume
3-4[int16] Beep tone

There is not response to this message