Skip to main content
FW version: Stable

Setup Periodic Sampling of CMIO States

warning

The common block API allows you to configure periodic sending of CMIO status messages.

Using the Setup CMIO sampling message, you can select multiple CMIO states for periodic transmission. States are selected using CMIO input ID. Up to 4 ranges of states can be configured.

Payload byte positions do not correspond directly to byte positions in the transfer layer (CAN, UART, USB, Bluetooth...) Before proceeding, carefully review how to create messages for:

Message - Setup CMIO Sampling

info
  • All datagram types listed here are unicast with SID = 40
  • All payloads listed here use big-endian byte order
Payload byteData-typeDescription
0uint8Bank selection: 8 = bank 0, 9 = bank 1, 10 = bank 2, 11 = bank 3
1uint8Start IID of range
2uint8End IID of range
3-4uint16Transmission period in [ms]
5-6uint16Initial delay in [ms] (Time before first message transmission). Set to 0 to disable bank transmission.

Response

info

Message is multicast SID varies by bank:

  • bank 0: SID = 42
  • bank 1: SID = 43
  • bank 2: SID = 44
  • bank 3: SID = 45

Message length depends on the interface used. If payload exceeds message size limit, multiple messages are sent with different Offsets.

Payload byteData-typeDescription
00-6Product signature
07Error bit - 1 indicates common block error state; transmitted values may be invalid
1uint8Offset - IID of first state
2-3int16First state with IID = Offset
4-5int16Second state with IID = Offset + 1
6-7int16Third state with IID = Offset + 2
...int16Message size varies based on interface used