Skip to main content
Firmware Stable

Common I/O Commands

info
  • All datagram types listed here are unicast with SID = 40
  • All payloads listed here use big-endian byte order
Interface Configuration
Advanced

Play Beep

Controller receivingCAN ID: 0x147(40 << 3) + 7 host address|Controller address: 0x00
Datagram byteValue / typeDescription
00x00Controller address (link layer)
16Command - play beep
2-3int16note
4-5int16len
6-7int16flags

More information about note, len and flags

Get Info

Controller receivingCAN ID: 0x147(40 << 3) + 7 host address|Controller address: 0x00
Datagram byteValue / typeDescription
00x00Controller address (link layer)
10Command - get info

Response

Controller sendingCAN ID: 0x140(40 << 3) + 0 controller address|Host address: 0x07
Datagram byteValue / typeDescription
00x07Host address (link layer)
10x40Success indicator
2uint8_tDevice signature
3-6uint32_tProccom API version (current is 2)

Contactor Control

note

Always verify contactor settings. For contactor voltage setup, check parameters in /common/contactor. To control contactors using this message, ensure driver contactor control is disabled - see parameter /common/contactor/opts

Controller receivingCAN ID: 0x147(40 << 3) + 7 host address|Controller address: 0x00
Datagram byteValue / typeDescription
00x00Controller address (link layer)
14Contactor command
211Contactor command
3UINT8Contactor number
0 = power switch
1-3 = contactor 1-3
4UINT80 = turn contactor off
1 = turn contactor on

Response

Controller sendingCAN ID: 0x140(40 << 3) + 0 controller address|Host address: 0x07
Datagram byteValue / typeDescription
00x07Host address (link layer)
168Contactor command response
211Contactor command response
3int8_t0 = command successfully accepted
-1 = error (contactor doesn't exist, wrong message)