Main Content

CAN ID command

R2026b

CAN identifier to transmit command or request messages to a CAN node

Since R2026b

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Connectivity

Description

Specify the CAN identifier used by the host to transmit command or request messages to a CAN node.

Dependencies

To enable this parameter, set Communication interface to CAN and Connectivity interface parameter to CAN (MCANx). The value of x depends on the Device Series parameter value.

Settings

2 (default)

For standard (11‑bit) CAN identifiers, specify a value from 0 to 2047. For extended (29‑bit) CAN identifiers, specify a value from 0 to 536870911.

Tips

For XCP-based external mode simulation over CAN, CAN ID command parameter value must be distinct from the value specified for the Id 1 parameter in the MCAN Receive Peripheral Configuration.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2026b