Common I/O Commands
info
- All datagram types listed here are unicast with SID = 40
- All payloads listed here use big-endian byte order
Play Beep
Payload byte | Value / type | Description |
---|---|---|
0 | 6 | Command - play beep |
1-2 | int16 | note |
3-4 | int16 | len |
5-6 | int16 | flags |
More information about note, len and flags
Get Info
Payload byte | Value | Description |
---|---|---|
0 | 0 | Command - get info |
Response:
Payload byte | Value / type | Description |
---|---|---|
0 | 0x40 | Success indicator |
1 | uint8_t | Device signature |
2-5 | uint32_t | Proccom 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
Payload byte | Value | Description |
---|---|---|
0 | 4 | Contactor command |
1 | 11 | Contactor command |
2 | UINT8 | Contactor number 0 = power switch 1-3 = contactor 1-3 |
3 | UINT8 | 0 = turn contactor off 1 = turn contactor on |
Response:
Payload byte | Value / type | Description |
---|---|---|
0 | 68 | Contactor command response |
1 | 11 | Contactor command response |
2 | int8_t | 0 = command successfully accepted -1 = error (contactor doesn't exist, wrong message) |