Skip to content

Transmit CAN Messages (PDOs)

The Transmit CAN Messages (PDOs) item is used to configure CAN messages that can be generated and sent by the Proemion device in specific scenarios.

Add Transmit CAN Messages (PDOs) to Your Project

If the Custom CAN Communication group does not yet exist:

  1. Right-click the root entry of the Object Dictionary tree.
  2. Select New Object Dictionary Group > Custom CAN Communication from the context menu.
  3. Right-click the created Custom CAN Communication entry.
  4. Select New Object Dictionary Group > Transmit CAN Messages (PDOs) from the context menu.
  5. A dialog appears asking for the number of new entries to create.

If the Transmit CAN Messages (PDOs) group already exists, you can add new entries as follows:

  1. Right-click the Transmit CAN Messages (PDOs) entry in the Object Dictionary tree.
  2. Select New Object Dictionary Entry > Transmit Message PDO from the context menu.

Transmit CAN Messages (PDOs) Window

The window is organized into two tabs:

  • Communication Parameter
  • Mapping Parameter

Communication Parameter

This tab defines how the transmit message will be sent.

Transmit Message Communication Parameter

Select the CAN interface on which the message will be delivered.

Available options may vary depending on the configured hardware and device variant.

You can also choose to send either:

  • A CAN data frame: the data content can be configured in the Mapping Parameter tab.
  • A CAN remote frame: contains no data; used to request data from the receiving node. The Mapping Parameter tab is not available for remote frames.

Number of Remote Bytes: When using a CAN remote frame, specifies the number of data bytes expected in the response from the receiver.

ID-Length

Toggle between an 11-bit and 29-bit CAN identifier.

Use a Fixed COB-ID

When enabled, enter the COB-ID directly as a hexadecimal value.

When disabled, derive the COB-ID from Interface Variable links: - Use Basic Link: Interface Variable used as the base COB-ID value. - Use Offset Link: Optional Interface Variable added to the Basic Link to form the final COB-ID.

A fixed COB-ID can only be changed from the Proemion Configurator while the device is not in operational mode. A linked COB-ID can be changed dynamically at runtime, but takes effect only after Reset Communication is performed on the device.

Note

When using a linked COB-ID, Bit #29 of the variable controls the ID length - if set to 1, the identifier is treated as a 29-bit ID.

This Message is Cyclic

When enabled, the message is sent repeatedly at a fixed interval.

  • Event Timer (ms): The interval between transmissions, in milliseconds. Maximum value: 65535 ms (~65 seconds).
  • Time Priority High: When enabled, the device guarantees the message is sent at exactly the configured interval. Up to 10 high-priority cyclic messages can be active simultaneously. An additional 5 lower-priority cyclic messages are also supported, for a maximum of 15 total active cyclic messages at any given time.

Send Message on Event

Defines a specific event that triggers the transmission of the message.

For example, the message can be triggered when a value in an Interface Variable crosses a specific threshold. For more information, refer to Trigger Conditions.

Mapping Parameter

This tab defines the data content for CAN data frames. It is not available when the message is configured as a CAN remote frame.

Each entry in the mapping table defines one piece of data to be packed into the transmitted message.

Note

The total size of a transmit message cannot exceed 64 bits (8 bytes). The Proemion Configurator issues a warning if this limit is exceeded.

Field Description
Number of Mapping Entries Read-only. Displays the total number of entries currently defined in the mapping table.
Link to Existing Parameters Link the data content to an Interface Variable, Device Variable, or Array Interface Parameter stored on the device. Data can be mapped down to the individual bit level. For more information, refer to Variable Links.
Use a Fixed Value Transmit a static value instead of a variable link. Select the data type and enter the value. The Proemion Configurator automatically creates an internal parameter to hold the fixed value; it will appear in the variable list with a name in the format FixValue_<type>_(<value>) (e.g. FixValue_U32_(10)).
Data Start-Bit within Data Type Determines which bit of the selected variable or fixed value is used as the starting bit for this mapping entry.
Number of Bits Containing Data The number of bits to include from the selected variable or fixed value, starting from the configured Data Start-Bit.
New Creates a new entry in the mapping parameter table based on the currently selected configuration options.
Change Updates the selected entry in the mapping parameter table based on the currently selected configuration options.
Delete Removes the selected entry from the mapping parameter table.

Note

The sum of Data Start-Bit and Number of Bits must not exceed the bit width of the source data type.